Skip to content
Projetos

Sobre

RealMirror, uma plataforma abrangente e de código aberto de IA incorporada VLA.

IA e aprendizado de máquina

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
+1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

teaser.png

🎉News

🏆 Congratulations! RealMirror has been accepted to ICRA 2026! ✨


  • [coming soon] We are about to provide a sample dataset for trajectory automatic generation based on Seed2Scale scheme, as well as corresponding visual physics playback tools and quantitative evaluation results to help users quickly understand the powerful performance and accuracy of our scheme. Check it out: Example Project
  • [2026-11-15] The complete teleoperation stack is now open source. Both halves — the Isaac Sim-side control stack (controllers/, teleoperation/, hand_tracking/) and the XR-Linker WebXR transport (tools/xr_linker/) — ship as readable source instead of compiled artifacts. See §2.5 Teleoperation for the architecture and teleoperation_architecture.md for how controller data reaches the simulator.
  • [2026-04-13] Please check our latest homepage about Seed2Scale!Seed2Scale Homepage
  • [2026-03-09] We have launched an automatic large-scale upper limb trajectory generation scheme based on the RealMirror platform Seed2Scale, which provides a mode based generation paradigm with SOTA performance. Please refer to our paper for details!Check it out: Paper.
  • [2025-11-12] MirrorLimb with the addition of gesture teleoperation functionality. you can use PICO to perform more precise and stable control of the robot!Check it out: Feature Introduction.
  • [2025-10-30] We have released a teleoperation/data acquisition framework and toolchain related to RealMirror.
  • [2025-10-15] We have released the RealMirror related evaluation framework, official model weights, and robot/scene assets.
  • [2025-09-15] Excited to release the RealMirror paper! Check it out: Paper.

*Opensource Plan

2026-11-15 — scope update: the teleoperation stack (controllers/, teleoperation/, hand_tracking/, plus the XR-Linker WebXR transport) moved to source distribution. This was not part of the original plan.

Before April 25, 2026

  • MirrorLimb hand tracking feature
  • Seed2Scale example assets
  • Seed2Scale example datasets
  • Datasets visual physics playback tools

Before October 30, 2025

  • Training code
  • Datasets
  • Data collection
  • Teleoperation
  • Toolchains

Before October 15, 2025

  • Inference code
  • Evaluation code
  • Agibot A2 robot model
  • Scene assets
  • Checkpoints

1. Overview

The emerging field of Vision-Language-Action (VLA) for humanoid robots faces several fundamental challenges, including the high cost of data acquisition, the lack of a standardized benchmark, and the significant gap between simulation and the real world. To overcome these obstacles, we propose RealMirror, a comprehensive, open-source embodied AI VLA platform. RealMirror builds an efficient, low-cost data collection, model training, and inference system that enables end-to-end VLA research without requiring a real robot. To facilitate model evolution and fair comparison, we also introduce a dedicated VLA benchmark for humanoid robots, featuring multiple scenarios, extensive trajectories, and various VLA models. Furthermore, by integrating generative models and 3D Gaussian Splatting to reconstruct realistic environments and robot models, we successfully demonstrate zero-shot Sim2Real transfer, where models trained exclusively on simulation data can perform tasks on a real robot seamlessly, without any fine-tuning. In conclusion, with the unification of these critical components, RealMirror provides a robust framework that significantly accelerates the development of VLA models for humanoid robots.

2. Quick Start

2.1 Requirements

Tested
  • Ubuntu 22.04
  • NVIDIA Isaac Sim 5.0.0
  • Hardware
    • GPU: GeForce RTX 5090/5880
    • Driver:575.64.03 + CUDA 12.9

2.2 Prepare Benchmark Data

