text_plain_output_1.png
from keras import callbacks

from keras import callbacks
filename = 'model_train_new.csv'
filepath = 'Best-weights-my_model-{epoch:03d}-{loss:.4f}-{acc:.4f}.hdf5'
csv_log = callbacks.CSVLogger(filename, separator=',', append=False)
checkpoint = callbacks.ModelCheckpoint(filepath, monitor='val_loss', verbose=1, save_best_only=True, mode='min')
callbacks_list = [csv_log, checkpoint]
callbacks_list = [csv_log]

callbacks_list