Image-Caption-Generator
Image-Caption-Generator copied to clipboard
error on training
i'm using a google colab. when i start !python train_val.py
Traceback (most recent call last):
File "train_val.py", line 86, in
Please make sure that you're using the right version of libraries as mentioned in the requirements section in Readme.md I think this error is due to version mismatch as Keras & Tensorflow API is constantly changing and my code was tested on Tensorflow - 1.13.1 & Keras - 2.2.4. P.S. I also used Google Colab for the project so there shouldn't be an issue provided that you have the right version of libraries.
This error arises due to the mixed usage of Keras API and tensorflow.keras API. I was able to resolve the error by changing
from tensorflow.keras.callbacks import ModelCheckpoint
to
from keras.callbacks import ModelCheckpoint
in the train_val.py file.
This error arises due to the mixed usage of Keras API and tensorflow.keras API. I was able to resolve the error by changing
from tensorflow.keras.callbacks import ModelCheckpointtofrom keras.callbacks import ModelCheckpointin thetrain_val.pyfile.
In my code I used only keras.
tensorflow.python.framework.errors_impl.invalidargumenterror graph execution error
what should I do please tell me