To get started with the RealMirror benchmark, you need to download the pre-collected dataset and trained models:

  1. Download the Data

    • Access the benchmark data from our Huggingface repository:
    • The dataset includes both simulation assets and pre-trained models for all benchmark tasks
    • Total download size: approximately 13 GB
  2. Extract and Setup

    • After downloading, extract the compressed archive to your local directory
    • We recommend extracting to a dedicated folder, for example: ~/RealMirror_Benchmark_data/
    • Ensure the extracted directory structure matches the following organization:
  • Data Structure
RealMirror_Benchmark_data
├── assets
│   ├── robot
│   │   ├── AgiBotA2
│   │   └── A2_t2d0_flagship_opensource_urdf
│   └── scenes
│       ├── Task1_Kitchen_Cleanup
│       ├── Task2_Cup_to_Cup_Transfer
│       ├── Task3_Assembly_Line_Sorting
│       ├── Task4_Can_Stacking
│       └── Task5_Air_Fryer_Manipulation
└── models
    ├── Task1_Kitchen_Cleanup
    │   ├── ACT
    │   ├── Diffusion
    │   └── SmolVLA
    ├── Task2_Cup_to_Cup_Transfer
    │   ├── ACT
    │   ├── Diffusion
    │   └── SmolVLA
    ├── Task3_Assembly_Line_Sorting
    │   ├── ACT
    │   ├── Diffusion
    │   └── SmolVLA
    ├── Task4_Can_Stacking
    │   ├── ACT
    │   ├── Diffusion
    │   └── SmolVLA
    └── Task5_Air_Fryer_Manipulation
        ├── ACT
        ├── Diffusion
        └── SmolVLA

2.3 Installation

  1. Donwload RealMirror source code:
git clone https://github.com/terminators2025/RealMirror.git
cd RealMirror
  1. Fetch lerobot by git submodule command:
GIT_LFS_SKIP_SMUDGE=1 git submodule init
GIT_LFS_SKIP_SMUDGE=1 git submodule update
cd thirdparty/lerobot

# Checkout and apply patch of lerobot
git checkout fe88c5942cce222c5463350d999a463b9016cf8c
git apply ../../patches/lerobot_customizations.patch
  1. Install LeRobot in editable mode into Isaac Sim's Python environment
$isaac_sim_dir/python.sh -m pip install -e .
  1. Install RealMirror in editable mode into Isaac Sim's Python site-packages library
#Install RealMirror To Issac Sim's python Site lib
$isaac_sim_dir/python.sh -m pip install -e .

Upgrading from an older clone? Earlier releases shipped controllers/, teleoperation/ and hand_tracking/ as compiled .so modules. Remove any leftovers so Python imports the published sources instead:

find controllers teleoperation hand_tracking -name '*.so' -delete
find . -name '__pycache__' -type d -prune -exec rm -rf {} +

2.4 Usage

2.4 Benchmark Tasks

2.4.1 Benchmark Task Config

The benchmark configuration is defined in a JSON file, such as Task1_Kitchen_Cleanup.json. This file specifies all the necessary parameters for the robot, scene, and evaluation.

The following task names are supported

Task Name
Task1_Kitchen_Cleanup Task2_Cup_to_Cup_Transfer
Task3_Assembly_Line_Sorting Task4_Can_Stacking
Task5_Air_Fryer_Manipulation
  • robot: This section defines the robot to be used in the task.

    • robot_type: Specifies the type of robot (e.g., "A2").
    • robot_cfg: Points to the robot's specific configuration file (e.g., "a2_robot_config.json").
  • scene: This is an array that contains the settings for the simulation scene.

    • task_related_objects: An array of objects that are relevant to the task. Each object includes:
      • name: A unique identifier for the object.
      • description: A natural language instruction describing the task goal for this object.
      • cylinder_prim_path: The path to the object's primitive in the USD scene.
      • target_prim_path: The path to the target location where the object should be placed.
    • scene_id: A unique identifier for the scene.
    • scene_usd: The absolute path to the USD file that defines the scene layout.
    • prime_path: The base path for all primitives within the scene.
    • camera_configs: Defines the properties for each camera used in the simulation, including:
      • head_camera, left_wrist_camera, right_wrist_camera: Each camera has settings for name, path, image resolution (height, width), and other camera-specific parameters.
    • eval_cfg: Contains configuration for the evaluation process.
      • model: Specifies the paths for the pre-trained models.
        • model_root_dir: The root directory where all models are stored.
        • checkpoints_dir: Subdirectories for different model architectures like ACT, Diffusion, and SmolVLA.
