Using the checkpoint callback in Keras