-
Notifications
You must be signed in to change notification settings - Fork 187
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
Feature Request: Gymnasium Compatibility #41
Comments
Wrapper: https://gist.github.com/qxcv/e8641342c102c2aa714c9caeca724101 (edit: actually to support minigrid you also need to fix a bug in (edit^2: actually there's also a bug with the way that padding is computed below that; |
@qxcv Could you provide your example.py changes as well? I am having some trouble when trying out other gymnasium environments. |
I didn't touch Maybe try my fork? https://github.com/qxcv/dreamerv3 Specifically:
If it turns out more changes are needed for other Gymnasium envs then one of us should probably file a PR 🙂 |
Hi, would it be possible to allow this repo to be used with Gymnasium environments? Certain libraries like MineRL are not compatible with Gymnasium yet but it would be great to allow environments to be of either type, so it could be used the wide range of new libraries that are based on Gymnasium.
For background, Gymnasium a maintained fork of openai gym and is designed as a drop-in replacement (
import gym
->import gymnasium as gym
). For context, many popular RL training libraries have switched (rllib, tianshou, CleanRL, stable-baselines3), along with many environment repositories (see third party environments). We are also considering compiling a list of repositories for popular training libraries and models implementations which can be used with Gymnasium, so this could potentially be listed on the website.For information about upgrading and compatibility, see migration guide and gym compatibility. The main difference is the API has switched to returning
truncated
andterminated
, rather thandone
, in order to give more information and mitigate edge case issues (for example, many popular tutorials/implementations of Q learning using gym were actually incorrect because ofdone
, there will be an upcoming blog post explaining more details about this on the Farama site (https://farama.org/blog)).The text was updated successfully, but these errors were encountered: