Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Gymnasium & PettingZoo support #120

Closed
elliottower opened this issue Mar 29, 2023 · 2 comments · Fixed by #123
Closed

Feature request: Gymnasium & PettingZoo support #120

elliottower opened this issue Mar 29, 2023 · 2 comments · Fixed by #123

Comments

@elliottower
Copy link

Hi, would it be possible to add PettingZoo support in the future? The current setup.py also uses OpenAI gym, which has not been maintained for a few years now, Gymnasium is the maintained version of it.

Gymnasium and PettingZoo are compatible with current RL training libraries (rllib, tianshou and CleanRL have already migrated, and stable-baselines3 will soon) as well as other tools such as Comet and WandB.

For information about upgrading and compatibility, see migration guide and gym compatibility. The main difference is the API has switched to returning truncated and terminated, rather than done, in order to give more information and mitigate edge case issues.

Adding PettingZoo support would be a bit more complicated, but if needed I would be happy to help look over code or answer any questions. It would be really helpful for future researchers, and we would be excited to list it in the third party environments lists (PettingZoo, Gymnasium).

@micahcarroll
Copy link
Member

Hi @elliottower, does this look sufficient to you / what you had in mind?

@micahcarroll micahcarroll linked a pull request May 20, 2023 that will close this issue
8 tasks
@elliottower
Copy link
Author

Hi @elliottower, does this look sufficient to you / what you had in mind?

Left some comments on that PR but just looked it over again and posting here as well, looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants