A simple, continuous-control environment for OpenAI Gym
Project description
gym-cartpole-swingup
A simple, continuous-control environment for OpenAI Gym
Installation
pip install gym-cartpole-swingup
Usage example
# coding: utf-8 import gym import gym_cartpole_swingup # Could be one of: # CartPoleSwingUp-v0, CartPoleSwingUp-v1 # If you have PyTorch installed: # TorchCartPoleSwingUp-v0, TorchCartPoleSwingUp-v1 env = gym.make("CartPoleSwingUp-v0") done = False while not done: action = env.action_space.sample() obs, rew, done, info = env.step(action) env.render()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size gym_cartpole_swingup-0.1.1-py3-none-any.whl (19.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size gym-cartpole-swingup-0.1.1.tar.gz (18.1 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for gym_cartpole_swingup-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae6a4fcfcff02b88307e9784e420643f494713530bac0bdb09a03091f7ba076 |
|
MD5 | 0ff21be51cdd85120c5bfeb363213377 |
|
BLAKE2-256 | b625a22a871d2e539ae998be2408bde6cdb0cc9ea5f3b51907291e2507fc9825 |
Close
Hashes for gym-cartpole-swingup-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd96a9ddc0419395eb57cc0e5bbd9b454344052ad1978f63da7b80aa85981cb |
|
MD5 | d6c7b821c7d5781cb2d53d3671abff1b |
|
BLAKE2-256 | c1bfa06c8960e9a31ce57cda04c52eeb248a964660737f597bcd85c18d2e6256 |