Commit Graph

98 Commits

Author SHA1 Message Date
Ariel Kwiatkowski
c364506710 Seeding update (#2422)
* Ditch most of the seeding.py and replace np_random with the numpy default_rng. Let's see if tests pass

* Updated a bunch of RNG calls from the RandomState API to Generator API

* black; didn't expect that, did ya?

* Undo a typo

* blaaack

* More typo fixes

* Fixed setting/getting state in multidiscrete spaces

* Fix typo, fix a test to work with the new sampling

* Correctly (?) pass the randomly generated seed if np_random is called with None as seed

* Convert the Discrete sample to a python int (as opposed to np.int64)

* Remove some redundant imports

* First version of the compatibility layer for old-style RNG. Mainly to trigger tests.

* Removed redundant f-strings

* Style fixes, removing unused imports

* Try to make tests pass by removing atari from the dockerfile

* Try to make tests pass by removing atari from the setup

* Try to make tests pass by removing atari from the setup

* Try to make tests pass by removing atari from the setup

* First attempt at deprecating `env.seed` and supporting `env.reset(seed=seed)` instead. Tests should hopefully pass but throw up a million warnings.

* black; didn't expect that, didya?

* Rename the reset parameter in VecEnvs back to `seed`

* Updated tests to use the new seeding method

* Removed a bunch of old `seed` calls.

Fixed a bug in AsyncVectorEnv

* Stop Discrete envs from doing part of the setup (and using the randomness) in init (as opposed to reset)

* Add explicit seed to wrappers reset

* Remove an accidental return

* Re-add some legacy functions with a warning.

* Use deprecation instead of regular warnings for the newly deprecated methods/functions
2021-12-08 16:14:15 -05:00
Tristan Deleu
01cc8a3a16 Add documentation for Vectorized environments (#2327) 2021-11-14 08:59:04 -05:00
Ishan Manchanda
103b7633f5 Readded overwritten changes for offset functionality for Discrete spaces (#2470)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-10-30 12:12:01 -04:00
Gabriel Nogueira
ff33188e53 Add flappy-bird-gym to third party environments (#2439)
This commit adds the [flappy-bird-gym](https://github.com/Talendar/flappy-bird-gym) package to `third_party_environments.md`. It's the first result on Google when searching for "flappy bird gym environment".
2021-10-06 21:53:52 -04:00
Emanuel Becerra Soto
596d2d452e gym-cellular-automata third party envs (#2437)
Addition of gym-cellular-automata
on the third party environments docs.

https://github.com/elbecerrasoto/gym-cellular-automata
2021-10-04 00:09:26 -04:00
J K Terry
65eebce904 even more fixes 2021-09-23 22:08:07 -04:00
J K Terry
7be352b46b typo and test 2021-09-23 22:00:49 -04:00
J K Terry
b283b2011d alphabetization and more fixes 2021-09-23 17:25:57 -04:00
J K Terry
1a1c7d115f underscore 2021-09-23 17:07:10 -04:00
J K Terry
67f69f5f6f fix up third party environment list 2021-09-23 17:03:46 -04:00
J K Terry
a3425de56a new environments 2021-09-23 17:02:09 -04:00
J K Terry
8a870c923e Update environments.md 2021-09-23 16:26:08 -04:00
Jesse Farebrother
5f89135868 Move legacy Atari environments -> ale-py (#2411) 2021-09-22 19:11:21 -04:00
Ahmed Omar
2754d9737e removed calls to reset from init (#2394)
* removed all calls to reset

* passing tests

* fix off-by-one error

* revert

* merge master into branch

* add OrderEnforcing Wrapper

* add orderenforcing to the docs

* add option for disabling

* add argument to EnvSpec
2021-09-16 10:16:49 -04:00
Jesse Farebrother
f6742ea808 Remove AtariEnv in favour of official ALE Python package (#2348)
* Remove AtariEnv in favour of official ALE Python

* More robust frame stacking test case

* Atari documentation update
2021-09-11 13:04:41 -04:00
Costa Huang
b1b0086134 Add Normalize env (#2387)
* initial commit

* undo black

* add code

* add test cases and refactor

* add docs

* black

* documentation update

* break feature apart

* quick fix

* quick fix

* quick fix

* update documentation

* update documentation

* Update wrapper naming

* fix ci
2021-09-09 15:57:10 -04:00
Mohammad Amin Haghpanah
89c8bfb3d6 Add gym-mtsim (#2403) 2021-09-07 17:26:29 -04:00
Alfred W. Jacob
ea8a21da3a Add version history for taxi (#2395)
* v3: Map Correction + Cleaner Domain Description
* v2: Disallow Taxi start location = goal location, Update Taxi observations in the rollout, Update Taxi reward threshold.
* v1: Remove (3,2) from locs, add passidx<4 check
* v0: Initial versions release
2021-09-05 22:14:44 -04:00
Dimitrios Koutras
27f42ef9ab Add MarsExplorer (https://github.com/dimikout3/MarsExplorer), a third party environment (#2389) 2021-09-03 12:28:36 -04:00
Rohan138
c00c1babb9 Remove unused toytext environments (#2384)
* Moved Unused ToyText Environments

* Fixed error message

* removed KellyCoinFlip test

removed KellyCoinFlip tests

removed KellyCoinFlip tests

* black

* Modified docs
2021-09-01 23:22:01 -04:00
Costa Huang
a004558445 add episodic trigger (#2376) 2021-08-31 16:59:21 -04:00
J K Terry
150404104a Move Algorithmic Environments to Third Party Repo (#2344)
* try removing algorithmic environments

* fix tests

* algorithmic environments

* Moved algorithmic environments (#2363)

* Moved algorithmic environments

Moved algorithmic environments

Moved algorithmic environments

* blacken

* remove bad link

Co-authored-by: Rohan138 <66227218+Rohan138@users.noreply.github.com>
2021-08-27 09:48:24 -04:00
Ariel Kwiatkowski
4e38147f15 Taxi-v3 docs fix (#2360)
* Changed the docstring of Taxi env

* Changed the docs of Taxi env
2021-08-26 15:09:54 -04:00
Alfred W. Jacob
81489aba95 Fix Roulette Documentation (#2356) 2021-08-26 11:46:28 -04:00
J K Terry
edc233288e Update environments.md 2021-08-25 18:02:55 -04:00
Alfred W. Jacob
1d41d4b364 Add Toy Text Environment Documentation (#2353)
* Add Algorithmic Environment documentation

I have added the documentation for algorithmic environments present on OpenAI gym.

Please note Reversed_Addition and Reversed_Addition3 have a single file and can be varied by giving rows parameter values 2,3 respectively.

The following work is still pending:

*Create a new table format to accommodate hyperlinks for value ranges that use parameters defined in the class
*Add documentation for Manual Control section
*Compute Average Reward

* Correct import statements in table

* Add Toy Text Environments

* New table struct for algorithm envs

* New table struct for toy text envs

* Remove algorithmic env

* Update taxi.md

Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-08-25 15:55:55 -04:00
Costa Huang
60526169c6 Add RecordVideo docs (#2332)
* add `RecordVideo` docs

* add deprecation notice
2021-08-23 10:28:30 -04:00
Jacopo Panerati
69c64d993a Update environments.md (#2338) 2021-08-21 16:09:36 -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
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
Justin Terry
76dd8d0c1c typos 2021-08-16 19:48:38 -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
8810382977 Bump frozen lake Versions (#2315)
* bump versions

* properly bump versions
2021-08-13 00:18:42 -04:00
Xingdong Zuo
8070fb96c5 Update environments.md (#2308) 2021-08-10 23:22:58 -04:00
Mathieu Poliquin
31be35ecd4 Added 'stable-retro' to third party env list (#2266) 2021-07-28 12:40:56 -04:00
Christian Clauss
2ef26144a2 Fix typos discovered by codespell (#2256)
Typos
2021-07-27 01:20:29 -04:00
Ikko Ashimine
065e6a5d74 Fix URL (#2244)
http -> https
2021-07-26 15:54:42 -04:00
Merve Noyan
98777c455c Fixed broken link (arcade learning environment) (#2222) 2021-07-26 15:53:24 -04:00
Erfan Miahi
a766dd0a2c A third-party environment named RiverSwim (#2086)
RiverSwim which is a simple hard exploration environment has been added to the list of third-party environments.

Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:51:08 -04:00
Akash Patel
a8153126a0 add gym-ccc third-party environment package (#2087)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:50:45 -04:00
MouseAndKeyboard
985de1f017 Added gym-spoof to third party environments (#2092) 2021-07-26 15:50:21 -04:00
Rajkumar Ramamurthy
cbcb6668ae Update documentation for new NLP environments (#2110)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:46:59 -04:00
Johnny
db80dbe4ad Add math_prog_synth_env to list of environments (#2252)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:45:01 -04:00
Yang Yu
e382c939bf Update environments.md (#2127)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:44:27 -04:00
qdevpsi3
0de634b2ce Add qas-gym to environments.md (#2226)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:41:35 -04:00
Matteo Lucchi
b1217f7308 Add robo-gym to third party environment list (#2248)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:40:08 -04:00
Hojoung (Brian) Jang
81b2ddd106 Add gym-xiangqi to third party environment list (#2230)
* Add gym-xiangqi to env list

* Update description

Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:36:28 -04:00