[!IMPORTANT] 🌟 Stay up to date at opendrivelab.com!
The official implementation of our NeurIPS 2024 paper:
Closed-Loop Visuomotor Control with Generative Expectation for Robotic Manipulation
Qingwen Bu, Jia Zeng, Li Chen, Yanchao Yang, Guyue Zhou, Junchi Yan, Ping Luo, Heming Cui, Yi Ma and Hongyang Li
:mailbox_with_mail: If you have any questions, please feel free to contact: Qingwen Bu ( qwbu01@sjtu.edu.cn )
Our training are conducted with PyTorch 1.13.1, CUDA 11.7, Ubuntu 22.04, and NVIDIA Tesla A100 (80 GB). The closed-loop evaluation on CALVIN is run on a system with NVIDIA RTX 3090.
We did further testing with PyTorch 2.2.0 + CUDA 11.8, and the training also goes fine.
conda create -n clover python=3.8
conda activate clover
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install git+https://github.com/hassony2/torch_videovision
pip install -e .
git clone --recurse-submodules https://github.com/mees/calvin.git
export CALVIN_ROOT=$(pwd)/calvin
cd $CALVIN_ROOT
sh install.sh
We release model weights of our Visual Planner and Feedback-driven Policy at HuggingFace.
The visual planner requires 24 GB GPU VRAM with a batch size of 4 (per GPU), video length of 8 and image size of 128.
Please modify accelerate_cfg.yaml first according to your setup.
accelerate launch --config_file accelerate_cfg.yaml train.py \
--learning_rate 1e-4 \
--train_num_steps 300000 \
--save_and_sample_every 10000 \
--train_batch_size 32 \
--sample_per_seq 8 \
--sampling_step 5 \
--with_text_conditioning \
--diffusion_steps 100 \
--sample_steps 10 \
--with_depth \
--flow_reg \
--results_folder *path_to_save_your_ckpts*
FeedbackPolicy/train_calvin.shcd ./FeedbackPolicy
bash train_calvin.sh
img_size: 192 and use_cls: False.cd ./FeedbackPolicy
bash eval_calvin.sh
If you find the project helpful for your research, please consider citing our paper:
@article{bu2024clover,
title={Closed-Loop Visuomotor Control with Generative Expectation for Robotic Manipulation},
author={Bu, Qingwen and Zeng, Jia and Chen, Li and Yang, Yanchao and Zhou, Guyue and Yan, Junchi and Luo, Ping and Cui, Heming and Ma, Yi and Li, Hongyang},
journal={arXiv preprint arXiv:2409.09016},
year={2024}
}
We thank AVDC and RoboFlamingo for their open-sourced work!
Python
99.6%
[!IMPORTANT] 🌟 Stay up to date at opendrivelab.com!
The official implementation of our NeurIPS 2024 paper:
Closed-Loop Visuomotor Control with Generative Expectation for Robotic Manipulation
Qingwen Bu, Jia Zeng, Li Chen, Yanchao Yang, Guyue Zhou, Junchi Yan, Ping Luo, Heming Cui, Yi Ma and Hongyang Li
:mailbox_with_mail: If you have any questions, please feel free to contact: Qingwen Bu ( qwbu01@sjtu.edu.cn )
Our training are conducted with PyTorch 1.13.1, CUDA 11.7, Ubuntu 22.04, and NVIDIA Tesla A100 (80 GB). The closed-loop evaluation on CALVIN is run on a system with NVIDIA RTX 3090.
We did further testing with PyTorch 2.2.0 + CUDA 11.8, and the training also goes fine.
conda create -n clover python=3.8
conda activate clover
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install git+https://github.com/hassony2/torch_videovision
pip install -e .
git clone --recurse-submodules https://github.com/mees/calvin.git
export CALVIN_ROOT=$(pwd)/calvin
cd $CALVIN_ROOT
sh install.sh
We release model weights of our Visual Planner and Feedback-driven Policy at HuggingFace.
The visual planner requires 24 GB GPU VRAM with a batch size of 4 (per GPU), video length of 8 and image size of 128.
Please modify accelerate_cfg.yaml first according to your setup.
accelerate launch --config_file accelerate_cfg.yaml train.py \
--learning_rate 1e-4 \
--train_num_steps 300000 \
--save_and_sample_every 10000 \
--train_batch_size 32 \
--sample_per_seq 8 \
--sampling_step 5 \
--with_text_conditioning \
--diffusion_steps 100 \
--sample_steps 10 \
--with_depth \
--flow_reg \
--results_folder *path_to_save_your_ckpts*
FeedbackPolicy/train_calvin.shcd ./FeedbackPolicy
bash train_calvin.sh
img_size: 192 and use_cls: False.cd ./FeedbackPolicy
bash eval_calvin.sh
If you find the project helpful for your research, please consider citing our paper:
@article{bu2024clover,
title={Closed-Loop Visuomotor Control with Generative Expectation for Robotic Manipulation},
author={Bu, Qingwen and Zeng, Jia and Chen, Li and Yang, Yanchao and Zhou, Guyue and Yan, Junchi and Luo, Ping and Cui, Heming and Ma, Yi and Li, Hongyang},
journal={arXiv preprint arXiv:2409.09016},
year={2024}
}
We thank AVDC and RoboFlamingo for their open-sourced work!
Python
99.6%