Created
April 29, 2020 11:45
-
-
Save sayakpaul/3f924a9afa3f89b0edc596cca6e7ebcb 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
# Set up model checkpoint callback | |
filepath = wandb.run.dir + "/{epoch:02d}-{val_accuracy:.2f}.ckpt" | |
checkpoint = tf.keras.callbacks.ModelCheckpoint(filepath, | |
monitor="val_accuracy", | |
verbose=1, | |
save_best_only=True, mode="max") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment