Skip to content

Instantly share code, notes, and snippets.

@rocreguant
Created January 12, 2021 20:45
Show Gist options
  • Save rocreguant/7122cac139593e56d9715ea61671b9c8 to your computer and use it in GitHub Desktop.
Save rocreguant/7122cac139593e56d9715ea61671b9c8 to your computer and use it in GitHub Desktop.
checkpoint = ModelCheckpoint(weights_path, monitor="auc_roc", verbose=1, save_best_only=True, mode='max', save_weights_only = True)
@rocreguant
Copy link
Author

Create a ckeckpoint in keras / tensorflow using a self customized metric. The criteria is ROC AUC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment