v0.25.2 Release Notes#
This is a fairly minor bug fix release.
Bug Fixes#
Removes requirements for
_TimeLimit.truncated
in info for step compatibility functions. This makes the step compatible with Envpool @arjun-kgAs the ordering of
Dict
spaces matters when flattening spaces, updated the__eq__
to account for the.keys()
ordering. @XuehaiPanAllows
CarRacing
environment to be pickled. Updated all gym environments to be correctly pickled. @RedTachyonSeeding
spaces.Dict
andspaces.Tuple
spaces with integers can cause lower-specification computers to hang due to requiring 8Gb memory. Updated the seeding with integers to not require unique subseeds (subseed collisions are rare). For users that require unique subseeds for all subspaces, we recommend using a dictionary or tuple with the subseeds. @olipinskiFixed the metaclass implementation for the new render api to allow custom environments to use metaclasses as well. @YouJiacheng
Updates#
Simplifies the step compatibility functions to make them easier to debug.
TimeLimit
wrapper with the old step API favours terminated over truncated if both are true. This is as the old done step API can only encode 3 states (cannot encodeterminated=True
andtruncated=True
) therefore we must encode to onlyterminated=True
ortruncated=True
. @pseudo-rnd-thoughtsAdd Swig as a dependency of Box2d @kir0ul
Add type annotation for
render_mode
andmetadata
@bkrl
Full Changelog: https://github.com/openai/gym/compare/0.25.1…0.25.2
Github Release: https://github.com/openai/gym/releases/tag/0.25.2