Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mz.auto.Tuner , Validator not satifised. #145

Open
3 tasks done
ZhqZhqZhq opened this issue Jul 1, 2020 · 0 comments
Open
3 tasks done

mz.auto.Tuner , Validator not satifised. #145

ZhqZhqZhq opened this issue Jul 1, 2020 · 0 comments
Labels
question Further information is requested

Comments

@ZhqZhqZhq
Copy link

ZhqZhqZhq commented Jul 1, 2020

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

  • 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)

  • I checked the documentation
  • 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 ZhqZhqZhq added the question Further information is requested label Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant