Code Monkey home page Code Monkey logo

deep_reinforcement_learning's Introduction

PyTorch implementation of Deep Reinforcement Learning Algorithms

This repository contains :

  1. Value-Based Methods : (Neural Q-Learning, DQN, Double-DQN, Memory improved DQN)
  2. Policy-Based Methods: (DDPG)

Important notes

  • The code works for PyTorch.
  • The agents interact with OpenAI gym and Unity environments.

Features

  • Support CUDA.(Faster than CPU implementation)
  • Support discrete and continous state space.
  • Support discrete and continous action space.

Resources

OpenAI Gym Benchmarks

Classic Control

  • Acrobot-v1 with Coming soon!
  • Cartpole-v0 with REINFORCE | solved in 691 episodes.
  • MountainCarContinuous-v0 with DDPG
  • MountainCar-v0 with Coming soon!
  • Pendulum-v0 with DDPG

Box2d

  • BipedalWalker-v2 with DDPG
  • CarRacing-v0 with Coming soon!
  • LunarLander-v2 with NeuralQLearner | solved in 314 episodes. Average Score: 200.5

Toy Text

  • FrozenLake-v0 with Coming soon!
  • Blackjack-v0 with Coming soon!
  • CliffWalking-v0 with Coming soon!

Unity-ML-Agents Benchmarks

  • BananaCollector with NeuralQLearner | solved in 345 episodes. Average Score: 13.02
  • Reacher with DDPG | solved in 147 episodes. Average Score: 30
  • Tennis with MADDPG | solved in 427 episodes. Average Score: 0.5

Linux dependencies

To set up your python environment to run the code in this repository, follow the instructions below.

  1. Install conda and create a new environment with Python 3.6.
conda create --name drlenv python=3.6
  1. To activate this environment
source activate drlenv
  1. To install and use OpenAI gym.
  • Next, install the classic control environment group by following the instructions here.
  • Then, install the box2d environment group by following the instructions here.
  1. [Optional] To install and use Unity ML-Agents

  2. Clone the repository

git clone https://github.com/dganbold/deep_reinforcement_learning
  1. Install the dependencies
pip install .

References

  • Udacity Deep-Reinforcement-Learning [Github]

deep_reinforcement_learning's People

Contributors

dganbold avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.