summaryrefslogtreecommitdiff
path: root/training/conf/callbacks/checkpoint.yaml
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-29 22:54:52 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-29 22:54:52 +0200
commit4da7a2c812221d56a430b35139ac40b23fa76f77 (patch)
tree69528c08aa97f57918bc23cd0cc2ab6388ee0470 /training/conf/callbacks/checkpoint.yaml
parente22453c6e6ff10a610348778f8107799c1125d3b (diff)
Refactor of config, more granular
Diffstat (limited to 'training/conf/callbacks/checkpoint.yaml')
-rw-r--r--training/conf/callbacks/checkpoint.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/training/conf/callbacks/checkpoint.yaml b/training/conf/callbacks/checkpoint.yaml
index afc536f..f3beb1b 100644
--- a/training/conf/callbacks/checkpoint.yaml
+++ b/training/conf/callbacks/checkpoint.yaml
@@ -1,5 +1,6 @@
-type: ModelCheckpoint
-args:
+checkpoint:
+ type: ModelCheckpoint
+ args:
monitor: val_loss
mode: min
save_last: true