Skip to main content
If you’re using Farama Gymnasium, W&B automatically logs videos of your environment generated by gymnasium.wrappers.Monitor. To enable video logging, set the monitor_gym keyword argument to wandb.init() to True. The Gymnasium integration is lightweight. W&B reads the name of the video file logged from gymnasium and uses that name. If no match is found, the integration falls back to "videos". For more control, you can manually log a video. For more information about using Gymnasium with the CleanRL library, see the Mario Bros, but with AI: Gymnasium and CleanRL report.
Gymnasium RL environment