I am training Keras models, saving them with model.save()
and than later loading them and resuming training.
I would like to plot after each training the whole training history, but model.fit_generator()
only returns the history of the last session of training.
I can save the history of the initial session and update it myself, but I wonder if there is a standard way in Keras of managing the training history.
history1 = model.fit_generator(my_gen)
plot_history(history1)
model.save('my_model.h5')
# Some days afterwards...
model = load_model('my_model.h5')
history2 = model.fit_generator(my_gen)
# here I would like to reconstruct the full_training history
# including the info from history1 and history2
full_history = ???