Closed tundeonpoint closed 3 months ago
Hi @tundeonpoint,
Could you please create a bug in the keras repo instead on tensorflow/models repo as It is not related to models.
Thanks.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
I've built a seq2seq model which trains well and eventually gets to 100% validation accuracy. I save the full model using a callback into a '.keras' file format. However, when I try to load one of the saved files, I get an error saying IndexError: list assignment index out of range.
The model definition is as follows:
The callback definition is as follows:
The fit code is as follows:
The EpochModelCheckpoint definition is as follows:
The code to load the model is as follows:
n_model = tf.keras.models.load_model('/content/drive/MyDrive/NLP/Models/SCModels/cp84.keras')
Please help with this. Thanks.