Closed guillaumepourcel closed 4 months ago
Hello, probably a duplicate of https://github.com/DLR-RM/rl-baselines3-zoo/issues/399, please use SB3 master branch (see doc), I'll release a v2.2.0 soon.
Hello, Indeed, it works now for the example of #399 with the swimmer-v3, but not for Pybullet environments (I tested with the environment Walker2DBulletEnv-v0). Maybe because Pybullet environments are using SubprocVecEnv instead of DummyVecEnv?
The issue comes from https://github.com/araffin/pybullet_envs_gymnasium, not SB3, the render mode is not properly set, I will try to push a fix soon.
pip install pybullet_envs_gymnasium --upgrade
should fix the issue ;) (I'm also removing old hack from the RL Zoo in https://github.com/DLR-RM/rl-baselines3-zoo/pull/421)
🐛 Bug
After training a PyBullet environment, I try to record a video of it:
python -m rl_zoo3.record_video --algo sac --env Walker2DBulletEnv-v0 --exp-id 10 -f logs/ -n 100
And I get the following output: