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

Update repo to work with gymnasium #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

elliottower
Copy link

Figured I would add this in case anyone else wants to use this repo with gymnasium. Gym is no longer being maintained and it is recommended that everyone switch to gymnasium instead, which has backward compatibility. This also enables use with other RL libraries Tianshou (already transitioned to gymnasium) and future compatibility with RLlib and stable_baselines3 (planning to transition afaik).

There are a few warnings due to new standards like flattening observation space, returning numpy arrays rather than tensors, defining a render_fps tag (found this made rendering a bit glitchy probably due to matplotlib), and returning extra "info" objects with the step function, but those are all minor and can be ignored.

elliottower added 5 commits February 11, 2023 14:17
…cv-python, tensorflow, gym (all which resulted in errors/were unable to install with newest version)
…structive compared to original file, updated custom env settings to match README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant