MatchZoo-py icon indicating copy to clipboard operation
MatchZoo-py copied to clipboard

mz.auto.Tuner , Validator not satifised.

Open ZhqZhqZhq opened this issue 4 years ago • 0 comments

Describe the Question

Please provide a clear and concise description of what the question is. I am on matchzoo-py1.1.1 and when I try to play with the codemz.auto.Tuner , i get an error when trying to tune the model.

Describe your attempts

  • [x] I walked through the tutorials please provide model_tuning tutorial for match-py ,when i use mz.auto.Tuner() to tune my model,i get an error as follow:

tuner = mz.auto.Tuner( params=model.params, train_data=train, test_data=test, num_runs=5 )

ValueError: Validator not satifised. The validator's definition is as follows: validator=lambda x: isinstance(x, np.ndarray)

  • [x] I checked the documentation
  • [x] I checked to make sure that this is not a duplicate question

You may also provide a Minimal, Complete, and Verifiable example you tried as a workaround, or StackOverflow solution that you have walked through. (e.g. cosmic radiation).

In addition, figure out your MatchZoo version by running import matchzoo; matchzoo.__version__.

ZhqZhqZhq avatar Jul 01 '20 08:07 ZhqZhqZhq