Giter VIP home page Giter VIP logo

stow's Introduction

Predicting Object Interactions with Behavior Primitives: An Application in Stowing Tasks

Haonan Chen, Yilong Niu, Kaiwen Hong, Shuijing Liu, Yixuan Wang, Yunzhu Li, Katherine Driggs-Campbell

CoRL 2023, Oral | Website | Paper

Demo

Real-World Demo

Our Method

Prerequisites

  • Operating System: Ubuntu 20.04.
  • Python: 3.8.
  • Environment: robosuite-1.2.

Installation Steps

  1. Create the conda environment:

    conda env create -f environment.yml
    conda activate stow
  2. Update .bashrc:

    echo 'export PYTHONPATH="${PYTHONPATH}:/path/to/stowing"' >> ~/.bashrc

Usage

Dataset Preparation for GNN

  1. Sample and Build Dataset:

    bash perception/scripts/run_sample.sh [push|sweep|insert]
  2. Manual Inspection (Optional):

    • Consolidate visualizations:
      perception/scripts/inspect_perception.sh
    • Review videos and record problematic indices in dump/perception/inspect/inspect.txt.
  3. Construct GNN Dataset:

    python perception/scripts/auto_patch_make.py

Training the Dynamics Model

You can find our pre-collected dataset here.

Execute the desired script by specifying the task (push, sweep, or insert):

python dynamics/scripts/hyperparameter_<task>.py

Code Structure

  • config/: Configuration files for perception and dynamics.
  • dynamics/: Scripts to train and evaluate the GNN.
  • perception/: The perception module of Stowing.
  • utils/: Utilities and visualization functions.

Citation

If you find our code or paper useful, please cite:

@inproceedings{
    chen2023predicting,
    title={Predicting Object Interactions with Behavior Primitives: An Application in Stowing Tasks},
    author={Haonan Chen and Yilong Niu and Kaiwen Hong and Shuijing Liu and Yixuan Wang and Yunzhu Li and Katherine Rose Driggs-Campbell},
    booktitle={7th Annual Conference on Robot Learning},
    year={2023},
    url={https://openreview.net/forum?id=VH6WIPF4Sj}       
}

Acknowledgement

The code is adapted from RoboCraft.

stow's People

Contributors

haonan16 avatar

Stargazers

friolero avatar SangjunNoh avatar Guang Yin avatar  avatar Shuijing Liu avatar Ruihai Wu avatar Victor Oloyede Aregbede avatar  avatar Kai Jia avatar Jinghan Huang avatar  avatar joonhyung-lee avatar

Watchers

 avatar

Forkers

ismarou dtbinh

stow's Issues

It seems the planning module is missed

the failure:
Traceback (most recent call last):
File "perception/sample.py", line 29, in
from planning.control_utils import *
ModuleNotFoundError: No module named 'planning'
Traceback (most recent call last):
File "perception/sample.py", line 29, in
from planning.control_utils import *
ModuleNotFoundError: No module named 'planning'
Traceback (most recent call last):
File "perception/sample.py", line 29, in
from planning.control_utils import *
ModuleNotFoundError: No module named 'planning'

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.