Skip to content

Instantly share code, notes, and snippets.

@ModMaamari
Created September 29, 2018 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ModMaamari/3319f05a8329f04e74809025f8674adf to your computer and use it in GitHub Desktop.
Save ModMaamari/3319f05a8329f04e74809025f8674adf to your computer and use it in GitHub Desktop.
checkpoint_name = 'Weights-{epoch:03d}--{val_loss:.5f}.hdf5'
checkpoint = ModelCheckpoint(checkpoint_name, monitor='val_loss', verbose = 1, save_best_only = True, mode ='auto')
callbacks_list = [checkpoint]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment