Giter Site home page Giter Site logo

akashe / deepreinforcementlearning Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 666 KB

Deep RL implementations. DQN, SAC, DDPG, TD3, PPO and VPG implemented in pytorch. Tested Env: LunarLander-v2 and Pendulum-v0.

Home Page: https://akashe.io/blog/2020/10/14/policy-gradient-methods/

Jupyter Notebook 25.39% Python 74.61%
deep-rl-implementations algorithms pytorch-implementation lunarlander-v2 pendulum-v0 vpg sac ddpg td3 ppo

deepreinforcementlearning's Introduction

Deep RL algorithms implemented using Pytorch

Algo list:

  1. DQN
  2. Vanilla policy Gradient
  3. Deep Deterministic Policy Gradient
  4. Twin Delayed Deep Deterministic Policy Gradient
  5. Soft Actor Critic
  6. Proximal Policy Optimization - CLIP
Article on deeper Look into policy gradients

Experimental Results:

Algorithm Discrete Env: LunarLander-v2 Continuous Env: Pendulum-v0
DQN LunnarLander-DQN -
VPG LunarLander-VPG -
DDPG - Pendulum-DDPG
TD3 - Pendulum-TD3
SAC - Pendulum-SAC
PPO - Pendulum-PPO

Usage:

Just run the file/algorithm directly. There is no common structures between algorithms as I implemented them as I learnt them. Different algorithms are inspired from different sources.

Resources:

  1. RL course by David Silver
  2. Lecture slides for above course
  3. Spinning up by OpenAI
  4. More exhaustive RL guide by Deeny Britz

Future projects:

  1. If time available I will add a simple program for elevator using RL.
  2. Better graphs

deepreinforcementlearning's People

Contributors

akashe avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mrahman2-vt

deepreinforcementlearning's Issues

SAC DDPG

It seems that DDPG performs the best in the simulation. However, according to some papers, it doesn't present well, how does this happen?

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.