chore(deps): bump gymnasium from 0.29.1 to 1.1.1
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(about 1 year ago)
(12 months ago)
dependencies python
Bumps gymnasium from 0.29.1 to 1.1.1.
Release notes
Sourced from gymnasium's releases.
Gymnasium v1.1.1
Changes
- Remove assert on metadata render modes for MuJoCo-based environments in
mujoco_env.py(Farama-Foundation/Gymnasium#1328)- Update
wrappers.vector.NumpyToTorchto refer tonumpyinstead ofjaxby@pkuderovin Farama-Foundation/Gymnasium#1319Full Changelog: https://github.com/Farama-Foundation/Gymnasium/compare/v1.1.0...v1.1.1
v1.1.0
Gymnasium v1.1
In this release, we fix several bugs with Gymnasium v1.0 along with new features to improve the changes made.
With the release of Gymnasium v1.0, one of the major changes we made was to the vector environment implementation, improving how users interface with it and extend it. Some users noted that they required backward compatibility with how vector environments automatically reset sub-environments when they terminated or truncated, referred to as the autoreset mode or API. As a result, in v1.1, we have added support to the implemented vector environments (
SyncVectorEnvandAsyncVectorEnv) and wrappers for all three possible modes: next-step, same-step and disabled. To know the type of autoreset mode used, it should be specified in the vector environment metadata,metadata["autoreset_mode"]as agymnasium.vectors.AutoresetModeenum. For more information on the differences between the autoreset modes and how to use them, read https://farama.org/Vector-Autoreset-Mode.In addition, we've added several helpful features
- In Gymnasium v0.25, we added masking for spaces,
space.sample(mask=...), to logically mask out possible samples from spaces. Farama-Foundation/Gymnasium#1310 adds probability masking for each space withspace.sample(probability=...)to specify the probability of each sample, which is helpful for RL policies that output a probability distribution of actions.- For MuJoCo environments, users have the option to render the robot with RGB images or depth-based images. Previously, it was only possible to access only the RGB or depth rendering. Gymnasium v1.1 adds RGBD rendering that outputs both the RGB and depth-based image as a single output.
- In Gymnasium v1.0, we improve the conversion wrappers between
jax,torchandnumpywithJaxToTorch,JaxToNumpy,NumpyToTorch, etc. In v1.1, we've improved the wrappers to work with rendering and to be compatible with the full dlpack API.New Features
- Space sampling with probability masks by
@mariojerez(Farama-Foundation/Gymnasium#1310)- Add rgb + depth rendering to mujoco by
@DavidPL1(Farama-Foundation/Gymnasium#1229)- Add Render Support for
JaxToNumpy,JaxToTorchandNumpyToTorchby@amacati(Farama-Foundation/Gymnasium#1306)- Add full support for dlpack API by
@amacati(Farama-Foundation/Gymnasium#1299)- Enable the StickyAction wrapper to repeat the old action for more than 1 step by
@sparisi(Farama-Foundation/Gymnasium#1240)- Add
wrappers.vector.TransformObs/Actionsupport for a single obs/action space argument by@howardh(Farama-Foundation/Gymnasium#1288)- Improve 'set_wrapper_attr' for wrappers to modify how variables are updated by
@duburcqa(Farama-Foundation/Gymnasium#1294)- Allow
AtariPreprocessingto support non-square observations by@li-plus(Farama-Foundation/Gymnasium#1312)- Improve
WrapperandVectorWrappererror checking by@pseudo-rnd-thoughts(Farama-Foundation/Gymnasium#1260)Bug Fixes
- Fix
get_wrapper_attr/set_wrapper_attrfor edge case by@duburcqa(Farama-Foundation/Gymnasium#1293)- Add width and height check for MujocoRenderer to help error checking by
@Beanpow(Farama-Foundation/Gymnasium#1230)- Fix CarRacing-v3 with discrete actions by
@Sebastian-Griesbach(Farama-Foundation/Gymnasium#1253)- Fix Mujoco Rendering for
rgb_arraythat is upside down by@pseudo-rnd-thoughts(Farama-Foundation/Gymnasium#1264)- Revert
OrderedDictkey ordering inDictspace by@pseudo-rnd-thoughts(Farama-Foundation/Gymnasium#1291)wrappers.vector.NumpyToTorchdoesn't requirejaxto work by@pseudo-rnd-thoughts(Farama-Foundation/Gymnasium#1308)- Prevented accidental alteration of
env_spec_kwargsinmake_vecby@TimSchneider42(Farama-Foundation/Gymnasium#1304)- Quit Pygame when cliffwalking environment is closed by
@sjmikler(Farama-Foundation/Gymnasium#1297)- Add
TimeAwareObservationsupport for environments without aspecby@pseudo-rnd-thoughts(Farama-Foundation/Gymnasium#1289)- Improve the error message when ending the MuJoCo renderer without calling
env.closeby@a-ayesh(Farama-Foundation/Gymnasium#1283)Documentation Changes
- Fixed typo in blackjack for the values sampled, 2-10 instead of 2-9 by
@artemmiyy(Farama-Foundation/Gymnasium#1250)- Added some popular third-party beginner tutorials by
@godsboy404(Farama-Foundation/Gymnasium#1271)- Update documentation for reward scaling wrappers by
@keraJLi(Farama-Foundation/Gymnasium#1285)Thanks to the 31 new contributors that contributed to this release with the Full Changelog: https://github.com/Farama-Foundation/Gymnasium/compare/v1.0.0...v1.1.0
... (truncated)
Commits
1c7c709Remove Mujoco assert on metadata render-mode (#1328)583f6a7Refer to numpy instead of jax [for vars and docs] in vector NumpyToTorch (#1319)9ff8bf4Update version number to v1.1e2599f0Update vector autoreset documentation. (#1318)e4c1f90Add probability masking tospace.sample(#1310)1dffcc6AllowAtariPreprocessingnon-square observations (#1312)a4f8cfbImprove 'set_wrapper_attr'. (#1294)a894632wrappers.vector.NumpyToTorchusesDevicefromwrappers.NumpyTorchnot `...2a8441dAdd None to None conversion for JaxToNumpy, JaxToTorch and NumpyToTorch (#1306)d92e030Prevented accidental alteration of env_spec_kwargs in make_vec (#1304)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 657369 |
| UUID: | 2544263083 |
| Node ID: | PR_kwDOOw0Wwc6Xpl-r |
| Host: | GitHub |
| Repository: | mooncitydev/https-github.com-freqtrade-freqtrade |
| Merge State: | Unknown |