Skip to content

Update repo to work with gymnasium#3

Open
elliottower wants to merge 5 commits into
frankilepro:masterfrom
elliottower:gymnasium
Open

Update repo to work with gymnasium#3
elliottower wants to merge 5 commits into
frankilepro:masterfrom
elliottower:gymnasium

Conversation

@elliottower

Copy link
Copy Markdown

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