From 6159c413f2a34c9556b46f88eec676bdb0633868 Mon Sep 17 00:00:00 2001 From: Charles Gaydon <11660435+CharlesGaydon@users.noreply.github.com> Date: Thu, 28 Oct 2021 19:24:04 +0200 Subject: [PATCH] Clarify meaning of EarlyStopping patience (#195) *specify that EarlyStopping patience is counted in validation epochs and not in training epochs. --- configs/callbacks/default.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/callbacks/default.yaml b/configs/callbacks/default.yaml index 60df071..5a2c19a 100644 --- a/configs/callbacks/default.yaml +++ b/configs/callbacks/default.yaml @@ -13,5 +13,5 @@ early_stopping: _target_: pytorch_lightning.callbacks.EarlyStopping monitor: "val/acc" # name of the logged metric which determines when model is improving 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