Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caibinqing/cartpole

CartPole Solver
https://github.com/caibinqing/cartpole

cartpole dqn gym pytorch

Last synced: 25 days ago
JSON representation

CartPole Solver

Awesome Lists containing this project

README

        

# [CartPole](https://gym.openai.com/envs/CartPole-v0/)

> A pole is attached by an un-actuated joint to a cart, which moves along a frictionless track. The system is controlled by applying a force of +1 or -1 to the cart. The pendulum starts upright, and the goal is to prevent it from falling over. A reward of +1 is provided for every timestep that the pole remains upright. The episode ends when the pole is more than 15 degrees from vertical, or the cart moves more than 2.4 units from the center.

## requirements

- [gym](https://gym.openai.com/docs/#installation)
- [pytorch](https://pytorch.org/get-started/locally/#start-locally)
- [matplotlib](https://matplotlib.org/users/installing.html#installing-an-official-release)

##

![Training](assets/CartPole-v0.png)