This is a repository containing datasets, visualizations and model checkpoints for the CoRL 2023 paper:
ManiCast: Collaborative Manipulation with Cost-Aware Human Forecasting
Kushal Kedia,
Prithwish Dan,
Atiksh Bhardwaj,
Sanjiban Choudhury
Our framework ManiCast learns cost-aware human motion forecasts and plans with such forecasts for collaborative manipulation tasks.
We release a high-quality dataset collected using a motion capture system, consisting of two humans collaborating to perform daily household activities. Episodes of each task along with train, validation and test splits can be found here.
Setup environments following the SETUP.md
We release checkpoints of all the models used in our paper. The next two sections provide instructions on how to use these models.
Play any data episode via any model.
python eval/comad_visualization.py --data_dir {handover, reactive_stirring, table_setting} --visualize_from {train, val, test} --ep_num <EPISODE_NUMBER> --load_path <MODEL_NAME>
Python notebook demo through eval/comad_visualization.ipynb.
Generate evaluation metrics on Object Handovers.
python eval/handover.py --ep_num 2
Generate evaluation metrics on Reactive Stirring.
python eval/reactive_stirring.py --ep_num 4
Generate evaluation metrics on CoMaD Dataset.
python eval/test_comad.py
Pretrain model on large-scale data (requires following SETUP.md to install AMASS data).
python src/pretrain.py --weight 1
Finetune the above models using the ManiCast framework.
Add --load_path default/<epoch num>
to load a model trained with pretrain.py
. Upweighting wrist/hand joints can be done easily through the --weight
command line argument.
python src/finetune.py --weight 1 `--load_path default/<epoch num>`
This repository borrows code from STS-GCN.
@inproceedings{kedia2023manicast,
title={ManiCast: Collaborative Manipulation with Cost-Aware Human Forecasting},
author={Kushal Kedia and Prithwish Dan and Atiksh Bhardwaj and Sanjiban Choudhury},
booktitle={7th Annual Conference on Robot Learning},
year={2023},
url={https://openreview.net/forum?id=rxlokRzNWRq}
}