Created
January 12, 2021 20:45
-
-
Save rocreguant/7122cac139593e56d9715ea61671b9c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checkpoint = ModelCheckpoint(weights_path, monitor="auc_roc", verbose=1, save_best_only=True, mode='max', save_weights_only = True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a ckeckpoint in keras / tensorflow using a self customized metric. The criteria is ROC AUC.