When I train with tensorflow 2.0 / Keras APIs, I usually do something like this
model = tf.keras.Model(inputs, outputs)
history = model.fit(x, y, batch_size=64, epochs=10)
But sometimes things in life don't work out how I planned and I need to abort with ctrl-c or pressing stop in Jupyter notebook. How can I still get the history object when I abort training early? I can't find any detailed documentation for how to get history.