Document checkpoint download and complete evaluation workflow
Browse filesAdd environment, data preparation, smoke/full evaluation, outputs and numerical-result links. Model weights and configurations are unchanged.
README.md
CHANGED
|
@@ -1,41 +1,166 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
tags:
|
| 6 |
- robotics
|
| 7 |
- imitation-learning
|
| 8 |
- robodemo
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# RoboDemo-c45
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
| --- | ---: | ---: | ---: |
|
| 21 |
-
|
|
| 22 |
-
|
|
| 23 |
|
| 24 |
-
|
|
|
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
tags:
|
| 7 |
- robotics
|
| 8 |
- imitation-learning
|
| 9 |
- robodemo
|
| 10 |
+
- video-conditioned
|
| 11 |
---
|
| 12 |
|
| 13 |
# RoboDemo-c45
|
| 14 |
|
| 15 |
+
**Reconciling Demonstration Intent and Execution Progress for Long-Horizon Manipulation**
|
| 16 |
|
| 17 |
+
[Code](https://github.com/robodemo-2027/RoboDemo) |
|
| 18 |
+
[Project page](https://robodemo-2027.github.io/) |
|
| 19 |
+
[All checkpoints](https://huggingface.co/collections/mxk1998/robodemo-6afc7693656d0965ce5466bc) |
|
| 20 |
+
[Complete numerical results](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/README.md)
|
| 21 |
|
| 22 |
+
This is the **260,000-update** checkpoint evaluated on **Imitator Game**,
|
| 23 |
+
conditioned on a **human demonstration**. The release includes the complete
|
| 24 |
+
policy state dictionary, inference configuration and normalization.
|
| 25 |
+
Model architecture and evaluation are available; training code is planned
|
| 26 |
+
for the next release. Anonymous manuscript under review.
|
| 27 |
|
| 28 |
+
## Reported Results
|
| 29 |
+
|
| 30 |
+
| Split | Successful episodes | Episodes | SR (%) |
|
| 31 |
| --- | ---: | ---: | ---: |
|
| 32 |
+
| Seen | 177 | 200 | 88.5 |
|
| 33 |
+
| Unseen | 23 | 200 | 11.5 |
|
| 34 |
|
| 35 |
+
Each task is evaluated at four scene levels, with ten trials per level and a
|
| 36 |
+
500-control-step horizon.
|
| 37 |
|
| 38 |
+
[Every task and level](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/README.md) |
|
| 39 |
+
[Task-level CSV](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/task_level.csv) |
|
| 40 |
+
[Episode CSV](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/episodes.csv) |
|
| 41 |
+
[Episode JSONL](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/episodes.jsonl)
|
| 42 |
+
|
| 43 |
+
## Quickstart
|
| 44 |
+
|
| 45 |
+
### 1. Install The Evaluation Environment
|
| 46 |
+
|
| 47 |
+
Use Linux, Python 3.10 and an NVIDIA GPU. The recorded environment uses
|
| 48 |
+
PyTorch 2.6.0 / CUDA 12.4 and Transformers 4.57.6.
|
| 49 |
+
|
| 50 |
+
```bash
|
| 51 |
+
git clone https://github.com/robodemo-2027/RoboDemo.git
|
| 52 |
+
cd RoboDemo
|
| 53 |
+
python3.10 -m venv .venv
|
| 54 |
+
source .venv/bin/activate
|
| 55 |
+
pip install torch==2.6.0 torchvision==0.21.0 \
|
| 56 |
+
--index-url https://download.pytorch.org/whl/cu124
|
| 57 |
+
pip install -r environments/requirements-evaluation.txt
|
| 58 |
+
pip install flash-attn==2.7.4.post1 --no-build-isolation
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
See the [environment guide](https://github.com/robodemo-2027/RoboDemo/blob/main/environments/README.md)
|
| 62 |
+
for the simulator revision, Vulkan and OptiX setup.
|
| 63 |
+
|
| 64 |
+
### 2. Download This Checkpoint
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
hf download mxk1998/RoboDemo-c45 \
|
| 68 |
+
pytorch_model.pt policy.yaml normalization.json \
|
| 69 |
+
--local-dir checkpoints/RoboDemo-c45
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
The weight file is approximately **16.5 GB**. It is a complete PyTorch policy
|
| 73 |
+
state dictionary, loaded by the RoboDemo evaluator rather than a generic
|
| 74 |
+
Transformers pipeline. The evaluator selects the matching repository config.
|
| 75 |
+
|
| 76 |
+
### 3. Prepare Data And Encoder Assets
|
| 77 |
+
|
| 78 |
+
Follow the [Imitator Game project](https://imitator-game.github.io/) to obtain
|
| 79 |
+
the IG-10K dataset, simulator source and simulation assets. Prepare the local
|
| 80 |
+
configuration, tokenizer and processor files from
|
| 81 |
+
[Qwen3-VL](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct), and the
|
| 82 |
+
[V-JEPA2 source and encoder checkpoint](https://github.com/facebookresearch/vjepa2).
|
| 83 |
+
Set these paths to your installation:
|
| 84 |
|
| 85 |
+
```bash
|
| 86 |
+
export ROBODEMO_DATA_ROOT=/data/IG-10K-Dataset
|
| 87 |
+
export IMITATOR_GAME_ROOT=/path/to/ImitationGame
|
| 88 |
+
export MS_ASSET_DIR=/data/maniskill
|
| 89 |
+
export ROBODEMO_QWEN=/models/Qwen3-VL-4B-Instruct
|
| 90 |
+
export ROBODEMO_VJEPA2_SOURCE=/path/to/vjepa2
|
| 91 |
+
export ROBODEMO_VJEPA2_WEIGHTS=/models/vjepa2-ac-vitg.pt
|
| 92 |
+
export PYTHONPATH="$IMITATOR_GAME_ROOT${PYTHONPATH:+:$PYTHONPATH}"
|
| 93 |
+
```
|
| 94 |
|
| 95 |
+
Trial seeds, reference identities and normalization are already included in
|
| 96 |
+
`configs/`. This model uses the human-reference videos identified in its trial manifest.
|
| 97 |
+
|
| 98 |
+
### 4. Run One Complete Episode
|
| 99 |
+
|
| 100 |
+
From the repository root, select a GPU allocated to your job:
|
| 101 |
+
|
| 102 |
+
```bash
|
| 103 |
+
CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
|
| 104 |
+
--model c45 \
|
| 105 |
+
--checkpoint checkpoints/RoboDemo-c45/pytorch_model.pt \
|
| 106 |
+
--data-root "$ROBODEMO_DATA_ROOT" \
|
| 107 |
+
--task-level L0_TwoRobotFoldTowel-v1 \
|
| 108 |
+
--max-episodes 1 \
|
| 109 |
+
--output outputs/c45-smoke
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
This runs one 500-control-step episode. Use a new output directory for each
|
| 113 |
+
run. [Recorded integration tests](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/smoke-evaluation.md)
|
| 114 |
+
cover all five checkpoints.
|
| 115 |
+
|
| 116 |
+
### 5. Run The Full Evaluation
|
| 117 |
+
|
| 118 |
+
```bash
|
| 119 |
+
CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
|
| 120 |
+
--model c45 \
|
| 121 |
+
--checkpoint checkpoints/RoboDemo-c45/pytorch_model.pt \
|
| 122 |
+
--data-root "$ROBODEMO_DATA_ROOT" \
|
| 123 |
+
--output outputs/c45-evaluation
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
This evaluates 400 episodes: 200 Seen and 200 Unseen. Append `--split seen` or `--split unseen` to select one split.
|
| 127 |
+
|
| 128 |
+
The output contains `summary.json`, `model_load.json`, and per-trial
|
| 129 |
+
`result.json`, `trajectory.npz` and `rollout.mp4` files.
|
| 130 |
+
The [full usage guide](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/quickstart.md)
|
| 131 |
+
describes all model choices and output fields.
|
| 132 |
+
|
| 133 |
+
## Model Interface
|
| 134 |
+
|
| 135 |
+
The evaluator provides a 224-by-224 RGB observation, language instruction,
|
| 136 |
+
proprioceptive state and a task-matched reference video. The policy predicts
|
| 137 |
+
30-step action chunks with 16 active simulator action dimensions. Reference
|
| 138 |
+
memory is initialized for each episode; execution memory updates from actual
|
| 139 |
+
observations and previously applied actions.
|
| 140 |
+
|
| 141 |
+
## Files
|
| 142 |
|
| 143 |
+
| File | Contents |
|
| 144 |
+
| --- | --- |
|
| 145 |
+
| `pytorch_model.pt` | Complete policy state dictionary |
|
| 146 |
+
| `policy.yaml` | Inference configuration for this checkpoint |
|
| 147 |
+
| `normalization.json` | Observation and action normalization |
|
| 148 |
+
| `NOTICE.md`, `licenses/` | Upstream component attribution and licenses |
|
| 149 |
|
| 150 |
+
## License And Citation
|
| 151 |
|
| 152 |
+
This model is distributed under Apache 2.0. Component notices and their
|
| 153 |
+
licenses are retained in `NOTICE.md` and `licenses/`. Benchmark data and
|
| 154 |
+
simulator assets are provided by Imitator Game. This checkpoint is released
|
| 155 |
+
for research evaluation; physical-robot deployment requires a compatible
|
| 156 |
+
controller and separate validation.
|
| 157 |
|
| 158 |
+
```bibtex
|
| 159 |
+
@misc{anonymous2027robodemo,
|
| 160 |
+
title = {RoboDemo: Reconciling Demonstration Intent and Execution
|
| 161 |
+
Progress for Long-Horizon Manipulation},
|
| 162 |
+
author = {Anonymous Authors},
|
| 163 |
+
year = {2027},
|
| 164 |
+
note = {Manuscript under review}
|
| 165 |
+
}
|
| 166 |
+
```
|