Skip to content

Instantly share code, notes, and snippets.

@khuangaf
Created January 1, 2018 02:50
Show Gist options
  • Save khuangaf/bac8672c9b8cf6969010b981104164b7 to your computer and use it in GitHub Desktop.
Save khuangaf/bac8672c9b8cf6969010b981104164b7 to your computer and use it in GitHub Desktop.
model.fit(training_datas, training_labels,verbose=1, batch_size=batch_size,validation_data=(validation_datas,validation_labels), epochs = epochs, callbacks=[CSVLogger(output_file_name+'.csv', append=True),ModelCheckpoint('weights/'+output_file_name+'-{epoch:02d}-{val_loss:.5f}.hdf5', monitor='val_loss', verbose=1,mode='min')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment