ray/rllib/env
Avnish Narayan 026bf01071
[RLlib] Upgrade gym version to 0.21 and deprecate pendulum-v0. (#19535)
* Fix QMix, SAC, and MADDPA too.

* Unpin gym and deprecate pendulum v0

Many tests in rllib depended on pendulum v0,
however in gym 0.21, pendulum v0 was deprecated
in favor of pendulum v1. This may change reward
thresholds, so will have to potentially rerun
all of the pendulum v1 benchmarks, or use another
environment in favor. The same applies to frozen
lake v0 and frozen lake v1

Lastly, all of the RLlib tests and have
been moved to python 3.7

* Add gym installation based on python version.

Pin python<= 3.6 to gym 0.19 due to install
issues with atari roms in gym 0.20

* Reformatting

* Fixing tests

* Move atari-py install conditional to req.txt

* migrate to new ale install method

* Fix QMix, SAC, and MADDPA too.

* Unpin gym and deprecate pendulum v0

Many tests in rllib depended on pendulum v0,
however in gym 0.21, pendulum v0 was deprecated
in favor of pendulum v1. This may change reward
thresholds, so will have to potentially rerun
all of the pendulum v1 benchmarks, or use another
environment in favor. The same applies to frozen
lake v0 and frozen lake v1

Lastly, all of the RLlib tests and have
been moved to python 3.7
* Add gym installation based on python version.

Pin python<= 3.6 to gym 0.19 due to install
issues with atari roms in gym 0.20

Move atari-py install conditional to req.txt

migrate to new ale install method

Make parametric_actions_cartpole return float32 actions/obs

Adding type conversions if obs/actions don't match space

Add utils to make elements match gym space dtypes

Co-authored-by: Jun Gong <jungong@anyscale.com>
Co-authored-by: sven1977 <svenmika1977@gmail.com>
2021-11-03 16:24:00 +01:00
..
apis [RLlib] Add simple curriculum learning API and example script. (#15740) 2021-05-16 17:35:10 +02:00
tests [RLlib] TF2/eager memory leak fixes. (#19198) 2021-10-09 00:11:53 +02:00
wrappers [RLlib] Upgrade gym version to 0.21 and deprecate pendulum-v0. (#19535) 2021-11-03 16:24:00 +01:00
__init__.py [rllib] parallel pettingzoo import (#16722) 2021-07-01 18:37:59 -07:00
base_env.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00
env_context.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00
external_env.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00
external_multi_agent_env.py [RLlib] SAC algo cleanup. (#10825) 2020-09-20 11:27:02 +02:00
multi_agent_env.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00
policy_client.py [RLlib] Better PolicyServer example (w/ or w/o tune) and add printing out actual listen port address in log-level=INFO. (#18254) 2021-08-31 22:03:23 +02:00
policy_server_input.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00
remote_vector_env.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00
utils.py [RLlib] Better error messages and hints; + failure-mode tests; (#18466) 2021-09-10 16:52:47 +02:00
vector_env.py [RLlib; Docs overhaul] Docstring cleanup: Environments. (#19784) 2021-10-29 10:46:52 +02:00