Closed chandreshiit closed 5 years ago
It has been over a year since I made that tutorial so I don't remember exactly how it works.
My guess would be that either the TensorFlow / Keras API has changed, in which case you can try and downgrade to the version used in the tutorial. Or you have modified the tutorial and introduced a bug in the code somewhere. Does the original tutorial work? If it works, then it is likely a bug in your modified code.
If you find the solution then please write it here, so it may help others in the future.
I have checked that Tutorial 21 works with TensorFlow version 1.12.0 and Keras version 2.1.6-tf running on Ubuntu 16 with a GTX 1070 GPU.
I don't know what is causing your problem, but everything works fine on my system.
When you file error reports, it is important that you are very specific about the system you are running, the errors you experience, and whether you have made any modifications to the code.
I just wasted an hour checking this works, because you weren't being clear. I'm not happy about that!
Hi,
While loading my saved model following your 21_machine_translation tutorial, I got the above error.
from keras.models import load_model model = load_model(data_path+'seq2seq_desc.h5')
Full error:ValueError Traceback (most recent call last)