Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/caibinqing/cartpole
- Owner: caibinqing
- Created: 2020-02-09T06:49:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-18T13:30:17.000Z (almost 5 years ago)
- Last Synced: 2024-11-24T11:29:06.526Z (about 1 month ago)
- Topics: cartpole, dqn, gym, pytorch
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)