Important Path Configuration

After extracting the benchmark data, you need to update the configuration files to point to the correct paths on your system:

1. Robot Configuration (comm_config/configs/a2_robot_config.json)

Update the following paths to match your extracted benchmark data location:

{
    "usd_path": "/path/to/your/RealMirror_Benchmark_data/assets/robot/AgiBotA2/model_no_col2.usd",
    "urdf_path": "/path/to/your/RealMirror_Benchmark_data/assets/robot/robot/A2_t2d0_flagship_opensource_urdf/urdf/raise_a2_t2d0_flagship/model_no_col.urdf",
    "robot_descriptor_paths": {
        "right": "/path/to/your/RealMirror_Benchmark_data/assets/robot/AgiBotA2/arm_descriptor/a2_right_arm_robot_descriptor.yaml",
        "left": "/path/to/your/RealMirror_Benchmark_data/assets/robot/AgiBotA2/arm_descriptor/a2_left_arm_robot_descriptor.yaml"
    }
}

2. Task Configuration Files (tasks/Task*.json)

For each task configuration file (Task1_Kitchen_Cleanup.json, Task2_Cup_to_Cup_Transfer.json, etc.), update:

  • Scene USD path: Point to the corresponding scene asset

    "scene_usd": "/path/to/your/RealMirror_Benchmark_data/assets/scenes/Task1_Kitchen_Cleanup/kitchen.usd"
    
  • Model root directory: Point to the models directory

    "model_root_dir": "/path/to/your/RealMirror_Benchmark_data/models"
    

Example for Task1_Kitchen_Cleanup.json:

{
    "scene": [{
        "scene_usd": "/path/to/your/RealMirror_Benchmark_data/assets/scenes/Task1_Kitchen_Cleanup/kitchen.usd",
        "eval_cfg": {
            "model": {
                "model_root_dir": "/path/to/your/RealMirror_Benchmark_data/models"
            }
        }
    }]
}

Replace /path/to/your/ with the actual path where you extracted the RealMirror_Benchmark_data directory.

2.4.2 Run Benchmark

Execute the following commands under RealMirror root directory. Each task can be evaluated with three different models: ACT, Diffusion, and SmolVLA.

Task1 - Kitchen Cleanup

# ACT model
isaacsim_py script/eval.py --task Task1_Kitchen_Cleanup --model-type act --area-file data/eval/data_area/data_area_task1.txt --arc2gear --num-rollouts 400 --max-horizon 400 --headless

# Diffusion model
isaacsim_py script/eval.py --task Task1_Kitchen_Cleanup --model-type diffusion --area-file data/eval/data_area/data_area_task1.txt --arc2gear --num-rollouts 400 --max-horizon 400 --headless

# SmolVLA model
isaacsim_py script/eval.py --task Task1_Kitchen_Cleanup --model-type smolvla --area-file data/eval/data_area/data_area_task1.txt --arc2gear --num-rollouts 400 --max-horizon 400 --headless

Task2 - Cup to Cup Transfer

# ACT model
isaacsim_py script/eval.py --task Task2_Cup_to_Cup_Transfer --model-type act --area-file data/eval/data_area/data_area_task2.txt --arc2gear --num-rollouts 200 --max-horizon 320 --headless

# Diffusion model
isaacsim_py script/eval.py --task Task2_Cup_to_Cup_Transfer --model-type diffusion --area-file data/eval/data_area/data_area_task2.txt --arc2gear --num-rollouts 200 --max-horizon 320 --headless

# SmolVLA model
isaacsim_py script/eval.py --task Task2_Cup_to_Cup_Transfer --model-type smolvla --area-file data/eval/data_area/data_area_task2.txt --arc2gear --num-rollouts 200 --max-horizon 320 --headless

Task3 - Assembly Line Sorting

# ACT model
isaacsim_py script/eval.py --task Task3_Assembly_Line_Sorting --model-type act --arc2gear --num-rollouts 100 --max-horizon 3000 --headless

# Diffusion model
isaacsim_py script/eval.py --task Task3_Assembly_Line_Sorting --model-type diffusion --arc2gear --num-rollouts 100 --max-horizon 3000 --headless

# SmolVLA model
isaacsim_py script/eval.py --task Task3_Assembly_Line_Sorting --model-type smolvla --arc2gear --num-rollouts 100 --max-horizon 3000 --headless

Task4 - Can Stacking

# ACT model
isaacsim_py script/eval.py --task Task4_Can_Stacking --model-type act --arc2gear --use-stability-check --area-file data/eval/data_area/data_area_task4.txt --num-rollouts 400 --max-horizon 500 --stability-frames 100 --headless

# Diffusion model
isaacsim_py script/eval.py --task Task4_Can_Stacking --model-type diffusion --arc2gear --use-stability-check --area-file data/eval/data_area/data_area_task4.txt --num-rollouts 400 --max-horizon 500 --stability-frames 100 --headless

# SmolVLA model
isaacsim_py script/eval.py --task Task4_Can_Stacking --model-type smolvla --arc2gear --use-stability-check --area-file data/eval/data_area/data_area_task4.txt --num-rollouts 400 --max-horizon 500 --stability-frames 100 --headless

Task5 - Air Fryer Manipulation

# ACT model
isaacsim_py script/eval.py --task Task5_Air_Fryer_Manipulation --model-type act --area-file data/eval/data_area/data_area_task5.txt --arc2gear --num-rollouts 400 --max-horizon 500 --headless

# Diffusion model
isaacsim_py script/eval.py --task Task5_Air_Fryer_Manipulation --model-type diffusion --area-file data/eval/data_area/data_area_task5.txt --arc2gear --num-rollouts 400 --max-horizon 500 --headless

# SmolVLA model
isaacsim_py script/eval.py --task Task5_Air_Fryer_Manipulation --model-type smolvla --area-file data/eval/data_area/data_area_task5.txt --arc2gear --num-rollouts 400 --max-horizon 500 --headless

Notes:

  • The isaacsim_py command is an alias for $isaac_sim_dir/python.sh

  • Add --headless flag to run without GUI

  • Results are saved to the runs/eval directory

  • Each task evaluates different model architectures (ACT, Diffusion, SmolVLA) for comprehensive comparison

  • Task3 (Assembly Line Sorting) does not require an area file as it uses sequential object spawning

  • Task4 (Can Stacking) uses --use-stability-check and --stability-frames for precise stacking validation

  • For tasks evaluated using the SmolVLA model, it is necessary to download the pre-trained SmolVLM2-500M-Video-Instruct model from Hugging Face. This model serves as a critical dependency for SmolVLA-based evaluations. Please follow the link below to access and download the model:

    SmolVLM2-500M-Video-Instruct on Hugging Face

    After downloading, ensure the model is placed in the root directory of this project.

2.5 Teleoperation

RealMirror supports two teleoperation modes. Choose based on your use case:

Mode Controller Prerequisites
Pico VR Controller 6-DoF handheld controllers XR-Linker running
Hand Tracking Bare-hand gesture tracking RealMirror APK installed on headset

Both modes drive the same stack — mapping → TeleopManager → IK → recording — and differ only in how controller data reaches the simulator. For the two input paths, the module behind each layer and the shared live_pico_data.json contract, see teleoperation_architecture.md.

