You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no longer a team working on gym maintenance (previously openai).
The team that has been maintaining Gym since 2021 has moved all future development to Gymnasium, a drop in replacement for Gym (import gymnasium as gym), and this repo isn't planned to receive any future updates. Please consider switching over to Gymnasium as you're able to do so.
A transition to gymnasium will eventually be mandatory. So it's a good idea to start doing it.
At first glance, switching from one library to another should be done without problems.
I make a try on GripperEnv and it worked. Some change where made in AbstractEnv.py (sofagym) to match the new gymnasium API.
There are some warnings to warn about future changes to the API for the next gymnasium releases.
I begun. Overall, the first changes (binding) bring new concept that I find rather practical.
I continued with another environment and I was able to observe a side effect. I will continue to investigate and will gradually add the new environments under gymnasium.
Stable Baseline3 can't be use with gymnasium (aka gym v0.26 or v0.27) for now. It's a big problem for RL community.
Hopefully, there are working on it with this Pull Request.
They put it forward on their documentation so I imagine that the merge will be for soon.
The state of the PR seems to be able to run the basic gym envs, I will do tests for sofagym.
If it doesn't work, I will do a PR only for gym v0.24 with sofa scenes corrected for sofa v22.12.
Stable Baseline3 can't be use with gymnasium (aka gym v0.26 or v0.27) for now. It's a big problem for RL community. Hopefully, there are working on it with this Pull Request. They put it forward on their documentation so I imagine that the merge will be for soon. The state of the PR seems to be able to run the basic gym envs, I will do tests for sofagym. If it doesn't work, I will do a PR only for gym v0.24 with sofa scenes corrected for sofa v22.12.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There is no longer a team working on gym maintenance (previously openai).
A transition to gymnasium will eventually be mandatory. So it's a good idea to start doing it.
At first glance, switching from one library to another should be done without problems.
I make a try on GripperEnv and it worked. Some change where made in AbstractEnv.py (sofagym) to match the new gymnasium API.
There are some warnings to warn about future changes to the API for the next gymnasium releases.
I begun. Overall, the first changes (binding) bring new concept that I find rather practical.
I continued with another environment and I was able to observe a side effect. I will continue to investigate and will gradually add the new environments under gymnasium.