Giter VIP home page Giter VIP logo

mtrf's Introduction

MTRF

Code for Reset-Free Reinforcement Learning via Multi-Task Learning: Learning Dexterous Manipulation Behaviors without Human Intervention. Please see License for details.

Project website: https://sites.google.com/view/mtrf

Setup

  1. Clone this repo with pre-populated submodule dependencies
$ git clone --recursive [email protected]:vikashplus/r3l.git
  1. Update submodules
$ cd MTRF
$ git submodule update --remote
  1. conda env create -f environment.yml
    • This might complain for you to add nvidia-*** to your Python path in .bashrc, just follow the instructions given to resolve this.
  2. pip install -r requirements.txt
  3. pip install -U git+https://github.com/hartikainen/serializable.git@76516385a3a716ed4a2a9ad877e2d5cbcf18d4e6
    • This repository depends on definitions in this specific serializable package.
  4. Add MTRF repository to your python_path
    • option1: conda develop MTRF
    • option2: manually add <MTRF_folder_path> to python_path
  5. Enter the algorithms directory and run pip install -e . to install softlearning.
  6. Run an example command (see below).

Example Commands

Basket

softlearning run_example_local examples.development --exp-name=replicate_basket_results --algorithm=PhasedSAC --num-samples=1  --trial-gpus=1 --trial-cpus=2 --universe=gym --domain=SawyerDhandInHandDodecahedron --task=BasketPhased-v0 --task-evaluation=BasketPhasedEval-v0 --video-save-frequency=0 --save-training-video-frequency=5 --vision=False --preprocessor-type="None" --checkpoint-frequency=50 --checkpoint-replay-pool=False

Bulb

softlearning run_example_local examples.development --exp-name=replicate_bulb_results --algorithm=PhasedSAC --num-samples=1  --trial-gpus=1 --trial-cpus=2 --universe=gym --domain=SawyerDhandInHandDodecahedron --task=BulbPhased-v0 --task-evaluation=BulbPhasedEval-v0 --video-save-frequency=0 --save-training-video-frequency=5 --vision=False --preprocessor-type="None" --checkpoint-frequency=50 --checkpoint-replay-pool=False

Tips

  1. Add export CUDA_VISIBLE_DEVICES="0,1" in front of the command to specify GPUs.
  2. Change --num-samples=X for X seeds of the same experiment.
  3. Change --trial-gpus=X to specify X GPUs PER trial.
  4. Find results in ~/ray_results/<universe>/<domain>/<task>/<experiment_name>

Citation

@article{guptaYuZhaoKumar2021reset,
  title={Reset-Free Reinforcement Learning via Multi-Task Learning: Learning Dexterous Manipulation Behaviors without Human Intervention},
  author={Gupta, Abhishek* and Yu, Justin* and Zhao, Tony Z* and Kumar, Vikash* and Rovinsky, Aaron and Xu, Kelvin and Devlin, Thomas and Levine, Sergey},
  journal={International Conference on Robotics and Automation(ICRA)},
  year={2021}
}

mtrf's People

Contributors

vikashplus avatar

Stargazers

tiger avatar wingsfree avatar Rodrigo de Lazcano avatar shaowen cheng avatar Thomas Wood avatar  avatar

Watchers

 avatar Cami Williams avatar Kairsten Fay avatar Arun Sathiya avatar  avatar

Forkers

xuwangxw hly-123

mtrf's Issues

How to install "r3l" module?

I meet the ModuleNotFoundError: No module named 'r3l' when I run the script.
I tried to copy the r3l file to the environment folder, bur encountered new problems. And i don't fing the setup.py to install r3l module.
And [email protected]:vikashplus/r3l.git is no longer existed,

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.