mxk1998 commited on
Commit
5939541
·
verified ·
1 Parent(s): 7ad9713

Document checkpoint download and complete evaluation workflow

Browse files

Add environment, data preparation, smoke/full evaluation, outputs and numerical-result links. Model weights and configurations are unchanged.

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