Clarify meaning of EarlyStopping patience (#195)

*specify that EarlyStopping patience is counted in validation epochs and not in training epochs.
This commit is contained in:
Charles Gaydon authored and GitHub committed 2021-10-28 19:24:04 +02:00
1 parent 95d9f7a90d
commit 6159c413f2
1 file changed
+1 -1
+1 -1
View File
@@ -13,5 +13,5 @@ early_stopping:
_target_: pytorch_lightning.callbacks.EarlyStopping _target_: pytorch_lightning.callbacks.EarlyStopping
monitor: "val/acc" # name of the logged metric which determines when model is improving monitor: "val/acc" # name of the logged metric which determines when model is improving
mode: "max" # can be "max" or "min" mode: "max" # can be "max" or "min"
patience: 100 # how many epochs of not improving until training stops patience: 100 # how many validation epochs of not improving until training stops
min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement