Skip to content

marianodepaula/DDPG_MountainCar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDPG_MountainCar

The mountain car continuous problem from gym was solved using DDPG, with neural networks as function aproximators. The solution is inspired in the DDPG algorithm, but using only low level information as inputs to the net, basically the net uses the position and velocity from the gym environment. The exploration is done by adding Ornstein-Uhlenbeck Noise to the process.

Requirements:

  • Numpy
  • Tensorflow
  • Open AI Gym

How to run

There is a Constant DEVICE = '/cpu:0', you if you have a gpu you can set it to DEVICE = '/gpu:0' and it will use tensorflow for training. To run the algorithm you can do:

python mountain.py

If there is a model saved in the folder it will load and start the training/testing. For testing set episilon = 0.

Sources:

About

The continuous mountain car problem solved with DDPG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%