[ECCV 2026] Official code of GEM: Generative Supervision Helps Embodied Intelligence
92
stars
9
commits
Python
primary language
May 30, 2026
updated
Ruowen Zhao1,
Bangguo Li1,
Zuyan Liu1,2,†,
Yinan Liang1,
Junliang Ye1,
Fangfu Liu1,
Diankun Wu1,
Zhengyi Wang1,
Xumin Yu2,
Yongming Rao2,✉,
Han Hu2,
Jun Zhu1,✉
†Project Lead.✉Corresponding Author.
1Tsinghua University,
2Tencent Hunyuan
https://github.com/user-attachments/assets/e978726f-d2ab-46af-8513-eb0a62a94ecc
Overview of GEM. GEM enhances semantic reasoning and physical grounding with an auxiliary depth-generation objective. Trained on the large-scale embodied data, GEM achieves strong performance across diverse embodied benchmarks. The extending GEM-VLA also attains SOTA results on simulation and real-world robot tasks.
git clone https://github.com/zhaorw02/GEM.git
cd GEM
We use conda to manage the environment. Recommended versions:
torch>=2.6.0, torchvision, transformers>=4.57.0deepspeed, flash-attn, accelerate, peft, triton, torchcodecconda create -n gem python=3.12 -y
conda activate gem
pip install -r requirements.txt
pip install flash-attn --no-build-isolation
Please configure the dataset paths in qwen-vl-finetune/qwenvl/data/__init__.py. Specifically, set annotation_path and data_path for GEM-250K, which can be downloaded from Hugging Face: GEM-250K.
You also need to update the depth image path and the depth image loading logic in qwen-vl-finetune/qwenvl/data/utils.py according to your local directory structure.
The pretrained GEM-2B checkpoint is available on Hugging Face: 🤗 GEM-2B.
Set in qwen-vl-finetune/train.sh:
MODEL_PATH: path to pretrained checkpoints.OUTPUT_DIR: where to save checkpoints.Edit annotation_path and data_path (after downloading from GEM-250K) in qwen-vl-finetune/qwenvl/data/__init__.py.
From the qwen-vl-finetune/ directory:
cd qwen-vl-finetune
# 8 GPUs by default; set NPROC_PER_NODE or CUDA_VISIBLE_DEVICES as needed
bash scripts/train.sh
Run inference with the following commands:
cd qwen-vl-finetune
python inference.py
Please refer to GEM-VLA for details.
If you find our work helpful, please consider citing:
@article{zhao2026gem,
title={GEM: Generative Supervision Helps Embodied Intelligence},
author={Zhao, Ruowen and Li, Bangguo and Liu, Zuyan and Liang, Yinan and Ye, Junliang and Liu, Fangfu and Wu, Diankun and Wang, Zhengyi and Yu, Xumin and Rao, Yongming and others},
journal={arXiv preprint arXiv:2605.28548},
year={2026}
}
Our code is based on these wonderful repos: Qwen3-VL, Sana, RDT2
9 commits
Python
97.7%
Shell
2.3%
[ECCV 2026] Official code of GEM: Generative Supervision Helps Embodied Intelligence
92
stars
9
commits
Python
primary language
May 30, 2026
updated
Ruowen Zhao1,
Bangguo Li1,
Zuyan Liu1,2,†,
Yinan Liang1,
Junliang Ye1,
Fangfu Liu1,
Diankun Wu1,
Zhengyi Wang1,
Xumin Yu2,
Yongming Rao2,✉,
Han Hu2,
Jun Zhu1,✉
†Project Lead.✉Corresponding Author.
1Tsinghua University,
2Tencent Hunyuan
https://github.com/user-attachments/assets/e978726f-d2ab-46af-8513-eb0a62a94ecc
Overview of GEM. GEM enhances semantic reasoning and physical grounding with an auxiliary depth-generation objective. Trained on the large-scale embodied data, GEM achieves strong performance across diverse embodied benchmarks. The extending GEM-VLA also attains SOTA results on simulation and real-world robot tasks.
git clone https://github.com/zhaorw02/GEM.git
cd GEM
We use conda to manage the environment. Recommended versions:
torch>=2.6.0, torchvision, transformers>=4.57.0deepspeed, flash-attn, accelerate, peft, triton, torchcodecconda create -n gem python=3.12 -y
conda activate gem
pip install -r requirements.txt
pip install flash-attn --no-build-isolation
Please configure the dataset paths in qwen-vl-finetune/qwenvl/data/__init__.py. Specifically, set annotation_path and data_path for GEM-250K, which can be downloaded from Hugging Face: GEM-250K.
You also need to update the depth image path and the depth image loading logic in qwen-vl-finetune/qwenvl/data/utils.py according to your local directory structure.
The pretrained GEM-2B checkpoint is available on Hugging Face: 🤗 GEM-2B.
Set in qwen-vl-finetune/train.sh:
MODEL_PATH: path to pretrained checkpoints.OUTPUT_DIR: where to save checkpoints.Edit annotation_path and data_path (after downloading from GEM-250K) in qwen-vl-finetune/qwenvl/data/__init__.py.
From the qwen-vl-finetune/ directory:
cd qwen-vl-finetune
# 8 GPUs by default; set NPROC_PER_NODE or CUDA_VISIBLE_DEVICES as needed
bash scripts/train.sh
Run inference with the following commands:
cd qwen-vl-finetune
python inference.py
Please refer to GEM-VLA for details.
If you find our work helpful, please consider citing:
@article{zhao2026gem,
title={GEM: Generative Supervision Helps Embodied Intelligence},
author={Zhao, Ruowen and Li, Bangguo and Liu, Zuyan and Liang, Yinan and Ye, Junliang and Liu, Fangfu and Wu, Diankun and Wang, Zhengyi and Yu, Xumin and Rao, Yongming and others},
journal={arXiv preprint arXiv:2605.28548},
year={2026}
}
Our code is based on these wonderful repos: Qwen3-VL, Sana, RDT2
9 commits
Python
97.7%
Shell
2.3%