I use keras callback ModelCheckpoint to save my best train model. It is possible to save the corresponding history in same way for plotting?
You can add CSVLogger callback from keras along with your ModelCheckpoint in the list of callbacks.
history = model.fit(X,y, epochs=100, callbacks=[keras.callbacks.CSVLogger('history.csv')])
This will dump all metrics information at each epoch to CSV file which you can use for plotting. Also, model.fit returns keras History object which can further be used for visualization.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With