summaryrefslogtreecommitdiff
path: root/training/conf/callbacks/lightning/early_stopping.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'training/conf/callbacks/lightning/early_stopping.yaml')
-rw-r--r--training/conf/callbacks/lightning/early_stopping.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/training/conf/callbacks/lightning/early_stopping.yaml b/training/conf/callbacks/lightning/early_stopping.yaml
new file mode 100644
index 0000000..a188df3
--- /dev/null
+++ b/training/conf/callbacks/lightning/early_stopping.yaml
@@ -0,0 +1,6 @@
+early_stopping:
+ _target_: pytorch_lightning.callbacks.EarlyStopping
+ monitor: val/loss # name of the logged metric which determines when model is improving
+ patience: 16 # how many epochs of not improving until training stops
+ mode: min # can be "max" or "min"
+ min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement