-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
env.step API updated in gym 0.25.0 #726
Comments
As long as openai/gym#3019 is not merged, it's okay not to restrict the gym version. |
My bad. The new version of gym prints warnings when calling |
In gym version 0.25, we have implemented the new termination truncation step api which will raise a warning if users use the old done step api (which is turned on by default). However, v0.25 should be completely backwards compatible. We are planning on removing default support for the old done step API in v0.26 (the planned release is the next week). To use the old step API, we provide a conversion function and wrapper for users if they need it. |
@Trinkle23897 Now gym#3019 merged. Maybe restrict <= 0.25.2 |
I believe that @Markus28 is planning on making a v26 upgrade for Tianshou |
Gym 0.25.0 introduced a new step API that returns a tuple of length 5(observation, reward, terminated, truncated, info) instead of 4(observation, reward, done, info).
I think tianshou's setup.py should restrict the gym version to <= 0.24.1 until it supports the new API.
The text was updated successfully, but these errors were encountered: