configuration almost finished
This commit is contained in:
1 parent
2726557906
commit
fe81cbb304
17 files changed
+117
-152
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# @package _group_
|
||||
|
||||
model_checkpoint:
|
||||
class: "pytorch_lightning.callbacks.ModelCheckpoint"
|
||||
args:
|
||||
monitor: "val_acc" # name of the logged metric which determines when model is improving
|
||||
save_top_k: 1 # save k best lightning_models (determined by above metric)
|
||||
save_last: True # additionaly always save model from last epoch
|
||||
mode: "max" # can be "max" or "min"
|
||||
|
||||
|
||||
early_stopping:
|
||||
class: "pytorch_lightning.callbacks.EarlyStopping"
|
||||
args:
|
||||
monitor: "val_acc" # name of the logged metric which determines when model is improving
|
||||
patience: 5 # how many epochs of not improving until training stops
|
||||
mode: "max" # can be "max" or "min"
|
||||
Reference in new issue
Block a user