2.5.1 Pico VR Controller

Step 1 — Start XR-Linker

See xr_linker_quik_start.md for instructions on how to use XR-Linker to connect PICO and control.

Step 2 — Launch simulation

$isaac_sim_dir/python.sh script/teleop.py --hide_ik_targets --task Task1_Kitchen_Cleanup --output-dir /data/record

If you moved XR-Linker's data directory, point the simulation at it explicitly with --pico-json-path <path>/live_pico_data.json. When the path is wrong the controller silently yields no input, so verify the file is being updated before assuming a simulator problem.

2.5.2 Hand Tracking (Gesture-based Teleoperation)

No XR-Linker needed. The headset streams 26-DOF hand joint data directly to RealMirror over UDP.

See hand_tracking_quick_start.md for the full setup guide, including APK installation, IP configuration, data pipeline verification, and all teleoperation parameters.

Quick start:

$isaac_sim_dir/python.sh script/teleop.py --task Task1_Kitchen_Cleanup --output-dir /data/record \
    --controller-type hand_track --udp-port 8090 --wrist-method rotvec

2.5.3 Replay and Verify Recorded Data

After collecting teleoperation data, you can use the replay script to verify the recorded demonstrations in Isaac Sim before converting to training format.

Basic Usage

$isaac_sim_dir/python.sh script/replay.py --task <task_name> --hdf5_path <path_to_hdf5_file>

Example:

$isaac_sim_dir/python.sh script/replay.py --task Task1_Kitchen_Cleanup --hdf5_path /data/record/recorded_data.hdf5

Replay Controls:

  • S key: Play/Pause replay
  • R key: Reset current demo to initial state
  • N key: Load next demo in sequence

The replay script will restore the robot and scene to the initial state of each demonstration and playback the recorded actions, allowing you to visually verify data quality before training.

For detailed information about replay features, troubleshooting, and technical details, see replay.md.

2.5.4 Convert HDF5 Data to LeRobot Format

The teleoperation data collected by teleop.py is saved in HDF5 format. Before training, you need to convert it to LeRobot dataset format using the convert.py script.

Basic Usage

python3 script/convert.py <output_dir> --data_pairs <data_pairs.json> [--arc2gear]

Key Arguments:

  • output_dir: Output directory for the converted LeRobot dataset
  • --data_pairs: JSON file containing HDF5 file paths and task descriptions (required)
  • --arc2gear: Enable hand joint arc-to-gear conversion (optional)

Data Pairs JSON Format:

[
    {
        "h5_path": "/path/to/recorded_data_Task1.hdf5",
        "task_name": "Put the red potato chips on the left into the yellow basket on the right"
    }
]

Example:

python3 script/convert.py /path/to/output \
    --data_pairs Task1_data_pair.json \
    --arc2gear

The converter will generate a LeRobot-compatible dataset with the following structure:

output_dir/
├── data/           # Episode data in Parquet format
└── meta/           # Metadata files (info.json, episodes.jsonl, etc.)

For detailed usage instructions, command-line options, troubleshooting, and technical details, see convert_script_usage.md.

2.6 Training

2.6.1 Enviroment Setup

We provide two options for setting up the training environment:

Option 1: Docker Environment (Recommended)

We recommend using our provided DockerFile to build a Docker image as the base environment for training. See docker_build.md for instructions on how to build the image.

Option 2: Python/Conda Virtual Environment

Alternatively, you can set up a Python or Conda virtual environment:

  1. Create a virtual environment:

    # Using Python venv
    python3 -m venv realmirror_train_env
    source realmirror_train_env/bin/activate
    
    # Or using Conda
    conda create -n realmirror_train_env python=3.10
    conda activate realmirror_train_env
    
  2. Install dependencies:

    pip install -r requirements.txt
    

