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
The check_env environment checker should work natively with gymnasium environments in addition to gym environments. I'm not sure if this could be considered a bug or not now that SB3 supports gymnasium.
User receives the error: AssertionError: The observation space must inherit from gym.spaces cf https://github.com/openai/gym/blob/master/gym/spaces/
when checking a gymnasium environment.
Motivation
Since full gymnasium support was added a few weeks back, I've been using SB3 for my workflow. I would be nice to be able to use the environment checker with gymnasium environments to sidestep problems before they occur.
🚀 Feature
The check_env environment checker should work natively with gymnasium environments in addition to gym environments. I'm not sure if this could be considered a bug or not now that SB3 supports gymnasium.
User receives the error:
AssertionError: The observation space must inherit from gym.spaces cf https://github.com/openai/gym/blob/master/gym/spaces/
when checking a gymnasium environment.
Motivation
Since full gymnasium support was added a few weeks back, I've been using SB3 for my workflow. I would be nice to be able to use the environment checker with gymnasium environments to sidestep problems before they occur.
Pitch
No response
Alternatives
No response
Additional context
Pull
Checklist
The text was updated successfully, but these errors were encountered: