We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4554e76 commit 81ea4d5Copy full SHA for 81ea4d5
src/pytorch_lightning/callbacks/model_checkpoint.py
@@ -80,7 +80,8 @@ class ModelCheckpoint(Checkpoint):
80
... filename='{epoch}-{val_loss:.2f}-{other_metric:.2f}'
81
... )
82
83
- By default, filename is ``None`` and will be set to ``'{epoch}-{step}'``.
+ By default, filename is ``None`` and will be set to ``'{epoch}-{step}'``, where "epoch" and "step" match
84
+ the number of finished epoch and optimizer steps respectively.
85
monitor: quantity to monitor. By default it is ``None`` which saves a checkpoint only for the last epoch.
86
verbose: verbosity mode. Default: ``False``.
87
save_last: When ``True``, saves an exact copy of the checkpoint to a file `last.ckpt` whenever a checkpoint
0 commit comments