title: How to save training history on every epoch in Keras?
body: <p>I can't keep my PC running all day long, and for this I need to save training history after every epoch. For example, I have trained my model for 100 epochs in one day, and on the next day, I want to train it for another 50 epochs. I need to generate the loss vs epoch and accuracy vs epoch graphs for the whole 150 epochs. I am using <code>fit_generator</code> method. Is there any way to save the training history after every epoch (most probably using <code>Callback</code>)? I know how to save the training history after the training has ended. I am using Tensorflow backend.</p>