ModelCheckpoint callback not working #387
Mathews-Tom
started this conversation in
General
Replies: 1 comment 1 reply
-
Figured the issue. Apparently I had been monitoring |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
For the notebook,
07_Food_Vision_Milestone_Project_1.ipynb
, when I try to run the following commandcloned_model.load_weights(checkpoint_path)
, I get the following error.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_checkpoints/cp.ckpt
This is my ModelCheckpoint callback definition
from keras.callbacks import ModelCheckpoint
The model is only for 2 epochs. It seems the model checkpoint is not saving the model and hence the error, "Failed to find any matching files for model_checkpoints/cp.ckpt"
I have tried it multiple times on Colab as well as on local.
Beta Was this translation helpful? Give feedback.
All reactions