Skip to content

cjm715/deeprl-pytorch-cartpole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla policy gradient algorithm in pytorch

Introduction

This repository is a pytorch implementation of vanilla policy gradient used to solve OpenAI's Cart-Pole gym environment.

Getting Started

Make sure to have to have the following packages installed:

Download the repository by clicking the green button labeled 'Clone or download' on this page. Alternatively, if you have git locally, you can clone at the terminal command line by using the command git clone https://github.com/cjm715/deeprl-pytorch-cartpole.git.

Instructions

To see a demonstration of any algorithm run the command python demo_vpg.py from root of this repository. This will train an agent, save output files, and render the environment under control by the trained agent.

About

Pytorch implementation of Vanilla Policy Gradient to solve reinforcement learning Cart Pole problem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages