Skip to content

Instantly share code, notes, and snippets.

@Momotoculteur
Created May 31, 2019 12:33
Show Gist options
  • Save Momotoculteur/63624feb29f436277380ce83c839e6cd to your computer and use it in GitHub Desktop.
Save Momotoculteur/63624feb29f436277380ce83c839e6cd to your computer and use it in GitHub Desktop.
save_model_callback = ModelCheckpoint(DIRECTORY_TRAINED_MODEL,
verbose=1,
save_best_only=True,
save_weights_only=False,
mode='auto',
period=1,
monitor='val_acc')
early_stopping = EarlyStopping(verbose=1,monitor='val_acc', min_delta=0, patience=3, mode='auto')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment