GithubHelp home page GithubHelp logo

parasol's Introduction

SOLAR

This is the open source implementation of the representation learning and reinforcement learning method detailed in the following paper:

Marvin Zhang*, Sharad Vikram*, Laura Smith, Pieter Abbeel, Matthew J. Johnson, Sergey Levine.
SOLAR: Deep Structured Representations for Model-Based Reinforcement Learning.
International Conference on Machine Learning (ICML), 2019.
Project webpage

For more information on the method, please refer to the paper, blog post and talk. For questions about this codebase, please contact the lead authors.

Installation

We use Pipenv for dependency management.

$ pipenv install

Important files

  • BLDS: parasol/prior/blds.py implements our global dynamics prior
  • VAE: parasol/model/vae.py is our model with modular priors including unit Gaussian and BLDS
  • LQRFLM: parasol/control/lqrflm.py implements our control method

Running experiments

We provide a full example of the reacher experiment with the following files:

  • python experiments/vae/reacher-image/solar.py trains our model and saves the weights
  • python experiments/solar/reacher-image/solar.py loads the weights and runs SOLAR

Training the model is computationally expensive, slow, and does not always produce consistent results. Because of this, we also include a pretrained model in data/vae/reacher-image/weights/model-final.pkl. These weights can be directly loaded and run with the second script. Please note that training a model from scratch may lead to different policy performance, and multiple model training runs may be needed in order to achieve good performance.

Note that this environment requires OpenAI Gym and related dependencies, such as MuJoCo and mujoco-py.

parasol's People

Contributors

sharadmv avatar zhangmarvin avatar lauramsmith 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.