You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rich-based progress bar showing iterations, elapsed/remaining time, and iterations per second.
64
-
65
62
-[`LoggingCallback`](logging.md):
66
-
Logs training metrics (learning rate, training log entries, episode return/length EMAs) to TensorBoard, Aim, or Weights & Biases via a pluggable backend.
63
+
Logs training metrics (learning rate, training log entries, episode return/length EMAs) to one or more pluggable backends. Use `ConsoleBackend` for a live terminal display with progress bar and metrics table, `TensorBoardBackend` for TensorBoard, or `WandbBackend` for Weights & Biases.
64
+
65
+
-[`ProgressBarCallback`](progress_bar.md):
66
+
Standalone Rich progress bar callback. For most use cases prefer `ConsoleBackend` inside `LoggingCallback` instead, which provides both a progress bar and a live metrics table.
67
67
68
68
-`CallbackList`:
69
69
Aggregates multiple callbacks and forwards all hooks to each one. Used automatically when you pass a list of callbacks.
Copy file name to clipboardExpand all lines: docs/callbacks/logging.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,11 +88,18 @@ backend = WandbBackend(
88
88
89
89
### ConsoleBackend
90
90
91
-
Prints metrics to the terminal using Rich. Useful for quick debugging without a logging server.
91
+
Displays a live metrics table and progress bar in the terminal using [Rich](https://rich.readthedocs.io/).
92
+
On each iteration the metrics table is updated in-place (not appended), keeping the display compact, with a progress bar rendered below it.
93
+
94
+
When `total_timesteps` is provided, the progress bar shows completion, elapsed/remaining time, and throughput. Without it, metrics are printed as simple key=value lines.
0 commit comments