huggingface/deep-rl-class

Should Gymnasium be Imported Insead of Gym?

Jpalmer95 opened this issue ยท 6 comments

For use of gym in the Lunar Lander unit 1 Colab, should we be importing 'gymnasium' as 'gym' now instead of simply importing 'gym'?

First link: https://www.gymlibrary.dev/environments/box2d/lunar_lander/

Second link claiming that gymnasium is the newer version that is backwards compatible with gym. Popped up as a modal from the link within the Lunar Landing course.
https://gymnasium.farama.org/

I have the same curiosity, but since Colab has gym built in, I wonder if we want to wait until it becomes part of the Colab env. Or, instead, install it and import it proactively.

Hey there ๐Ÿ‘‹ for the stability of the complete course we prefer to use Gym for now. We plan to make an update with gymnasium in the future.

Hey there ๐Ÿ‘‹ FIY we starting the update on using gymanasium instead of classical gym it was delayed due to priority tasks.

Quick update:
โœ… Unit 1
โœ… Unit 2

  • Unit 3

โœ… Unit 4 (not updated because gym-games does not work with gymnasium)

  • Unit 6 (updating only for panda-gym not pybullet)

โœ… Unit 8 (not updated for now since the implementation works only with gym=0.21)

Unit 3 is updated with Gymnasium there is still Unit 6 to update