summaryrefslogtreecommitdiff
path: root/training/conf/callbacks/lightning/early_stopping.yaml
blob: a188df35f3bc5ff1aa25ed5315e8f05fed2672c5 (plain)
1
2
3
4
5
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