Commit Graph

12 Commits

Author SHA1 Message Date
Elijah K
9ae4331dfd Py36+ syntax in gym/wrappers: derived by running pyupgrade --py36-plus gym/wrappers/**.py and flynt gym --ll 120 (#2464)
Co-authored-by: Ilya Kamen <ilya.kamenshchikov@bosch.com>
2021-11-13 19:53:06 -05:00
Ariel Kwiatkowski
d199778b9e Pendulum updates (#2423)
* Pendulum env updates

Simplify the math a bit (no difference in behavior)

* Reorder the clipping of angular velocity

* Bump version of Pendulum

* black

* Update mentions of Pendulum-v0 to Pendulum-v1.
2021-09-25 14:00:28 -04:00
jfpettit
0b07221d84 change FrameStack wrapper to inherit from ObservationWrapper (#2378) 2021-09-01 12:09:43 -04:00
J K Terry
3abd5d55af remove wrapper deprication (#2273) 2021-07-29 17:51:02 -04:00
J K Terry
78d2b512d8 redo black (#2272) 2021-07-29 15:39:42 -04:00
Justin Terry
e9d2c41f2b redo black 2021-07-29 12:42:48 -04:00
Justin Terry
3133e99a64 deprecate built in wrappers for supersuit 2021-07-28 22:21:47 -04:00
Christian Clauss
bb81e141ea Blacken the codebase (#2265) 2021-07-28 20:26:34 -04:00
Kristian Holsheimer
5ff4e7d750 Bug fix, missing attrs: dtype, shape (#1950) 2020-06-19 14:16:02 -07:00
Kristian Holsheimer
074bc269b5 Rewrite LazyFrames.__getitem__ to only decompress if needed (#1906)
* add last_frame property to LazyFrames

* drop LazyFrames.last_frame and rewrite __getitem__ instead
2020-06-05 15:01:04 -07:00
johannespitz
a8a3d36353 Add shape property and equality operation to LazyFrames (#1862)
* Add shape property and equality operation to LazyFrames for simplified usage in tests

* Fix shape property with lz4_compress
2020-04-10 17:10:10 -05:00
Xingdong Zuo
80a6d089b7 [Wrappers]: add LazyFrames, FrameStack (#1485)
* Create frame_stack.py

* Update __init__.py

* Create test_frame_stack.py

* Update test_frame_stack.py

* Update frame_stack.py

* Update test_frame_stack.py

* Update __init__.py

* Update test_frame_stack.py

* Update test_frame_stack.py

* Update frame_stack.py

* Update gym/wrappers/frame_stack.py

Thanks !

Co-Authored-By: Kristian Hartikainen <kristian.hartikainen@gmail.com>

* Update gym/wrappers/frame_stack.py

Thanks !

Co-Authored-By: Kristian Hartikainen <kristian.hartikainen@gmail.com>

* make framestack tests actually run (with and without lz4)
2019-08-23 14:04:11 -07:00