Skip to content

lit_sb3.callbacks.raw_statistics

source module lit_sb3.callbacks.raw_statistics

RawStatisticsCallback — logs raw per-episode data through SummaryWriter.

Classes

source class RawStatisticsCallback(verbose: int = 0)

Bases : BaseCallback

Callback for logging raw per-episode returns and lengths to TensorBoard.

Requires TensorBoard logging to be active. The callback bypasses Lightning's default log-throttling so that every episode is recorded.

Attributes

  • state_key : str — Identifier for the state of the callback.