mxk1998 commited on
Commit
e2e2ce3
·
verified ·
1 Parent(s): 69871ca

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 -18
README.md CHANGED
@@ -1,43 +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-c15-wo
12
 
13
- Anonymous model release for **RoboDemo**.
14
 
15
- This is the checkpoint at **100,000 training updates** used for the reported Imitator Game results.
 
 
 
16
 
17
- ## Results
 
 
 
 
18
 
19
- | Split | Successful episodes | Evaluated episodes | SR (%) |
 
 
20
  | --- | ---: | ---: | ---: |
21
- | seen | 180 | 200 | 90.0 |
22
- | unseen | 0 | 200 | 0.0 |
23
 
24
- The model uses retrieved robot reference videos. Each task-level cell contains ten evaluation episodes, with a 500-control-step horizon.
 
25
 
26
- Unseen tasks are held out from policy training; task-matched robot references are supplied from the benchmark training bank.
 
 
 
27
 
28
- ## Files
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
- - `pytorch_model.pt`: complete policy state dictionary.
31
- - `policy.yaml`: inference configuration.
32
- - `normalization.json`: the corresponding observation/action normalization.
33
 
34
- ## Use
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
- Use the [RoboDemo evaluation code](https://github.com/robodemo-2027/RoboDemo) with `--model c15-wo` 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.
 
 
 
 
 
37
 
38
- 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.
39
 
40
- ## License
 
 
 
 
41
 
42
- The model is distributed under Apache 2.0, with upstream component notices
43
- 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-c15-wo
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/c15-wo/README.md)
21
 
22
+ This is the **100,000-update** checkpoint evaluated on **Imitator Game**,
23
+ conditioned on a **retrieved robot video**. 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 | 180 | 200 | 90.0 |
33
+ | Unseen | 0 | 200 | 0.0 |
34
 
35
+ Each task is evaluated at four scene levels, with ten trials per level and a
36
+ 500-control-step horizon. The Unseen split is held out from policy training; task-matched robot references come from the benchmark training bank.
37
 
38
+ [Every task and level](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c15-wo/README.md) |
39
+ [Task-level CSV](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c15-wo/task_level.csv) |
40
+ [Episode CSV](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c15-wo/episodes.csv) |
41
+ [Episode JSONL](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c15-wo/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-c15-wo \
68
+ pytorch_model.pt policy.yaml normalization.json \
69
+ --local-dir checkpoints/RoboDemo-c15-wo
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 reuses the published robot-reference selections, so its released trial plan does not require a separate retrieval run. See [reference retrieval](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/retrieval.md).
 
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 c15-wo \
105
+ --checkpoint checkpoints/RoboDemo-c15-wo/pytorch_model.pt \
106
+ --data-root "$ROBODEMO_DATA_ROOT" \
107
+ --task-level L0_TwoRobotFoldTowel-v1 \
108
+ --max-episodes 1 \
109
+ --output outputs/c15-wo-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 c15-wo \
121
+ --checkpoint checkpoints/RoboDemo-c15-wo/pytorch_model.pt \
122
+ --data-root "$ROBODEMO_DATA_ROOT" \
123
+ --output outputs/c15-wo-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
+ ```