Giter VIP home page Giter VIP logo

d3g's Introduction

Estimating Q(s,s') with Deep Deterministic Dynamics Gradients

            

Figure 1: Model predictions learned by D3G in a Gridworld, InvertedPendulum-v2, and Reacher-v2.


Official PyTorch implementation of Deep Deterministic Dynamics Gradients. Code is based heavily on the Twin Delayed DDPG implementation. For research purpose only. Support and/or new releases may be limited.

Setup

Clone the repo:

git clone https://github.com/uber-research/D3G.git && cd D3G

We use Python 3.6.2. Requirements for D3G can be installed by running:

pip install -r D3G/requirements.txt

Running toy QSS problems

The stochastic action results can be reproduced by running:

cd toy_problems/stochastic_actions && python model_gridworld.py --stochasticity {rand}

The windy cliffworld results can be reproduced by running:

cd toy_problems/windy_cliffworld && python model_gridworld.py 

The redundant action results can be reproduced by running:

cd toy_problems/redundant_actions && python model_gridworld.py

The shuffled action results can be reproduced by running:

cd toy_problems/shuffled_actions && python model_gridworld.py && python model_gridworld.py --shuffled

Running D3G

The paper results can be reproduced by running:

cd D3G && ./mujoco_experiments/run_D3G_experiments.sh

The model predictions for Reacher-v2 and InvertedPendulum-v2 can be visualized. To see this, run:

cd D3G && python main.py --policy D3G --env Reacher-v2 --visualize

Running Learning from Observation

The paper results can be reproduced by running:

cd D3G && ./lfo_experiments/run_D3G_experiments

The model predictions for Reacher-v2 and InvertedPendulum-v2 can be visualized here too. To see this, run:

cd D3G && python learn_from_observation.py --policy D3G --env Reacher-v2 --visualize

d3g's People

Contributors

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