2.6.2 Dataset Download

  • Download the Data

    • Access the train data from our Huggingface repository(The dataset includes all benchmark tasks datas):
    • Extra data(Only used for data augmentation, not for training!):
    • Total download size: approximately 70 GB
  • Extract and Setup

    • After downloading, extract the compressed archive to your local directory

    • We recommend extracting to a dedicated folder, for example: ~/RealMirror_train_dataset/

    • Ensure the extracted directory structure matches the following organization:

    • Data Structure

  ./RealMirror_train_dataset
        ├── Task1_Kitchen_Cleanup
        ├── Task2_Cup_to_Cup_Transfer
        ├── Task3_Assembly_Line_Sorting
        ├── Task4_Can_Stacking
        └── Task5_Air_Fryer_Manipulation

2.6.3 Run training script

Example:

bash script/train.sh  -d <dataset_path> -p <policy_type> -o <output_directory_name>  [-- <python_args>]

#<dataset_path>          Path to the root of the dataset
#<policy_type>           The type of policy to train. Available: act | diffusion | smolvla.
#<output_directory_name> Suffix for the output directory
# For example, train Task1 with Act Model as:
# bash script/train.sh -d datasets/Task1_Kitchen_Cleanup -p act -o task1_act

Notes: The -- separator is used to distinguish arguments intended for the train.sh script from those that should be passed directly to the underlying python command. Any arguments appearing after -- will be forwarded to the Python training script without modification.This command passes the -- --steps 200000 argument directly to the Python script.

2.6.4 Model Inference and Validation

After training, you can validate the trained models in Isaac Sim using the inference script before running full benchmark evaluations.

Basic Usage

$isaac_sim_dir/python.sh script/infer.py --task <task_name> --model-type <model_type> --model-path <path_to_model>

Key Arguments:

  • --task: Task name (e.g., Task1_Kitchen_Cleanup)
  • --model-type: Model architecture (act, diffusion, or smolvla)
  • --model-path: Path to the trained model checkpoint
  • --arc2gear: Enable arc-to-gear conversion (use if model was trained with gear positions)
  • --headless: Run without GUI (optional)

Example:

$isaac_sim_dir/python.sh script/infer.py \
    --task Task1_Kitchen_Cleanup \
    --model-type act \
    --model-path outputs/task1_act/checkpoints/last/pretrained_model \
    --arc2gear

Interactive Controls:

  • S key: Start/Stop inference
  • R key: Reset environment to initial state
  • Q key: Quit application
  • Arrow keys: Manually adjust object positions
  • Numpad 0: Reset active object pose
  • Numpad 1-3: Select different objects

The inference script allows you to interactively test trained models, visualize robot behaviors, and verify task completion before running comprehensive benchmark evaluations.

For detailed information about inference configuration, troubleshooting, and advanced usage, see infer.md.

3. Set up IDE (Optional)

To configure your IDE for optimal development experience, follow these steps:

  • Open the VSCode Command Palette by pressing Ctrl+Shift+P, select Tasks: Run Task, and choose setup_python_env from the dropdown menu.
  • When prompted, provide the absolute path to your Isaac Sim installation directory.

Upon successful execution, the python.analysis.extraPaths field in the settings.json file (located in the .vscode directory) will be automatically configured with Python paths to all extensions provided by Isaac Sim and Omniverse. This enables intelligent code completion and module indexing for enhanced development productivity.

Citation

If you find this work helpful in your research, please consider giving this repo a star ⭐ and citing our paper:

@article{tai2025realmirror,
  title={RealMirror: A Comprehensive, Open-Source Vision-Language-Action Platform for Embodied AI},
  author={Tai, Cong and Zheng, Zhaoyu and Long, Haixu and Wu, Hansheng and Xiang, Haodong and Long, Zhengbin and Xiong, Jun and Shi, Rong and Zhang, Shizhuang and Qiu, Gang and others},
  journal={arXiv preprint arXiv:2509.14687},
  year={2025}
}

Explore projetos relacionados

Carregando…