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.
ModelCheckpoint
1 parent b0cd9da commit e272beaCopy full SHA for e272bea
pytorch_lightning/callbacks/model_checkpoint.py
@@ -41,7 +41,10 @@
41
42
class ModelCheckpoint(Callback):
43
r"""
44
- Save the model after every epoch by monitoring a quantity.
+ Save the model periodically by monitoring a quantity. Every metric logged with
45
+ :meth:`~pytorch_lightning.core.lightning.log` or :meth:`~pytorch_lightning.core.lightning.log_dict` in
46
+ LightningModule is a candidate for the monitor key. For more information, see
47
+ :ref:`weights_loading`.
48
49
After training finishes, use :attr:`best_model_path` to retrieve the path to the
50
best checkpoint file and :attr:`best_model_score` to retrieve its score.
0 commit comments