mxk1998 commited on
Commit
81f1a48
·
verified ·
1 Parent(s): a04dd36

Simplify asset setup and link maintained evaluation resources

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