GithubHelp home page GithubHelp logo

vk-mittal14 / hrl4in Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chengshuli/hrl4in

0.0 0.0 0.0 418 KB

Code for CoRL 2019 paper: HRL4IN: Hierarchical Reinforcement Learning for Interactive Navigation with Mobile Manipulators

Home Page: https://sites.google.com/view/hrl4in

License: MIT License

Python 96.30% Shell 3.70%

hrl4in's Introduction

Code release for the CoRL 2019 paper: HRL4IN: Hierarchical Reinforcement Learning for Interactive Navigation with Mobile Manipulators

The PPO implementation is partially adopted from pytorch-a2c-ppo-acktr-gail and habitat-api

Dependency

  • torch==1.1.0
  • torchvision==0.2.2

Installation

  1. Install iGibson with the hrl4in branch.
cd $HOME
git clone --recursive https://github.com/StanfordVL/iGibson.git
cd $HOME/iGibson
git checkout --track origin/hrl4in
pip install -e .
  1. Download iGibson assets.
wget https://storage.googleapis.com/gibson_scenes/assets_igibson.tar.gz -O /tmp/assets_igibson.tar.gz
tar -zxf /tmp/assets_igibson.tar.gz --directory $HOME/iGibson/gibson2
rm /tmp/assets_igibson.tar.gz
  1. Install HRL4IN
cd $HOME
git clone --recursive https://github.com/ChengshuLi/HRL4IN.git 
cd $HOME/HRL4IN
pip install -e .
  1. Copy the updated JR URDF file from this repo to iGibson's asset folder
cp $HOME/HRL4IN/hrl4in/envs/gibson/jr2_kinova.urdf $HOME/iGibson/gibson2/assets/models/jr2_urdf/jr2_kinova.urdf

Usage

Train in ToyEnv

./run_train_toy_env.sh

Train in iGibson

./run_train_gibson.sh

Eval in ToyEnv

./run_eval_toy_env.sh

Eval in iGibson

./run_eval_gibson.sh

Citation

If you use this code, please cite it as:

@article{li2019hrl4in,
  title={HRL4IN: Hierarchical Reinforcement Learning for Interactive Navigation with Mobile Manipulators},
  author={Li, Chengshu and Xia, Fei and Martin-Martin, Roberto and Savarese, Silvio},
  journal={arXiv preprint arXiv:1910.11432},
  year={2019}
}

hrl4in's People

Contributors

vk-mittal14 avatar chengshuli 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.