Giter Site home page Giter Site logo

linzichuan / admrl Goto Github PK

View Code? Open in Web Editor NEW
32.0 4.0 6.0 899 KB

Code for paper "Model-based Adversarial Meta-Reinforcement Learning" (https://arxiv.org/abs/2006.08875)

Python 96.57% Shell 0.21% CSS 0.52% JavaScript 1.77% HTML 0.93%
meta-reinforcement-learning model-based-rl adversarial-training tensorflow

admrl's Introduction

AdMRL

This is the implementation for the paper Model-based Adversarial Meta-Reinforcement Learning.

If you use this code in your research, please cite the following paper:

@article{lin2020model, 
    title={Model-based Adversarial Meta-Reinforcement Learning}, 
    author={Lin, Zichuan and Thomas, Garrett and Yang, Guangwen and Ma, Tengyu},
    journal={arXiv preprint arXiv:2006.08875}, 
    year={2020} 
}

Requirements

  1. OpenAI Baselines (0.1.6)
  2. MuJoCo (>= 1.5)
  3. TensorFlow (>= 1.9)
  4. NumPy (>= 1.14.5)
  5. Python 3.6

๐Ÿ”ง Installation

To install, you need to first install MuJoCo. Set LD_LIBRARY_PATH to point to the MuJoCo binaries (/$HOME/.mujoco/mujoco200/bin) and MUJOCO_LICENSE_PATH to point to the MuJoCo license (/$HOME/.mujoco/mjkey.txt). You can then setup mujoco by running rllab/scripts/setup_mujoco.sh. To install the remaining dependencies, you can create our environment with conda env create -f environment.yml. To use rllab, you also need to run cd rllab; pip install -e ..

๐Ÿš€ Run

You can run experiments:

python main.py --taskname=Ant2D

You can also specify the hyper-parameters in launch.py and run many experiments:

python launch.py

License

MIT License.

admrl's People

Contributors

linzichuan 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

Watchers

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