GithubHelp home page GithubHelp logo

johnsonjiang1996 / deeprl_pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kchu/deeprl_pytorch

0.0 0.0 0.0 79.77 MB

Deep Reinforcement Learning codes for study. Currently, there are only codes for algorithms: DQN, C51, QR-DQN, IQN, QUOTA.

License: Apache License 2.0

Python 100.00%

deeprl_pytorch's Introduction

Deep Reinforcement Learning Codes

Currently, there are only the codes for distributional reinforcement learning here.

The codes for C51, QR-DQN, and IQN are a slight change from sungyubkim.

QUOTA is implemented based on the work of the algorithm's author: Shangtong Zhang.

Always up for a chat -- shoot me an email ([email protected]) if you'd like to discuss anything.

Dependency:

  • pytorch(>=1.0.0)
  • gym(=0.10.9)
  • numpy
  • matplotlib

Usage:

In order to run my code, you need to create two subdirectories under the main directory: ./data/model/ & ./data/plots/. These two directories are used to store the data.

When your computer's python environment satisfies the above dependencies, you can run the code. For example, enter:

python 3_iqn.py Breakout 

on the command line to run the algorithms in the Atari environment. You can change some specific parameters for the algorithms inside the codes.

After training, you can plot the results by running result_show.py with appropriate parameters.

References:

  1. Human-level control through deep reinforcement learning (DQN) [Paper] [Code]

  2. A Distributional Perspective on Reinforcement Learning (C51) [Paper] [Code]

  3. Distributional Reinforcement Learning with Quantile Regression (QR-DQN) [Paper] [Code]

  4. Implicit Quantile Networks for Distributional Reinforcement Learning (IQN) [Paper] [Code]

  5. QUOTA: The Quantile Option Architecture for Reinforcement Learning (QUOTA) [Paper] [Code]

deeprl_pytorch's People

Contributors

kchu 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.