Skip to content

Deep Reinforcement Learning implementation of Policy Gradient on a simple Grid-World problem using PyTorch.

License

Notifications You must be signed in to change notification settings

georgeyiasemis/Policy-Gradient-Reinforcement-Learning-on-a-Grid-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Policy Gradient Reinforcement Learning on a Grid World

About the Project

Deep Reinforcement Learning implementation of Policy Gradient on a simple Grid-World problem using PyTorch.

Example

In main.py define the environment and the agent, as well as the hyperparameters of the policy gradient network and run python3 main.py. The script saves a plot of the average rewards during training and validation. (See figure below for an example)

example

Prerequisites

  • pytorch
  • numpy
  • opencv
  • matplotlib.

About

Deep Reinforcement Learning implementation of Policy Gradient on a simple Grid-World problem using PyTorch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages