Skip to main content

A set of additional gym environments

Project description

The my_gym library is the place where I put additional gym-like environments.

So far, it contains the following environments:

  • CartPoleContinuous-v0 (with timit limit = 200 steps)
  • CartPoleContinuous-v1 (with timit limit = 500 steps)
  • MazeMDP, a Maze environment for Tabular RL
  • RocketLander-v0, a rocket landing simulation adapted from this repository
  • LineMDP-v0, a simple discrete state and action MDP
  • LineMDPContinuous-v0, a simple discrete action MDP
  • 2DMDPContinuous-v0, a discrete action MDP with 2D state

Besides, the gym version is forced to 0.21.0 to avoid the large changes that have appeared after version 0.22

Installation

pip install -e .

Use it

import gym
import my_gym

env = gym.make("CartPoleContinuous-v0")  # or -v1 or any other and then use your environment as usual

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bbrl_gym-1.2.5.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

bbrl_gym-1.2.5-py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page