Skip to content

Conversation

@sash-a
Copy link
Collaborator

@sash-a sash-a commented Nov 20, 2024

Drop support for gym and update the gym wrapper to the gymnasium API

Closes #180

@sash-a sash-a self-assigned this Nov 20, 2024
Copy link
Contributor

@WiemKhlifi WiemKhlifi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sash-a! I have few comments the rest looks good and functional 🔥

  • Can we please update the readme link for openai gym in wrappers.md (Jumanji To Gym section) to gymnasium?
  • Also update the readme example:
env = jumanji.make("Snake-v1")
....
obs, extras = gym_env.reset()
...
obs, reward, terminated, truncated, info = gym_env.step(action)
  • Same fix for the name of env in the other sections.

Copy link
Contributor

@WiemKhlifi WiemKhlifi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sash-a 🥳

@WiemKhlifi WiemKhlifi merged commit 1556cd9 into instadeepai:main Nov 22, 2024
4 checks passed
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.

bug: Incompatability with Gymnasium

2 participants