Make logging_mode (on_step
or on_epoch
) available to loggers
#20502
Labels
feature
Is an improvement or enhancement
on_step
or on_epoch
) available to loggers
#20502
Description & Motivation
Lightning lets you log
on_step
, oron_epoch
. However, even when usingon_epoch
, the global step is logged on the x-axis, not the epoch number.Loggers can manually extract
epoch
from the logged metrics and pass that as thestep
. However, this would breakon_step
logging.Making the logging mode for a logging call available would let loggers conditionally use either the
global_step
orcurrent_epoch
as thestep
for that particular metric.Pitch
No response
Alternatives
No response
Additional context
No response
cc @Borda
The text was updated successfully, but these errors were encountered: