Giter Site home page Giter Site logo

nosyndicate / pytorchrl Goto Github PK

View Code? Open in Web Editor NEW
49.0 4.0 6.0 163 KB

Deep Reinforcement Learning algorithms implemented in PyTorch

License: MIT License

Python 100.00%
reinforcement-learning deep-reinforcement-learning pytorch inverse-reinforcement-learning imitation-learning

pytorchrl's Introduction

PyTorchRL

Deep Reinforcement Learning implemented in pytorch.

This project trying to mimic the structure of rllab code and occasionally borrow code from rllab and inverse_rl

  • Implemented Algorithms
    • Online

      • DDPG (Deep Deterministic Policy Gradient)
      • NAF (Normalized Advantage Function)
      • Soft Q-Learning (Deep Energy-Based Policy)
    • Batch

      • TRPO (Trust Region Policy Optimization)
    • Inverse Reinforcement Learning & Imitation Learning

      • Generative Adversarial Imitation Learning
      • Adversarial Inverse Reinforcement Learning

pytorchrl's People

Contributors

dwicke avatar nosyndicate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pytorchrl's Issues

conjugate gradient code will raise error

Conjugate gradient code will complain divides by 0 error if using numpy 1.13.3 in environmental.yaml
on Mac OS on anaconda, so we have to use 1.13.1. But 1.13.1 will raise error on linux. yuck!

Trying to get AIRL example to work

Hey.

I am trying to get the framework to work, however I fail compile most of the code.

Can you provide some install instructions?

Thank you!

Speed issue of implementation

DDPG code is really slow on linux machine with 12 threads, the speed of training 1 epoch (10000 steps) is 56 seconds which is same as just use one thread on my mac. The cpu is Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz for my mac, and Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz for my desktop linux machine.

According to https://github.com/Khrylx/PyTorch-RL, solution seems to be export OMP_NUM_THREADS=1, this will limit to just use one thread on linux machine, which is about same speed as mac with just one thread.

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.