-
Notifications
You must be signed in to change notification settings - Fork 19
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
'val_acc' not available while running 'train_single_model.ipynb' #7
Comments
weird. can you please print |
I tried printing 'history1', however, I believe the problem is with the 'fit' method. 'history1' cannot be printed, because it throws the exception in the 'fit' method itself. |
the error you posted above is a missing key in the history dictionary. Can you post the fit exception? |
This is the complete error -
|
I guess it isn't able to get the validation data. I hope this link helps - |
The error is that there's no val_acc key on the history object for some reason. I unfortunately don't have time to fix this for you - my advice would be to edit that line to:
Cheers |
Hi Alex, I understand. Well, I tried 'print(history1', but it didn't work. However, now I am getting the below error -
A little guidance would be just fine, you don't have to fix it :). |
hmm that's a nontrivial thing to debug... I'm really sorry but I unfortunately can't help with this any time soon. Good luck! 😅 |
That's because you are using TensorFlow 2.0, you should replace "val_acc" by "val_accuracy" |
The text was updated successfully, but these errors were encountered: