Skip to content

schliffen/reinforcement-learning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is an open source project built for experimenting with deep reinforcement learning algorithms in environments with continuous action domain (e.g. robot control tasks) from OpenAI Gym. It is a part of my Master's thesis focusing on model-based deep reinforcement learning. It also includes TensorFlow implementation of Deep Deterministic Policy Gradient algorithm and Prioritized Experience Replay.

Deep Model Learning Actor-Critic

DMLAC is a novel model-based actor-critic off-policy deep reinforcement learning algorithm inspired by Dyna-MLAC. It is designed to work in deterministic environments with continuous action domains. DMLAC learns a model of the environment from the experience of interacting with the environment. Policy is learned using the model in an actor-model-critic setting. Model is also used for n-step temporal difference learning of value function. Policy, model, and value functions are approximated with fully connected neural networks and trained with minibatches selected from prioritized experience replay.

Installation

(Tested with Python 2.7.12 + Ubuntu 16.04 + TensorFlow 1.1 + CUDA 8.0)

WARNING: In order to render OpenAI Gym environments inside Jupyter notebooks, you have to install NVIDIA drivers with --no-opengl-files option, i.e. ./NVIDIA-Linux-x86-375.39.run --no-opengl-files. If you already have NVIDIA drivers with opengl libs installed, you have to uninstall them first.

  1. Install TensorFlow with GPU support https://www.tensorflow.org/install/install_linux
  2. Install dependencies apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig
  3. Install OpenAI Gym pip install gym[all] https://gym.openai.com/docs
  4. Install Jupyter pip install jupyter
  5. Launch Jupyter notebook server with a virtual screen buffer xvfb-run -s "-screen 0 1400x900x24" jupyter notebook
  6. Open Notebook Dashboard in web browser (https://localhost:8888) and run .ipynb file of your choosing http://jupyter.readthedocs.io/en/latest/running.html#running

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • Python 0.2%