Closed shbfy closed 5 years ago
what you do you get with:
pip freeze | grep talos
what you do you get with:
pip freeze | grep talos
Hey Mikkokotlia,
I get this:
talos==0.4.7
I noted that your model does not have validation data in model.fit()
. You have to explicitly input x_val
and y_val
there as you would in a Keras model where you directly pass validation data.
You can alsopip install -U git+https://github.com/autonomio/talos@daily-dev
to get yourself on the latest version v.0.5.0 which is a major upgrade in fact.
Thanks! I’ll give that a go and let you know if it corrects the issue.
Yes I did have the validation included before, ran into the same issue though unfortunately :(
I noted that your model does not have validation data in
model.fit()
. You have to explicitly inputx_val
andy_val
there as you would in a Keras model where you directly pass validation data.You can also
pip install -U git+https://github.com/autonomio/talos@daily-dev
to get yourself on the latest version v.0.5.0 which is a major upgrade in fact.
Still have the same issue mikkokotlia :(
Your input model has a mistake:
Now it's:
def cnn_gru_model(X_train, y_train, max_words, params):
But has to be:
def cnn_gru_model(x_train, y_train, x_val, y_val, params):
If you want to pass max_words, you do that through params dictionary. All parameters go in that way.
Closing here, feel free to open new issue if you find anything.
[x] I'm up-to-date with the latest release (v 0.4.7:
pip install -U talos
[x] I've confirmed that my Keras model works outside of Talos.
input shape (4000, 1000) output shape (4000, 3)
Talos params dictionary
The Keras model wired for Talos CNN GRU. Input is a set of padded sequences represented as numpy ndarrays
Description of extra variables in the model Early stopping callback Reduced learning rate callback
Talos scan
Traceback