Debvrat Varshney
Debvrat Varshney

Reputation: 542

Retrieve History object from ModelCheckpoint in Keras

I have a ModelCheckpoint saved on local drive. Is it somehow possible to retrieve the History object from this? I forgot to save this object, and now I want to plot the training graph for visualization.

Upvotes: 2

Views: 619

Answers (1)

Dr. Snoopy
Dr. Snoopy

Reputation: 56377

Unfortunately not, the history object is not saved in the HDF5 file, if you have checkpoint files for each epoch (depending on how you configured the ModelCheckpoint callback), you could get an approximation if you evaluate on your train and test sets at each epoch.

Upvotes: 2

Related Questions