Skip to main content
Stable Baselines 3 (SB3) is a set of reliable implementations of reinforcement learning algorithms in PyTorch. W&B’s SB3 integration:
  • Records metrics such as losses and episodic returns.
  • Uploads videos of agents playing the games.
  • Saves the trained model.
  • Logs the model’s hyperparameters.
  • Logs the model gradient histograms.
Review an example SB3 training run.

Log your SB3 experiments

Stable Baselines 3 training with W&B

WandbCallback Arguments

Basic example

The W&B SB3 integration uses the logs output from TensorBoard to log your metrics