Giter VIP home page Giter VIP logo

seil's Introduction

ICRA2023 SEIL: Simulation-augmented Equivariant Imitation Learning

drawing

Instruction

  1. Clone this repo
git clone https://github.com/SaulBatman/SEIL.git
cd SEIL && pip install -r requirements.txt
  1. Clone environment repo and export PYTHONPATH
git clone https://github.com/SaulBatman/BulletArm.git -b ibc
export PYTHONPATH=$PYTHONPATH:/YOURPATH/BulletArm/
  1. Run simulation experiments in Block in Bowl
cd SEIL/scripts
# run SEIL
python main.py --env=close_loop_block_in_bowl --model=equi_d
# run CNN w/ TS
python main.py --env=close_loop_block_in_bowl --model=cnn
# run equivariant BC
python main.py --env=close_loop_block_in_bowl --model=equi_d --simulate_n=0
# run CNN baseline
python main.py --env=close_loop_block_in_bowl --model=cnn --simulate_n=0
# run implicit BC baseline
python main.py --env=close_loop_block_in_bowl --model=ibc --simulate_n=0
  1. Run real-world experiments in Block in Bowl after unzip data into /scripts/buffer(dataset link)
cd SEIL/scripts
# run SEIL
python main.py --env=real_close_loop_block_in_bowl --model=equi_d --load_buffer=/YOURPATH/SEIL/scripts/buffer/bowl.npy
# run CNN baseline
python main.py --env=real_close_loop_block_in_bowl --model=cnn --load_buffer=/YOURPATH/SEIL/scripts/buffer/bowl.npy
# run implicit BC baseline
python main.py --env=real_close_loop_block_in_bowl --model=ibc --load_buffer=/YOURPATH/SEIL/scripts/buffer/bowl.npy

Note

  • All saved models and parameters are defaultly saved in YOURPATH/SEIL/scripts/outputs
  • There are other choices of environments (replace --env=close_loop_block_in_bowl):
    --env=close_loop_block_stacking
    --env=close_loop_shoe_packing
    --env=close_loop_drawer_opening
    
  • You can select number of demonstrations by adding the following argument (DEFAULT=10):
    --planner_episode=INT_NUM
    
  • To visualize a real-time pybullet renderer by adding the following argument:
    --render=t
    
  • If you are using your own real-world data, please make sure that transition simulation has the access to your point-cloud-to-image projection function.

seil's People

Contributors

pointw avatar saulbatman avatar xxs90shirley avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.