Gymnasium support#192
Conversation
| ## Getting started | ||
|
|
||
| You can try [PFRL Quickstart Guide](examples/quickstart/quickstart.ipynb) first, or check the [examples](examples) ready for Atari 2600 and Open AI Gym. | ||
| You can try [PFRL Quickstart Guide](examples/quickstart/quickstart.ipynb) first, or check the [examples](examples) ready for Atari 2600 and Open AI gymnasium. |
There was a problem hiding this comment.
This should be Farama Foundation's gymnasium
|
|
||
| import gym # NOQA:E402 | ||
| import gym.wrappers # NOQA:E402 | ||
| import gymnasium # NOQA:E402 |
There was a problem hiding this comment.
I'm not familiar with gymnasium much, but is it recommended to write import gymnasium as gym?
Do you know any article about coding convention of gymnasium?
There was a problem hiding this comment.
I'm not sure. The examples they give often write what you have, but I think it's just to sell the simplicity of their transition from gym to gymnasium. I also think the distinction can help for clarity, so people are reminded which API is being used.
There was a problem hiding this comment.
Hmm it does seem even internally in their code they use gym as you say.
There was a problem hiding this comment.
Thanks. Anyway I agree with your opinion:
the distinction can help for clarity
Multiprocess fixes
This Pull request is a work in progress branch for supporting gymnasium in lieu of gym.
Todo/testing items:
The plan is to deprecate the following examples. I will keep the examples in the repository with a deprecated notice in the README
In particular, I would like to deprecate the crossed out items below.
atlas: training an Atlas robot to walkgrasping: examples for a Bullet-based robotic grasping environmentslimevolley: example Rainbow implementation for Slime Volleyball