File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,14 @@ The :func:`~~pytorch_lightning.core.lightning.LightningModule.log` method has a
85
85
* `logger `: Logs to the logger like Tensorboard, or any other custom logger passed to the :class: `~pytorch_lightning.trainer.trainer.Trainer `.
86
86
87
87
88
- .. note :: Setting `on_epoch=True` will accumulate your logged values over the full training epoch.
88
+ .. note ::
89
+
90
+ - Setting ``on_epoch=True `` will cache all your logged values during the full training epoch and perform a
91
+ reduction `on_epoch_end `. We recommend using the :ref: `metrics ` API when working with custom reduction.
92
+
93
+ - Setting both ``on_step=True `` and ``on_epoch=True `` will create two keys per metric you log with
94
+ suffix ``_step `` and ``_epoch ``, respectively. You can refer to these keys e.g. in the `monitor `
95
+ argument of :class: `~pytorch_lightning.callbacks.model_checkpoint.ModelCheckpoint ` or in the graphs plotted to the logger of your choice.
89
96
90
97
91
98
Manual logging
You can’t perform that action at this time.
0 commit comments