I could save weights in each epoch during training using keras R.
# callbacks to save weights in each epoch callback_model_checkpoint( filepath = &quo