This project aims to implement a reinforcement learning algorithm using PyTorch to solve the Cartpole environment from OpenAI Gym. This serves as an introductory project to reinforcement learning with PyTorch.
Cartpole is a classic reinforcement learning problem where the goal is to balance a pole on a cart by moving the cart left or right. The environment provides observations about the state of the system and allows actions to be taken to control the cart. The goal is to keep the pole balanced for as long as possible.
-
Make sure you have Python installed on your system. You can download it from python.org.
-
Clone this repository to your local machine:
git clone https://github.com/your-username/Cartpole-with-PyTorch.git