Giter Site home page Giter Site logo

rl-msol's Introduction

Repository for "Multitask Soft Option Learning" by Maximilian Igl, Andrew Gambardella, Jinke He, Nantas Nardelli, N. Siddharth, Wendelin Böhmer and Shimon Whiteson.

Requires openai baselines (https://github.com/openai/baselines) and sacred (https://github.com/IDSIA/sacred).

Please also add cuda=False if you're running without GPUs.

Running MSOL on Taxi

python main.py -p with architecture.num_options=4 loss.c_kl_b=0.02 loss.c_kl_b_1=0.1

For Distral on Taxi

python main.py -p with architecture.num_options=1 loss.c_kl_a=0.02 loss.c_kl_b=0. \
loss.entropy_loss_coef0=0.05 loss.entropy_loss_coef1=0.05 loss.entropy_loss_ceof_test=0.05

Required Packages

How I got it to run from scratch on Mac (there's also a pip_freeze.txt)

# Use python version 3.6 because gym and baselines rely on old version
pyenv install 3.6.12 && pyenv global 3.6.12
pip install sacred gym torch torchvision torchaudio pyyaml


# Install Openai Baselines (see https://github.com/openai/baselines)
brew install cmake openmpi
pip install tensorflow==1.14

git clone https://github.com/openai/baselines.git && cd baselines
pip install -e .
cd ..

git clone [email protected]:maximilianigl/rl-msol.git && cd rl-msol

rl-msol's People

Contributors

maximilianigl avatar

Stargazers

 avatar SUTI avatar JB Lanier avatar  avatar David Slayback avatar Ted Zadouri avatar masa-su avatar Tatsuya Matsushima avatar

Watchers

James Cloos avatar  avatar Tatsuya Matsushima avatar

rl-msol's Issues

How can I run play_taxi.py ?

Hi! I am a master who is studying in this field. I need this code for my graduation thesis. I have encountered some difficulties at present, and I hope to get your help.
I'd like to draw the image like Figure 4 in the paper, and I guess it can be drawn in play_taxi.py. However, I can't run this py program, it shows ImportError: cannot import name 'get_docs', which seems that there are some necessary things loss? Maybe there are some update in the code?
Thank you.

Any Updates on Code Release?

Hi, I'm a big fan of your work MSOL from UAI talk! And I'd like to test your idea with our environments. Are there any updates on the code release?
Thank you.

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.