mxk1998 commited on
Commit
4d20e9b
·
verified ·
1 Parent(s): 32f6179

Simplify asset setup and link maintained evaluation resources

Browse files
Files changed (1) hide show
  1. README.md +25 -33
README.md CHANGED
@@ -69,41 +69,25 @@ pip install flash-attn==2.7.4.post1 --no-build-isolation
69
  See the [environment guide](https://github.com/robodemo-2027/RoboDemo/blob/main/environments/README.md)
70
  for the simulator revision, Vulkan and OptiX setup.
71
 
72
- ### 2. Download This Checkpoint
73
 
74
- ```bash
75
- hf download mxk1998/RoboDemo-c15 \
76
- pytorch_model.pt policy.yaml normalization.json \
77
- --local-dir checkpoints/RoboDemo-c15
78
- ```
79
-
80
- The weight file is approximately **16.5 GB**. It is a complete PyTorch policy
81
- state dictionary, loaded by the RoboDemo evaluator rather than a generic
82
- Transformers pipeline. The evaluator selects the matching repository config.
83
-
84
- ### 3. Prepare Data And Encoder Assets
85
-
86
- Follow the [Imitator Game project](https://imitator-game.github.io/) to obtain
87
- the IG-10K dataset, simulator source and simulation assets. Prepare the local
88
- configuration, tokenizer and processor files from
89
- [Qwen3-VL](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct), and the
90
- [V-JEPA2 source and encoder checkpoint](https://github.com/facebookresearch/vjepa2).
91
- Set these paths to your installation:
92
 
93
  ```bash
94
- export ROBODEMO_DATA_ROOT=/data/IG-10K-Dataset
95
- export IMITATOR_GAME_ROOT=/path/to/ImitationGame
96
- export MS_ASSET_DIR=/data/maniskill
97
- export ROBODEMO_QWEN=/models/Qwen3-VL-4B-Instruct
98
- export ROBODEMO_VJEPA2_SOURCE=/path/to/vjepa2
99
- export ROBODEMO_VJEPA2_WEIGHTS=/models/vjepa2-ac-vitg.pt
100
- export PYTHONPATH="$IMITATOR_GAME_ROOT${PYTHONPATH:+:$PYTHONPATH}"
101
  ```
102
 
103
- Trial seeds, reference identities and normalization are already included in
104
- `configs/`. This model uses the human-reference videos identified in its trial manifest.
 
 
 
105
 
106
- ### 4. Run One Complete Episode
107
 
108
  From the repository root, select a GPU allocated to your job:
109
 
@@ -113,7 +97,7 @@ python environments/check_environment.py --assets \
113
  --output outputs/c15-environment.json &&
114
 
115
  bash scripts/evaluate/c15-single.sh \
116
- --checkpoint checkpoints/RoboDemo-c15/pytorch_model.pt \
117
  --data-root "$ROBODEMO_DATA_ROOT" \
118
  --task-level L0_TwoRobotFoldTowel-v1 \
119
  --workers-per-gpu 1 --max-episodes 1 \
@@ -124,12 +108,16 @@ This runs one 500-control-step episode. Use a new output directory for each
124
  run. [Recorded integration tests](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/smoke-evaluation.md)
125
  cover all five checkpoints.
126
 
127
- ### 5. Run The Full Evaluation
 
 
128
 
129
  ```bash
 
 
130
  CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
131
  --model c15 \
132
- --checkpoint checkpoints/RoboDemo-c15/pytorch_model.pt \
133
  --data-root "$ROBODEMO_DATA_ROOT" \
134
  --output outputs/c15-evaluation
135
  ```
@@ -155,6 +143,10 @@ at **21.38 GiB**, including OptiX rendering.
155
  and [validation status](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/reproduce.md#validation-status)
156
  document the tested configurations.
157
 
 
 
 
 
158
  This checkpoint has two launchers:
159
 
160
  - Single GPU: `scripts/evaluate/c15-single.sh`
@@ -183,7 +175,7 @@ For a small eight-GPU run on eight allocated devices:
183
  ```bash
184
  CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \
185
  bash scripts/evaluate/c15-8gpu.sh \
186
- --checkpoint checkpoints/RoboDemo-c15/pytorch_model.pt \
187
  --data-root "$ROBODEMO_DATA_ROOT" \
188
  --workers-per-gpu 1 --max-episodes 8 \
189
  --output outputs/c15-8gpu-smoke
 
69
  See the [environment guide](https://github.com/robodemo-2027/RoboDemo/blob/main/environments/README.md)
70
  for the simulator revision, Vulkan and OptiX setup.
71
 
72
+ ### 2. Prepare The Checkpoint And Smoke Assets
73
 
74
+ The [asset preparation helper](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/data-preparation.md)
75
+ downloads this checkpoint, the required encoder files, simulator source/assets
76
+ and the reference video for one towel-folding episode:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  ```bash
79
+ python scripts/prepare_assets.py --root /data/robodemo-assets \
80
+ --profile smoke --model c15 --extract-assets
81
+ source /data/robodemo-assets/robodemo-env.sh
 
 
 
 
82
  ```
83
 
84
+ The policy file is approximately **16.5 GB** and contains the complete policy
85
+ state dictionary. The temporal encoder checkpoint is downloaded separately;
86
+ the needed temporal source is bundled with the code. Benchmark media and
87
+ simulation assets come from [Imitator Game](https://imitator-game.github.io/).
88
+ Use `--dry-run` first to inspect the download plan.
89
 
90
+ ### 3. Run One Complete Episode
91
 
92
  From the repository root, select a GPU allocated to your job:
93
 
 
97
  --output outputs/c15-environment.json &&
98
 
99
  bash scripts/evaluate/c15-single.sh \
100
+ --checkpoint "$ROBODEMO_HOST_ASSETS/checkpoints/RoboDemo-c15/pytorch_model.pt" \
101
  --data-root "$ROBODEMO_DATA_ROOT" \
102
  --task-level L0_TwoRobotFoldTowel-v1 \
103
  --workers-per-gpu 1 --max-episodes 1 \
 
108
  run. [Recorded integration tests](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/smoke-evaluation.md)
109
  cover all five checkpoints.
110
 
111
+ ### 4. Run The Full Evaluation
112
+
113
+ Prepare all references required by this model's complete trial plan:
114
 
115
  ```bash
116
+ python scripts/prepare_assets.py --root "$ROBODEMO_HOST_ASSETS" \
117
+ --profile evaluation --model c15 --extract-assets
118
  CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
119
  --model c15 \
120
+ --checkpoint "$ROBODEMO_HOST_ASSETS/checkpoints/RoboDemo-c15/pytorch_model.pt" \
121
  --data-root "$ROBODEMO_DATA_ROOT" \
122
  --output outputs/c15-evaluation
123
  ```
 
143
  and [validation status](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/reproduce.md#validation-status)
144
  document the tested configurations.
145
 
146
+ For managed notebook containers without Docker Engine, follow the
147
+ [Apptainer guide](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/apptainer.md).
148
+ New image builds are versioned separately and do not inherit earlier GPU results.
149
+
150
  This checkpoint has two launchers:
151
 
152
  - Single GPU: `scripts/evaluate/c15-single.sh`
 
175
  ```bash
176
  CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \
177
  bash scripts/evaluate/c15-8gpu.sh \
178
+ --checkpoint "$ROBODEMO_HOST_ASSETS/checkpoints/RoboDemo-c15/pytorch_model.pt" \
179
  --data-root "$ROBODEMO_DATA_ROOT" \
180
  --workers-per-gpu 1 --max-episodes 8 \
181
  --output outputs/c15-8gpu-smoke