https://github.com/bytedance/irasim
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org, scholar.google -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.6%) to scientific vocabulary
Keywords
Repository
Basic Info
Statistics
- Stars: 105
- Watchers: 1
- Forks: 8
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
IRASim: Learning Interactive Real-Robot Action Simulators
Fangqi Zhu1,2, Hongtao Wu1†*, Song Guo2*, Yuxiao Liu1, Chilam Cheang1, Tao Kong1
1ByteDance Research, 2Hong Kong University of Science and Technology
*Corresponding authors †Project Lead
https://github.com/user-attachments/assets/916034da-f0a7-40c2-8d98-c4c67760cf41
Scalable robot learning in the real world is limited by the cost and safety issues of real robots. In addition, rolling out robot trajectories in the real world can be time-consuming and labor-intensive. In this paper, we propose to learn an interactive real-robot action simulator as an alternative. We introduce a novel method, IRASim, which leverages the power of generative models to generate extremely realistic videos of a robot arm that executes a given action trajectory, starting from an initial given frame. To validate the effectiveness of our method, we create a new benchmark, IRASim Benchmark, based on three real-robot datasets and perform extensive experiments on the benchmark. Results show that IRASim outperforms all the baseline methods and is more preferable in human evaluations. We hope that IRASim can serve as an effective and scalable approach to enhance robot learning in the real world. To promote research for generative real-robot action simulators, we open-source code, benchmark, and checkpoints.

Installation
To set up the environment, run the following command:
bash
bash scripts/install.sh
Dataset
To download the complete dataset, run:
bash scripts/download.sh
This table lists the download links and file sizes for the RT-1, Bridge, and Language-Table datasets, categorized into train, evaluation, and checkpoints data.
| Category | Train | Size | Evaluation | Size | Checkpoints | Size | |:----------------|:---------------------------------------------------------------------------------------------------|:------|:----------------------------------------------------------------------|:------|:-----------------------------------------------------------------------|:------| | RT-1 | rt1traindata.tar.gz | 86G | rt1evaluationdata.tar.gz | 100G | rt1checkpointsdata.tar.gz | 29G | | Bridge | bridgetraindata.tar.gz | 31G | bridgeevaluationdata.tar.gz | 63G | bridgecheckpointsdata.tar.gz | 32G | | Language-Table | languagetabletraindata.tar.gz | 200G | languagetableevaluationdata.tar.gz | 194G | languagetablecheckpointsdata.tar.gz | 34G |
The complete dataset structure can be found in dataset_structure.txt.
📢 Update (May 20, 2025)
We are excited to announce that the IRASim dataset is now available on Hugging Face:
🔗 https://huggingface.co/datasets/fangqi/IRASim
To reconstruct the full dataset locally:
- Download all dataset parts from the Hugging Face page.
- Use the provided
merge.shscript to merge the downloaded files into multiple ZIP archives. - Extract each ZIP file separately to access the complete dataset.
Language Table Application
We recommend starting with the Language Table application. This application provides a user-friendly keyboard interface to control the robotic arm in an initial image on a 2D plane:
bash
python3 application/languagetable.py
Training
Below are example scripts for training the IRASim-Frame-Ada model on the RT-1 dataset.
To accelerate training, we recommend encoding videos into latent videos first. Our code also supports direct training by setting pre_encode to false.
Single GPU Training
bash
python3 main.py --config configs/train/rt1/frame_ada.yaml
Multi-GPU Training on a Single Machine
bash
torchrun --nproc_per_node 8 --nnodes 1 --node_rank 0 --rdzv_endpoint {node_address}:{port} --rdzv_id 107 --rdzv_backend c10d main.py --config configs/train/rt1/frame_ada.yaml
Evaluation
Below are example scripts for evaluating the IRASim-Frame-Ada model on the RT-1 dataset.
Short Trajectory Setting
To quantitatively evaluate the model in the short trajectory setting, we first need to generate all evaluation videos.
Generate evaluation videos:
bash
torchrun --nproc_per_node 8 --nnodes 1 --node_rank 0 --rdzv_endpoint {node_address}:{port} --rdzv_id 107 --rdzv_backend c10d main.py --config configs/evaluation/rt1/frame_ada.yaml
We provide an automated script to calculate the metrics of the generated short videos:
bash
python3 evaluate/evaluation_short_script.py
Long Trajectory Setting
Generate all long videos in an autoregressive manner.
Generate the scripts for generating long videos in a multi-process manner:
bash
python3 scripts/generate_command.py
Run:
bash
bash scripts/generate_long_video_rt1_frame_ada.sh
Use the automated script to calculate the metrics of the generated long videos:
bash
python3 evaluate/evaluation_long_script.py
Citation
If you find this code useful in your work, please consider citing
shell
@article{FangqiIRASim2024,
title={IRASim: Learning Interactive Real-Robot Action Simulators},
author={Fangqi Zhu and Hongtao Wu and Song Guo and Yuxiao Liu and Chilam Cheang and Tao Kong},
year={2024},
journal={arXiv:2406.12802}
}
Acknowledgement
- Our implementation is largely adapted from Latte.
- Our FVD implementation is adapted from stylegan-v.
- Our FID implementation is adapted from pytorch-fid.
- Our RT-1, Bridge, Language-Table datasets are adapted from RT-1, Bridge, openxembodiment .
Discussion Group
If you have any questions during the trial, running or deployment, feel free to join our WeChat group discussion! If you have any ideas or suggestions for the project, you are also welcome to join our WeChat group discussion!
Owner
- Name: Bytedance Inc.
- Login: bytedance
- Kind: organization
- Location: Singapore
- Website: https://opensource.bytedance.com
- Twitter: ByteDanceOSS
- Repositories: 255
- Profile: https://github.com/bytedance
GitHub Events
Total
- Issues event: 8
- Watch event: 37
- Issue comment event: 13
- Push event: 3
- Pull request review event: 1
- Pull request event: 2
- Fork event: 4
Last Year
- Issues event: 8
- Watch event: 37
- Issue comment event: 13
- Push event: 3
- Pull request review event: 1
- Pull request event: 2
- Fork event: 4
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 6
- Total pull requests: 1
- Average time to close issues: about 2 months
- Average time to close pull requests: less than a minute
- Total issue authors: 5
- Total pull request authors: 1
- Average comments per issue: 3.83
- Average comments per pull request: 1.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 1
- Average time to close issues: 2 months
- Average time to close pull requests: less than a minute
- Issue authors: 3
- Pull request authors: 1
- Average comments per issue: 2.5
- Average comments per pull request: 1.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- JamesKrW (2)
- duxiaodan (1)
- OrangeSodahub (1)
- Chaoqi-LIU (1)
- WilliXL (1)
- Lr-2002 (1)
Pull Request Authors
- EthanNCai (1)