Environments¶
Construct any environment by passing its ID to gymnax.make:
import gymnax
env, params = gymnax.make("Breakout-MinAtar")
print(gymnax.registered_envs) # all available IDs
The spaces below hold for the default constructor arguments and parameters. Each ID links to a page with the dynamics, constructor arguments and parameters.
Classic control¶
Ports of the Gymnasium classic control tasks.
| ID | Observation | Actions | Reference |
|---|---|---|---|
CartPole-v1 |
Box(4,) |
Discrete(2) |
Brockman et al. (2016) |
Pendulum-v1 |
Box(3,) |
Box(1,) |
Brockman et al. (2016) |
Acrobot-v1 |
Box(6,) |
Discrete(3) |
Brockman et al. (2016) |
MountainCar-v0 |
Box(2,) |
Discrete(3) |
Brockman et al. (2016) |
MountainCarContinuous-v0 |
Box(2,) |
Box(1,) |
Brockman et al. (2016) |
bsuite¶
Diagnostic tasks from the Behaviour Suite, each probing one core capability such as memory, exploration or credit assignment.
| ID | Observation | Actions | Reference |
|---|---|---|---|
Catch-bsuite |
Box(10, 5) |
Discrete(3) |
Osband et al. (2020) |
DeepSea-bsuite |
Box(8, 8) |
Discrete(2) |
Osband et al. (2020) |
MemoryChain-bsuite |
Box(3,) |
Discrete(2) |
Osband et al. (2020) |
UmbrellaChain-bsuite |
Box(3,) |
Discrete(2) |
Osband et al. (2020) |
DiscountingChain-bsuite |
Box(2,) |
Discrete(5) |
Osband et al. (2020) |
MNISTBandit-bsuite |
Box(28, 28) |
Discrete(10) |
Osband et al. (2020) |
SimpleBandit-bsuite |
Box(1, 1) |
Discrete(11) |
Osband et al. (2020) |
MinAtar¶
Miniature Atari games on a 10 x 10 grid. Observations have one binary channel per object type.
| ID | Observation | Actions | Reference |
|---|---|---|---|
Asterix-MinAtar |
Box(10, 10, 4) |
Discrete(5) |
Young & Tian (2019) |
Breakout-MinAtar |
Box(10, 10, 4) |
Discrete(3) |
Young & Tian (2019) |
Freeway-MinAtar |
Box(10, 10, 7) |
Discrete(3) |
Young & Tian (2019) |
Seaquest-MinAtar |
Box(10, 10, 10) |
Discrete(6) |
Young & Tian (2019) |
SpaceInvaders-MinAtar |
Box(10, 10, 6) |
Discrete(4) |
Young & Tian (2019) |
Miscellaneous¶
Meta-learning tasks, simple continuous control and grid worlds.
| ID | Observation | Actions | Reference |
|---|---|---|---|
FourRooms-misc |
Box(4,) |
Discrete(4) |
Sutton et al. (1999) |
MetaMaze-misc |
Box(15,) |
Discrete(4) |
Miconi et al. (2020) |
PointRobot-misc |
Box(6,) |
Box(2,) |
Dorfman et al. (2021) |
BernoulliBandit-misc |
Box(4,) |
Discrete(2) |
Wang et al. (2017) |
GaussianBandit-misc |
Box(4,) |
Discrete(2) |
Lange & Sprekeler (2022) |
Reacher-misc |
Box(8,) |
Box(2,) |
Lenton et al. (2021) |
Swimmer-misc |
Box(16,) |
Box(2,) |
Lenton et al. (2021) |
Pong-misc |
Box(30, 40, 3) |
Discrete(3) |
Kirsch (2018) |
FrozenLake-misc |
Discrete(16) |
Discrete(4) |
Brockman et al. (2016) |
Snake-misc |
Box(10, 10, 3) |
Discrete(4) |
Trained agents and speed¶
gymnax-blines provides PPO and evolution strategy training pipelines, trained checkpoints and speed benchmarks for most environments.