Coder Social home page Coder Social logo

hu-hanyang / rarl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lerrel/rllab-adv

0.0 0.0 0.0 6.41 MB

Code to train RL agents along with Adversarial distrubance agents

Home Page: https://arxiv.org/abs/1703.02702

Shell 1.60% JavaScript 1.56% Ruby 0.67% Python 94.68% CSS 0.46% HTML 0.83% Mako 0.21%

rarl's Introduction

Under Development

Robust Adversarial Reinforcement Learning

This repo contains code for training RL agents with adversarial disturbance agents in our work on Robust Adversarial Reinforcement Learning (RARL). We build heavily build on the OpenAI rllab repo.

Installation instructions

Since we build upon the rllab package for the optimizers, the installation process is similar to rllab's manual installation. Most of the packages are virtually installated in the anaconda rllab3-adv enivronment.

  • Dependencies for scipy:
sudo apt-get build-dep python-scipy
  • Install python modules:
conda env create -f environment.yml
export PYTHONPATH=<PATH_TO_RLLAB_ADV>:$PYTHONPATH

Example

# Enter the anaconda virtual environment
source activate rllab3-adv
# Train on InvertedPendulum
python adversarial/scripts/train_adversary.py --env InvertedPendulumAdv-v1 --folder ~/rllab-adv/results

Contact

Lerrel Pinto -- lerrelpATcsDOTcmuDOTedu.

rarl's People

Contributors

dementrock avatar lerrel avatar neocxi avatar alexbeloi avatar coorsbenjamin avatar openai-sys-okta-integration avatar paulhendricks avatar tigerneil avatar zhongwen avatar lchenat avatar singulaire 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.