Commit Graph

1491 Commits

Author SHA1 Message Date
J K Terry
3f2f1030e5 Change action rescale argument names (#2323)
* name change

* fix docstring

* fix

* fix?

* black
2021-08-21 18:19:30 -04:00
Ariel Kwiatkowski
d7023500f3 Fix dtypes to be consistent with observation_space (#2340)
* Changed the dtypes of classic control envs to float32

* Fixed formatting via black

* Added dtype tests

* Formatting, and test error message

* Only test dtypes for Box space

* Fix Bipedal Walker and Car Racing

* Undo the car racing dtype change

* Redo the car racing dtype change - set to np.float32, and updated observation_space to reflect it
2021-08-21 18:11:19 -04:00
Tristan Deleu
be5e8c7fe4 Fix flatten utilities for spaces (#2328)
* Fix flatten utilities for spaces

* Revert changes to MultiBinary

* Factor out spaces in tests

* Add tests for flatten_space, flatten and unflatten
2021-08-21 18:04:09 -04:00
Jacopo Panerati
69c64d993a Update environments.md (#2338) 2021-08-21 16:09:36 -04:00
J K Terry
9ec6cc794e fix issue templates 2021-08-20 23:22:34 -04:00
J K Terry
1176e504b6 fix issue templates 2021-08-20 23:21:36 -04:00
J K Terry
4775769f4f github issue template 2021-08-20 23:08:58 -04:00
Oliver Limoyo
06e16dd586 Fix pendulum rendering when sending zero control (#2307) 2021-08-20 22:22:47 -04:00
Jan Dohmen
a26e8bad08 Add LongiControl to third party environment list (#2337)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-08-20 22:21:37 -04:00
Jacopo Panerati
c95e0493c6 Update environments.md (#2335) 2021-08-20 22:21:01 -04:00
Costa Huang
2853ce4797 Add RecordVideo wrapper (#2300)
* Add RecordVideo wrapper

* bug fix

* don't change gym's core API

* add test cases

* reformat
2021-08-18 16:36:40 -04:00
J K Terry
ee30486bfb rename wrappers to other 2021-08-17 15:52:43 -04:00
Shreyans Jain
1377341a9d pushed first draft of tutorials.md (#2326) 2021-08-17 13:14:42 -04:00
J K Terry
a6f77bd0be Create draft md file for wrappers documentation page (#2324)
* Create draft md file for wrappers documentation page

* Update wrappers.md

* Update wrappers.md
2021-08-17 11:05:22 -04:00
J K Terry
36499b917e More setup.py fixes (#2321)
* move cloud pickle

* more fixes

* move cloud pickle back
2021-08-17 10:25:59 -04:00
Justin Terry
76dd8d0c1c typos 2021-08-16 19:48:38 -04:00
Justin Terry
1da3d4f8e9 fix black 2021-08-16 19:41:56 -04:00
J K Terry
8529781ae1 Add wrappers extra 2021-08-16 19:08:07 -04:00
Shreyans Jain
212238ae89 Added api.md (#2303)
* added api.md

* added api.md

* added all the spaces and vector api

* added all the spaces and vector api

* Update docs/api.md

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>

* added random policy output

* Update api.md

* Update api.md

* Update api.md

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2021-08-16 18:37:48 -04:00
Chris Cummins
5f47852221 Add CompilerGym to third party environment list. (#2320) 2021-08-16 16:45:04 -04:00
J K Terry
bfd4f6d179 Revert "Autoclose manually maintained video recorders (#2316)" (#2317)
This reverts commit f4bf0d9ed8.
2021-08-16 02:44:10 -04:00
Xuehai Pan
f4bf0d9ed8 Autoclose manually maintained video recorders (#2316) 2021-08-16 02:43:14 -04:00
J K Terry
4ede9280f9 Bump version to 0.19.0 2021-08-13 00:19:37 -04:00
J K Terry
8810382977 Bump frozen lake Versions (#2315)
* bump versions

* properly bump versions
2021-08-13 00:18:42 -04:00
Anthony Tamasi
cb1a4836fb Add compliance testing for API (#2289)
* Copied over SB3 env checker

* Added test from SB3

* Addition of MIT license attribution and black formatting

* Removed SB3 dependence

* Implemented rough, non-vectorized version of check_nan

* Made some SB3 warnings a bit more "general"

* Removed check for "unsupported" spaces, since Gym should support any space

* Added action/observation checks from pettingzoo, referenced in file docstring

* Removed copy of MIT license in file docstring

* Re-added usage of the check_inf flag for helper functino

* Changed test to be simple/classic example. Should add more tests

* Added API compliance check to registered envs
2021-08-12 13:35:09 -04:00
J K Terry
757c9d693a more texture creation up (#2312) 2021-08-12 12:43:57 -04:00
Christian Clauss
c7a8646953 lint_python.yml: Remove redundant tests done in pre-commit (#2309)
Follow up to #2270
2021-08-11 00:59:50 -04:00
Christian Clauss
c706b54d94 Add pre-commit hooks for bandit, black, codespell, and flake8 (#2270)
* Add pre-commit hooks for bandit, black, codespell, and flake8

* Those pesky - -- characters...

* Merge workflows and remove reduddency

* Resync
2021-08-11 00:41:52 -04:00
Xingdong Zuo
8070fb96c5 Update environments.md (#2308) 2021-08-10 23:22:58 -04:00
J K Terry
267916b9d2 try removing dead code (#2305) 2021-08-10 10:50:59 -04:00
Costa Huang
1397e705ea Make RecordEpisodeStatistics work with VectorEnv (#2296)
* Make RecordEpisodeStatistics work with VectorEnv

* fix test cases

* fix lint

* add test cases

* fix linting

* fix tests

* fix test cases...

* Update gym/wrappers/record_episode_statistics.py

Co-authored-by: Tristan Deleu <tristandeleu@users.noreply.github.com>

* fix test cases

* fix test cases again

Co-authored-by: Tristan Deleu <tristandeleu@users.noreply.github.com>
2021-08-05 17:06:49 -04:00
Justin Terry
ddd650a3fe black 2021-08-05 10:35:48 -04:00
Jakob Stigenberg
936dc6de36 mark abstract methods as abstract (#2158)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-08-05 10:35:07 -04:00
J K Terry
df4a171b8f Try removing pillow? (#2295)
* try removing pillow?

* remove pillow from requirements.txt too
2021-08-05 10:34:13 -04:00
J K Terry
3586d4a3b7 Update README.md 2021-08-04 16:15:58 -04:00
J K Terry
0fcaa5ddf7 Extras fixes (#2291)
* refactor extras

* black
2021-08-04 15:20:53 -04:00
J K Terry
714be81885 Update README.md 2021-08-04 12:58:14 -04:00
J K Terry
120e21cd75 remove unused render function (#2293) 2021-08-03 15:32:26 -04:00
J K Terry
7c8dd47b11 delete dead code (#2286) 2021-08-03 13:50:01 -04:00
J K Terry
3344918038 Update lint_python.yml (#2287) 2021-08-01 23:45:43 -04:00
J K Terry
1b17aa95bb Revert "delete dead code (#2284)" (#2285)
This reverts commit 5ef45f4812.
2021-08-01 23:32:14 -04:00
J K Terry
5ef45f4812 delete dead code (#2284) 2021-08-01 23:31:26 -04:00
J K Terry
f75c4101ec floating picle version (#2282) 2021-08-01 11:39:48 -04:00
Vince Jankovics
db7a7a0db3 Monitor directory fix (#2196) 2021-08-01 10:22:10 -04:00
Jan Kaiser
338b2acdb3 Made Box __repr__ output clearer (#2182) (#2183) 2021-07-31 13:19:06 -04:00
Tristan Deleu
7c9ae6d140 Remove the deprecation note from README.md (#2274) 2021-07-29 19:34:15 -04:00
J K Terry
d99087a685 update supersuit description 2021-07-29 19:09:08 -04:00
J K Terry
3abd5d55af remove wrapper deprication (#2273) 2021-07-29 17:51:02 -04:00
Kai Fricke
3d2bbc5106 Make Dict a Mapping (#2249) 2021-07-29 16:29:10 -04:00
J K Terry
78d2b512d8 redo black (#2272) 2021-07-29 15:39:42 -04:00