FLASH A9 pedal open: A800 1 GPU x 512, 12000 steps, `step-008000`, `step-012000`
Browse files- README.md +21 -0
- a9-pedal-open/b512/step-008000/SHA256SUMS +3 -0
- a9-pedal-open/b512/step-008000/config.json +918 -0
- a9-pedal-open/b512/step-008000/model.pt +3 -0
- a9-pedal-open/b512/step-008000/protocol.json +128 -0
- a9-pedal-open/b512/step-012000/SHA256SUMS +25 -0
- a9-pedal-open/b512/step-012000/config.json +918 -0
- a9-pedal-open/b512/step-012000/model.pt +3 -0
- a9-pedal-open/b512/step-012000/protocol.json +216 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py +163 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py +9 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py +615 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py +57 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py +114 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py +141 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/data.py +363 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/flash.py +412 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py +110 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/nets.py +207 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/policies.py +285 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt +12 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py +151 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/train.py +500 -0
- a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py +12 -0
- a9-pedal-open/b512/step-012000/training_records/code_commit.txt +1 -0
- a9-pedal-open/b512/step-012000/training_records/flash_pool_a800.sh +29 -0
- a9-pedal-open/b512/step-012000/training_records/inloop-mse.jsonl +48 -0
- a9-pedal-open/b512/step-012000/training_records/pip_freeze_hb-baselines.txt +58 -0
- a9-pedal-open/b512/step-012000/training_records/run.json +936 -0
- a9-pedal-open/b512/step-012000/training_records/train.log +299 -0
- a9-pedal-open/b512/step-012000/training_records/train_log.jsonl +243 -0
README.md
CHANGED
|
@@ -22,6 +22,7 @@ the lowest in-training action MSE, unless the task's section below says otherwis
|
|
| 22 |
| `b7-green-clothes-hamper/b512-leaddrop/` | B7 green — walk around the side table, take the green garment off the hanger and drop it into the hamper | Unitree G1 (Inspire hands) | ego_view, chest | `b7-green-clothes-hamper` @4d2c613c (v2), all 421 episodes (326,907 frames) | 512 | 16,000 | `step-014000`, `step-016000` | `step-016000` |
|
| 23 |
| `b6-pedal-bin/b512-v6-500/` | B6 pedal bin — pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in | Unitree G1 (Inspire hands) | ego_view, chest | `b6-pedal-bin` @ad2f5bf0 (v6), episodes 0-499 of 542 (305,667 frames) | 512 | 16,000 | `step-012000`, `step-014000`, `step-016000` | `step-012000` |
|
| 24 |
| `a10-trolley-push-v3/b512/` | A10 trolley push (v3) | Unitree G1 (Inspire hands) | ego_view, chest | `a10-trolley-push-v3` @6e410c5, all 148 episodes (125,290 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
|
|
|
| 25 |
## Recipe (every folder)
|
| 26 |
|
| 27 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
@@ -189,3 +190,23 @@ Checkpoints: [`a10-trolley-push-v3/b512/step-012000/`](a10-trolley-push-v3/b512/
|
|
| 189 |
| MSE | 0.5177 | 0.1623 | 0.1215 | 0.1029 | 0.0917 | 0.0855 | 0.0831 (lowest) |
|
| 190 |
|
| 191 |
Closed-loop evaluation: pending.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
| `b7-green-clothes-hamper/b512-leaddrop/` | B7 green — walk around the side table, take the green garment off the hanger and drop it into the hamper | Unitree G1 (Inspire hands) | ego_view, chest | `b7-green-clothes-hamper` @4d2c613c (v2), all 421 episodes (326,907 frames) | 512 | 16,000 | `step-014000`, `step-016000` | `step-016000` |
|
| 23 |
| `b6-pedal-bin/b512-v6-500/` | B6 pedal bin — pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in | Unitree G1 (Inspire hands) | ego_view, chest | `b6-pedal-bin` @ad2f5bf0 (v6), episodes 0-499 of 542 (305,667 frames) | 512 | 16,000 | `step-012000`, `step-014000`, `step-016000` | `step-012000` |
|
| 24 |
| `a10-trolley-push-v3/b512/` | A10 trolley push (v3) | Unitree G1 (Inspire hands) | ego_view, chest | `a10-trolley-push-v3` @6e410c5, all 148 episodes (125,290 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 25 |
+
| `a9-pedal-open/b512/` | A9 pedal open | Unitree G1 (Inspire hands) | ego_view, chest | `a9-pedal-open-expert-v1` @8d43206, all 100 episodes (22,763 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 26 |
## Recipe (every folder)
|
| 27 |
|
| 28 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
|
|
| 190 |
| MSE | 0.5177 | 0.1623 | 0.1215 | 0.1029 | 0.0917 | 0.0855 | 0.0831 (lowest) |
|
| 191 |
|
| 192 |
Closed-loop evaluation: pending.
|
| 193 |
+
|
| 194 |
+
## A9 pedal open, batch 512, steps 8000 and 12000 (2026-11-25)
|
| 195 |
+
|
| 196 |
+
Checkpoints: [`a9-pedal-open/b512/step-012000/`](a9-pedal-open/b512/step-012000) (evaluated) and [`step-008000/`](a9-pedal-open/b512/step-008000).
|
| 197 |
+
|
| 198 |
+
**Data.**
|
| 199 |
+
- Source: `a9-pedal-open-expert-v1` @8d43206.
|
| 200 |
+
- All 100 episodes (22,763 frames) are used for training.
|
| 201 |
+
- Instruction: "Walk to the pedal bin and step on its pedal with the left foot to open the lid."
|
| 202 |
+
- Humanoid_benchmark commit: 78235367.
|
| 203 |
+
|
| 204 |
+
**Training hardware.** One NVIDIA A800 80 GB (Aliyun PAI DLC), batch 512, no gradient accumulation, seed 42.
|
| 205 |
+
|
| 206 |
+
**In-training normalized action MSE on 10 equally spaced training episodes (every episode is used for training; there are no held-out episodes).**
|
| 207 |
+
|
| 208 |
+
| Step | 250 | 2,000 | 4,000 | 6,000 | 8,000 | 10,000 | 12,000 |
|
| 209 |
+
|---|---|---|---|---|---|---|---|
|
| 210 |
+
| MSE | 0.8077 | 0.1707 | 0.1336 | 0.1200 | 0.1135 | 0.1102 | 0.1091 (lowest) |
|
| 211 |
+
|
| 212 |
+
Closed-loop evaluation: pending.
|
a9-pedal-open/b512/step-008000/SHA256SUMS
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d6827923a827365a0c140e19b248fb06beb515074af2807da4ad01ce945f83f8 config.json
|
| 2 |
+
4b1206374fe329fcad3262fbfeb89199682ce3ac673b8ee2ecb7ac6d2ad2d0d0 model.pt
|
| 3 |
+
7392bd1addd4569afd6eda482ecb7d81794edb9808e2bbc95dc20da6f1951681 protocol.json
|
a9-pedal-open/b512/step-008000/config.json
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 44,
|
| 6 |
+
"action_dim": 76,
|
| 7 |
+
"horizon": 16,
|
| 8 |
+
"backbone": "resnet18",
|
| 9 |
+
"backbone_weights": null,
|
| 10 |
+
"backbone_norm": "group",
|
| 11 |
+
"hidden_dim": 512,
|
| 12 |
+
"num_layers": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"time_embed_dim": 256,
|
| 17 |
+
"num_inference_steps": 1,
|
| 18 |
+
"num_train_timesteps": 100,
|
| 19 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 20 |
+
"prediction_type": "epsilon",
|
| 21 |
+
"clip_sample": true,
|
| 22 |
+
"act_hidden_dim": 512,
|
| 23 |
+
"dim_feedforward": 3200,
|
| 24 |
+
"enc_layers": 4,
|
| 25 |
+
"dec_layers": 7,
|
| 26 |
+
"nheads": 8,
|
| 27 |
+
"latent_dim": 32,
|
| 28 |
+
"kl_weight": 10.0,
|
| 29 |
+
"extra": {
|
| 30 |
+
"flash": {
|
| 31 |
+
"stride": 2,
|
| 32 |
+
"n_history": 8,
|
| 33 |
+
"n_action": 8,
|
| 34 |
+
"rows": 16,
|
| 35 |
+
"poly_order": 6,
|
| 36 |
+
"fit_pad": 1,
|
| 37 |
+
"boundary_constraint": true,
|
| 38 |
+
"poly_prefix": 1,
|
| 39 |
+
"poly_suffix": 1,
|
| 40 |
+
"history_noise_std": 0.5,
|
| 41 |
+
"history_reg_lambda": 0.1,
|
| 42 |
+
"consistency_weight": 1.0,
|
| 43 |
+
"solver": "euler"
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"contract": {
|
| 48 |
+
"name": "g1_sonic_dfx6",
|
| 49 |
+
"robot": "g1",
|
| 50 |
+
"cameras": [
|
| 51 |
+
"ego_view",
|
| 52 |
+
"chest"
|
| 53 |
+
],
|
| 54 |
+
"state": [
|
| 55 |
+
[
|
| 56 |
+
"observation.state",
|
| 57 |
+
0,
|
| 58 |
+
29
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"observation.inspire_left_hand_state",
|
| 62 |
+
0,
|
| 63 |
+
6
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"observation.inspire_right_hand_state",
|
| 67 |
+
0,
|
| 68 |
+
6
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
"observation.projected_gravity",
|
| 72 |
+
0,
|
| 73 |
+
3
|
| 74 |
+
]
|
| 75 |
+
],
|
| 76 |
+
"action": [
|
| 77 |
+
[
|
| 78 |
+
"action.motion_token",
|
| 79 |
+
0,
|
| 80 |
+
64
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
"observation.inspire_left_hand_state",
|
| 84 |
+
0,
|
| 85 |
+
6
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"observation.inspire_right_hand_state",
|
| 89 |
+
0,
|
| 90 |
+
6
|
| 91 |
+
]
|
| 92 |
+
],
|
| 93 |
+
"state_dim": 44,
|
| 94 |
+
"action_dim": 76,
|
| 95 |
+
"action_space": "sonic_dfx6",
|
| 96 |
+
"body_dims": 29
|
| 97 |
+
},
|
| 98 |
+
"image_hw": [
|
| 99 |
+
168,
|
| 100 |
+
224
|
| 101 |
+
],
|
| 102 |
+
"task_text": "Walk to the pedal bin and step on its pedal with the left foot to open the lid.",
|
| 103 |
+
"dataset": {
|
| 104 |
+
"name": "data",
|
| 105 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a9-pedal-open-8d43206/data",
|
| 106 |
+
"robot_type": null,
|
| 107 |
+
"fps": 30.0,
|
| 108 |
+
"episodes": [
|
| 109 |
+
0,
|
| 110 |
+
1,
|
| 111 |
+
2,
|
| 112 |
+
3,
|
| 113 |
+
4,
|
| 114 |
+
5,
|
| 115 |
+
6,
|
| 116 |
+
7,
|
| 117 |
+
8,
|
| 118 |
+
9,
|
| 119 |
+
10,
|
| 120 |
+
11,
|
| 121 |
+
12,
|
| 122 |
+
13,
|
| 123 |
+
14,
|
| 124 |
+
15,
|
| 125 |
+
16,
|
| 126 |
+
17,
|
| 127 |
+
18,
|
| 128 |
+
19,
|
| 129 |
+
20,
|
| 130 |
+
21,
|
| 131 |
+
22,
|
| 132 |
+
23,
|
| 133 |
+
24,
|
| 134 |
+
25,
|
| 135 |
+
26,
|
| 136 |
+
27,
|
| 137 |
+
28,
|
| 138 |
+
29,
|
| 139 |
+
30,
|
| 140 |
+
31,
|
| 141 |
+
32,
|
| 142 |
+
33,
|
| 143 |
+
34,
|
| 144 |
+
35,
|
| 145 |
+
36,
|
| 146 |
+
37,
|
| 147 |
+
38,
|
| 148 |
+
39,
|
| 149 |
+
40,
|
| 150 |
+
41,
|
| 151 |
+
42,
|
| 152 |
+
43,
|
| 153 |
+
44,
|
| 154 |
+
45,
|
| 155 |
+
46,
|
| 156 |
+
47,
|
| 157 |
+
48,
|
| 158 |
+
49,
|
| 159 |
+
50,
|
| 160 |
+
51,
|
| 161 |
+
52,
|
| 162 |
+
53,
|
| 163 |
+
54,
|
| 164 |
+
55,
|
| 165 |
+
56,
|
| 166 |
+
57,
|
| 167 |
+
58,
|
| 168 |
+
59,
|
| 169 |
+
60,
|
| 170 |
+
61,
|
| 171 |
+
62,
|
| 172 |
+
63,
|
| 173 |
+
64,
|
| 174 |
+
65,
|
| 175 |
+
66,
|
| 176 |
+
67,
|
| 177 |
+
68,
|
| 178 |
+
69,
|
| 179 |
+
70,
|
| 180 |
+
71,
|
| 181 |
+
72,
|
| 182 |
+
73,
|
| 183 |
+
74,
|
| 184 |
+
75,
|
| 185 |
+
76,
|
| 186 |
+
77,
|
| 187 |
+
78,
|
| 188 |
+
79,
|
| 189 |
+
80,
|
| 190 |
+
81,
|
| 191 |
+
82,
|
| 192 |
+
83,
|
| 193 |
+
84,
|
| 194 |
+
85,
|
| 195 |
+
86,
|
| 196 |
+
87,
|
| 197 |
+
88,
|
| 198 |
+
89,
|
| 199 |
+
90,
|
| 200 |
+
91,
|
| 201 |
+
92,
|
| 202 |
+
93,
|
| 203 |
+
94,
|
| 204 |
+
95,
|
| 205 |
+
96,
|
| 206 |
+
97,
|
| 207 |
+
98,
|
| 208 |
+
99
|
| 209 |
+
],
|
| 210 |
+
"train_episodes": [
|
| 211 |
+
0,
|
| 212 |
+
1,
|
| 213 |
+
2,
|
| 214 |
+
3,
|
| 215 |
+
4,
|
| 216 |
+
5,
|
| 217 |
+
6,
|
| 218 |
+
7,
|
| 219 |
+
8,
|
| 220 |
+
9,
|
| 221 |
+
10,
|
| 222 |
+
11,
|
| 223 |
+
12,
|
| 224 |
+
13,
|
| 225 |
+
14,
|
| 226 |
+
15,
|
| 227 |
+
16,
|
| 228 |
+
17,
|
| 229 |
+
18,
|
| 230 |
+
19,
|
| 231 |
+
20,
|
| 232 |
+
21,
|
| 233 |
+
22,
|
| 234 |
+
23,
|
| 235 |
+
24,
|
| 236 |
+
25,
|
| 237 |
+
26,
|
| 238 |
+
27,
|
| 239 |
+
28,
|
| 240 |
+
29,
|
| 241 |
+
30,
|
| 242 |
+
31,
|
| 243 |
+
32,
|
| 244 |
+
33,
|
| 245 |
+
34,
|
| 246 |
+
35,
|
| 247 |
+
36,
|
| 248 |
+
37,
|
| 249 |
+
38,
|
| 250 |
+
39,
|
| 251 |
+
40,
|
| 252 |
+
41,
|
| 253 |
+
42,
|
| 254 |
+
43,
|
| 255 |
+
44,
|
| 256 |
+
45,
|
| 257 |
+
46,
|
| 258 |
+
47,
|
| 259 |
+
48,
|
| 260 |
+
49,
|
| 261 |
+
50,
|
| 262 |
+
51,
|
| 263 |
+
52,
|
| 264 |
+
53,
|
| 265 |
+
54,
|
| 266 |
+
55,
|
| 267 |
+
56,
|
| 268 |
+
57,
|
| 269 |
+
58,
|
| 270 |
+
59,
|
| 271 |
+
60,
|
| 272 |
+
61,
|
| 273 |
+
62,
|
| 274 |
+
63,
|
| 275 |
+
64,
|
| 276 |
+
65,
|
| 277 |
+
66,
|
| 278 |
+
67,
|
| 279 |
+
68,
|
| 280 |
+
69,
|
| 281 |
+
70,
|
| 282 |
+
71,
|
| 283 |
+
72,
|
| 284 |
+
73,
|
| 285 |
+
74,
|
| 286 |
+
75,
|
| 287 |
+
76,
|
| 288 |
+
77,
|
| 289 |
+
78,
|
| 290 |
+
79,
|
| 291 |
+
80,
|
| 292 |
+
81,
|
| 293 |
+
82,
|
| 294 |
+
83,
|
| 295 |
+
84,
|
| 296 |
+
85,
|
| 297 |
+
86,
|
| 298 |
+
87,
|
| 299 |
+
88,
|
| 300 |
+
89,
|
| 301 |
+
90,
|
| 302 |
+
91,
|
| 303 |
+
92,
|
| 304 |
+
93,
|
| 305 |
+
94,
|
| 306 |
+
95,
|
| 307 |
+
96,
|
| 308 |
+
97,
|
| 309 |
+
98,
|
| 310 |
+
99
|
| 311 |
+
],
|
| 312 |
+
"val_episodes": [],
|
| 313 |
+
"train_frames": 22763,
|
| 314 |
+
"git_commit": "028df1bb7024fb1e3d176de7e60c84d3333cd97f"
|
| 315 |
+
},
|
| 316 |
+
"training": {
|
| 317 |
+
"steps": 12000,
|
| 318 |
+
"batch_size": 512,
|
| 319 |
+
"lr": 0.0001,
|
| 320 |
+
"betas": [
|
| 321 |
+
0.95,
|
| 322 |
+
0.999
|
| 323 |
+
],
|
| 324 |
+
"weight_decay": 1e-06,
|
| 325 |
+
"warmup": 500,
|
| 326 |
+
"schedule": "diffusers_cosine",
|
| 327 |
+
"backbone_lr_scale": 1.0,
|
| 328 |
+
"ema": 0.9999,
|
| 329 |
+
"shift_px": 0,
|
| 330 |
+
"amp": true,
|
| 331 |
+
"seed": 42,
|
| 332 |
+
"augmentation": {
|
| 333 |
+
"spec": "docs/augmentation_v2.md",
|
| 334 |
+
"version": "hb-aug-v2-20261109",
|
| 335 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 336 |
+
"visual": {
|
| 337 |
+
"effects": [
|
| 338 |
+
"exposure",
|
| 339 |
+
"contrast",
|
| 340 |
+
"saturation",
|
| 341 |
+
"hue",
|
| 342 |
+
"gamma",
|
| 343 |
+
"temperature",
|
| 344 |
+
"rotation_crop",
|
| 345 |
+
"noise",
|
| 346 |
+
"gaussian_blur",
|
| 347 |
+
"jpeg",
|
| 348 |
+
"motion_blur",
|
| 349 |
+
"sharpen",
|
| 350 |
+
"defocus",
|
| 351 |
+
"light_shadow",
|
| 352 |
+
"wb_channel"
|
| 353 |
+
],
|
| 354 |
+
"boosted_per_sample": 1,
|
| 355 |
+
"boost": 1.5,
|
| 356 |
+
"pixel_scale": "H / 224",
|
| 357 |
+
"future_targets": "none (one observation frame)"
|
| 358 |
+
},
|
| 359 |
+
"proprio": {
|
| 360 |
+
"robot": "g1",
|
| 361 |
+
"body_dims": 29,
|
| 362 |
+
"bias_deg": 2.0,
|
| 363 |
+
"bias_scope": "per_sample",
|
| 364 |
+
"noise_deg": 0.25,
|
| 365 |
+
"noise_clip_sigma": 3,
|
| 366 |
+
"delay_probability": 0.0,
|
| 367 |
+
"history_drop_probability": 0.0,
|
| 368 |
+
"velocity": false
|
| 369 |
+
},
|
| 370 |
+
"native_image_augmentation": "off",
|
| 371 |
+
"evaluation": "off"
|
| 372 |
+
},
|
| 373 |
+
"preflight": {
|
| 374 |
+
"samples": 64,
|
| 375 |
+
"state_dim": 44,
|
| 376 |
+
"body_dims": 29,
|
| 377 |
+
"images_changed": 64,
|
| 378 |
+
"body_values_moved": 1.0,
|
| 379 |
+
"max_body_offset_deg": 2.7162,
|
| 380 |
+
"actions_bit_identical": true,
|
| 381 |
+
"non_body_state_bit_identical": true,
|
| 382 |
+
"eval_items_deterministic": 8
|
| 383 |
+
},
|
| 384 |
+
"aug_seed": 42,
|
| 385 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 386 |
+
"layout": {
|
| 387 |
+
"nodes": 1,
|
| 388 |
+
"gpus": 1,
|
| 389 |
+
"per_gpu_batch": 512,
|
| 390 |
+
"global_batch": 512,
|
| 391 |
+
"gradient_accumulation": 1,
|
| 392 |
+
"num_workers": 40,
|
| 393 |
+
"prefetch": 2
|
| 394 |
+
},
|
| 395 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 396 |
+
"inloop": {
|
| 397 |
+
"task": "a9",
|
| 398 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 399 |
+
"every": 250,
|
| 400 |
+
"exception": null
|
| 401 |
+
}
|
| 402 |
+
},
|
| 403 |
+
"stats": {
|
| 404 |
+
"state": {
|
| 405 |
+
"min": [
|
| 406 |
+
-0.85328608751297,
|
| 407 |
+
-0.06907648593187332,
|
| 408 |
+
-0.21899153292179108,
|
| 409 |
+
0.12875080108642578,
|
| 410 |
+
-0.4542495906352997,
|
| 411 |
+
-0.16321630775928497,
|
| 412 |
+
-0.5057377815246582,
|
| 413 |
+
-0.2835802435874939,
|
| 414 |
+
-0.41284993290901184,
|
| 415 |
+
0.11731760948896408,
|
| 416 |
+
-0.5172221660614014,
|
| 417 |
+
-0.18826539814472198,
|
| 418 |
+
-0.03187485411763191,
|
| 419 |
+
-0.06315656006336212,
|
| 420 |
+
-0.034862205386161804,
|
| 421 |
+
0.324480801820755,
|
| 422 |
+
0.04509006068110466,
|
| 423 |
+
-0.12961792945861816,
|
| 424 |
+
-0.3828187882900238,
|
| 425 |
+
-0.5066221952438354,
|
| 426 |
+
-0.06149636581540108,
|
| 427 |
+
0.045186493545770645,
|
| 428 |
+
0.29818740487098694,
|
| 429 |
+
-0.15362273156642914,
|
| 430 |
+
-0.02466396987438202,
|
| 431 |
+
-0.27415239810943604,
|
| 432 |
+
0.4841823875904083,
|
| 433 |
+
-0.1610591560602188,
|
| 434 |
+
0.03203858435153961,
|
| 435 |
+
0.9999946355819702,
|
| 436 |
+
0.999992311000824,
|
| 437 |
+
0.9999906420707703,
|
| 438 |
+
0.9999911189079285,
|
| 439 |
+
0.9989739656448364,
|
| 440 |
+
0.0,
|
| 441 |
+
0.9999977350234985,
|
| 442 |
+
0.9999969601631165,
|
| 443 |
+
0.9999966025352478,
|
| 444 |
+
0.9999971389770508,
|
| 445 |
+
0.9990490078926086,
|
| 446 |
+
0.0,
|
| 447 |
+
-0.15878453850746155,
|
| 448 |
+
-0.14739660918712616,
|
| 449 |
+
-1.0
|
| 450 |
+
],
|
| 451 |
+
"max": [
|
| 452 |
+
0.30774569511413574,
|
| 453 |
+
0.29127001762390137,
|
| 454 |
+
0.2931687533855438,
|
| 455 |
+
1.1981122493743896,
|
| 456 |
+
0.30293598771095276,
|
| 457 |
+
0.11864283680915833,
|
| 458 |
+
0.20868174731731415,
|
| 459 |
+
0.12529540061950684,
|
| 460 |
+
0.06273241341114044,
|
| 461 |
+
1.1556999683380127,
|
| 462 |
+
0.10819908231496811,
|
| 463 |
+
0.13382957875728607,
|
| 464 |
+
0.047840241342782974,
|
| 465 |
+
0.03201582282781601,
|
| 466 |
+
0.10173576325178146,
|
| 467 |
+
0.44784021377563477,
|
| 468 |
+
0.17809371650218964,
|
| 469 |
+
0.0006325790891423821,
|
| 470 |
+
-0.23496104776859283,
|
| 471 |
+
-0.36446377635002136,
|
| 472 |
+
0.07478269934654236,
|
| 473 |
+
0.17929065227508545,
|
| 474 |
+
0.3846745491027832,
|
| 475 |
+
-0.029145779088139534,
|
| 476 |
+
0.07714414596557617,
|
| 477 |
+
-0.11649037897586823,
|
| 478 |
+
0.6306237578392029,
|
| 479 |
+
-0.029618142172694206,
|
| 480 |
+
0.2046281397342682,
|
| 481 |
+
1.0,
|
| 482 |
+
1.0,
|
| 483 |
+
1.0,
|
| 484 |
+
1.0,
|
| 485 |
+
0.9998283982276917,
|
| 486 |
+
0.0,
|
| 487 |
+
1.0,
|
| 488 |
+
1.0,
|
| 489 |
+
1.0,
|
| 490 |
+
1.0,
|
| 491 |
+
0.9999804496765137,
|
| 492 |
+
0.0,
|
| 493 |
+
0.05032211169600487,
|
| 494 |
+
0.06023091450333595,
|
| 495 |
+
-0.9835244417190552
|
| 496 |
+
],
|
| 497 |
+
"mean": [
|
| 498 |
+
-0.18867394475541033,
|
| 499 |
+
0.06859181518506506,
|
| 500 |
+
0.059216750808372715,
|
| 501 |
+
0.3741825574959319,
|
| 502 |
+
-0.10485724086469816,
|
| 503 |
+
-0.01683981723026499,
|
| 504 |
+
-0.1372116319960886,
|
| 505 |
+
-0.04772890712036113,
|
| 506 |
+
-0.19873840170413398,
|
| 507 |
+
0.3993657798537946,
|
| 508 |
+
-0.1865758556776451,
|
| 509 |
+
-0.05638726925094433,
|
| 510 |
+
0.008666907215531516,
|
| 511 |
+
-0.011401991928589289,
|
| 512 |
+
0.014006401807375142,
|
| 513 |
+
0.37017773948235055,
|
| 514 |
+
0.10901712806485336,
|
| 515 |
+
-0.049930227982091964,
|
| 516 |
+
-0.2975384835881267,
|
| 517 |
+
-0.4151976021551758,
|
| 518 |
+
0.020364781860101686,
|
| 519 |
+
0.09555342386862554,
|
| 520 |
+
0.3390257831476162,
|
| 521 |
+
-0.07808300271233913,
|
| 522 |
+
0.01983554468472139,
|
| 523 |
+
-0.18160291312318305,
|
| 524 |
+
0.5504751063561558,
|
| 525 |
+
-0.08682859835305291,
|
| 526 |
+
0.1377671019886919,
|
| 527 |
+
0.9999999952395886,
|
| 528 |
+
0.999999993283578,
|
| 529 |
+
0.9999999900864041,
|
| 530 |
+
0.9999999880832606,
|
| 531 |
+
0.9994041203394646,
|
| 532 |
+
0.0,
|
| 533 |
+
0.999999998782403,
|
| 534 |
+
0.9999999986174383,
|
| 535 |
+
0.9999999980439894,
|
| 536 |
+
0.9999999973998414,
|
| 537 |
+
0.9994378465186501,
|
| 538 |
+
0.0,
|
| 539 |
+
-0.048555671003437655,
|
| 540 |
+
-0.006914950209228234,
|
| 541 |
+
-0.9977536029625677
|
| 542 |
+
],
|
| 543 |
+
"std": [
|
| 544 |
+
0.2643987408228008,
|
| 545 |
+
0.06086022349909881,
|
| 546 |
+
0.08263500668646376,
|
| 547 |
+
0.24456513288531465,
|
| 548 |
+
0.14144645533444083,
|
| 549 |
+
0.0526514841984123,
|
| 550 |
+
0.12864315366188941,
|
| 551 |
+
0.06097857187751974,
|
| 552 |
+
0.06823207697742709,
|
| 553 |
+
0.20825681094243498,
|
| 554 |
+
0.11155529878261528,
|
| 555 |
+
0.0605648056778638,
|
| 556 |
+
0.011110143858892663,
|
| 557 |
+
0.017472980641487123,
|
| 558 |
+
0.02153435468964663,
|
| 559 |
+
0.02028871886353312,
|
| 560 |
+
0.016938082438909388,
|
| 561 |
+
0.015973335686548337,
|
| 562 |
+
0.02591653972776229,
|
| 563 |
+
0.01632131057354762,
|
| 564 |
+
0.0247790534416184,
|
| 565 |
+
0.015761488580191507,
|
| 566 |
+
0.011462800681419586,
|
| 567 |
+
0.017668421631941596,
|
| 568 |
+
0.012857238639788144,
|
| 569 |
+
0.024953211565708542,
|
| 570 |
+
0.02045509546445527,
|
| 571 |
+
0.020708735645543548,
|
| 572 |
+
0.01986295784282382,
|
| 573 |
+
9.407025022883164e-08,
|
| 574 |
+
1.4727285607879223e-07,
|
| 575 |
+
2.016490331327028e-07,
|
| 576 |
+
2.1059407794883297e-07,
|
| 577 |
+
0.00012068612396207338,
|
| 578 |
+
0.0,
|
| 579 |
+
3.209378252724693e-08,
|
| 580 |
+
4.6509652682201586e-08,
|
| 581 |
+
5.8611140496956195e-08,
|
| 582 |
+
5.934048494192063e-08,
|
| 583 |
+
0.00015549816053081873,
|
| 584 |
+
0.0,
|
| 585 |
+
0.03577476314377914,
|
| 586 |
+
0.028243381808349902,
|
| 587 |
+
0.0021807172058309152
|
| 588 |
+
]
|
| 589 |
+
},
|
| 590 |
+
"action": {
|
| 591 |
+
"min": [
|
| 592 |
+
-0.1875,
|
| 593 |
+
-0.25,
|
| 594 |
+
-0.375,
|
| 595 |
+
-0.375,
|
| 596 |
+
-0.3125,
|
| 597 |
+
-0.125,
|
| 598 |
+
-0.0625,
|
| 599 |
+
-0.1875,
|
| 600 |
+
-0.125,
|
| 601 |
+
-0.25,
|
| 602 |
+
-0.125,
|
| 603 |
+
-0.5,
|
| 604 |
+
-0.125,
|
| 605 |
+
-0.25,
|
| 606 |
+
0.0,
|
| 607 |
+
-0.375,
|
| 608 |
+
-0.125,
|
| 609 |
+
-0.125,
|
| 610 |
+
-0.3125,
|
| 611 |
+
-0.3125,
|
| 612 |
+
-0.3125,
|
| 613 |
+
-0.0625,
|
| 614 |
+
-0.25,
|
| 615 |
+
-0.1875,
|
| 616 |
+
-0.0625,
|
| 617 |
+
-0.25,
|
| 618 |
+
-0.3125,
|
| 619 |
+
-0.1875,
|
| 620 |
+
-0.1875,
|
| 621 |
+
-0.3125,
|
| 622 |
+
-0.25,
|
| 623 |
+
-0.4375,
|
| 624 |
+
-0.25,
|
| 625 |
+
0.0,
|
| 626 |
+
-0.0625,
|
| 627 |
+
0.0,
|
| 628 |
+
-0.3125,
|
| 629 |
+
0.0625,
|
| 630 |
+
0.0625,
|
| 631 |
+
-0.25,
|
| 632 |
+
-0.375,
|
| 633 |
+
-0.25,
|
| 634 |
+
-0.1875,
|
| 635 |
+
-0.25,
|
| 636 |
+
-0.125,
|
| 637 |
+
-0.125,
|
| 638 |
+
-0.0625,
|
| 639 |
+
-0.3125,
|
| 640 |
+
-0.4375,
|
| 641 |
+
-0.25,
|
| 642 |
+
-0.3125,
|
| 643 |
+
-0.125,
|
| 644 |
+
-0.3125,
|
| 645 |
+
-0.3125,
|
| 646 |
+
-0.0625,
|
| 647 |
+
-0.0625,
|
| 648 |
+
-0.125,
|
| 649 |
+
0.0625,
|
| 650 |
+
0.0,
|
| 651 |
+
-0.375,
|
| 652 |
+
0.0625,
|
| 653 |
+
-0.125,
|
| 654 |
+
0.0,
|
| 655 |
+
-0.3125,
|
| 656 |
+
0.9999946355819702,
|
| 657 |
+
0.999992311000824,
|
| 658 |
+
0.9999906420707703,
|
| 659 |
+
0.9999911189079285,
|
| 660 |
+
0.9989739656448364,
|
| 661 |
+
0.0,
|
| 662 |
+
0.9999977350234985,
|
| 663 |
+
0.9999969601631165,
|
| 664 |
+
0.9999966025352478,
|
| 665 |
+
0.9999971389770508,
|
| 666 |
+
0.9990490078926086,
|
| 667 |
+
0.0
|
| 668 |
+
],
|
| 669 |
+
"max": [
|
| 670 |
+
0.25,
|
| 671 |
+
0.25,
|
| 672 |
+
0.0,
|
| 673 |
+
0.1875,
|
| 674 |
+
0.375,
|
| 675 |
+
0.3125,
|
| 676 |
+
0.3125,
|
| 677 |
+
0.1875,
|
| 678 |
+
0.1875,
|
| 679 |
+
-0.0625,
|
| 680 |
+
0.1875,
|
| 681 |
+
0.0625,
|
| 682 |
+
0.0625,
|
| 683 |
+
0.1875,
|
| 684 |
+
0.4375,
|
| 685 |
+
0.1875,
|
| 686 |
+
0.125,
|
| 687 |
+
0.25,
|
| 688 |
+
0.125,
|
| 689 |
+
0.0,
|
| 690 |
+
0.1875,
|
| 691 |
+
0.125,
|
| 692 |
+
0.0,
|
| 693 |
+
0.25,
|
| 694 |
+
0.1875,
|
| 695 |
+
0.1875,
|
| 696 |
+
-0.0625,
|
| 697 |
+
0.3125,
|
| 698 |
+
0.375,
|
| 699 |
+
0.125,
|
| 700 |
+
0.25,
|
| 701 |
+
0.1875,
|
| 702 |
+
0.125,
|
| 703 |
+
0.375,
|
| 704 |
+
0.1875,
|
| 705 |
+
0.3125,
|
| 706 |
+
0.375,
|
| 707 |
+
0.1875,
|
| 708 |
+
0.4375,
|
| 709 |
+
0.125,
|
| 710 |
+
0.25,
|
| 711 |
+
0.25,
|
| 712 |
+
0.375,
|
| 713 |
+
-0.0625,
|
| 714 |
+
0.5,
|
| 715 |
+
0.0,
|
| 716 |
+
0.25,
|
| 717 |
+
0.0,
|
| 718 |
+
-0.1875,
|
| 719 |
+
0.0625,
|
| 720 |
+
0.4375,
|
| 721 |
+
0.25,
|
| 722 |
+
0.1875,
|
| 723 |
+
0.125,
|
| 724 |
+
0.1875,
|
| 725 |
+
0.3125,
|
| 726 |
+
0.0625,
|
| 727 |
+
0.375,
|
| 728 |
+
0.25,
|
| 729 |
+
0.125,
|
| 730 |
+
0.3125,
|
| 731 |
+
0.25,
|
| 732 |
+
0.375,
|
| 733 |
+
0.0,
|
| 734 |
+
1.0,
|
| 735 |
+
1.0,
|
| 736 |
+
1.0,
|
| 737 |
+
1.0,
|
| 738 |
+
0.9998283982276917,
|
| 739 |
+
0.0,
|
| 740 |
+
1.0,
|
| 741 |
+
1.0,
|
| 742 |
+
1.0,
|
| 743 |
+
1.0,
|
| 744 |
+
0.9999804496765137,
|
| 745 |
+
0.0
|
| 746 |
+
],
|
| 747 |
+
"mean": [
|
| 748 |
+
0.07242290119931467,
|
| 749 |
+
0.008127224003865922,
|
| 750 |
+
-0.13871469050652374,
|
| 751 |
+
-0.07624763871194483,
|
| 752 |
+
0.09058559943768396,
|
| 753 |
+
0.1369958924570575,
|
| 754 |
+
0.13454674252075738,
|
| 755 |
+
0.06728572683741159,
|
| 756 |
+
0.04104248121952291,
|
| 757 |
+
-0.182121205465009,
|
| 758 |
+
0.013519746957782366,
|
| 759 |
+
-0.23632374906646753,
|
| 760 |
+
0.010403395861705399,
|
| 761 |
+
0.018772240038659228,
|
| 762 |
+
0.24076351974695778,
|
| 763 |
+
-0.0904922461889909,
|
| 764 |
+
0.027121864429117428,
|
| 765 |
+
0.01856631375477749,
|
| 766 |
+
-0.08719467996309802,
|
| 767 |
+
-0.1140309932785661,
|
| 768 |
+
-0.010403395861705399,
|
| 769 |
+
-0.016435663137547775,
|
| 770 |
+
-0.15229484250757808,
|
| 771 |
+
0.04462285287528006,
|
| 772 |
+
0.05573738083732373,
|
| 773 |
+
-0.007465514211659272,
|
| 774 |
+
-0.17174252075736943,
|
| 775 |
+
0.04152023019812854,
|
| 776 |
+
0.047972587093089665,
|
| 777 |
+
-0.11948392127575451,
|
| 778 |
+
-0.0349388261652682,
|
| 779 |
+
-0.11785023942362606,
|
| 780 |
+
-0.0885235909150815,
|
| 781 |
+
0.17267330756051488,
|
| 782 |
+
0.08206574265255019,
|
| 783 |
+
0.17519659095901244,
|
| 784 |
+
-0.10897344374643061,
|
| 785 |
+
0.11767176997759522,
|
| 786 |
+
0.196607433115143,
|
| 787 |
+
-0.05186322101656196,
|
| 788 |
+
-0.030592408733470983,
|
| 789 |
+
-0.02094956728023547,
|
| 790 |
+
0.14595231296402056,
|
| 791 |
+
-0.1859322145587137,
|
| 792 |
+
0.1499967051794579,
|
| 793 |
+
-0.04453773667794227,
|
| 794 |
+
0.0756847735360014,
|
| 795 |
+
-0.176069718402671,
|
| 796 |
+
-0.336277621578878,
|
| 797 |
+
-0.10655449633176646,
|
| 798 |
+
0.08068466370865,
|
| 799 |
+
0.10449797917673417,
|
| 800 |
+
-0.062068927645740894,
|
| 801 |
+
-0.11361914071080262,
|
| 802 |
+
0.0472065413170496,
|
| 803 |
+
0.1298406405131134,
|
| 804 |
+
-0.03219314238017836,
|
| 805 |
+
0.2004156965250626,
|
| 806 |
+
0.10949237798181259,
|
| 807 |
+
-0.1868822211483548,
|
| 808 |
+
0.12354753327768747,
|
| 809 |
+
0.08541547687035979,
|
| 810 |
+
0.2143829899398146,
|
| 811 |
+
-0.14808845494882045,
|
| 812 |
+
0.9999999952395886,
|
| 813 |
+
0.999999993283578,
|
| 814 |
+
0.9999999900864041,
|
| 815 |
+
0.9999999880832606,
|
| 816 |
+
0.9994041203394646,
|
| 817 |
+
0.0,
|
| 818 |
+
0.999999998782403,
|
| 819 |
+
0.9999999986174383,
|
| 820 |
+
0.9999999980439894,
|
| 821 |
+
0.9999999973998414,
|
| 822 |
+
0.9994378465186501,
|
| 823 |
+
0.0
|
| 824 |
+
],
|
| 825 |
+
"std": [
|
| 826 |
+
0.09715634348947717,
|
| 827 |
+
0.12043934277443014,
|
| 828 |
+
0.07475959840298549,
|
| 829 |
+
0.0913158335154531,
|
| 830 |
+
0.17014661849642138,
|
| 831 |
+
0.09664651252912485,
|
| 832 |
+
0.09032977292233302,
|
| 833 |
+
0.07615438851541308,
|
| 834 |
+
0.060890840680581905,
|
| 835 |
+
0.037292877221772866,
|
| 836 |
+
0.05273040552903576,
|
| 837 |
+
0.10350767895629431,
|
| 838 |
+
0.042444835166495824,
|
| 839 |
+
0.07702366385233651,
|
| 840 |
+
0.0956043144969805,
|
| 841 |
+
0.12917570224944536,
|
| 842 |
+
0.04840102481815591,
|
| 843 |
+
0.06394707261482528,
|
| 844 |
+
0.06527382787762362,
|
| 845 |
+
0.05195504338940805,
|
| 846 |
+
0.0781613630935635,
|
| 847 |
+
0.04774853707321427,
|
| 848 |
+
0.05361586357989116,
|
| 849 |
+
0.06886646850393413,
|
| 850 |
+
0.05943406236950779,
|
| 851 |
+
0.10513550445622982,
|
| 852 |
+
0.03671242505254331,
|
| 853 |
+
0.09286662188227343,
|
| 854 |
+
0.10579688213915901,
|
| 855 |
+
0.10466885169601943,
|
| 856 |
+
0.12484302335319887,
|
| 857 |
+
0.15682080772900553,
|
| 858 |
+
0.08102592251869303,
|
| 859 |
+
0.08824356247964592,
|
| 860 |
+
0.04487561084112228,
|
| 861 |
+
0.06341028499109164,
|
| 862 |
+
0.128201816178023,
|
| 863 |
+
0.037962484909225575,
|
| 864 |
+
0.07146266040095695,
|
| 865 |
+
0.07344628918656171,
|
| 866 |
+
0.12345300222438171,
|
| 867 |
+
0.08412131335777133,
|
| 868 |
+
0.1342618294672576,
|
| 869 |
+
0.038193725115361,
|
| 870 |
+
0.13376888816035587,
|
| 871 |
+
0.03194812808607355,
|
| 872 |
+
0.06803963784696329,
|
| 873 |
+
0.06447672997860214,
|
| 874 |
+
0.0455590748680762,
|
| 875 |
+
0.052267010049050294,
|
| 876 |
+
0.13119846095083995,
|
| 877 |
+
0.060853671800953406,
|
| 878 |
+
0.1187120508596654,
|
| 879 |
+
0.06805380312626544,
|
| 880 |
+
0.05033305242492583,
|
| 881 |
+
0.10127646867119827,
|
| 882 |
+
0.03338672227204972,
|
| 883 |
+
0.0563930254313253,
|
| 884 |
+
0.06919210280651265,
|
| 885 |
+
0.0788156045354752,
|
| 886 |
+
0.05383803167028171,
|
| 887 |
+
0.09840044111601212,
|
| 888 |
+
0.07858757514499791,
|
| 889 |
+
0.08172920497759735,
|
| 890 |
+
9.407025022883164e-08,
|
| 891 |
+
1.4727285607879223e-07,
|
| 892 |
+
2.016490331327028e-07,
|
| 893 |
+
2.1059407794883297e-07,
|
| 894 |
+
0.00012068612396207338,
|
| 895 |
+
0.0,
|
| 896 |
+
3.209378252724693e-08,
|
| 897 |
+
4.6509652682201586e-08,
|
| 898 |
+
5.8611140496956195e-08,
|
| 899 |
+
5.934048494192063e-08,
|
| 900 |
+
0.00015549816053081873,
|
| 901 |
+
0.0
|
| 902 |
+
]
|
| 903 |
+
}
|
| 904 |
+
},
|
| 905 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
|
| 906 |
+
"step": 8000,
|
| 907 |
+
"weights": "ema",
|
| 908 |
+
"offline_eval": {
|
| 909 |
+
"mse": 0.011984765529632568,
|
| 910 |
+
"mse_row0": 0.010174976661801338,
|
| 911 |
+
"mse_motion_token": 0.01384236104786396,
|
| 912 |
+
"mse_inspire_left_hand_state": 0.0021672716829925776,
|
| 913 |
+
"mse_inspire_right_hand_state": 0.001987920142710209,
|
| 914 |
+
"samples": 256,
|
| 915 |
+
"frames": "train"
|
| 916 |
+
},
|
| 917 |
+
"format": "hb_baselines/1"
|
| 918 |
+
}
|
a9-pedal-open/b512/step-008000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b1206374fe329fcad3262fbfeb89199682ce3ac673b8ee2ecb7ac6d2ad2d0d0
|
| 3 |
+
size 170776637
|
a9-pedal-open/b512/step-008000/protocol.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "hb_baselines/1",
|
| 3 |
+
"step": 8000,
|
| 4 |
+
"policy": "flash",
|
| 5 |
+
"files": {
|
| 6 |
+
"config.json": {
|
| 7 |
+
"bytes": 15856,
|
| 8 |
+
"sha256": "d6827923a827365a0c140e19b248fb06beb515074af2807da4ad01ce945f83f8"
|
| 9 |
+
},
|
| 10 |
+
"model.pt": {
|
| 11 |
+
"bytes": 170776637,
|
| 12 |
+
"sha256": "4b1206374fe329fcad3262fbfeb89199682ce3ac673b8ee2ecb7ac6d2ad2d0d0"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"task_dir": "a9-pedal-open",
|
| 16 |
+
"training_data": "a9-pedal-open-expert-v1 @8d43206, all episodes (A800 FLASH pool 2026-11-25)",
|
| 17 |
+
"episodes": 100,
|
| 18 |
+
"frames": 22763,
|
| 19 |
+
"steps": 12000,
|
| 20 |
+
"global_batch": 512,
|
| 21 |
+
"per_gpu_batch": 512,
|
| 22 |
+
"num_gpus": 1,
|
| 23 |
+
"gradient_accumulation_steps": 1,
|
| 24 |
+
"save_steps": [
|
| 25 |
+
8000,
|
| 26 |
+
12000
|
| 27 |
+
],
|
| 28 |
+
"lr": 0.0001,
|
| 29 |
+
"lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
|
| 30 |
+
"ema": 0.9999,
|
| 31 |
+
"augmentation": "Humanoid Benchmark online augmentation spec v2 (hb-aug-v2-20261109): 15 visual effects, one per sample at 1.5x; proprio per-joint bias U(+-2 deg) + N(0, 0.25 deg); no delay, no history drop; model-native image augmentation off",
|
| 32 |
+
"state_dim": 44,
|
| 33 |
+
"action_dim": 76,
|
| 34 |
+
"cameras": [
|
| 35 |
+
"ego_view",
|
| 36 |
+
"chest"
|
| 37 |
+
],
|
| 38 |
+
"contract": "g1_sonic_dfx6",
|
| 39 |
+
"image_hw": [
|
| 40 |
+
168,
|
| 41 |
+
224
|
| 42 |
+
],
|
| 43 |
+
"task_text": "Walk to the pedal bin and step on its pedal with the left foot to open the lid.",
|
| 44 |
+
"inloop_mse": {
|
| 45 |
+
"task": "a9",
|
| 46 |
+
"split": "train10",
|
| 47 |
+
"every": 250,
|
| 48 |
+
"seed": 1234,
|
| 49 |
+
"weights": "ema",
|
| 50 |
+
"nmse_at_this_step": 0.1135,
|
| 51 |
+
"curve": {
|
| 52 |
+
"250": 0.8077,
|
| 53 |
+
"500": 0.8107,
|
| 54 |
+
"750": 0.3197,
|
| 55 |
+
"1000": 0.2435,
|
| 56 |
+
"1250": 0.2097,
|
| 57 |
+
"1500": 0.1904,
|
| 58 |
+
"1750": 0.1786,
|
| 59 |
+
"2000": 0.1707,
|
| 60 |
+
"2250": 0.1641,
|
| 61 |
+
"2500": 0.1578,
|
| 62 |
+
"2750": 0.1522,
|
| 63 |
+
"3000": 0.1473,
|
| 64 |
+
"3250": 0.143,
|
| 65 |
+
"3500": 0.1394,
|
| 66 |
+
"3750": 0.1363,
|
| 67 |
+
"4000": 0.1336,
|
| 68 |
+
"4250": 0.1312,
|
| 69 |
+
"4500": 0.1291,
|
| 70 |
+
"4750": 0.1273,
|
| 71 |
+
"5000": 0.1255,
|
| 72 |
+
"5250": 0.1241,
|
| 73 |
+
"5500": 0.1227,
|
| 74 |
+
"5750": 0.1213,
|
| 75 |
+
"6000": 0.12,
|
| 76 |
+
"6250": 0.1189,
|
| 77 |
+
"6500": 0.1178,
|
| 78 |
+
"6750": 0.1169,
|
| 79 |
+
"7000": 0.1161,
|
| 80 |
+
"7250": 0.1154,
|
| 81 |
+
"7500": 0.1147,
|
| 82 |
+
"7750": 0.1141,
|
| 83 |
+
"8000": 0.1135,
|
| 84 |
+
"8250": 0.113,
|
| 85 |
+
"8500": 0.1125,
|
| 86 |
+
"8750": 0.112,
|
| 87 |
+
"9000": 0.1116,
|
| 88 |
+
"9250": 0.1113,
|
| 89 |
+
"9500": 0.1109,
|
| 90 |
+
"9750": 0.1105,
|
| 91 |
+
"10000": 0.1102,
|
| 92 |
+
"10250": 0.11,
|
| 93 |
+
"10500": 0.1098,
|
| 94 |
+
"10750": 0.1096,
|
| 95 |
+
"11000": 0.1095,
|
| 96 |
+
"11250": 0.1093,
|
| 97 |
+
"11500": 0.1092,
|
| 98 |
+
"11750": 0.1091,
|
| 99 |
+
"12000": 0.1091
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"seed": 42,
|
| 103 |
+
"reproducibility": {
|
| 104 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 105 |
+
"protocol_commit": "9cd4b974",
|
| 106 |
+
"training_seed": 42,
|
| 107 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 108 |
+
"training_seed_verified_from_run_files": true,
|
| 109 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 110 |
+
"inloop_mse_seed": 1234,
|
| 111 |
+
"layout": {
|
| 112 |
+
"nodes": 1,
|
| 113 |
+
"gpus_per_node": 1,
|
| 114 |
+
"per_gpu_batch": 512,
|
| 115 |
+
"global_batch": 512,
|
| 116 |
+
"gradient_accumulation": 1,
|
| 117 |
+
"num_workers": 40,
|
| 118 |
+
"prefetch": 2
|
| 119 |
+
},
|
| 120 |
+
"environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
|
| 121 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 122 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 123 |
+
"determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
|
| 124 |
+
"exceptions": []
|
| 125 |
+
},
|
| 126 |
+
"inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
|
| 127 |
+
"resume_state_included": false
|
| 128 |
+
}
|
a9-pedal-open/b512/step-012000/SHA256SUMS
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ca350c4f9387a797c9d0f2c0e4a9c245035ed4952d0e23b275c473b9165a39ce config.json
|
| 2 |
+
e7e9b635eb050741191960263b4e1eb30ba28592b41db9c973a6d47fa78b3943 model.pt
|
| 3 |
+
b7bf196eb5e2e7769d02c9025eb5b392da2b33d34a8b541cc22171cb05969560 protocol.json
|
| 4 |
+
9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py
|
| 5 |
+
69e97429f08c1a249e48c519026c3534245f22543c5a6876f0a13b09ff3f79b1 training_records/code_78235367/evaluation/baselines/__init__.py
|
| 6 |
+
3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19 training_records/code_78235367/evaluation/baselines/act_nets.py
|
| 7 |
+
71e26fbbe13a8df02c82cf98555c4e45dd42af053e45a371e5356f2e23596061 training_records/code_78235367/evaluation/baselines/adapters.py
|
| 8 |
+
aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81 training_records/code_78235367/evaluation/baselines/check_flash_adapter.py
|
| 9 |
+
91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f training_records/code_78235367/evaluation/baselines/check_flash_parity.py
|
| 10 |
+
d27091c71268657c9341d95fb7f85466c540be6dd76047bebd888c6e00379e7b training_records/code_78235367/evaluation/baselines/data.py
|
| 11 |
+
35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53 training_records/code_78235367/evaluation/baselines/flash.py
|
| 12 |
+
8c2f29132ba03b6401f972f7e8e8c16094d4d6d68b736972b9f40a538c0939cf training_records/code_78235367/evaluation/baselines/inloop.py
|
| 13 |
+
38a66937bb92393a3f1ce0644b249da28d582a4fd03d134b7743e6037abd88b9 training_records/code_78235367/evaluation/baselines/nets.py
|
| 14 |
+
68d4bad86d82007ed77ab0dcc8f7345da810d57c298323fccadc1efcf99dac4a training_records/code_78235367/evaluation/baselines/policies.py
|
| 15 |
+
bb211f66038e53efd08ee3ec03e133d8bb206ec36cc608d349b4fad3a61e874b training_records/code_78235367/evaluation/baselines/requirements.txt
|
| 16 |
+
379a2b2c5221e337df62e2097616438ae83a65d8cbb89a0e433e15ecd7aec881 training_records/code_78235367/evaluation/baselines/runtime.py
|
| 17 |
+
b17dcd85ca3300b8707deb4ca31dc870245f2bdd26733f7e21c9c668c75b4b1b training_records/code_78235367/evaluation/baselines/train.py
|
| 18 |
+
823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159 training_records/code_78235367/evaluation/policy/FLASH/model.py
|
| 19 |
+
27d134217d9f9dd84cf9c8e0ff946a02d746e530410150b39712fbb308fa8b45 training_records/code_commit.txt
|
| 20 |
+
ba5dc6e619fced677b89ac5ebc4fea82dc3b9803c8835cf7b7154c98bc524e36 training_records/flash_pool_a800.sh
|
| 21 |
+
7a2a5c8bddd6cee33e1162dc7c416751061bafb250d6c1f783993849aa31c99e training_records/inloop-mse.jsonl
|
| 22 |
+
72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2 training_records/pip_freeze_hb-baselines.txt
|
| 23 |
+
dbaaf1932f7ab99d12f60106ce5cf25c8c46a8d645f8e4d1e1834c7362f60a5a training_records/run.json
|
| 24 |
+
266afc6c0f5cf837ecb62e9994be06361b59af7111940396a1117be256ad8014 training_records/train.log
|
| 25 |
+
601e73c6b8f8ecfee2a63073d6ad242d129f661b7c3d8c46ad9e4972f658c8a7 training_records/train_log.jsonl
|
a9-pedal-open/b512/step-012000/config.json
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 44,
|
| 6 |
+
"action_dim": 76,
|
| 7 |
+
"horizon": 16,
|
| 8 |
+
"backbone": "resnet18",
|
| 9 |
+
"backbone_weights": null,
|
| 10 |
+
"backbone_norm": "group",
|
| 11 |
+
"hidden_dim": 512,
|
| 12 |
+
"num_layers": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"time_embed_dim": 256,
|
| 17 |
+
"num_inference_steps": 1,
|
| 18 |
+
"num_train_timesteps": 100,
|
| 19 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 20 |
+
"prediction_type": "epsilon",
|
| 21 |
+
"clip_sample": true,
|
| 22 |
+
"act_hidden_dim": 512,
|
| 23 |
+
"dim_feedforward": 3200,
|
| 24 |
+
"enc_layers": 4,
|
| 25 |
+
"dec_layers": 7,
|
| 26 |
+
"nheads": 8,
|
| 27 |
+
"latent_dim": 32,
|
| 28 |
+
"kl_weight": 10.0,
|
| 29 |
+
"extra": {
|
| 30 |
+
"flash": {
|
| 31 |
+
"stride": 2,
|
| 32 |
+
"n_history": 8,
|
| 33 |
+
"n_action": 8,
|
| 34 |
+
"rows": 16,
|
| 35 |
+
"poly_order": 6,
|
| 36 |
+
"fit_pad": 1,
|
| 37 |
+
"boundary_constraint": true,
|
| 38 |
+
"poly_prefix": 1,
|
| 39 |
+
"poly_suffix": 1,
|
| 40 |
+
"history_noise_std": 0.5,
|
| 41 |
+
"history_reg_lambda": 0.1,
|
| 42 |
+
"consistency_weight": 1.0,
|
| 43 |
+
"solver": "euler"
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"contract": {
|
| 48 |
+
"name": "g1_sonic_dfx6",
|
| 49 |
+
"robot": "g1",
|
| 50 |
+
"cameras": [
|
| 51 |
+
"ego_view",
|
| 52 |
+
"chest"
|
| 53 |
+
],
|
| 54 |
+
"state": [
|
| 55 |
+
[
|
| 56 |
+
"observation.state",
|
| 57 |
+
0,
|
| 58 |
+
29
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"observation.inspire_left_hand_state",
|
| 62 |
+
0,
|
| 63 |
+
6
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"observation.inspire_right_hand_state",
|
| 67 |
+
0,
|
| 68 |
+
6
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
"observation.projected_gravity",
|
| 72 |
+
0,
|
| 73 |
+
3
|
| 74 |
+
]
|
| 75 |
+
],
|
| 76 |
+
"action": [
|
| 77 |
+
[
|
| 78 |
+
"action.motion_token",
|
| 79 |
+
0,
|
| 80 |
+
64
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
"observation.inspire_left_hand_state",
|
| 84 |
+
0,
|
| 85 |
+
6
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"observation.inspire_right_hand_state",
|
| 89 |
+
0,
|
| 90 |
+
6
|
| 91 |
+
]
|
| 92 |
+
],
|
| 93 |
+
"state_dim": 44,
|
| 94 |
+
"action_dim": 76,
|
| 95 |
+
"action_space": "sonic_dfx6",
|
| 96 |
+
"body_dims": 29
|
| 97 |
+
},
|
| 98 |
+
"image_hw": [
|
| 99 |
+
168,
|
| 100 |
+
224
|
| 101 |
+
],
|
| 102 |
+
"task_text": "Walk to the pedal bin and step on its pedal with the left foot to open the lid.",
|
| 103 |
+
"dataset": {
|
| 104 |
+
"name": "data",
|
| 105 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a9-pedal-open-8d43206/data",
|
| 106 |
+
"robot_type": null,
|
| 107 |
+
"fps": 30.0,
|
| 108 |
+
"episodes": [
|
| 109 |
+
0,
|
| 110 |
+
1,
|
| 111 |
+
2,
|
| 112 |
+
3,
|
| 113 |
+
4,
|
| 114 |
+
5,
|
| 115 |
+
6,
|
| 116 |
+
7,
|
| 117 |
+
8,
|
| 118 |
+
9,
|
| 119 |
+
10,
|
| 120 |
+
11,
|
| 121 |
+
12,
|
| 122 |
+
13,
|
| 123 |
+
14,
|
| 124 |
+
15,
|
| 125 |
+
16,
|
| 126 |
+
17,
|
| 127 |
+
18,
|
| 128 |
+
19,
|
| 129 |
+
20,
|
| 130 |
+
21,
|
| 131 |
+
22,
|
| 132 |
+
23,
|
| 133 |
+
24,
|
| 134 |
+
25,
|
| 135 |
+
26,
|
| 136 |
+
27,
|
| 137 |
+
28,
|
| 138 |
+
29,
|
| 139 |
+
30,
|
| 140 |
+
31,
|
| 141 |
+
32,
|
| 142 |
+
33,
|
| 143 |
+
34,
|
| 144 |
+
35,
|
| 145 |
+
36,
|
| 146 |
+
37,
|
| 147 |
+
38,
|
| 148 |
+
39,
|
| 149 |
+
40,
|
| 150 |
+
41,
|
| 151 |
+
42,
|
| 152 |
+
43,
|
| 153 |
+
44,
|
| 154 |
+
45,
|
| 155 |
+
46,
|
| 156 |
+
47,
|
| 157 |
+
48,
|
| 158 |
+
49,
|
| 159 |
+
50,
|
| 160 |
+
51,
|
| 161 |
+
52,
|
| 162 |
+
53,
|
| 163 |
+
54,
|
| 164 |
+
55,
|
| 165 |
+
56,
|
| 166 |
+
57,
|
| 167 |
+
58,
|
| 168 |
+
59,
|
| 169 |
+
60,
|
| 170 |
+
61,
|
| 171 |
+
62,
|
| 172 |
+
63,
|
| 173 |
+
64,
|
| 174 |
+
65,
|
| 175 |
+
66,
|
| 176 |
+
67,
|
| 177 |
+
68,
|
| 178 |
+
69,
|
| 179 |
+
70,
|
| 180 |
+
71,
|
| 181 |
+
72,
|
| 182 |
+
73,
|
| 183 |
+
74,
|
| 184 |
+
75,
|
| 185 |
+
76,
|
| 186 |
+
77,
|
| 187 |
+
78,
|
| 188 |
+
79,
|
| 189 |
+
80,
|
| 190 |
+
81,
|
| 191 |
+
82,
|
| 192 |
+
83,
|
| 193 |
+
84,
|
| 194 |
+
85,
|
| 195 |
+
86,
|
| 196 |
+
87,
|
| 197 |
+
88,
|
| 198 |
+
89,
|
| 199 |
+
90,
|
| 200 |
+
91,
|
| 201 |
+
92,
|
| 202 |
+
93,
|
| 203 |
+
94,
|
| 204 |
+
95,
|
| 205 |
+
96,
|
| 206 |
+
97,
|
| 207 |
+
98,
|
| 208 |
+
99
|
| 209 |
+
],
|
| 210 |
+
"train_episodes": [
|
| 211 |
+
0,
|
| 212 |
+
1,
|
| 213 |
+
2,
|
| 214 |
+
3,
|
| 215 |
+
4,
|
| 216 |
+
5,
|
| 217 |
+
6,
|
| 218 |
+
7,
|
| 219 |
+
8,
|
| 220 |
+
9,
|
| 221 |
+
10,
|
| 222 |
+
11,
|
| 223 |
+
12,
|
| 224 |
+
13,
|
| 225 |
+
14,
|
| 226 |
+
15,
|
| 227 |
+
16,
|
| 228 |
+
17,
|
| 229 |
+
18,
|
| 230 |
+
19,
|
| 231 |
+
20,
|
| 232 |
+
21,
|
| 233 |
+
22,
|
| 234 |
+
23,
|
| 235 |
+
24,
|
| 236 |
+
25,
|
| 237 |
+
26,
|
| 238 |
+
27,
|
| 239 |
+
28,
|
| 240 |
+
29,
|
| 241 |
+
30,
|
| 242 |
+
31,
|
| 243 |
+
32,
|
| 244 |
+
33,
|
| 245 |
+
34,
|
| 246 |
+
35,
|
| 247 |
+
36,
|
| 248 |
+
37,
|
| 249 |
+
38,
|
| 250 |
+
39,
|
| 251 |
+
40,
|
| 252 |
+
41,
|
| 253 |
+
42,
|
| 254 |
+
43,
|
| 255 |
+
44,
|
| 256 |
+
45,
|
| 257 |
+
46,
|
| 258 |
+
47,
|
| 259 |
+
48,
|
| 260 |
+
49,
|
| 261 |
+
50,
|
| 262 |
+
51,
|
| 263 |
+
52,
|
| 264 |
+
53,
|
| 265 |
+
54,
|
| 266 |
+
55,
|
| 267 |
+
56,
|
| 268 |
+
57,
|
| 269 |
+
58,
|
| 270 |
+
59,
|
| 271 |
+
60,
|
| 272 |
+
61,
|
| 273 |
+
62,
|
| 274 |
+
63,
|
| 275 |
+
64,
|
| 276 |
+
65,
|
| 277 |
+
66,
|
| 278 |
+
67,
|
| 279 |
+
68,
|
| 280 |
+
69,
|
| 281 |
+
70,
|
| 282 |
+
71,
|
| 283 |
+
72,
|
| 284 |
+
73,
|
| 285 |
+
74,
|
| 286 |
+
75,
|
| 287 |
+
76,
|
| 288 |
+
77,
|
| 289 |
+
78,
|
| 290 |
+
79,
|
| 291 |
+
80,
|
| 292 |
+
81,
|
| 293 |
+
82,
|
| 294 |
+
83,
|
| 295 |
+
84,
|
| 296 |
+
85,
|
| 297 |
+
86,
|
| 298 |
+
87,
|
| 299 |
+
88,
|
| 300 |
+
89,
|
| 301 |
+
90,
|
| 302 |
+
91,
|
| 303 |
+
92,
|
| 304 |
+
93,
|
| 305 |
+
94,
|
| 306 |
+
95,
|
| 307 |
+
96,
|
| 308 |
+
97,
|
| 309 |
+
98,
|
| 310 |
+
99
|
| 311 |
+
],
|
| 312 |
+
"val_episodes": [],
|
| 313 |
+
"train_frames": 22763,
|
| 314 |
+
"git_commit": "028df1bb7024fb1e3d176de7e60c84d3333cd97f"
|
| 315 |
+
},
|
| 316 |
+
"training": {
|
| 317 |
+
"steps": 12000,
|
| 318 |
+
"batch_size": 512,
|
| 319 |
+
"lr": 0.0001,
|
| 320 |
+
"betas": [
|
| 321 |
+
0.95,
|
| 322 |
+
0.999
|
| 323 |
+
],
|
| 324 |
+
"weight_decay": 1e-06,
|
| 325 |
+
"warmup": 500,
|
| 326 |
+
"schedule": "diffusers_cosine",
|
| 327 |
+
"backbone_lr_scale": 1.0,
|
| 328 |
+
"ema": 0.9999,
|
| 329 |
+
"shift_px": 0,
|
| 330 |
+
"amp": true,
|
| 331 |
+
"seed": 42,
|
| 332 |
+
"augmentation": {
|
| 333 |
+
"spec": "docs/augmentation_v2.md",
|
| 334 |
+
"version": "hb-aug-v2-20261109",
|
| 335 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 336 |
+
"visual": {
|
| 337 |
+
"effects": [
|
| 338 |
+
"exposure",
|
| 339 |
+
"contrast",
|
| 340 |
+
"saturation",
|
| 341 |
+
"hue",
|
| 342 |
+
"gamma",
|
| 343 |
+
"temperature",
|
| 344 |
+
"rotation_crop",
|
| 345 |
+
"noise",
|
| 346 |
+
"gaussian_blur",
|
| 347 |
+
"jpeg",
|
| 348 |
+
"motion_blur",
|
| 349 |
+
"sharpen",
|
| 350 |
+
"defocus",
|
| 351 |
+
"light_shadow",
|
| 352 |
+
"wb_channel"
|
| 353 |
+
],
|
| 354 |
+
"boosted_per_sample": 1,
|
| 355 |
+
"boost": 1.5,
|
| 356 |
+
"pixel_scale": "H / 224",
|
| 357 |
+
"future_targets": "none (one observation frame)"
|
| 358 |
+
},
|
| 359 |
+
"proprio": {
|
| 360 |
+
"robot": "g1",
|
| 361 |
+
"body_dims": 29,
|
| 362 |
+
"bias_deg": 2.0,
|
| 363 |
+
"bias_scope": "per_sample",
|
| 364 |
+
"noise_deg": 0.25,
|
| 365 |
+
"noise_clip_sigma": 3,
|
| 366 |
+
"delay_probability": 0.0,
|
| 367 |
+
"history_drop_probability": 0.0,
|
| 368 |
+
"velocity": false
|
| 369 |
+
},
|
| 370 |
+
"native_image_augmentation": "off",
|
| 371 |
+
"evaluation": "off"
|
| 372 |
+
},
|
| 373 |
+
"preflight": {
|
| 374 |
+
"samples": 64,
|
| 375 |
+
"state_dim": 44,
|
| 376 |
+
"body_dims": 29,
|
| 377 |
+
"images_changed": 64,
|
| 378 |
+
"body_values_moved": 1.0,
|
| 379 |
+
"max_body_offset_deg": 2.7162,
|
| 380 |
+
"actions_bit_identical": true,
|
| 381 |
+
"non_body_state_bit_identical": true,
|
| 382 |
+
"eval_items_deterministic": 8
|
| 383 |
+
},
|
| 384 |
+
"aug_seed": 42,
|
| 385 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 386 |
+
"layout": {
|
| 387 |
+
"nodes": 1,
|
| 388 |
+
"gpus": 1,
|
| 389 |
+
"per_gpu_batch": 512,
|
| 390 |
+
"global_batch": 512,
|
| 391 |
+
"gradient_accumulation": 1,
|
| 392 |
+
"num_workers": 40,
|
| 393 |
+
"prefetch": 2
|
| 394 |
+
},
|
| 395 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 396 |
+
"inloop": {
|
| 397 |
+
"task": "a9",
|
| 398 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 399 |
+
"every": 250,
|
| 400 |
+
"exception": null
|
| 401 |
+
}
|
| 402 |
+
},
|
| 403 |
+
"stats": {
|
| 404 |
+
"state": {
|
| 405 |
+
"min": [
|
| 406 |
+
-0.85328608751297,
|
| 407 |
+
-0.06907648593187332,
|
| 408 |
+
-0.21899153292179108,
|
| 409 |
+
0.12875080108642578,
|
| 410 |
+
-0.4542495906352997,
|
| 411 |
+
-0.16321630775928497,
|
| 412 |
+
-0.5057377815246582,
|
| 413 |
+
-0.2835802435874939,
|
| 414 |
+
-0.41284993290901184,
|
| 415 |
+
0.11731760948896408,
|
| 416 |
+
-0.5172221660614014,
|
| 417 |
+
-0.18826539814472198,
|
| 418 |
+
-0.03187485411763191,
|
| 419 |
+
-0.06315656006336212,
|
| 420 |
+
-0.034862205386161804,
|
| 421 |
+
0.324480801820755,
|
| 422 |
+
0.04509006068110466,
|
| 423 |
+
-0.12961792945861816,
|
| 424 |
+
-0.3828187882900238,
|
| 425 |
+
-0.5066221952438354,
|
| 426 |
+
-0.06149636581540108,
|
| 427 |
+
0.045186493545770645,
|
| 428 |
+
0.29818740487098694,
|
| 429 |
+
-0.15362273156642914,
|
| 430 |
+
-0.02466396987438202,
|
| 431 |
+
-0.27415239810943604,
|
| 432 |
+
0.4841823875904083,
|
| 433 |
+
-0.1610591560602188,
|
| 434 |
+
0.03203858435153961,
|
| 435 |
+
0.9999946355819702,
|
| 436 |
+
0.999992311000824,
|
| 437 |
+
0.9999906420707703,
|
| 438 |
+
0.9999911189079285,
|
| 439 |
+
0.9989739656448364,
|
| 440 |
+
0.0,
|
| 441 |
+
0.9999977350234985,
|
| 442 |
+
0.9999969601631165,
|
| 443 |
+
0.9999966025352478,
|
| 444 |
+
0.9999971389770508,
|
| 445 |
+
0.9990490078926086,
|
| 446 |
+
0.0,
|
| 447 |
+
-0.15878453850746155,
|
| 448 |
+
-0.14739660918712616,
|
| 449 |
+
-1.0
|
| 450 |
+
],
|
| 451 |
+
"max": [
|
| 452 |
+
0.30774569511413574,
|
| 453 |
+
0.29127001762390137,
|
| 454 |
+
0.2931687533855438,
|
| 455 |
+
1.1981122493743896,
|
| 456 |
+
0.30293598771095276,
|
| 457 |
+
0.11864283680915833,
|
| 458 |
+
0.20868174731731415,
|
| 459 |
+
0.12529540061950684,
|
| 460 |
+
0.06273241341114044,
|
| 461 |
+
1.1556999683380127,
|
| 462 |
+
0.10819908231496811,
|
| 463 |
+
0.13382957875728607,
|
| 464 |
+
0.047840241342782974,
|
| 465 |
+
0.03201582282781601,
|
| 466 |
+
0.10173576325178146,
|
| 467 |
+
0.44784021377563477,
|
| 468 |
+
0.17809371650218964,
|
| 469 |
+
0.0006325790891423821,
|
| 470 |
+
-0.23496104776859283,
|
| 471 |
+
-0.36446377635002136,
|
| 472 |
+
0.07478269934654236,
|
| 473 |
+
0.17929065227508545,
|
| 474 |
+
0.3846745491027832,
|
| 475 |
+
-0.029145779088139534,
|
| 476 |
+
0.07714414596557617,
|
| 477 |
+
-0.11649037897586823,
|
| 478 |
+
0.6306237578392029,
|
| 479 |
+
-0.029618142172694206,
|
| 480 |
+
0.2046281397342682,
|
| 481 |
+
1.0,
|
| 482 |
+
1.0,
|
| 483 |
+
1.0,
|
| 484 |
+
1.0,
|
| 485 |
+
0.9998283982276917,
|
| 486 |
+
0.0,
|
| 487 |
+
1.0,
|
| 488 |
+
1.0,
|
| 489 |
+
1.0,
|
| 490 |
+
1.0,
|
| 491 |
+
0.9999804496765137,
|
| 492 |
+
0.0,
|
| 493 |
+
0.05032211169600487,
|
| 494 |
+
0.06023091450333595,
|
| 495 |
+
-0.9835244417190552
|
| 496 |
+
],
|
| 497 |
+
"mean": [
|
| 498 |
+
-0.18867394475541033,
|
| 499 |
+
0.06859181518506506,
|
| 500 |
+
0.059216750808372715,
|
| 501 |
+
0.3741825574959319,
|
| 502 |
+
-0.10485724086469816,
|
| 503 |
+
-0.01683981723026499,
|
| 504 |
+
-0.1372116319960886,
|
| 505 |
+
-0.04772890712036113,
|
| 506 |
+
-0.19873840170413398,
|
| 507 |
+
0.3993657798537946,
|
| 508 |
+
-0.1865758556776451,
|
| 509 |
+
-0.05638726925094433,
|
| 510 |
+
0.008666907215531516,
|
| 511 |
+
-0.011401991928589289,
|
| 512 |
+
0.014006401807375142,
|
| 513 |
+
0.37017773948235055,
|
| 514 |
+
0.10901712806485336,
|
| 515 |
+
-0.049930227982091964,
|
| 516 |
+
-0.2975384835881267,
|
| 517 |
+
-0.4151976021551758,
|
| 518 |
+
0.020364781860101686,
|
| 519 |
+
0.09555342386862554,
|
| 520 |
+
0.3390257831476162,
|
| 521 |
+
-0.07808300271233913,
|
| 522 |
+
0.01983554468472139,
|
| 523 |
+
-0.18160291312318305,
|
| 524 |
+
0.5504751063561558,
|
| 525 |
+
-0.08682859835305291,
|
| 526 |
+
0.1377671019886919,
|
| 527 |
+
0.9999999952395886,
|
| 528 |
+
0.999999993283578,
|
| 529 |
+
0.9999999900864041,
|
| 530 |
+
0.9999999880832606,
|
| 531 |
+
0.9994041203394646,
|
| 532 |
+
0.0,
|
| 533 |
+
0.999999998782403,
|
| 534 |
+
0.9999999986174383,
|
| 535 |
+
0.9999999980439894,
|
| 536 |
+
0.9999999973998414,
|
| 537 |
+
0.9994378465186501,
|
| 538 |
+
0.0,
|
| 539 |
+
-0.048555671003437655,
|
| 540 |
+
-0.006914950209228234,
|
| 541 |
+
-0.9977536029625677
|
| 542 |
+
],
|
| 543 |
+
"std": [
|
| 544 |
+
0.2643987408228008,
|
| 545 |
+
0.06086022349909881,
|
| 546 |
+
0.08263500668646376,
|
| 547 |
+
0.24456513288531465,
|
| 548 |
+
0.14144645533444083,
|
| 549 |
+
0.0526514841984123,
|
| 550 |
+
0.12864315366188941,
|
| 551 |
+
0.06097857187751974,
|
| 552 |
+
0.06823207697742709,
|
| 553 |
+
0.20825681094243498,
|
| 554 |
+
0.11155529878261528,
|
| 555 |
+
0.0605648056778638,
|
| 556 |
+
0.011110143858892663,
|
| 557 |
+
0.017472980641487123,
|
| 558 |
+
0.02153435468964663,
|
| 559 |
+
0.02028871886353312,
|
| 560 |
+
0.016938082438909388,
|
| 561 |
+
0.015973335686548337,
|
| 562 |
+
0.02591653972776229,
|
| 563 |
+
0.01632131057354762,
|
| 564 |
+
0.0247790534416184,
|
| 565 |
+
0.015761488580191507,
|
| 566 |
+
0.011462800681419586,
|
| 567 |
+
0.017668421631941596,
|
| 568 |
+
0.012857238639788144,
|
| 569 |
+
0.024953211565708542,
|
| 570 |
+
0.02045509546445527,
|
| 571 |
+
0.020708735645543548,
|
| 572 |
+
0.01986295784282382,
|
| 573 |
+
9.407025022883164e-08,
|
| 574 |
+
1.4727285607879223e-07,
|
| 575 |
+
2.016490331327028e-07,
|
| 576 |
+
2.1059407794883297e-07,
|
| 577 |
+
0.00012068612396207338,
|
| 578 |
+
0.0,
|
| 579 |
+
3.209378252724693e-08,
|
| 580 |
+
4.6509652682201586e-08,
|
| 581 |
+
5.8611140496956195e-08,
|
| 582 |
+
5.934048494192063e-08,
|
| 583 |
+
0.00015549816053081873,
|
| 584 |
+
0.0,
|
| 585 |
+
0.03577476314377914,
|
| 586 |
+
0.028243381808349902,
|
| 587 |
+
0.0021807172058309152
|
| 588 |
+
]
|
| 589 |
+
},
|
| 590 |
+
"action": {
|
| 591 |
+
"min": [
|
| 592 |
+
-0.1875,
|
| 593 |
+
-0.25,
|
| 594 |
+
-0.375,
|
| 595 |
+
-0.375,
|
| 596 |
+
-0.3125,
|
| 597 |
+
-0.125,
|
| 598 |
+
-0.0625,
|
| 599 |
+
-0.1875,
|
| 600 |
+
-0.125,
|
| 601 |
+
-0.25,
|
| 602 |
+
-0.125,
|
| 603 |
+
-0.5,
|
| 604 |
+
-0.125,
|
| 605 |
+
-0.25,
|
| 606 |
+
0.0,
|
| 607 |
+
-0.375,
|
| 608 |
+
-0.125,
|
| 609 |
+
-0.125,
|
| 610 |
+
-0.3125,
|
| 611 |
+
-0.3125,
|
| 612 |
+
-0.3125,
|
| 613 |
+
-0.0625,
|
| 614 |
+
-0.25,
|
| 615 |
+
-0.1875,
|
| 616 |
+
-0.0625,
|
| 617 |
+
-0.25,
|
| 618 |
+
-0.3125,
|
| 619 |
+
-0.1875,
|
| 620 |
+
-0.1875,
|
| 621 |
+
-0.3125,
|
| 622 |
+
-0.25,
|
| 623 |
+
-0.4375,
|
| 624 |
+
-0.25,
|
| 625 |
+
0.0,
|
| 626 |
+
-0.0625,
|
| 627 |
+
0.0,
|
| 628 |
+
-0.3125,
|
| 629 |
+
0.0625,
|
| 630 |
+
0.0625,
|
| 631 |
+
-0.25,
|
| 632 |
+
-0.375,
|
| 633 |
+
-0.25,
|
| 634 |
+
-0.1875,
|
| 635 |
+
-0.25,
|
| 636 |
+
-0.125,
|
| 637 |
+
-0.125,
|
| 638 |
+
-0.0625,
|
| 639 |
+
-0.3125,
|
| 640 |
+
-0.4375,
|
| 641 |
+
-0.25,
|
| 642 |
+
-0.3125,
|
| 643 |
+
-0.125,
|
| 644 |
+
-0.3125,
|
| 645 |
+
-0.3125,
|
| 646 |
+
-0.0625,
|
| 647 |
+
-0.0625,
|
| 648 |
+
-0.125,
|
| 649 |
+
0.0625,
|
| 650 |
+
0.0,
|
| 651 |
+
-0.375,
|
| 652 |
+
0.0625,
|
| 653 |
+
-0.125,
|
| 654 |
+
0.0,
|
| 655 |
+
-0.3125,
|
| 656 |
+
0.9999946355819702,
|
| 657 |
+
0.999992311000824,
|
| 658 |
+
0.9999906420707703,
|
| 659 |
+
0.9999911189079285,
|
| 660 |
+
0.9989739656448364,
|
| 661 |
+
0.0,
|
| 662 |
+
0.9999977350234985,
|
| 663 |
+
0.9999969601631165,
|
| 664 |
+
0.9999966025352478,
|
| 665 |
+
0.9999971389770508,
|
| 666 |
+
0.9990490078926086,
|
| 667 |
+
0.0
|
| 668 |
+
],
|
| 669 |
+
"max": [
|
| 670 |
+
0.25,
|
| 671 |
+
0.25,
|
| 672 |
+
0.0,
|
| 673 |
+
0.1875,
|
| 674 |
+
0.375,
|
| 675 |
+
0.3125,
|
| 676 |
+
0.3125,
|
| 677 |
+
0.1875,
|
| 678 |
+
0.1875,
|
| 679 |
+
-0.0625,
|
| 680 |
+
0.1875,
|
| 681 |
+
0.0625,
|
| 682 |
+
0.0625,
|
| 683 |
+
0.1875,
|
| 684 |
+
0.4375,
|
| 685 |
+
0.1875,
|
| 686 |
+
0.125,
|
| 687 |
+
0.25,
|
| 688 |
+
0.125,
|
| 689 |
+
0.0,
|
| 690 |
+
0.1875,
|
| 691 |
+
0.125,
|
| 692 |
+
0.0,
|
| 693 |
+
0.25,
|
| 694 |
+
0.1875,
|
| 695 |
+
0.1875,
|
| 696 |
+
-0.0625,
|
| 697 |
+
0.3125,
|
| 698 |
+
0.375,
|
| 699 |
+
0.125,
|
| 700 |
+
0.25,
|
| 701 |
+
0.1875,
|
| 702 |
+
0.125,
|
| 703 |
+
0.375,
|
| 704 |
+
0.1875,
|
| 705 |
+
0.3125,
|
| 706 |
+
0.375,
|
| 707 |
+
0.1875,
|
| 708 |
+
0.4375,
|
| 709 |
+
0.125,
|
| 710 |
+
0.25,
|
| 711 |
+
0.25,
|
| 712 |
+
0.375,
|
| 713 |
+
-0.0625,
|
| 714 |
+
0.5,
|
| 715 |
+
0.0,
|
| 716 |
+
0.25,
|
| 717 |
+
0.0,
|
| 718 |
+
-0.1875,
|
| 719 |
+
0.0625,
|
| 720 |
+
0.4375,
|
| 721 |
+
0.25,
|
| 722 |
+
0.1875,
|
| 723 |
+
0.125,
|
| 724 |
+
0.1875,
|
| 725 |
+
0.3125,
|
| 726 |
+
0.0625,
|
| 727 |
+
0.375,
|
| 728 |
+
0.25,
|
| 729 |
+
0.125,
|
| 730 |
+
0.3125,
|
| 731 |
+
0.25,
|
| 732 |
+
0.375,
|
| 733 |
+
0.0,
|
| 734 |
+
1.0,
|
| 735 |
+
1.0,
|
| 736 |
+
1.0,
|
| 737 |
+
1.0,
|
| 738 |
+
0.9998283982276917,
|
| 739 |
+
0.0,
|
| 740 |
+
1.0,
|
| 741 |
+
1.0,
|
| 742 |
+
1.0,
|
| 743 |
+
1.0,
|
| 744 |
+
0.9999804496765137,
|
| 745 |
+
0.0
|
| 746 |
+
],
|
| 747 |
+
"mean": [
|
| 748 |
+
0.07242290119931467,
|
| 749 |
+
0.008127224003865922,
|
| 750 |
+
-0.13871469050652374,
|
| 751 |
+
-0.07624763871194483,
|
| 752 |
+
0.09058559943768396,
|
| 753 |
+
0.1369958924570575,
|
| 754 |
+
0.13454674252075738,
|
| 755 |
+
0.06728572683741159,
|
| 756 |
+
0.04104248121952291,
|
| 757 |
+
-0.182121205465009,
|
| 758 |
+
0.013519746957782366,
|
| 759 |
+
-0.23632374906646753,
|
| 760 |
+
0.010403395861705399,
|
| 761 |
+
0.018772240038659228,
|
| 762 |
+
0.24076351974695778,
|
| 763 |
+
-0.0904922461889909,
|
| 764 |
+
0.027121864429117428,
|
| 765 |
+
0.01856631375477749,
|
| 766 |
+
-0.08719467996309802,
|
| 767 |
+
-0.1140309932785661,
|
| 768 |
+
-0.010403395861705399,
|
| 769 |
+
-0.016435663137547775,
|
| 770 |
+
-0.15229484250757808,
|
| 771 |
+
0.04462285287528006,
|
| 772 |
+
0.05573738083732373,
|
| 773 |
+
-0.007465514211659272,
|
| 774 |
+
-0.17174252075736943,
|
| 775 |
+
0.04152023019812854,
|
| 776 |
+
0.047972587093089665,
|
| 777 |
+
-0.11948392127575451,
|
| 778 |
+
-0.0349388261652682,
|
| 779 |
+
-0.11785023942362606,
|
| 780 |
+
-0.0885235909150815,
|
| 781 |
+
0.17267330756051488,
|
| 782 |
+
0.08206574265255019,
|
| 783 |
+
0.17519659095901244,
|
| 784 |
+
-0.10897344374643061,
|
| 785 |
+
0.11767176997759522,
|
| 786 |
+
0.196607433115143,
|
| 787 |
+
-0.05186322101656196,
|
| 788 |
+
-0.030592408733470983,
|
| 789 |
+
-0.02094956728023547,
|
| 790 |
+
0.14595231296402056,
|
| 791 |
+
-0.1859322145587137,
|
| 792 |
+
0.1499967051794579,
|
| 793 |
+
-0.04453773667794227,
|
| 794 |
+
0.0756847735360014,
|
| 795 |
+
-0.176069718402671,
|
| 796 |
+
-0.336277621578878,
|
| 797 |
+
-0.10655449633176646,
|
| 798 |
+
0.08068466370865,
|
| 799 |
+
0.10449797917673417,
|
| 800 |
+
-0.062068927645740894,
|
| 801 |
+
-0.11361914071080262,
|
| 802 |
+
0.0472065413170496,
|
| 803 |
+
0.1298406405131134,
|
| 804 |
+
-0.03219314238017836,
|
| 805 |
+
0.2004156965250626,
|
| 806 |
+
0.10949237798181259,
|
| 807 |
+
-0.1868822211483548,
|
| 808 |
+
0.12354753327768747,
|
| 809 |
+
0.08541547687035979,
|
| 810 |
+
0.2143829899398146,
|
| 811 |
+
-0.14808845494882045,
|
| 812 |
+
0.9999999952395886,
|
| 813 |
+
0.999999993283578,
|
| 814 |
+
0.9999999900864041,
|
| 815 |
+
0.9999999880832606,
|
| 816 |
+
0.9994041203394646,
|
| 817 |
+
0.0,
|
| 818 |
+
0.999999998782403,
|
| 819 |
+
0.9999999986174383,
|
| 820 |
+
0.9999999980439894,
|
| 821 |
+
0.9999999973998414,
|
| 822 |
+
0.9994378465186501,
|
| 823 |
+
0.0
|
| 824 |
+
],
|
| 825 |
+
"std": [
|
| 826 |
+
0.09715634348947717,
|
| 827 |
+
0.12043934277443014,
|
| 828 |
+
0.07475959840298549,
|
| 829 |
+
0.0913158335154531,
|
| 830 |
+
0.17014661849642138,
|
| 831 |
+
0.09664651252912485,
|
| 832 |
+
0.09032977292233302,
|
| 833 |
+
0.07615438851541308,
|
| 834 |
+
0.060890840680581905,
|
| 835 |
+
0.037292877221772866,
|
| 836 |
+
0.05273040552903576,
|
| 837 |
+
0.10350767895629431,
|
| 838 |
+
0.042444835166495824,
|
| 839 |
+
0.07702366385233651,
|
| 840 |
+
0.0956043144969805,
|
| 841 |
+
0.12917570224944536,
|
| 842 |
+
0.04840102481815591,
|
| 843 |
+
0.06394707261482528,
|
| 844 |
+
0.06527382787762362,
|
| 845 |
+
0.05195504338940805,
|
| 846 |
+
0.0781613630935635,
|
| 847 |
+
0.04774853707321427,
|
| 848 |
+
0.05361586357989116,
|
| 849 |
+
0.06886646850393413,
|
| 850 |
+
0.05943406236950779,
|
| 851 |
+
0.10513550445622982,
|
| 852 |
+
0.03671242505254331,
|
| 853 |
+
0.09286662188227343,
|
| 854 |
+
0.10579688213915901,
|
| 855 |
+
0.10466885169601943,
|
| 856 |
+
0.12484302335319887,
|
| 857 |
+
0.15682080772900553,
|
| 858 |
+
0.08102592251869303,
|
| 859 |
+
0.08824356247964592,
|
| 860 |
+
0.04487561084112228,
|
| 861 |
+
0.06341028499109164,
|
| 862 |
+
0.128201816178023,
|
| 863 |
+
0.037962484909225575,
|
| 864 |
+
0.07146266040095695,
|
| 865 |
+
0.07344628918656171,
|
| 866 |
+
0.12345300222438171,
|
| 867 |
+
0.08412131335777133,
|
| 868 |
+
0.1342618294672576,
|
| 869 |
+
0.038193725115361,
|
| 870 |
+
0.13376888816035587,
|
| 871 |
+
0.03194812808607355,
|
| 872 |
+
0.06803963784696329,
|
| 873 |
+
0.06447672997860214,
|
| 874 |
+
0.0455590748680762,
|
| 875 |
+
0.052267010049050294,
|
| 876 |
+
0.13119846095083995,
|
| 877 |
+
0.060853671800953406,
|
| 878 |
+
0.1187120508596654,
|
| 879 |
+
0.06805380312626544,
|
| 880 |
+
0.05033305242492583,
|
| 881 |
+
0.10127646867119827,
|
| 882 |
+
0.03338672227204972,
|
| 883 |
+
0.0563930254313253,
|
| 884 |
+
0.06919210280651265,
|
| 885 |
+
0.0788156045354752,
|
| 886 |
+
0.05383803167028171,
|
| 887 |
+
0.09840044111601212,
|
| 888 |
+
0.07858757514499791,
|
| 889 |
+
0.08172920497759735,
|
| 890 |
+
9.407025022883164e-08,
|
| 891 |
+
1.4727285607879223e-07,
|
| 892 |
+
2.016490331327028e-07,
|
| 893 |
+
2.1059407794883297e-07,
|
| 894 |
+
0.00012068612396207338,
|
| 895 |
+
0.0,
|
| 896 |
+
3.209378252724693e-08,
|
| 897 |
+
4.6509652682201586e-08,
|
| 898 |
+
5.8611140496956195e-08,
|
| 899 |
+
5.934048494192063e-08,
|
| 900 |
+
0.00015549816053081873,
|
| 901 |
+
0.0
|
| 902 |
+
]
|
| 903 |
+
}
|
| 904 |
+
},
|
| 905 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
|
| 906 |
+
"step": 12000,
|
| 907 |
+
"weights": "ema",
|
| 908 |
+
"offline_eval": {
|
| 909 |
+
"mse": 0.011307966895401478,
|
| 910 |
+
"mse_row0": 0.00958575215190649,
|
| 911 |
+
"mse_motion_token": 0.013067372143268585,
|
| 912 |
+
"mse_inspire_left_hand_state": 0.001998642925173044,
|
| 913 |
+
"mse_inspire_right_hand_state": 0.001850301050581038,
|
| 914 |
+
"samples": 256,
|
| 915 |
+
"frames": "train"
|
| 916 |
+
},
|
| 917 |
+
"format": "hb_baselines/1"
|
| 918 |
+
}
|
a9-pedal-open/b512/step-012000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7e9b635eb050741191960263b4e1eb30ba28592b41db9c973a6d47fa78b3943
|
| 3 |
+
size 170776637
|
a9-pedal-open/b512/step-012000/protocol.json
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "hb_baselines/1",
|
| 3 |
+
"step": 12000,
|
| 4 |
+
"policy": "flash",
|
| 5 |
+
"files": {
|
| 6 |
+
"config.json": {
|
| 7 |
+
"bytes": 15856,
|
| 8 |
+
"sha256": "ca350c4f9387a797c9d0f2c0e4a9c245035ed4952d0e23b275c473b9165a39ce"
|
| 9 |
+
},
|
| 10 |
+
"model.pt": {
|
| 11 |
+
"bytes": 170776637,
|
| 12 |
+
"sha256": "e7e9b635eb050741191960263b4e1eb30ba28592b41db9c973a6d47fa78b3943"
|
| 13 |
+
},
|
| 14 |
+
"training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py": {
|
| 15 |
+
"bytes": 7475,
|
| 16 |
+
"sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde"
|
| 17 |
+
},
|
| 18 |
+
"training_records/code_78235367/evaluation/baselines/__init__.py": {
|
| 19 |
+
"bytes": 755,
|
| 20 |
+
"sha256": "69e97429f08c1a249e48c519026c3534245f22543c5a6876f0a13b09ff3f79b1"
|
| 21 |
+
},
|
| 22 |
+
"training_records/code_78235367/evaluation/baselines/act_nets.py": {
|
| 23 |
+
"bytes": 22435,
|
| 24 |
+
"sha256": "3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19"
|
| 25 |
+
},
|
| 26 |
+
"training_records/code_78235367/evaluation/baselines/adapters.py": {
|
| 27 |
+
"bytes": 3349,
|
| 28 |
+
"sha256": "71e26fbbe13a8df02c82cf98555c4e45dd42af053e45a371e5356f2e23596061"
|
| 29 |
+
},
|
| 30 |
+
"training_records/code_78235367/evaluation/baselines/check_flash_adapter.py": {
|
| 31 |
+
"bytes": 6003,
|
| 32 |
+
"sha256": "aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81"
|
| 33 |
+
},
|
| 34 |
+
"training_records/code_78235367/evaluation/baselines/check_flash_parity.py": {
|
| 35 |
+
"bytes": 7900,
|
| 36 |
+
"sha256": "91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f"
|
| 37 |
+
},
|
| 38 |
+
"training_records/code_78235367/evaluation/baselines/data.py": {
|
| 39 |
+
"bytes": 18527,
|
| 40 |
+
"sha256": "d27091c71268657c9341d95fb7f85466c540be6dd76047bebd888c6e00379e7b"
|
| 41 |
+
},
|
| 42 |
+
"training_records/code_78235367/evaluation/baselines/flash.py": {
|
| 43 |
+
"bytes": 24032,
|
| 44 |
+
"sha256": "35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53"
|
| 45 |
+
},
|
| 46 |
+
"training_records/code_78235367/evaluation/baselines/inloop.py": {
|
| 47 |
+
"bytes": 6324,
|
| 48 |
+
"sha256": "8c2f29132ba03b6401f972f7e8e8c16094d4d6d68b736972b9f40a538c0939cf"
|
| 49 |
+
},
|
| 50 |
+
"training_records/code_78235367/evaluation/baselines/nets.py": {
|
| 51 |
+
"bytes": 9986,
|
| 52 |
+
"sha256": "38a66937bb92393a3f1ce0644b249da28d582a4fd03d134b7743e6037abd88b9"
|
| 53 |
+
},
|
| 54 |
+
"training_records/code_78235367/evaluation/baselines/policies.py": {
|
| 55 |
+
"bytes": 14190,
|
| 56 |
+
"sha256": "68d4bad86d82007ed77ab0dcc8f7345da810d57c298323fccadc1efcf99dac4a"
|
| 57 |
+
},
|
| 58 |
+
"training_records/code_78235367/evaluation/baselines/requirements.txt": {
|
| 59 |
+
"bytes": 485,
|
| 60 |
+
"sha256": "bb211f66038e53efd08ee3ec03e133d8bb206ec36cc608d349b4fad3a61e874b"
|
| 61 |
+
},
|
| 62 |
+
"training_records/code_78235367/evaluation/baselines/runtime.py": {
|
| 63 |
+
"bytes": 8550,
|
| 64 |
+
"sha256": "379a2b2c5221e337df62e2097616438ae83a65d8cbb89a0e433e15ecd7aec881"
|
| 65 |
+
},
|
| 66 |
+
"training_records/code_78235367/evaluation/baselines/train.py": {
|
| 67 |
+
"bytes": 31119,
|
| 68 |
+
"sha256": "b17dcd85ca3300b8707deb4ca31dc870245f2bdd26733f7e21c9c668c75b4b1b"
|
| 69 |
+
},
|
| 70 |
+
"training_records/code_78235367/evaluation/policy/FLASH/model.py": {
|
| 71 |
+
"bytes": 647,
|
| 72 |
+
"sha256": "823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159"
|
| 73 |
+
},
|
| 74 |
+
"training_records/code_commit.txt": {
|
| 75 |
+
"bytes": 41,
|
| 76 |
+
"sha256": "27d134217d9f9dd84cf9c8e0ff946a02d746e530410150b39712fbb308fa8b45"
|
| 77 |
+
},
|
| 78 |
+
"training_records/flash_pool_a800.sh": {
|
| 79 |
+
"bytes": 1949,
|
| 80 |
+
"sha256": "ba5dc6e619fced677b89ac5ebc4fea82dc3b9803c8835cf7b7154c98bc524e36"
|
| 81 |
+
},
|
| 82 |
+
"training_records/inloop-mse.jsonl": {
|
| 83 |
+
"bytes": 86849,
|
| 84 |
+
"sha256": "7a2a5c8bddd6cee33e1162dc7c416751061bafb250d6c1f783993849aa31c99e"
|
| 85 |
+
},
|
| 86 |
+
"training_records/pip_freeze_hb-baselines.txt": {
|
| 87 |
+
"bytes": 1185,
|
| 88 |
+
"sha256": "72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2"
|
| 89 |
+
},
|
| 90 |
+
"training_records/run.json": {
|
| 91 |
+
"bytes": 16465,
|
| 92 |
+
"sha256": "dbaaf1932f7ab99d12f60106ce5cf25c8c46a8d645f8e4d1e1834c7362f60a5a"
|
| 93 |
+
},
|
| 94 |
+
"training_records/train.log": {
|
| 95 |
+
"bytes": 67513,
|
| 96 |
+
"sha256": "266afc6c0f5cf837ecb62e9994be06361b59af7111940396a1117be256ad8014"
|
| 97 |
+
},
|
| 98 |
+
"training_records/train_log.jsonl": {
|
| 99 |
+
"bytes": 60626,
|
| 100 |
+
"sha256": "601e73c6b8f8ecfee2a63073d6ad242d129f661b7c3d8c46ad9e4972f658c8a7"
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"task_dir": "a9-pedal-open",
|
| 104 |
+
"training_data": "a9-pedal-open-expert-v1 @8d43206, all episodes (A800 FLASH pool 2026-11-25)",
|
| 105 |
+
"episodes": 100,
|
| 106 |
+
"frames": 22763,
|
| 107 |
+
"steps": 12000,
|
| 108 |
+
"global_batch": 512,
|
| 109 |
+
"per_gpu_batch": 512,
|
| 110 |
+
"num_gpus": 1,
|
| 111 |
+
"gradient_accumulation_steps": 1,
|
| 112 |
+
"save_steps": [
|
| 113 |
+
8000,
|
| 114 |
+
12000
|
| 115 |
+
],
|
| 116 |
+
"lr": 0.0001,
|
| 117 |
+
"lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
|
| 118 |
+
"ema": 0.9999,
|
| 119 |
+
"augmentation": "Humanoid Benchmark online augmentation spec v2 (hb-aug-v2-20261109): 15 visual effects, one per sample at 1.5x; proprio per-joint bias U(+-2 deg) + N(0, 0.25 deg); no delay, no history drop; model-native image augmentation off",
|
| 120 |
+
"state_dim": 44,
|
| 121 |
+
"action_dim": 76,
|
| 122 |
+
"cameras": [
|
| 123 |
+
"ego_view",
|
| 124 |
+
"chest"
|
| 125 |
+
],
|
| 126 |
+
"contract": "g1_sonic_dfx6",
|
| 127 |
+
"image_hw": [
|
| 128 |
+
168,
|
| 129 |
+
224
|
| 130 |
+
],
|
| 131 |
+
"task_text": "Walk to the pedal bin and step on its pedal with the left foot to open the lid.",
|
| 132 |
+
"inloop_mse": {
|
| 133 |
+
"task": "a9",
|
| 134 |
+
"split": "train10",
|
| 135 |
+
"every": 250,
|
| 136 |
+
"seed": 1234,
|
| 137 |
+
"weights": "ema",
|
| 138 |
+
"nmse_at_this_step": 0.1091,
|
| 139 |
+
"curve": {
|
| 140 |
+
"250": 0.8077,
|
| 141 |
+
"500": 0.8107,
|
| 142 |
+
"750": 0.3197,
|
| 143 |
+
"1000": 0.2435,
|
| 144 |
+
"1250": 0.2097,
|
| 145 |
+
"1500": 0.1904,
|
| 146 |
+
"1750": 0.1786,
|
| 147 |
+
"2000": 0.1707,
|
| 148 |
+
"2250": 0.1641,
|
| 149 |
+
"2500": 0.1578,
|
| 150 |
+
"2750": 0.1522,
|
| 151 |
+
"3000": 0.1473,
|
| 152 |
+
"3250": 0.143,
|
| 153 |
+
"3500": 0.1394,
|
| 154 |
+
"3750": 0.1363,
|
| 155 |
+
"4000": 0.1336,
|
| 156 |
+
"4250": 0.1312,
|
| 157 |
+
"4500": 0.1291,
|
| 158 |
+
"4750": 0.1273,
|
| 159 |
+
"5000": 0.1255,
|
| 160 |
+
"5250": 0.1241,
|
| 161 |
+
"5500": 0.1227,
|
| 162 |
+
"5750": 0.1213,
|
| 163 |
+
"6000": 0.12,
|
| 164 |
+
"6250": 0.1189,
|
| 165 |
+
"6500": 0.1178,
|
| 166 |
+
"6750": 0.1169,
|
| 167 |
+
"7000": 0.1161,
|
| 168 |
+
"7250": 0.1154,
|
| 169 |
+
"7500": 0.1147,
|
| 170 |
+
"7750": 0.1141,
|
| 171 |
+
"8000": 0.1135,
|
| 172 |
+
"8250": 0.113,
|
| 173 |
+
"8500": 0.1125,
|
| 174 |
+
"8750": 0.112,
|
| 175 |
+
"9000": 0.1116,
|
| 176 |
+
"9250": 0.1113,
|
| 177 |
+
"9500": 0.1109,
|
| 178 |
+
"9750": 0.1105,
|
| 179 |
+
"10000": 0.1102,
|
| 180 |
+
"10250": 0.11,
|
| 181 |
+
"10500": 0.1098,
|
| 182 |
+
"10750": 0.1096,
|
| 183 |
+
"11000": 0.1095,
|
| 184 |
+
"11250": 0.1093,
|
| 185 |
+
"11500": 0.1092,
|
| 186 |
+
"11750": 0.1091,
|
| 187 |
+
"12000": 0.1091
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"seed": 42,
|
| 191 |
+
"reproducibility": {
|
| 192 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 193 |
+
"protocol_commit": "9cd4b974",
|
| 194 |
+
"training_seed": 42,
|
| 195 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 196 |
+
"training_seed_verified_from_run_files": true,
|
| 197 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 198 |
+
"inloop_mse_seed": 1234,
|
| 199 |
+
"layout": {
|
| 200 |
+
"nodes": 1,
|
| 201 |
+
"gpus_per_node": 1,
|
| 202 |
+
"per_gpu_batch": 512,
|
| 203 |
+
"global_batch": 512,
|
| 204 |
+
"gradient_accumulation": 1,
|
| 205 |
+
"num_workers": 40,
|
| 206 |
+
"prefetch": 2
|
| 207 |
+
},
|
| 208 |
+
"environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
|
| 209 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 210 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 211 |
+
"determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
|
| 212 |
+
"exceptions": []
|
| 213 |
+
},
|
| 214 |
+
"inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
|
| 215 |
+
"resume_state_included": false
|
| 216 |
+
}
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Humanoid Benchmark data augmentation v2 (project CLAUDE.md), model-agnostic torch implementation.
|
| 2 |
+
|
| 3 |
+
augment(x, rng, obs_mask=None) takes x: float [T, V, 3, H, W] in [0, 1] (T frames, V cameras) and returns the
|
| 4 |
+
augmented tensor. Each call is one training sample: one of the 15 effects is chosen uniformly and its magnitude
|
| 5 |
+
is scaled by 1.5 around identity; the rest stay at x1. Colour is shared across cameras and time; geometry, light
|
| 6 |
+
patches and white balance are drawn per camera and fixed over time; sensor/optics effects (noise, gaussian blur,
|
| 7 |
+
JPEG, motion blur, sharpen, defocus) apply only to observation frames (obs_mask True).
|
| 8 |
+
Pixel-size parameters are defined at 224 px and scaled by H / 224.
|
| 9 |
+
perturb_joints(q, rng) applies the proprio spec: per-joint bias +-2 deg plus N(0, 0.25 deg) clipped at 3 sigma.
|
| 10 |
+
"""
|
| 11 |
+
import io
|
| 12 |
+
import math
|
| 13 |
+
|
| 14 |
+
import numpy as np
|
| 15 |
+
import torch
|
| 16 |
+
import torch.nn.functional as F
|
| 17 |
+
from PIL import Image
|
| 18 |
+
from torchvision.transforms import InterpolationMode
|
| 19 |
+
from torchvision.transforms import functional as TF
|
| 20 |
+
|
| 21 |
+
EFFECTS = ("exposure", "contrast", "saturation", "hue", "gamma", "temperature", "rotation_crop", "noise",
|
| 22 |
+
"gaussian_blur", "jpeg", "motion_blur", "sharpen", "defocus", "light_shadow", "wb_channel")
|
| 23 |
+
CENTER = {"exposure": 0.0, "contrast": 1.0, "saturation": 1.0, "hue": 0.0, "gamma": 1.0, "temperature": 0.0}
|
| 24 |
+
RANGE = {"exposure": (-0.22, 0.22), "contrast": (0.88, 1.12), "saturation": (0.76, 1.24), "hue": (-0.015, 0.015),
|
| 25 |
+
"gamma": (0.89, 1.11), "temperature": (-0.066, 0.066)}
|
| 26 |
+
VERSION = "hb-aug-v2-20261109"
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def sample(rng, views, height):
|
| 30 |
+
boost = EFFECTS[int(rng.integers(len(EFFECTS)))]
|
| 31 |
+
|
| 32 |
+
def k(name):
|
| 33 |
+
return 1.5 if boost == name else 1.0
|
| 34 |
+
|
| 35 |
+
px = height / 224.0
|
| 36 |
+
p = {"boost": boost}
|
| 37 |
+
for name, (a, b) in RANGE.items():
|
| 38 |
+
c = CENTER[name]
|
| 39 |
+
p[name] = float(rng.uniform(c + k(name) * (a - c), c + k(name) * (b - c)))
|
| 40 |
+
p["geometry"] = []
|
| 41 |
+
for _ in range(views):
|
| 42 |
+
angle = float(rng.uniform(-1.5 * k("rotation_crop"), 1.5 * k("rotation_crop")))
|
| 43 |
+
p["geometry"].append((angle, 1.0 + abs(angle) * 0.015 + float(rng.uniform(0, 0.02 * k("rotation_crop")))))
|
| 44 |
+
p["noise"] = 4.0 / 255.0 * k("noise") if rng.random() < 0.5 else 0.0
|
| 45 |
+
p["gaussian_blur"] = float(rng.uniform(0.25, 0.65)) * k("gaussian_blur") if rng.random() < 0.15 else 0.0
|
| 46 |
+
if rng.random() < 0.35:
|
| 47 |
+
lo = int(round(100 - k("jpeg") * 30))
|
| 48 |
+
hi = int(round(100 - k("jpeg") * 5))
|
| 49 |
+
p["jpeg"] = int(rng.integers(lo, hi + 1))
|
| 50 |
+
else:
|
| 51 |
+
p["jpeg"] = None
|
| 52 |
+
p["motion_blur"] = ((float(rng.uniform(3, 7)) * k("motion_blur") * px, float(rng.uniform(0, 180)))
|
| 53 |
+
if rng.random() < 0.15 else None)
|
| 54 |
+
p["sharpen"] = float(rng.uniform(0.2, 0.6)) * k("sharpen") if rng.random() < 0.15 else 0.0
|
| 55 |
+
p["defocus"] = float(rng.uniform(1, 2)) * k("defocus") * px if rng.random() < 0.10 else 0.0
|
| 56 |
+
if rng.random() < 0.30:
|
| 57 |
+
g = 0.30 * k("light_shadow")
|
| 58 |
+
p["light_shadow"] = [[(float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.1, 0.9)),
|
| 59 |
+
float(rng.uniform(0.15, 0.35)), float(rng.uniform(1 - g, 1 + g)))
|
| 60 |
+
for _ in range(int(rng.integers(1, 3)))] for _ in range(views)]
|
| 61 |
+
else:
|
| 62 |
+
p["light_shadow"] = None
|
| 63 |
+
if rng.random() < 0.30:
|
| 64 |
+
g = 0.10 * k("wb_channel")
|
| 65 |
+
gains = []
|
| 66 |
+
for _ in range(views):
|
| 67 |
+
row = [1.0, 1.0, 1.0]
|
| 68 |
+
row[int(rng.integers(0, 3))] = float(rng.uniform(1 - g, 1 + g))
|
| 69 |
+
gains.append(row)
|
| 70 |
+
p["wb_channel"] = gains
|
| 71 |
+
else:
|
| 72 |
+
p["wb_channel"] = None
|
| 73 |
+
return p
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
def _conv(x, kernel):
|
| 77 |
+
n, c, h, w = x.shape
|
| 78 |
+
k = kernel.to(x)[None, None].repeat(c, 1, 1, 1)
|
| 79 |
+
pad = kernel.shape[-1] // 2
|
| 80 |
+
return F.conv2d(F.pad(x, (pad, pad, pad, pad), mode="reflect"), k, groups=c)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def motion_kernel(length, angle_deg):
|
| 84 |
+
size = max(3, int(round(length)) | 1)
|
| 85 |
+
k = torch.zeros(size, size)
|
| 86 |
+
c = size // 2
|
| 87 |
+
th = math.radians(angle_deg)
|
| 88 |
+
for s in np.linspace(-(length - 1) / 2, (length - 1) / 2, 8 * size):
|
| 89 |
+
k[int(round(c - s * math.sin(th))), int(round(c + s * math.cos(th)))] = 1.0
|
| 90 |
+
return k / k.sum()
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def disk_kernel(r):
|
| 94 |
+
size = 2 * int(math.ceil(r)) + 1
|
| 95 |
+
c = size // 2
|
| 96 |
+
yy, xx = torch.meshgrid(torch.arange(size), torch.arange(size), indexing="ij")
|
| 97 |
+
k = (((yy - c) ** 2 + (xx - c) ** 2) <= (r + 0.5) ** 2).float()
|
| 98 |
+
return k / k.sum()
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
def apply(x, p, obs_mask=None, noise_seed=0):
|
| 102 |
+
t, v, c, h, w = x.shape
|
| 103 |
+
x = x.clone().clamp(0, 1)
|
| 104 |
+
for vi, (angle, scale) in enumerate(p["geometry"]):
|
| 105 |
+
x[:, vi] = TF.affine(x[:, vi], angle=angle, translate=[0, 0], scale=scale, shear=[0, 0],
|
| 106 |
+
interpolation=InterpolationMode.BILINEAR)
|
| 107 |
+
if p["light_shadow"] is not None:
|
| 108 |
+
yy, xx = torch.meshgrid(torch.linspace(0, 1, h), torch.linspace(0, 1, w), indexing="ij")
|
| 109 |
+
for vi, blobs in enumerate(p["light_shadow"]):
|
| 110 |
+
m = torch.ones(h, w)
|
| 111 |
+
for cx, cy, s, g in blobs:
|
| 112 |
+
m = m + (g - 1.0) * torch.exp(-((xx - cx) ** 2 + (yy - cy) ** 2) / (2 * s * s))
|
| 113 |
+
x[:, vi] = (x[:, vi] * m.clamp(min=0).to(x)).clamp(0, 1)
|
| 114 |
+
if p["wb_channel"] is not None:
|
| 115 |
+
for vi, g in enumerate(p["wb_channel"]):
|
| 116 |
+
x[:, vi] = (x[:, vi] * torch.tensor(g, dtype=x.dtype).view(1, 3, 1, 1)).clamp(0, 1)
|
| 117 |
+
y = x.reshape(t * v, c, h, w)
|
| 118 |
+
y = (y * float(2.0 ** p["exposure"])).clamp(0, 1)
|
| 119 |
+
d = p["temperature"]
|
| 120 |
+
y = (y * y.new_tensor([1.0 + d, 1.0, 1.0 - d]).view(1, 3, 1, 1)).clamp(0, 1)
|
| 121 |
+
y = ((y - 0.5) * p["contrast"] + 0.5).clamp(0, 1)
|
| 122 |
+
y = TF.adjust_saturation(y, p["saturation"])
|
| 123 |
+
y = TF.adjust_hue(y, p["hue"])
|
| 124 |
+
y = y.clamp(0, 1).pow(p["gamma"])
|
| 125 |
+
x = y.reshape(t, v, c, h, w)
|
| 126 |
+
mask = torch.ones(t, dtype=torch.bool) if obs_mask is None else torch.as_tensor(obs_mask, dtype=torch.bool)
|
| 127 |
+
if bool(mask.any()):
|
| 128 |
+
o = x[mask].reshape(-1, c, h, w)
|
| 129 |
+
if p["gaussian_blur"] > 0:
|
| 130 |
+
o = TF.gaussian_blur(o, [3, 3], [p["gaussian_blur"]] * 2)
|
| 131 |
+
if p["motion_blur"] is not None:
|
| 132 |
+
o = _conv(o, motion_kernel(*p["motion_blur"]))
|
| 133 |
+
if p["defocus"] > 0:
|
| 134 |
+
o = _conv(o, disk_kernel(p["defocus"]))
|
| 135 |
+
if p["sharpen"] > 0:
|
| 136 |
+
o = o + p["sharpen"] * (o - TF.gaussian_blur(o, [5, 5], [1.0, 1.0]))
|
| 137 |
+
o = o.clamp(0, 1)
|
| 138 |
+
if p["noise"] > 0:
|
| 139 |
+
gen = torch.Generator().manual_seed(int(noise_seed))
|
| 140 |
+
o = (o + torch.randn(o.shape, generator=gen, dtype=o.dtype) * p["noise"]).clamp(0, 1)
|
| 141 |
+
if p["jpeg"] is not None:
|
| 142 |
+
for i in range(o.shape[0]):
|
| 143 |
+
buf = io.BytesIO()
|
| 144 |
+
TF.to_pil_image(o[i]).save(buf, format="JPEG", quality=int(p["jpeg"]))
|
| 145 |
+
buf.seek(0)
|
| 146 |
+
with Image.open(buf) as im:
|
| 147 |
+
o[i] = TF.pil_to_tensor(im.convert("RGB")).to(o.dtype).div(255.0)
|
| 148 |
+
x[mask] = o.reshape(-1, v, c, h, w)
|
| 149 |
+
return x.clamp(0, 1)
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
def augment(x, rng, obs_mask=None):
|
| 153 |
+
p = sample(rng, x.shape[1], x.shape[-2])
|
| 154 |
+
return apply(x, p, obs_mask, noise_seed=int(rng.integers(0, 2 ** 62))), p
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
def perturb_joints(q, rng):
|
| 158 |
+
q = np.asarray(q, dtype=np.float64)
|
| 159 |
+
d = q.shape[-1]
|
| 160 |
+
bias = rng.uniform(-math.radians(2.0), math.radians(2.0), size=d)
|
| 161 |
+
sigma = math.radians(0.25)
|
| 162 |
+
noise = np.clip(rng.normal(0.0, sigma, size=q.shape), -3 * sigma, 3 * sigma)
|
| 163 |
+
return (q + bias + noise).astype(np.float32)
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FM-DiT, DP (Diffusion Policy, DDPM-DiT), ACT and FLASH visuomotor baselines of the Humanoid Benchmark.
|
| 2 |
+
|
| 3 |
+
The first three ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/{fm_dit,
|
| 4 |
+
ddpm_dit,act}.py` and their networks), FLASH from NTUMARS/FLASH-Policy @ f47e490 (`flash.py`), torch only.
|
| 5 |
+
`train.py` trains one on a task's LeRobot v2.1 expert dataset through a robot contract
|
| 6 |
+
(`data.CONTRACTS`: G1 state44/action76 or H2 state78/action75); `runtime.BaselinePolicy` serves a checkpoint to the
|
| 7 |
+
G1 evaluation adapters (`evaluation/policy/{FMDiT,DP,ACT,FLASH}/model.py`, via `adapters.py`) and to the H2 adapter
|
| 8 |
+
(`debug/newton/h2_policy_adapters/baseline.py`). Usage and the environment: evaluation/README.md#baselines.
|
| 9 |
+
"""
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py
ADDED
|
@@ -0,0 +1,615 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""ACT (Zhao et al. 2023, "Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware") network core: the
|
| 2 |
+
ResNet backbone with frozen BatchNorm and sine position embedding, the DETR encoder-decoder transformer and the CVAE
|
| 3 |
+
action-chunk decoder.
|
| 4 |
+
|
| 5 |
+
Ported unchanged from DextraVerse (`dextraverse/algorithms/il/models/nets/act/`), which vendors the ACT repository's
|
| 6 |
+
`detr/models/{backbone,position_encoding,transformer,detr_vae}.py` (Apache-2.0, (c) Facebook, Inc. and its
|
| 7 |
+
affiliates; see THIRD_PARTY_NOTICES.md) with the NestedTensor/argparse plumbing removed, explicit `qpos_dim` /
|
| 8 |
+
`action_dim` instead of the ALOHA 14-DoF constants, and one backbone shared by every camera (upstream behaviour).
|
| 9 |
+
The policy uses `return_intermediate_dec=False`: `Transformer.forward(...)[0]` is the final decoder layer.
|
| 10 |
+
"""
|
| 11 |
+
from __future__ import annotations
|
| 12 |
+
|
| 13 |
+
import copy
|
| 14 |
+
import math
|
| 15 |
+
from typing import Optional
|
| 16 |
+
|
| 17 |
+
import numpy as np
|
| 18 |
+
import torch
|
| 19 |
+
import torch.nn.functional as F
|
| 20 |
+
import torchvision
|
| 21 |
+
from torch import Tensor, nn
|
| 22 |
+
from torchvision.models._utils import IntermediateLayerGetter
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
class PositionEmbeddingSine(nn.Module):
|
| 26 |
+
"""Standard DETR sine embedding over a ``(B, C, H, W)`` feature map."""
|
| 27 |
+
|
| 28 |
+
def __init__(
|
| 29 |
+
self, num_pos_feats: int = 64, temperature: int = 10000, normalize: bool = False
|
| 30 |
+
) -> None:
|
| 31 |
+
super().__init__()
|
| 32 |
+
self.num_pos_feats = num_pos_feats
|
| 33 |
+
self.temperature = temperature
|
| 34 |
+
self.normalize = normalize
|
| 35 |
+
self.scale = 2 * math.pi
|
| 36 |
+
|
| 37 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 38 |
+
not_mask = torch.ones((1, x.shape[-2], x.shape[-1]), device=x.device)
|
| 39 |
+
y_embed = not_mask.cumsum(1, dtype=torch.float32)
|
| 40 |
+
x_embed = not_mask.cumsum(2, dtype=torch.float32)
|
| 41 |
+
if self.normalize:
|
| 42 |
+
eps = 1e-6
|
| 43 |
+
y_embed = y_embed / (y_embed[:, -1:, :] + eps) * self.scale
|
| 44 |
+
x_embed = x_embed / (x_embed[:, :, -1:] + eps) * self.scale
|
| 45 |
+
|
| 46 |
+
dim_t = torch.arange(self.num_pos_feats, dtype=torch.float32, device=x.device)
|
| 47 |
+
dim_t = self.temperature ** (2 * (dim_t // 2) / self.num_pos_feats)
|
| 48 |
+
|
| 49 |
+
pos_x = x_embed[:, :, :, None] / dim_t
|
| 50 |
+
pos_y = y_embed[:, :, :, None] / dim_t
|
| 51 |
+
pos_x = torch.stack(
|
| 52 |
+
(pos_x[:, :, :, 0::2].sin(), pos_x[:, :, :, 1::2].cos()), dim=4
|
| 53 |
+
).flatten(3)
|
| 54 |
+
pos_y = torch.stack(
|
| 55 |
+
(pos_y[:, :, :, 0::2].sin(), pos_y[:, :, :, 1::2].cos()), dim=4
|
| 56 |
+
).flatten(3)
|
| 57 |
+
return torch.cat((pos_y, pos_x), dim=3).permute(0, 3, 1, 2)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
class FrozenBatchNorm2d(nn.Module):
|
| 61 |
+
"""BatchNorm2d with fixed statistics and affine parameters (the DETR/ACT backbone norm)."""
|
| 62 |
+
|
| 63 |
+
def __init__(self, n: int) -> None:
|
| 64 |
+
super().__init__()
|
| 65 |
+
self.register_buffer("weight", torch.ones(n))
|
| 66 |
+
self.register_buffer("bias", torch.zeros(n))
|
| 67 |
+
self.register_buffer("running_mean", torch.zeros(n))
|
| 68 |
+
self.register_buffer("running_var", torch.ones(n))
|
| 69 |
+
|
| 70 |
+
def _load_from_state_dict(self, state_dict, prefix, local_metadata, strict, *args):
|
| 71 |
+
state_dict.pop(prefix + "num_batches_tracked", None)
|
| 72 |
+
super()._load_from_state_dict(state_dict, prefix, local_metadata, strict, *args)
|
| 73 |
+
|
| 74 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 75 |
+
w = self.weight.reshape(1, -1, 1, 1)
|
| 76 |
+
b = self.bias.reshape(1, -1, 1, 1)
|
| 77 |
+
rv = self.running_var.reshape(1, -1, 1, 1)
|
| 78 |
+
rm = self.running_mean.reshape(1, -1, 1, 1)
|
| 79 |
+
scale = w * (rv + 1e-5).rsqrt()
|
| 80 |
+
return x * scale + (b - rm * scale)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
class Backbone(nn.Module):
|
| 84 |
+
"""ResNet trunk returning the layer4 feature map."""
|
| 85 |
+
|
| 86 |
+
def __init__(self, name: str = "resnet18", weights: str | None = None) -> None:
|
| 87 |
+
super().__init__()
|
| 88 |
+
trunk = getattr(torchvision.models, name)(
|
| 89 |
+
replace_stride_with_dilation=[False, False, False],
|
| 90 |
+
weights=weights,
|
| 91 |
+
norm_layer=FrozenBatchNorm2d,
|
| 92 |
+
)
|
| 93 |
+
self.body = IntermediateLayerGetter(trunk, return_layers={"layer4": "0"})
|
| 94 |
+
self.num_channels = 512 if name in ("resnet18", "resnet34") else 2048
|
| 95 |
+
|
| 96 |
+
def forward(self, x: torch.Tensor) -> dict[str, torch.Tensor]:
|
| 97 |
+
return self.body(x)
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
class Joiner(nn.Sequential):
|
| 101 |
+
"""Backbone + position embedding, returning matched feature/position lists."""
|
| 102 |
+
|
| 103 |
+
def __init__(self, backbone: Backbone, position_embedding: PositionEmbeddingSine) -> None:
|
| 104 |
+
super().__init__(backbone, position_embedding)
|
| 105 |
+
self.num_channels = backbone.num_channels
|
| 106 |
+
|
| 107 |
+
def forward(self, x: torch.Tensor) -> tuple[list[torch.Tensor], list[torch.Tensor]]:
|
| 108 |
+
features = list(self[0](x).values())
|
| 109 |
+
pos = [self[1](f).to(f.dtype) for f in features]
|
| 110 |
+
return features, pos
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
def build_backbone(
|
| 114 |
+
name: str = "resnet18", hidden_dim: int = 512, weights: str | None = None
|
| 115 |
+
) -> Joiner:
|
| 116 |
+
"""The ACT camera backbone: ResNet + sine embedding sized to the transformer width."""
|
| 117 |
+
return Joiner(Backbone(name, weights=weights), PositionEmbeddingSine(hidden_dim // 2))
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
class Transformer(nn.Module):
|
| 121 |
+
def __init__(
|
| 122 |
+
self,
|
| 123 |
+
d_model=512,
|
| 124 |
+
nhead=8,
|
| 125 |
+
num_encoder_layers=6,
|
| 126 |
+
num_decoder_layers=6,
|
| 127 |
+
dim_feedforward=2048,
|
| 128 |
+
dropout=0.1,
|
| 129 |
+
activation="relu",
|
| 130 |
+
normalize_before=False,
|
| 131 |
+
return_intermediate_dec=False,
|
| 132 |
+
):
|
| 133 |
+
super().__init__()
|
| 134 |
+
|
| 135 |
+
encoder_layer = TransformerEncoderLayer(
|
| 136 |
+
d_model, nhead, dim_feedforward, dropout, activation, normalize_before
|
| 137 |
+
)
|
| 138 |
+
encoder_norm = nn.LayerNorm(d_model) if normalize_before else None
|
| 139 |
+
self.encoder = TransformerEncoder(encoder_layer, num_encoder_layers, encoder_norm)
|
| 140 |
+
|
| 141 |
+
decoder_layer = TransformerDecoderLayer(
|
| 142 |
+
d_model, nhead, dim_feedforward, dropout, activation, normalize_before
|
| 143 |
+
)
|
| 144 |
+
decoder_norm = nn.LayerNorm(d_model)
|
| 145 |
+
self.decoder = TransformerDecoder(
|
| 146 |
+
decoder_layer,
|
| 147 |
+
num_decoder_layers,
|
| 148 |
+
decoder_norm,
|
| 149 |
+
return_intermediate=return_intermediate_dec,
|
| 150 |
+
)
|
| 151 |
+
|
| 152 |
+
self._reset_parameters()
|
| 153 |
+
|
| 154 |
+
self.d_model = d_model
|
| 155 |
+
self.nhead = nhead
|
| 156 |
+
|
| 157 |
+
def _reset_parameters(self):
|
| 158 |
+
for p in self.parameters():
|
| 159 |
+
if p.dim() > 1:
|
| 160 |
+
nn.init.xavier_uniform_(p)
|
| 161 |
+
|
| 162 |
+
def forward(
|
| 163 |
+
self,
|
| 164 |
+
src,
|
| 165 |
+
mask,
|
| 166 |
+
query_embed,
|
| 167 |
+
pos_embed,
|
| 168 |
+
latent_input=None,
|
| 169 |
+
proprio_input=None,
|
| 170 |
+
additional_pos_embed=None,
|
| 171 |
+
):
|
| 172 |
+
# TODO flatten only when input has H and W
|
| 173 |
+
if len(src.shape) == 4: # has H and W
|
| 174 |
+
# flatten NxCxHxW to HWxNxC
|
| 175 |
+
bs, c, h, w = src.shape
|
| 176 |
+
src = src.flatten(2).permute(2, 0, 1)
|
| 177 |
+
pos_embed = pos_embed.flatten(2).permute(2, 0, 1).repeat(1, bs, 1)
|
| 178 |
+
query_embed = query_embed.unsqueeze(1).repeat(1, bs, 1)
|
| 179 |
+
# mask = mask.flatten(1)
|
| 180 |
+
|
| 181 |
+
additional_pos_embed = additional_pos_embed.unsqueeze(1).repeat(
|
| 182 |
+
1, bs, 1
|
| 183 |
+
) # seq, bs, dim
|
| 184 |
+
pos_embed = torch.cat([additional_pos_embed, pos_embed], axis=0)
|
| 185 |
+
|
| 186 |
+
addition_input = torch.stack([latent_input, proprio_input], axis=0)
|
| 187 |
+
src = torch.cat([addition_input, src], axis=0)
|
| 188 |
+
else:
|
| 189 |
+
assert len(src.shape) == 3
|
| 190 |
+
# flatten NxHWxC to HWxNxC
|
| 191 |
+
bs, hw, c = src.shape
|
| 192 |
+
src = src.permute(1, 0, 2)
|
| 193 |
+
pos_embed = pos_embed.unsqueeze(1).repeat(1, bs, 1)
|
| 194 |
+
query_embed = query_embed.unsqueeze(1).repeat(1, bs, 1)
|
| 195 |
+
|
| 196 |
+
tgt = torch.zeros_like(query_embed)
|
| 197 |
+
memory = self.encoder(src, src_key_padding_mask=mask, pos=pos_embed)
|
| 198 |
+
hs = self.decoder(
|
| 199 |
+
tgt, memory, memory_key_padding_mask=mask, pos=pos_embed, query_pos=query_embed
|
| 200 |
+
)
|
| 201 |
+
hs = hs.transpose(1, 2)
|
| 202 |
+
return hs
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
class TransformerEncoder(nn.Module):
|
| 206 |
+
def __init__(self, encoder_layer, num_layers, norm=None):
|
| 207 |
+
super().__init__()
|
| 208 |
+
self.layers = _get_clones(encoder_layer, num_layers)
|
| 209 |
+
self.num_layers = num_layers
|
| 210 |
+
self.norm = norm
|
| 211 |
+
|
| 212 |
+
def forward(
|
| 213 |
+
self,
|
| 214 |
+
src,
|
| 215 |
+
mask: Optional[Tensor] = None,
|
| 216 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 217 |
+
pos: Optional[Tensor] = None,
|
| 218 |
+
):
|
| 219 |
+
output = src
|
| 220 |
+
|
| 221 |
+
for layer in self.layers:
|
| 222 |
+
output = layer(
|
| 223 |
+
output, src_mask=mask, src_key_padding_mask=src_key_padding_mask, pos=pos
|
| 224 |
+
)
|
| 225 |
+
|
| 226 |
+
if self.norm is not None:
|
| 227 |
+
output = self.norm(output)
|
| 228 |
+
|
| 229 |
+
return output
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
class TransformerDecoder(nn.Module):
|
| 233 |
+
def __init__(self, decoder_layer, num_layers, norm=None, return_intermediate=False):
|
| 234 |
+
super().__init__()
|
| 235 |
+
self.layers = _get_clones(decoder_layer, num_layers)
|
| 236 |
+
self.num_layers = num_layers
|
| 237 |
+
self.norm = norm
|
| 238 |
+
self.return_intermediate = return_intermediate
|
| 239 |
+
|
| 240 |
+
def forward(
|
| 241 |
+
self,
|
| 242 |
+
tgt,
|
| 243 |
+
memory,
|
| 244 |
+
tgt_mask: Optional[Tensor] = None,
|
| 245 |
+
memory_mask: Optional[Tensor] = None,
|
| 246 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 247 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 248 |
+
pos: Optional[Tensor] = None,
|
| 249 |
+
query_pos: Optional[Tensor] = None,
|
| 250 |
+
):
|
| 251 |
+
output = tgt
|
| 252 |
+
|
| 253 |
+
intermediate = []
|
| 254 |
+
|
| 255 |
+
for layer in self.layers:
|
| 256 |
+
output = layer(
|
| 257 |
+
output,
|
| 258 |
+
memory,
|
| 259 |
+
tgt_mask=tgt_mask,
|
| 260 |
+
memory_mask=memory_mask,
|
| 261 |
+
tgt_key_padding_mask=tgt_key_padding_mask,
|
| 262 |
+
memory_key_padding_mask=memory_key_padding_mask,
|
| 263 |
+
pos=pos,
|
| 264 |
+
query_pos=query_pos,
|
| 265 |
+
)
|
| 266 |
+
if self.return_intermediate:
|
| 267 |
+
intermediate.append(self.norm(output))
|
| 268 |
+
|
| 269 |
+
if self.norm is not None:
|
| 270 |
+
output = self.norm(output)
|
| 271 |
+
if self.return_intermediate:
|
| 272 |
+
intermediate.pop()
|
| 273 |
+
intermediate.append(output)
|
| 274 |
+
|
| 275 |
+
if self.return_intermediate:
|
| 276 |
+
return torch.stack(intermediate)
|
| 277 |
+
|
| 278 |
+
return output.unsqueeze(0)
|
| 279 |
+
|
| 280 |
+
|
| 281 |
+
class TransformerEncoderLayer(nn.Module):
|
| 282 |
+
def __init__(
|
| 283 |
+
self,
|
| 284 |
+
d_model,
|
| 285 |
+
nhead,
|
| 286 |
+
dim_feedforward=2048,
|
| 287 |
+
dropout=0.1,
|
| 288 |
+
activation="relu",
|
| 289 |
+
normalize_before=False,
|
| 290 |
+
):
|
| 291 |
+
super().__init__()
|
| 292 |
+
self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
|
| 293 |
+
# Implementation of Feedforward model
|
| 294 |
+
self.linear1 = nn.Linear(d_model, dim_feedforward)
|
| 295 |
+
self.dropout = nn.Dropout(dropout)
|
| 296 |
+
self.linear2 = nn.Linear(dim_feedforward, d_model)
|
| 297 |
+
|
| 298 |
+
self.norm1 = nn.LayerNorm(d_model)
|
| 299 |
+
self.norm2 = nn.LayerNorm(d_model)
|
| 300 |
+
self.dropout1 = nn.Dropout(dropout)
|
| 301 |
+
self.dropout2 = nn.Dropout(dropout)
|
| 302 |
+
|
| 303 |
+
self.activation = _get_activation_fn(activation)
|
| 304 |
+
self.normalize_before = normalize_before
|
| 305 |
+
|
| 306 |
+
def with_pos_embed(self, tensor, pos: Optional[Tensor]):
|
| 307 |
+
return tensor if pos is None else tensor + pos
|
| 308 |
+
|
| 309 |
+
def forward_post(
|
| 310 |
+
self,
|
| 311 |
+
src,
|
| 312 |
+
src_mask: Optional[Tensor] = None,
|
| 313 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 314 |
+
pos: Optional[Tensor] = None,
|
| 315 |
+
):
|
| 316 |
+
q = k = self.with_pos_embed(src, pos)
|
| 317 |
+
src2 = self.self_attn(
|
| 318 |
+
q, k, value=src, attn_mask=src_mask, key_padding_mask=src_key_padding_mask
|
| 319 |
+
)[0]
|
| 320 |
+
src = src + self.dropout1(src2)
|
| 321 |
+
src = self.norm1(src)
|
| 322 |
+
src2 = self.linear2(self.dropout(self.activation(self.linear1(src))))
|
| 323 |
+
src = src + self.dropout2(src2)
|
| 324 |
+
src = self.norm2(src)
|
| 325 |
+
return src
|
| 326 |
+
|
| 327 |
+
def forward_pre(
|
| 328 |
+
self,
|
| 329 |
+
src,
|
| 330 |
+
src_mask: Optional[Tensor] = None,
|
| 331 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 332 |
+
pos: Optional[Tensor] = None,
|
| 333 |
+
):
|
| 334 |
+
src2 = self.norm1(src)
|
| 335 |
+
q = k = self.with_pos_embed(src2, pos)
|
| 336 |
+
src2 = self.self_attn(
|
| 337 |
+
q, k, value=src2, attn_mask=src_mask, key_padding_mask=src_key_padding_mask
|
| 338 |
+
)[0]
|
| 339 |
+
src = src + self.dropout1(src2)
|
| 340 |
+
src2 = self.norm2(src)
|
| 341 |
+
src2 = self.linear2(self.dropout(self.activation(self.linear1(src2))))
|
| 342 |
+
src = src + self.dropout2(src2)
|
| 343 |
+
return src
|
| 344 |
+
|
| 345 |
+
def forward(
|
| 346 |
+
self,
|
| 347 |
+
src,
|
| 348 |
+
src_mask: Optional[Tensor] = None,
|
| 349 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 350 |
+
pos: Optional[Tensor] = None,
|
| 351 |
+
):
|
| 352 |
+
if self.normalize_before:
|
| 353 |
+
return self.forward_pre(src, src_mask, src_key_padding_mask, pos)
|
| 354 |
+
return self.forward_post(src, src_mask, src_key_padding_mask, pos)
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
class TransformerDecoderLayer(nn.Module):
|
| 358 |
+
def __init__(
|
| 359 |
+
self,
|
| 360 |
+
d_model,
|
| 361 |
+
nhead,
|
| 362 |
+
dim_feedforward=2048,
|
| 363 |
+
dropout=0.1,
|
| 364 |
+
activation="relu",
|
| 365 |
+
normalize_before=False,
|
| 366 |
+
):
|
| 367 |
+
super().__init__()
|
| 368 |
+
self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
|
| 369 |
+
self.multihead_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
|
| 370 |
+
# Implementation of Feedforward model
|
| 371 |
+
self.linear1 = nn.Linear(d_model, dim_feedforward)
|
| 372 |
+
self.dropout = nn.Dropout(dropout)
|
| 373 |
+
self.linear2 = nn.Linear(dim_feedforward, d_model)
|
| 374 |
+
|
| 375 |
+
self.norm1 = nn.LayerNorm(d_model)
|
| 376 |
+
self.norm2 = nn.LayerNorm(d_model)
|
| 377 |
+
self.norm3 = nn.LayerNorm(d_model)
|
| 378 |
+
self.dropout1 = nn.Dropout(dropout)
|
| 379 |
+
self.dropout2 = nn.Dropout(dropout)
|
| 380 |
+
self.dropout3 = nn.Dropout(dropout)
|
| 381 |
+
|
| 382 |
+
self.activation = _get_activation_fn(activation)
|
| 383 |
+
self.normalize_before = normalize_before
|
| 384 |
+
|
| 385 |
+
def with_pos_embed(self, tensor, pos: Optional[Tensor]):
|
| 386 |
+
return tensor if pos is None else tensor + pos
|
| 387 |
+
|
| 388 |
+
def forward_post(
|
| 389 |
+
self,
|
| 390 |
+
tgt,
|
| 391 |
+
memory,
|
| 392 |
+
tgt_mask: Optional[Tensor] = None,
|
| 393 |
+
memory_mask: Optional[Tensor] = None,
|
| 394 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 395 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 396 |
+
pos: Optional[Tensor] = None,
|
| 397 |
+
query_pos: Optional[Tensor] = None,
|
| 398 |
+
):
|
| 399 |
+
q = k = self.with_pos_embed(tgt, query_pos)
|
| 400 |
+
tgt2 = self.self_attn(
|
| 401 |
+
q, k, value=tgt, attn_mask=tgt_mask, key_padding_mask=tgt_key_padding_mask
|
| 402 |
+
)[0]
|
| 403 |
+
tgt = tgt + self.dropout1(tgt2)
|
| 404 |
+
tgt = self.norm1(tgt)
|
| 405 |
+
tgt2 = self.multihead_attn(
|
| 406 |
+
query=self.with_pos_embed(tgt, query_pos),
|
| 407 |
+
key=self.with_pos_embed(memory, pos),
|
| 408 |
+
value=memory,
|
| 409 |
+
attn_mask=memory_mask,
|
| 410 |
+
key_padding_mask=memory_key_padding_mask,
|
| 411 |
+
)[0]
|
| 412 |
+
tgt = tgt + self.dropout2(tgt2)
|
| 413 |
+
tgt = self.norm2(tgt)
|
| 414 |
+
tgt2 = self.linear2(self.dropout(self.activation(self.linear1(tgt))))
|
| 415 |
+
tgt = tgt + self.dropout3(tgt2)
|
| 416 |
+
tgt = self.norm3(tgt)
|
| 417 |
+
return tgt
|
| 418 |
+
|
| 419 |
+
def forward_pre(
|
| 420 |
+
self,
|
| 421 |
+
tgt,
|
| 422 |
+
memory,
|
| 423 |
+
tgt_mask: Optional[Tensor] = None,
|
| 424 |
+
memory_mask: Optional[Tensor] = None,
|
| 425 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 426 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 427 |
+
pos: Optional[Tensor] = None,
|
| 428 |
+
query_pos: Optional[Tensor] = None,
|
| 429 |
+
):
|
| 430 |
+
tgt2 = self.norm1(tgt)
|
| 431 |
+
q = k = self.with_pos_embed(tgt2, query_pos)
|
| 432 |
+
tgt2 = self.self_attn(
|
| 433 |
+
q, k, value=tgt2, attn_mask=tgt_mask, key_padding_mask=tgt_key_padding_mask
|
| 434 |
+
)[0]
|
| 435 |
+
tgt = tgt + self.dropout1(tgt2)
|
| 436 |
+
tgt2 = self.norm2(tgt)
|
| 437 |
+
tgt2 = self.multihead_attn(
|
| 438 |
+
query=self.with_pos_embed(tgt2, query_pos),
|
| 439 |
+
key=self.with_pos_embed(memory, pos),
|
| 440 |
+
value=memory,
|
| 441 |
+
attn_mask=memory_mask,
|
| 442 |
+
key_padding_mask=memory_key_padding_mask,
|
| 443 |
+
)[0]
|
| 444 |
+
tgt = tgt + self.dropout2(tgt2)
|
| 445 |
+
tgt2 = self.norm3(tgt)
|
| 446 |
+
tgt2 = self.linear2(self.dropout(self.activation(self.linear1(tgt2))))
|
| 447 |
+
tgt = tgt + self.dropout3(tgt2)
|
| 448 |
+
return tgt
|
| 449 |
+
|
| 450 |
+
def forward(
|
| 451 |
+
self,
|
| 452 |
+
tgt,
|
| 453 |
+
memory,
|
| 454 |
+
tgt_mask: Optional[Tensor] = None,
|
| 455 |
+
memory_mask: Optional[Tensor] = None,
|
| 456 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 457 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 458 |
+
pos: Optional[Tensor] = None,
|
| 459 |
+
query_pos: Optional[Tensor] = None,
|
| 460 |
+
):
|
| 461 |
+
if self.normalize_before:
|
| 462 |
+
return self.forward_pre(
|
| 463 |
+
tgt,
|
| 464 |
+
memory,
|
| 465 |
+
tgt_mask,
|
| 466 |
+
memory_mask,
|
| 467 |
+
tgt_key_padding_mask,
|
| 468 |
+
memory_key_padding_mask,
|
| 469 |
+
pos,
|
| 470 |
+
query_pos,
|
| 471 |
+
)
|
| 472 |
+
return self.forward_post(
|
| 473 |
+
tgt,
|
| 474 |
+
memory,
|
| 475 |
+
tgt_mask,
|
| 476 |
+
memory_mask,
|
| 477 |
+
tgt_key_padding_mask,
|
| 478 |
+
memory_key_padding_mask,
|
| 479 |
+
pos,
|
| 480 |
+
query_pos,
|
| 481 |
+
)
|
| 482 |
+
|
| 483 |
+
|
| 484 |
+
def _get_clones(module, N):
|
| 485 |
+
return nn.ModuleList([copy.deepcopy(module) for i in range(N)])
|
| 486 |
+
|
| 487 |
+
|
| 488 |
+
def _get_activation_fn(activation):
|
| 489 |
+
"""Return an activation function given a string."""
|
| 490 |
+
if activation == "relu":
|
| 491 |
+
return F.relu
|
| 492 |
+
if activation == "gelu":
|
| 493 |
+
return F.gelu
|
| 494 |
+
raise RuntimeError(f"activation should be relu/gelu, not {activation}.")
|
| 495 |
+
|
| 496 |
+
|
| 497 |
+
|
| 498 |
+
def reparametrize(mu: torch.Tensor, logvar: torch.Tensor) -> torch.Tensor:
|
| 499 |
+
std = logvar.div(2).exp()
|
| 500 |
+
return mu + std * torch.randn_like(std)
|
| 501 |
+
|
| 502 |
+
|
| 503 |
+
def get_sinusoid_encoding_table(n_position: int, d_hid: int) -> torch.Tensor:
|
| 504 |
+
def angle_vec(position: int) -> list[float]:
|
| 505 |
+
return [position / np.power(10000, 2 * (j // 2) / d_hid) for j in range(d_hid)]
|
| 506 |
+
|
| 507 |
+
table = np.array([angle_vec(i) for i in range(n_position)])
|
| 508 |
+
table[:, 0::2] = np.sin(table[:, 0::2])
|
| 509 |
+
table[:, 1::2] = np.cos(table[:, 1::2])
|
| 510 |
+
return torch.FloatTensor(table).unsqueeze(0)
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def build_style_encoder(
|
| 514 |
+
hidden_dim: int, nheads: int, dim_feedforward: int, enc_layers: int, dropout: float
|
| 515 |
+
) -> TransformerEncoder:
|
| 516 |
+
"""The CVAE style encoder (a plain transformer encoder over [CLS, qpos, action seq])."""
|
| 517 |
+
layer = TransformerEncoderLayer(hidden_dim, nheads, dim_feedforward, dropout, "relu", False)
|
| 518 |
+
return TransformerEncoder(layer, enc_layers, norm=None)
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
class DETRVAE(nn.Module):
|
| 522 |
+
"""CVAE decoder: (qpos, images[, action seq]) → ``num_queries`` future actions."""
|
| 523 |
+
|
| 524 |
+
def __init__(
|
| 525 |
+
self,
|
| 526 |
+
backbone: Joiner,
|
| 527 |
+
transformer: Transformer,
|
| 528 |
+
encoder: TransformerEncoder,
|
| 529 |
+
*,
|
| 530 |
+
qpos_dim: int,
|
| 531 |
+
action_dim: int,
|
| 532 |
+
num_queries: int,
|
| 533 |
+
latent_dim: int = 32,
|
| 534 |
+
) -> None:
|
| 535 |
+
super().__init__()
|
| 536 |
+
self.num_queries = num_queries
|
| 537 |
+
self.transformer = transformer
|
| 538 |
+
self.encoder = encoder
|
| 539 |
+
hidden_dim = transformer.d_model
|
| 540 |
+
self.action_head = nn.Linear(hidden_dim, action_dim)
|
| 541 |
+
self.query_embed = nn.Embedding(num_queries, hidden_dim)
|
| 542 |
+
self.backbone = backbone # ONE backbone shared by every camera (upstream behavior)
|
| 543 |
+
self.input_proj = nn.Conv2d(backbone.num_channels, hidden_dim, kernel_size=1)
|
| 544 |
+
self.input_proj_robot_state = nn.Linear(qpos_dim, hidden_dim)
|
| 545 |
+
|
| 546 |
+
# CVAE style encoder inputs
|
| 547 |
+
self.latent_dim = latent_dim
|
| 548 |
+
self.cls_embed = nn.Embedding(1, hidden_dim)
|
| 549 |
+
self.encoder_action_proj = nn.Linear(action_dim, hidden_dim)
|
| 550 |
+
self.encoder_joint_proj = nn.Linear(qpos_dim, hidden_dim)
|
| 551 |
+
self.latent_proj = nn.Linear(hidden_dim, latent_dim * 2)
|
| 552 |
+
self.register_buffer(
|
| 553 |
+
"pos_table", get_sinusoid_encoding_table(1 + 1 + num_queries, hidden_dim)
|
| 554 |
+
)
|
| 555 |
+
# decoder side
|
| 556 |
+
self.latent_out_proj = nn.Linear(latent_dim, hidden_dim)
|
| 557 |
+
self.additional_pos_embed = nn.Embedding(2, hidden_dim) # latent + proprio slots
|
| 558 |
+
|
| 559 |
+
def forward(
|
| 560 |
+
self,
|
| 561 |
+
qpos: torch.Tensor,
|
| 562 |
+
images: torch.Tensor,
|
| 563 |
+
actions: torch.Tensor | None = None,
|
| 564 |
+
is_pad: torch.Tensor | None = None,
|
| 565 |
+
) -> tuple[torch.Tensor, tuple[torch.Tensor | None, torch.Tensor | None]]:
|
| 566 |
+
"""``qpos (B, Dq)``, ``images (B, ncam, C, H, W)``; train passes ``actions (B, T, Da)``."""
|
| 567 |
+
is_training = actions is not None
|
| 568 |
+
bs = qpos.shape[0]
|
| 569 |
+
if is_training:
|
| 570 |
+
action_embed = self.encoder_action_proj(actions)
|
| 571 |
+
qpos_embed = self.encoder_joint_proj(qpos).unsqueeze(1)
|
| 572 |
+
cls_embed = self.cls_embed.weight.unsqueeze(0).repeat(bs, 1, 1)
|
| 573 |
+
encoder_input = torch.cat([cls_embed, qpos_embed, action_embed], dim=1)
|
| 574 |
+
encoder_input = encoder_input.permute(1, 0, 2)
|
| 575 |
+
if is_pad is None:
|
| 576 |
+
is_pad = torch.zeros(bs, actions.shape[1], dtype=torch.bool, device=qpos.device)
|
| 577 |
+
cls_joint_is_pad = torch.full((bs, 2), False, device=qpos.device)
|
| 578 |
+
key_pad = torch.cat([cls_joint_is_pad, is_pad], dim=1)
|
| 579 |
+
pos_embed = self.pos_table.clone().detach().permute(1, 0, 2)
|
| 580 |
+
encoder_output = self.encoder(
|
| 581 |
+
encoder_input, pos=pos_embed, src_key_padding_mask=key_pad
|
| 582 |
+
)[0]
|
| 583 |
+
latent_info = self.latent_proj(encoder_output)
|
| 584 |
+
mu = latent_info[:, : self.latent_dim]
|
| 585 |
+
logvar = latent_info[:, self.latent_dim :]
|
| 586 |
+
latent_input = self.latent_out_proj(reparametrize(mu, logvar))
|
| 587 |
+
else:
|
| 588 |
+
mu = logvar = None
|
| 589 |
+
latent_sample = torch.zeros(bs, self.latent_dim, device=qpos.device)
|
| 590 |
+
latent_input = self.latent_out_proj(latent_sample)
|
| 591 |
+
|
| 592 |
+
all_cam_features, all_cam_pos = [], []
|
| 593 |
+
for cam_id in range(images.shape[1]):
|
| 594 |
+
features, pos = self.backbone(images[:, cam_id])
|
| 595 |
+
all_cam_features.append(self.input_proj(features[0]))
|
| 596 |
+
all_cam_pos.append(pos[0])
|
| 597 |
+
proprio_input = self.input_proj_robot_state(qpos)
|
| 598 |
+
src = torch.cat(all_cam_features, dim=3) # cameras fold into the width axis
|
| 599 |
+
pos = torch.cat(all_cam_pos, dim=3)
|
| 600 |
+
hs = self.transformer(
|
| 601 |
+
src,
|
| 602 |
+
None,
|
| 603 |
+
self.query_embed.weight,
|
| 604 |
+
pos,
|
| 605 |
+
latent_input,
|
| 606 |
+
proprio_input,
|
| 607 |
+
self.additional_pos_embed.weight,
|
| 608 |
+
)[0]
|
| 609 |
+
return self.action_head(hs), (mu, logvar)
|
| 610 |
+
|
| 611 |
+
|
| 612 |
+
def kl_divergence(mu: torch.Tensor, logvar: torch.Tensor) -> torch.Tensor:
|
| 613 |
+
"""Total KL(q(z|x) || N(0, I)), summed over latent dims, meaned over the batch."""
|
| 614 |
+
klds = -0.5 * (1 + logvar - mu.pow(2) - logvar.exp())
|
| 615 |
+
return klds.sum(1).mean()
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""The G1 evaluation adapters of the baselines (evaluation/README.md#the-model-interface): `make_model('fm_dit')`
|
| 2 |
+
returns the `Model` class that `evaluation/policy/FMDiT/model.py` exports (likewise DP, ACT, FLASH).
|
| 3 |
+
|
| 4 |
+
Observation: the current ego_view and chest frames (480x640 RGB, resized as the training cache) and state44; FM-DiT,
|
| 5 |
+
DP and ACT read no past actions or earlier frames (one frame); FLASH also reads the interface's executed rows before
|
| 6 |
+
the query (`past_actions`, `history_valid`: the token sent and the INSPIRE opening measured at each earlier frame)
|
| 7 |
+
for its polynomial history. Output: the checkpoint's whole chunk (16 rows of action76, row 0 executed at the request's
|
| 8 |
+
frame), `execution_steps` rows of it executed before the next query (deploy.yml `config: execution_steps`, default the
|
| 9 |
+
whole chunk; the runners re-query after at most 12 rows), the request's seed for the sampling noise (FM-DiT, DP).
|
| 10 |
+
"""
|
| 11 |
+
from __future__ import annotations
|
| 12 |
+
|
| 13 |
+
from .runtime import BaselinePolicy
|
| 14 |
+
|
| 15 |
+
WIDTH = {'sonic_dfx6': 76}
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def require(condition, message):
|
| 19 |
+
if not condition:
|
| 20 |
+
raise RuntimeError(message)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def make_model(policy_name: str):
|
| 24 |
+
class Model:
|
| 25 |
+
history_length = 1 # the current head and chest frames only
|
| 26 |
+
video_frames = 0
|
| 27 |
+
|
| 28 |
+
def __init__(self, cfg):
|
| 29 |
+
self.policy = BaselinePolicy(cfg['checkpoint_path'], device=cfg.get('device', 'cuda:0'),
|
| 30 |
+
policy=policy_name, robot='g1')
|
| 31 |
+
contract = self.policy.contract
|
| 32 |
+
require(cfg['action_space'] in WIDTH and contract['action_space'] == cfg['action_space']
|
| 33 |
+
and self.policy.action_dim == WIDTH[cfg['action_space']] and self.policy.state_dim == 44
|
| 34 |
+
and list(self.policy.cameras) == ['ego_view', 'chest'],
|
| 35 |
+
f"checkpoint contract {contract['name']} does not serve {cfg['action_space']}")
|
| 36 |
+
extra = cfg.get('config') or {}
|
| 37 |
+
if extra.get('check_task', True):
|
| 38 |
+
require(cfg['task'].strip() == (self.policy.task_text or '').strip(),
|
| 39 |
+
f'task text {cfg["task"]!r} is not the training task {self.policy.task_text!r}')
|
| 40 |
+
self.execution_steps = int(extra.get('execution_steps') or self.policy.horizon)
|
| 41 |
+
require(1 <= self.execution_steps <= self.policy.horizon, f'execution_steps {self.execution_steps}')
|
| 42 |
+
self.uses_history = self.policy.name == 'flash'
|
| 43 |
+
self.info = dict(self.policy.info(), execution_steps=self.execution_steps,
|
| 44 |
+
inputs='current frames + state44' + (' + executed-action history' if self.uses_history
|
| 45 |
+
else ''))
|
| 46 |
+
|
| 47 |
+
def get_action(self, obs):
|
| 48 |
+
if self.uses_history:
|
| 49 |
+
action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'],
|
| 50 |
+
past_actions=obs['past_actions'], history_valid=obs['history_valid'])
|
| 51 |
+
else:
|
| 52 |
+
action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'])
|
| 53 |
+
return dict(action=action, execution_steps=self.execution_steps,
|
| 54 |
+
sampling_steps=self.policy.sampling_steps)
|
| 55 |
+
|
| 56 |
+
Model.__name__ = Model.__qualname__ = f'Model_{policy_name}'
|
| 57 |
+
return Model
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Offline check of the FLASH adapter against the training path on recorded frames (before any closed-loop run):
|
| 2 |
+
|
| 3 |
+
<baselines env>/bin/python -I evaluation/baselines/check_flash_adapter.py --checkpoint <checkpoints/step-NNNNNN> \\
|
| 4 |
+
--dataset <LeRobot v2.1 root> --episodes 0,60 --queries 8 [--device cuda:0]
|
| 5 |
+
|
| 6 |
+
For query frames t of each episode (0, then evenly spaced) it builds
|
| 7 |
+
(a) the interface observation a runner sends: the 480x640 ego_view / chest frames (decoded from the dataset videos),
|
| 8 |
+
state44 and past_actions = the 40 recorded action rows before t (history_valid 0 before the episode start), and
|
| 9 |
+
calls evaluation/policy/FLASH/model.py Model.get_action, the deployed adapter;
|
| 10 |
+
(b) the training path: FlashChunkDataset's item for the same anchor (frames resized as the frame cache, the dataset's
|
| 11 |
+
history rule) through FlashPolicy.predict.
|
| 12 |
+
Both chunks must be equal bit for bit (same weights, same device); it also prints the normalized MSE of the chunk
|
| 13 |
+
against the recorded rows from t (rows past the episode's end excluded). Exits 1 on a mismatch.
|
| 14 |
+
"""
|
| 15 |
+
from __future__ import annotations
|
| 16 |
+
|
| 17 |
+
import argparse
|
| 18 |
+
import json
|
| 19 |
+
from pathlib import Path
|
| 20 |
+
import sys
|
| 21 |
+
|
| 22 |
+
import numpy as np
|
| 23 |
+
|
| 24 |
+
HERE = Path(__file__).resolve().parent
|
| 25 |
+
EVALUATION = HERE.parent
|
| 26 |
+
if str(EVALUATION) not in sys.path:
|
| 27 |
+
sys.path.insert(0, str(EVALUATION))
|
| 28 |
+
|
| 29 |
+
HISTORY_ROWS = 40 # the interface's past_actions rows (debug/newton/b6_policy_eval.py HISTORY_ROWS)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def decode(path, indices):
|
| 33 |
+
import av
|
| 34 |
+
want, out = set(int(i) for i in indices), {}
|
| 35 |
+
with av.open(str(path)) as container:
|
| 36 |
+
for k, frame in enumerate(container.decode(video=0)):
|
| 37 |
+
if k in want:
|
| 38 |
+
out[k] = frame.to_ndarray(format='rgb24')
|
| 39 |
+
if len(out) == len(want):
|
| 40 |
+
break
|
| 41 |
+
return out
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def main():
|
| 45 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 46 |
+
p.add_argument('--checkpoint', type=Path, required=True)
|
| 47 |
+
p.add_argument('--dataset', type=Path, required=True)
|
| 48 |
+
p.add_argument('--episodes', default='0')
|
| 49 |
+
p.add_argument('--queries', type=int, default=8)
|
| 50 |
+
p.add_argument('--device', default='cuda:0')
|
| 51 |
+
a = p.parse_args()
|
| 52 |
+
|
| 53 |
+
import torch
|
| 54 |
+
from baselines.data import CONTRACTS, FlashChunkDataset, LeRobotDataset, load_lowdim, resize_frame
|
| 55 |
+
from baselines.runtime import BaselinePolicy
|
| 56 |
+
sys.path.insert(0, str(EVALUATION / 'policy' / 'FLASH'))
|
| 57 |
+
import model as flash_model
|
| 58 |
+
|
| 59 |
+
base = BaselinePolicy(a.checkpoint, device=a.device, policy='flash', robot='g1')
|
| 60 |
+
contract = CONTRACTS[base.contract['name']]
|
| 61 |
+
adapter = flash_model.Model(dict(checkpoint_path=str(a.checkpoint), device=a.device, action_space='sonic_dfx6',
|
| 62 |
+
task=base.task_text or '', config={}))
|
| 63 |
+
policy = adapter.policy.model # the adapter's own loaded weights
|
| 64 |
+
dataset = LeRobotDataset(a.dataset)
|
| 65 |
+
episodes = [int(e) for e in a.episodes.split(',')]
|
| 66 |
+
lowdim = load_lowdim(dataset, contract, episodes)
|
| 67 |
+
report, worst = [], 0.0
|
| 68 |
+
for pos, ep in enumerate(episodes):
|
| 69 |
+
s, n = int(lowdim['starts'][pos]), int(lowdim['lengths'][pos])
|
| 70 |
+
ts = sorted({0, *np.linspace(0, n - 1, a.queries).astype(int).tolist()})[:a.queries]
|
| 71 |
+
frames = {c: decode(dataset.video(ep, c), ts) for c in base.cameras}
|
| 72 |
+
hw = base.image_hw
|
| 73 |
+
maps = {c: np.zeros((lowdim['lengths'].sum(), *hw, 3), np.uint8) for c in base.cameras}
|
| 74 |
+
for t in ts:
|
| 75 |
+
for c in base.cameras:
|
| 76 |
+
maps[c][s + t] = resize_frame(frames[c][t], hw) # the frame cache's resize of the same frame
|
| 77 |
+
f = policy.flash
|
| 78 |
+
H_ext = f['poly_prefix'] + f['n_action'] + f['poly_suffix'] + 2 * f['fit_pad']
|
| 79 |
+
offsets = (np.arange(H_ext) - (f['fit_pad'] + f['poly_prefix'])) * f['stride']
|
| 80 |
+
ds = FlashChunkDataset(lowdim, {}, base.cameras, hw, [pos], offsets=offsets, stride=f['stride'],
|
| 81 |
+
n_history=f['n_history'], rows=f['rows'], with_dense=True)
|
| 82 |
+
ds._maps, ds._pid = maps, __import__('os').getpid()
|
| 83 |
+
for t in ts:
|
| 84 |
+
k = int(np.nonzero(ds.index == s + t)[0][0])
|
| 85 |
+
images, state, _, hist, has, dense, dense_valid = ds[k]
|
| 86 |
+
idx = np.arange(t - HISTORY_ROWS, t)
|
| 87 |
+
past = lowdim['action'][s + np.clip(idx, 0, n - 1)].astype(np.float32)
|
| 88 |
+
valid = (idx >= 0).astype(np.float32)
|
| 89 |
+
past[idx < 0] = 0.0
|
| 90 |
+
obs = dict(images={c: frames[c][t] for c in base.cameras}, state=lowdim['state'][s + t],
|
| 91 |
+
past_actions=past, history_valid=valid, seed=0, frame=t, history_frame=t)
|
| 92 |
+
a_chunk = adapter.get_action(obs)['action']
|
| 93 |
+
with torch.inference_mode():
|
| 94 |
+
img = images[None].to(a.device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 95 |
+
b_chunk, _ = policy.predict(img, state[None].to(a.device), hist[None].to(a.device),
|
| 96 |
+
has[None].to(a.device))
|
| 97 |
+
b_chunk = b_chunk[0].float().cpu().numpy()
|
| 98 |
+
diff = float(np.abs(a_chunk - b_chunk).max())
|
| 99 |
+
worst = max(worst, diff)
|
| 100 |
+
nrm = policy.action_norm
|
| 101 |
+
err = (nrm.normalize(torch.from_numpy(a_chunk).to(a.device)) -
|
| 102 |
+
nrm.normalize(dense.to(a.device))).pow(2).cpu().numpy()[dense_valid.numpy()]
|
| 103 |
+
report.append(dict(episode=ep, t=t, has_history=bool(has), max_abs_diff=diff,
|
| 104 |
+
nmse_vs_recorded=float(err.mean()),
|
| 105 |
+
token_cos_row0=float(np.dot(a_chunk[0, :64], dense[0, :64].numpy()) /
|
| 106 |
+
(np.linalg.norm(a_chunk[0, :64]) *
|
| 107 |
+
np.linalg.norm(dense[0, :64].numpy()) + 1e-12))))
|
| 108 |
+
ok = worst == 0.0
|
| 109 |
+
print(json.dumps(dict(ok=ok, max_abs_diff=worst, checkpoint=str(a.checkpoint), queries=report), indent=1))
|
| 110 |
+
sys.exit(0 if ok else 1)
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
if __name__ == '__main__':
|
| 114 |
+
main()
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Check the FLASH port (evaluation/baselines/flash.py) against the upstream policy, on the CPU:
|
| 2 |
+
|
| 3 |
+
<baselines env>/bin/python -I evaluation/baselines/check_flash_parity.py --upstream <FLASH-Policy checkout>
|
| 4 |
+
|
| 5 |
+
Upstream is NTUMARS/FLASH-Policy @ f47e490 (roboverse_learn/il/...); its `zarr` and `einops` imports are shimmed
|
| 6 |
+
when the environment lacks them (only the parts used here run). Compared, for flash.yaml's settings with n_obs_steps =
|
| 7 |
+
n_history (8), n_action_steps 8, horizon 16:
|
| 8 |
+
|
| 9 |
+
- the polynomial buffers: least-squares matrix, coefficient scales, Tikhonov history fit, KKT boundary-constraint
|
| 10 |
+
matrices and pinned indices;
|
| 11 |
+
- target coefficients (least squares + boundary constraint) and history coefficients on random normalized
|
| 12 |
+
trajectories (identity normalizers on both sides);
|
| 13 |
+
- the DiT: upstream FlowTransformer's weights loaded strictly into FlashFlowTransformer, same outputs;
|
| 14 |
+
- the image encoder: upstream MultiImageObsEncoder (two rgb keys, agent_pos) with this port's weights, same features
|
| 15 |
+
(upstream concatenates its rgb keys in sorted order);
|
| 16 |
+
- the 30 Hz output rows: at multiples of the stride they equal upstream's trajectory points from the anchor.
|
| 17 |
+
Prints one JSON line with the largest differences; exits 1 when one exceeds its tolerance.
|
| 18 |
+
"""
|
| 19 |
+
from __future__ import annotations
|
| 20 |
+
|
| 21 |
+
import argparse
|
| 22 |
+
import json
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
import sys
|
| 25 |
+
import types
|
| 26 |
+
|
| 27 |
+
import torch
|
| 28 |
+
|
| 29 |
+
HERE = Path(__file__).resolve().parent
|
| 30 |
+
if str(HERE.parent) not in sys.path:
|
| 31 |
+
sys.path.insert(0, str(HERE.parent))
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def shim_upstream_imports():
|
| 35 |
+
try:
|
| 36 |
+
import zarr # noqa: F401
|
| 37 |
+
except ImportError:
|
| 38 |
+
zarr = types.ModuleType('zarr')
|
| 39 |
+
zarr.Array = type('Array', (), {})
|
| 40 |
+
sys.modules['zarr'] = zarr
|
| 41 |
+
try:
|
| 42 |
+
import einops # noqa: F401
|
| 43 |
+
except ImportError:
|
| 44 |
+
einops = types.ModuleType('einops')
|
| 45 |
+
einops.reduce = lambda x, pattern, op: x.reshape(x.shape[0], -1) # "b ... -> b (...)" (no reduced axis)
|
| 46 |
+
sys.modules['einops'] = einops
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def main():
|
| 50 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 51 |
+
p.add_argument('--upstream', type=Path, required=True, help='FLASH-Policy checkout (commit f47e490)')
|
| 52 |
+
p.add_argument('--stride', type=int, default=2)
|
| 53 |
+
a = p.parse_args()
|
| 54 |
+
shim_upstream_imports()
|
| 55 |
+
sys.path.insert(0, str(a.upstream.resolve()))
|
| 56 |
+
from roboverse_learn.il.policies.flash.flash_policy import FlashDiTImagePolicy
|
| 57 |
+
from roboverse_learn.il.utils.models.flow_net import FlowTransformer
|
| 58 |
+
from roboverse_learn.il.utils.vision.model_getter import get_resnet
|
| 59 |
+
from roboverse_learn.il.utils.vision.multi_image_obs_encoder import MultiImageObsEncoder
|
| 60 |
+
from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS, FlashFlowTransformer
|
| 61 |
+
from baselines.policies import PolicyConfig, build_policy
|
| 62 |
+
|
| 63 |
+
torch.manual_seed(0)
|
| 64 |
+
Da, Ds, H, W = 76, 44, 48, 64
|
| 65 |
+
f = dict(FLASH_DEFAULTS, stride=a.stride)
|
| 66 |
+
cfg = PolicyConfig.from_dict(dict(policy='flash', n_cameras=2, state_dim=Ds, action_dim=Da, horizon=f['rows'],
|
| 67 |
+
**FLASH_POLICY_FIELDS, extra=dict(flash=f)))
|
| 68 |
+
ours = build_policy(cfg, pretrained=False).eval()
|
| 69 |
+
shape_meta = dict(obs=dict(ego_view=dict(shape=[3, H, W], type='rgb'), chest=dict(shape=[3, H, W], type='rgb'),
|
| 70 |
+
agent_pos=dict(shape=[Ds], type='low_dim')), action=dict(shape=[Da]))
|
| 71 |
+
enc = MultiImageObsEncoder(shape_meta=shape_meta, rgb_model=get_resnet('resnet18', weights=None),
|
| 72 |
+
resize_shape=None, crop_shape=None, random_crop=True, use_group_norm=True,
|
| 73 |
+
share_rgb_model=False, imagenet_norm=True)
|
| 74 |
+
up = FlashDiTImagePolicy(shape_meta=shape_meta, obs_encoder=enc, horizon=f['n_history'] + f['n_action'],
|
| 75 |
+
n_action_steps=f['n_action'], n_obs_steps=f['n_history'], num_inference_steps=1,
|
| 76 |
+
obs_as_global_cond=True, diffusion_step_embed_dim=256, hidden_dim=512, num_layers=4,
|
| 77 |
+
num_heads=8, mlp_ratio=4, dropout=0.0, poly_order=f['poly_order'], basis_type='legendre',
|
| 78 |
+
fit_pad=f['fit_pad'], boundary_constraint=f['boundary_constraint'],
|
| 79 |
+
history_noise_std=f['history_noise_std'], history_reg_lambda=f['history_reg_lambda'],
|
| 80 |
+
consistency_weight=f['consistency_weight'], flash_solver='euler',
|
| 81 |
+
poly_prefix=f['poly_prefix'], poly_suffix=f['poly_suffix']).eval()
|
| 82 |
+
res, tol = {}, {}
|
| 83 |
+
|
| 84 |
+
def diff(name, x, y, t):
|
| 85 |
+
res[name] = float((x.double() - y.double()).abs().max())
|
| 86 |
+
tol[name] = t
|
| 87 |
+
|
| 88 |
+
for b in ('_lstsq_matrix', '_coeff_scale', '_history_lstsq_matrix', '_bc_eval_pos', '_bc_eval_vel',
|
| 89 |
+
'_bc_correction'):
|
| 90 |
+
diff(b, getattr(ours, b), getattr(up, b), 1e-6)
|
| 91 |
+
res['_bc_pos_indices_equal'] = bool(torch.equal(ours._bc_pos_indices, up._bc_pos_indices))
|
| 92 |
+
|
| 93 |
+
# identity normalizers on both sides: compare the polynomial algebra itself
|
| 94 |
+
B = 6
|
| 95 |
+
traj = torch.randn(B, ours.H_ext, Da)
|
| 96 |
+
hist = torch.randn(B, f['n_history'], Da)
|
| 97 |
+
with torch.no_grad():
|
| 98 |
+
t_up = up._apply_boundary_constraint(up._trajectory_to_coefficients(traj), traj)
|
| 99 |
+
t_ours = ours._apply_boundary_constraint(ours._to_coeff(traj), traj)
|
| 100 |
+
diff('target_coeff', t_ours, t_up, 1e-4)
|
| 101 |
+
h_up = up._history_to_coefficients(hist)
|
| 102 |
+
h_ours = torch.einsum('ch,bhd->bcd', ours._history_lstsq_matrix, hist) / ours._coeff_scale
|
| 103 |
+
diff('history_coeff', h_ours, h_up, 1e-5)
|
| 104 |
+
|
| 105 |
+
# DiT: upstream weights into the port
|
| 106 |
+
dit_up = FlowTransformer(input_dim=Da, condition_dim=300, hidden_dim=512, output_dim=Da, num_layers=4,
|
| 107 |
+
num_heads=8, mlp_ratio=4, dropout=0.0, time_embed_dim=256).eval()
|
| 108 |
+
dit_ours = FlashFlowTransformer(input_dim=Da, condition_dim=300, hidden_dim=512, output_dim=Da, num_layers=4,
|
| 109 |
+
num_heads=8, mlp_ratio=4, dropout=0.0, time_embed_dim=256).eval()
|
| 110 |
+
dit_ours.load_state_dict(dit_up.state_dict(), strict=True)
|
| 111 |
+
x, t, c = torch.randn(B, ours.num_coeff, Da), torch.rand(B), torch.randn(B, 300)
|
| 112 |
+
diff('dit', dit_ours(x, t, c), dit_up(x, t, c), 1e-5)
|
| 113 |
+
|
| 114 |
+
# encoder: the port's ResNets into upstream's per-key models (sorted keys: chest, ego_view)
|
| 115 |
+
for i, cam in enumerate(('ego_view', 'chest')):
|
| 116 |
+
enc.key_model_map[cam].load_state_dict(ours.obs_encoder.rgb[i].state_dict(), strict=True)
|
| 117 |
+
imgs, state_n = torch.rand(B, 2, 3, H, W), torch.rand(B, Ds) * 2 - 1
|
| 118 |
+
f_ours = ours.obs_encoder(imgs, state_n)
|
| 119 |
+
f_up = enc({'ego_view': imgs[:, 0] * 2 - 1, 'chest': imgs[:, 1] * 2 - 1, 'agent_pos': state_n})
|
| 120 |
+
n = 512
|
| 121 |
+
f_up_reordered = torch.cat([f_up[:, n:2 * n], f_up[:, :n], f_up[:, 2 * n:]], dim=-1) # chest|ego -> ego|chest
|
| 122 |
+
diff('encoder', f_ours, f_up_reordered, 1e-4)
|
| 123 |
+
|
| 124 |
+
# 30 Hz rows from the anchor vs upstream's points: identity normalizer on ours
|
| 125 |
+
ours.action_norm.scale.fill_(1.0)
|
| 126 |
+
ours.action_norm.offset.zero_()
|
| 127 |
+
coeff = torch.randn(B, ours.num_coeff, Da)
|
| 128 |
+
dense = ours.dense_from_coeff(coeff)
|
| 129 |
+
sparse = up._coefficients_to_trajectory(coeff) # (B, H_poly, Da), anchor at up._anchor_idx
|
| 130 |
+
k = torch.arange(0, ours.rows, a.stride)
|
| 131 |
+
j = up._anchor_idx + k // a.stride
|
| 132 |
+
diff('dense_vs_upstream_points', dense[:, k], sparse[:, j], 1e-4)
|
| 133 |
+
bad = {k: v for k, v in res.items() if k in tol and v > tol[k]}
|
| 134 |
+
ok = not bad and res['_bc_pos_indices_equal']
|
| 135 |
+
print(json.dumps(dict(ok=ok, max_abs_diff=res, tolerance=tol, stride=a.stride,
|
| 136 |
+
upstream_anchor_idx=int(up._anchor_idx), port_anchor=int(ours.anchor))), flush=True)
|
| 137 |
+
sys.exit(0 if ok else 1)
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
if __name__ == '__main__':
|
| 141 |
+
main()
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/data.py
ADDED
|
@@ -0,0 +1,363 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Training data of the baselines: a task's LeRobot v2.1 expert dataset read through a robot contract.
|
| 2 |
+
|
| 3 |
+
A contract names the cameras and which dataset columns form the policy state and the action rows, the same layouts
|
| 4 |
+
the registered GR00T / Psi0 checkpoints were trained on:
|
| 5 |
+
|
| 6 |
+
- `g1_sonic_dfx6` (G1 + INSPIRE, the evaluation/README.md interface; ego_view, chest): state44 =
|
| 7 |
+
`observation.state[0:29]` body, measured `observation.inspire_{left,right}_hand_state`,
|
| 8 |
+
`observation.projected_gravity`; action76 (`sonic_dfx6`) = `action.motion_token` 64 and the measured DFX6 of the
|
| 9 |
+
same row (row 0 = the current opening);
|
| 10 |
+
- `h2_sharpa` (H2 + Sharpa, debug/newton/h2_sharpa_policy_eval.py; head, chest): state78 = `observation.state` 75,
|
| 11 |
+
`observation.projected_gravity` 3; action75 = `action.body_target` 31, `action.hands` 44 (absolute targets);
|
| 12 |
+
- `h2_sharpa_planner` (H2 + Sharpa a14 v2, h2_policy_planner_eval.py; head, chest): state78; action82 = action75 +
|
| 13 |
+
`action.planner` 7.
|
| 14 |
+
|
| 15 |
+
Frames: every camera's video is decoded once (PyAV), each frame resized with `resize_frame` (OpenCV INTER_AREA, the
|
| 16 |
+
same function the policy runtime applies to live frames) and stored as a uint8 memory map in a cache directory keyed by
|
| 17 |
+
the dataset, episodes, camera and size. A training sample is the frame t of an episode: the cameras and the state at t,
|
| 18 |
+
and the action rows t..t+horizon-1 (rows past the episode's end repeat its last row, as DextraVerse's windows).
|
| 19 |
+
"""
|
| 20 |
+
from __future__ import annotations
|
| 21 |
+
|
| 22 |
+
from dataclasses import dataclass
|
| 23 |
+
import hashlib
|
| 24 |
+
import json
|
| 25 |
+
import os
|
| 26 |
+
from pathlib import Path
|
| 27 |
+
import sys
|
| 28 |
+
|
| 29 |
+
import numpy as np
|
| 30 |
+
|
| 31 |
+
CACHE_VERSION = 1
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
@dataclass(frozen=True)
|
| 35 |
+
class Contract:
|
| 36 |
+
name: str
|
| 37 |
+
robot: str
|
| 38 |
+
cameras: tuple
|
| 39 |
+
state: tuple # ((column, start, end), ...) concatenated in order
|
| 40 |
+
action: tuple
|
| 41 |
+
action_space: str | None = None # the G1 evaluation interface's action space, if any
|
| 42 |
+
body_dims: int = 0 # leading raw-radian body joint angles of the state (augmentation spec v2 perturbs these)
|
| 43 |
+
|
| 44 |
+
@property
|
| 45 |
+
def state_dim(self) -> int:
|
| 46 |
+
return sum(end - start for _, start, end in self.state)
|
| 47 |
+
|
| 48 |
+
@property
|
| 49 |
+
def action_dim(self) -> int:
|
| 50 |
+
return sum(end - start for _, start, end in self.action)
|
| 51 |
+
|
| 52 |
+
def to_dict(self, cameras=None) -> dict:
|
| 53 |
+
return dict(name=self.name, robot=self.robot, cameras=list(cameras or self.cameras),
|
| 54 |
+
state=[list(s) for s in self.state], action=[list(a) for a in self.action],
|
| 55 |
+
state_dim=self.state_dim, action_dim=self.action_dim, action_space=self.action_space,
|
| 56 |
+
body_dims=self.body_dims)
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
_G1_HANDS = (('observation.inspire_left_hand_state', 0, 6), ('observation.inspire_right_hand_state', 0, 6))
|
| 60 |
+
_H2_STATE = (('observation.state', 0, 75), ('observation.projected_gravity', 0, 3))
|
| 61 |
+
_H2_ACTION = (('action.body_target', 0, 31), ('action.hands', 0, 44))
|
| 62 |
+
# body_dims: G1 observation.state[0:29] are the 29 body joints; H2 observation.state[0:31] are legs 6+6, waist 3,
|
| 63 |
+
# head 2, arms 7+7 (docs/unitree_h2_sharpa.md), then the Sharpa hands.
|
| 64 |
+
CONTRACTS = {c.name: c for c in (
|
| 65 |
+
Contract('g1_sonic_dfx6', 'g1', ('ego_view', 'chest'),
|
| 66 |
+
(('observation.state', 0, 29), *_G1_HANDS, ('observation.projected_gravity', 0, 3)),
|
| 67 |
+
(('action.motion_token', 0, 64), *_G1_HANDS), action_space='sonic_dfx6', body_dims=29),
|
| 68 |
+
Contract('h2_sharpa', 'h2_sharpa', ('head', 'chest'), _H2_STATE, _H2_ACTION, body_dims=31),
|
| 69 |
+
Contract('h2_sharpa_planner', 'h2_sharpa', ('head', 'chest'), _H2_STATE,
|
| 70 |
+
(*_H2_ACTION, ('action.planner', 0, 7)), body_dims=31),
|
| 71 |
+
)}
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
def augmentation_module():
|
| 75 |
+
"""evaluation/augmentation: the augmentation spec v2 shared by every model's training (imported on demand)."""
|
| 76 |
+
evaluation = str(Path(__file__).resolve().parents[1])
|
| 77 |
+
if evaluation not in sys.path:
|
| 78 |
+
sys.path.insert(0, evaluation)
|
| 79 |
+
import augmentation
|
| 80 |
+
return augmentation
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def resize_frame(frame: np.ndarray, hw) -> np.ndarray:
|
| 84 |
+
"""(H, W, 3) uint8 RGB -> (h, w, 3) uint8, OpenCV INTER_AREA (training cache and live frames alike)."""
|
| 85 |
+
import cv2
|
| 86 |
+
frame = np.ascontiguousarray(frame, dtype=np.uint8)
|
| 87 |
+
if frame.ndim != 3 or frame.shape[2] != 3:
|
| 88 |
+
raise ValueError(f'expected an (H, W, 3) RGB frame, got {frame.shape}')
|
| 89 |
+
h, w = int(hw[0]), int(hw[1])
|
| 90 |
+
if frame.shape[:2] == (h, w):
|
| 91 |
+
return frame
|
| 92 |
+
return cv2.resize(frame, (w, h), interpolation=cv2.INTER_AREA)
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
class LeRobotDataset:
|
| 96 |
+
"""A LeRobot v2.1 dataset directory (meta/info.json, meta/episodes.jsonl, data/, videos/)."""
|
| 97 |
+
|
| 98 |
+
def __init__(self, root):
|
| 99 |
+
self.root = Path(root).expanduser().resolve()
|
| 100 |
+
self.info = json.loads((self.root / 'meta/info.json').read_text())
|
| 101 |
+
if self.info.get('codebase_version') != 'v2.1':
|
| 102 |
+
raise ValueError(f"{self.root}: LeRobot {self.info.get('codebase_version')}, expected v2.1")
|
| 103 |
+
rows = [json.loads(line) for line in (self.root / 'meta/episodes.jsonl').read_text().splitlines() if line]
|
| 104 |
+
self.lengths = {int(r['episode_index']): int(r['length']) for r in rows}
|
| 105 |
+
tasks = [json.loads(line) for line in (self.root / 'meta/tasks.jsonl').read_text().splitlines() if line]
|
| 106 |
+
self.tasks = {int(t['task_index']): t['task'] for t in tasks}
|
| 107 |
+
self.fps = float(self.info['fps'])
|
| 108 |
+
|
| 109 |
+
@property
|
| 110 |
+
def name(self) -> str:
|
| 111 |
+
"""The dataset's folder name (its parent's for an export folder named `lerobot`)."""
|
| 112 |
+
return self.root.parent.name if self.root.name == 'lerobot' else self.root.name
|
| 113 |
+
|
| 114 |
+
def chunk(self, episode: int) -> int:
|
| 115 |
+
return episode // int(self.info['chunks_size'])
|
| 116 |
+
|
| 117 |
+
def parquet(self, episode: int) -> Path:
|
| 118 |
+
return self.root / self.info['data_path'].format(episode_chunk=self.chunk(episode), episode_index=episode)
|
| 119 |
+
|
| 120 |
+
def video(self, episode: int, camera: str) -> Path:
|
| 121 |
+
return self.root / self.info['video_path'].format(episode_chunk=self.chunk(episode), episode_index=episode,
|
| 122 |
+
video_key=f'observation.images.{camera}')
|
| 123 |
+
|
| 124 |
+
def check_contract(self, contract: Contract, cameras):
|
| 125 |
+
features = self.info['features']
|
| 126 |
+
for column, start, end in (*contract.state, *contract.action):
|
| 127 |
+
if column not in features:
|
| 128 |
+
raise KeyError(f'{self.root.name}: no column {column!r} (contract {contract.name})')
|
| 129 |
+
width = int(np.prod(features[column]['shape']))
|
| 130 |
+
if end > width:
|
| 131 |
+
raise ValueError(f'{column} has {width} values; the contract reads {start}:{end}')
|
| 132 |
+
for camera in cameras:
|
| 133 |
+
key = f'observation.images.{camera}'
|
| 134 |
+
if features.get(key, {}).get('dtype') != 'video':
|
| 135 |
+
raise KeyError(f'{self.root.name}: no video {key!r}')
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def parse_episodes(spec: str | None, available) -> list:
|
| 139 |
+
"""'0:100', '0,3,7' or None (all), restricted to the dataset's episodes, sorted."""
|
| 140 |
+
available = sorted(available)
|
| 141 |
+
if not spec:
|
| 142 |
+
return available
|
| 143 |
+
chosen = set()
|
| 144 |
+
for part in spec.split(','):
|
| 145 |
+
if ':' in part:
|
| 146 |
+
lo, hi = part.split(':')
|
| 147 |
+
chosen.update(range(int(lo or 0), int(hi) if hi else available[-1] + 1))
|
| 148 |
+
else:
|
| 149 |
+
chosen.add(int(part))
|
| 150 |
+
missing = sorted(chosen - set(available))
|
| 151 |
+
if missing:
|
| 152 |
+
raise ValueError(f'episodes not in the dataset: {missing[:10]}')
|
| 153 |
+
return sorted(chosen)
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
def load_lowdim(dataset: LeRobotDataset, contract: Contract, episodes) -> dict:
|
| 157 |
+
"""State (N, state_dim) and action (N, action_dim) float32 of the episodes in order, plus each episode's start
|
| 158 |
+
row, length and task text."""
|
| 159 |
+
import pyarrow.parquet as pq
|
| 160 |
+
columns = sorted({c for c, _, _ in (*contract.state, *contract.action)} | {'frame_index', 'task_index'})
|
| 161 |
+
states, actions, starts, lengths, tasks, offset = [], [], [], [], set(), 0
|
| 162 |
+
for episode in episodes:
|
| 163 |
+
table = pq.read_table(dataset.parquet(episode), columns=columns)
|
| 164 |
+
data = {c: np.asarray(table.column(c).to_pylist(), dtype=np.float64) for c in columns}
|
| 165 |
+
n = len(data['frame_index'])
|
| 166 |
+
if n != dataset.lengths[episode] or not np.array_equal(data['frame_index'], np.arange(n)):
|
| 167 |
+
raise ValueError(f'episode {episode}: {n} rows / frame_index differ from episodes.jsonl')
|
| 168 |
+
|
| 169 |
+
def pick(spec):
|
| 170 |
+
return np.concatenate([data[c].reshape(n, -1)[:, s:e] for c, s, e in spec], axis=1).astype(np.float32)
|
| 171 |
+
|
| 172 |
+
states.append(pick(contract.state))
|
| 173 |
+
actions.append(pick(contract.action))
|
| 174 |
+
tasks.update(dataset.tasks[int(i)] for i in np.unique(data['task_index']))
|
| 175 |
+
starts.append(offset)
|
| 176 |
+
lengths.append(n)
|
| 177 |
+
offset += n
|
| 178 |
+
state, action = np.concatenate(states), np.concatenate(actions)
|
| 179 |
+
if not (np.isfinite(state).all() and np.isfinite(action).all()):
|
| 180 |
+
raise ValueError('non-finite state or action values')
|
| 181 |
+
return dict(state=state, action=action, starts=np.asarray(starts), lengths=np.asarray(lengths),
|
| 182 |
+
episodes=list(episodes), tasks=sorted(tasks))
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
def statistics(lowdim: dict, rows: np.ndarray) -> dict:
|
| 186 |
+
out = {}
|
| 187 |
+
for key in ('state', 'action'):
|
| 188 |
+
x = lowdim[key][rows].astype(np.float64)
|
| 189 |
+
out[key] = dict(min=x.min(0).tolist(), max=x.max(0).tolist(), mean=x.mean(0).tolist(), std=x.std(0).tolist())
|
| 190 |
+
return out
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
# -- frame cache --------------------------------------------------------------------------------------------------
|
| 194 |
+
def _decode_into(job):
|
| 195 |
+
path, out_path, total, start, length, hw = job
|
| 196 |
+
import av
|
| 197 |
+
frames = np.memmap(out_path, dtype=np.uint8, mode='r+', shape=(total, hw[0], hw[1], 3))
|
| 198 |
+
count = 0
|
| 199 |
+
with av.open(str(path)) as container:
|
| 200 |
+
stream = container.streams.video[0]
|
| 201 |
+
stream.thread_type = 'AUTO'
|
| 202 |
+
for frame in container.decode(stream):
|
| 203 |
+
if count < length:
|
| 204 |
+
frames[start + count] = resize_frame(frame.to_ndarray(format='rgb24'), hw)
|
| 205 |
+
count += 1
|
| 206 |
+
frames.flush()
|
| 207 |
+
del frames
|
| 208 |
+
if count != length:
|
| 209 |
+
raise ValueError(f'{path}: {count} video frames, {length} data rows')
|
| 210 |
+
return length
|
| 211 |
+
|
| 212 |
+
|
| 213 |
+
def frame_cache(dataset: LeRobotDataset, lowdim: dict, cameras, hw, cache_root, workers=8) -> dict:
|
| 214 |
+
"""{camera: path of the (N, h, w, 3) uint8 memory map} for the episodes of `lowdim`, decoded once and reused."""
|
| 215 |
+
from multiprocessing import get_context
|
| 216 |
+
total = int(lowdim['lengths'].sum())
|
| 217 |
+
paths = {}
|
| 218 |
+
for camera in cameras:
|
| 219 |
+
key = json.dumps(dict(version=CACHE_VERSION, root=str(dataset.root), episodes=lowdim['episodes'],
|
| 220 |
+
lengths=lowdim['lengths'].tolist(), camera=camera, hw=list(hw)), sort_keys=True)
|
| 221 |
+
digest = hashlib.sha256(key.encode()).hexdigest()[:16]
|
| 222 |
+
folder = Path(cache_root).expanduser() / f'{dataset.name}_{camera}_{hw[0]}x{hw[1]}_{digest}'
|
| 223 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 224 |
+
out, meta = folder / 'frames.u8', folder / 'meta.json'
|
| 225 |
+
if meta.exists() and json.loads(meta.read_text()).get('complete'):
|
| 226 |
+
paths[camera] = out
|
| 227 |
+
continue
|
| 228 |
+
np.memmap(out, dtype=np.uint8, mode='w+', shape=(total, hw[0], hw[1], 3)).flush()
|
| 229 |
+
jobs = [(dataset.video(e, camera), out, total, int(s), int(n), tuple(hw))
|
| 230 |
+
for e, s, n in zip(lowdim['episodes'], lowdim['starts'], lowdim['lengths'])]
|
| 231 |
+
with get_context('spawn').Pool(max(1, int(workers))) as pool: # the caller may hold torch threads
|
| 232 |
+
for done, _ in enumerate(pool.imap_unordered(_decode_into, jobs), 1):
|
| 233 |
+
if done % 20 == 0 or done == len(jobs):
|
| 234 |
+
print(json.dumps(dict(event='frame_cache', camera=camera, episodes=done, of=len(jobs))),
|
| 235 |
+
flush=True)
|
| 236 |
+
meta.write_text(json.dumps(dict(json.loads(key), frames=total, complete=True), indent=1))
|
| 237 |
+
paths[camera] = out
|
| 238 |
+
return paths
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
class ChunkDataset:
|
| 242 |
+
"""torch-style dataset of (images (n_cameras, h, w, 3) uint8, state (state_dim,), action (horizon, action_dim))
|
| 243 |
+
over the frames of the selected episodes (positions into lowdim['episodes']). Memory maps open lazily per
|
| 244 |
+
process (DataLoader workers).
|
| 245 |
+
|
| 246 |
+
`body_dims` > 0 turns on the training augmentation (docs/augmentation_v2.md, evaluation/augmentation): per item,
|
| 247 |
+
the cached frames of all cameras get one hb_aug_v2.augment call (one time step, no future targets) and the first
|
| 248 |
+
`body_dims` state values the per-sample joint bias + noise; the action rows are never touched. 0 (evaluation,
|
| 249 |
+
offline checks) returns the cached frames and the recorded state unchanged, deterministically."""
|
| 250 |
+
|
| 251 |
+
def __init__(self, lowdim: dict, frames: dict, cameras, hw, horizon: int, positions, body_dims: int = 0):
|
| 252 |
+
self.lowdim, self.paths, self.cameras, self.hw, self.horizon = lowdim, frames, list(cameras), tuple(hw), horizon
|
| 253 |
+
self.positions, self.body_dims = list(positions), int(body_dims)
|
| 254 |
+
if self.body_dims:
|
| 255 |
+
augmentation_module() # asserts the spec version before any worker starts
|
| 256 |
+
self.total = int(lowdim['lengths'].sum())
|
| 257 |
+
index, end = [], np.zeros(self.total, np.int64)
|
| 258 |
+
for p in positions:
|
| 259 |
+
s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
|
| 260 |
+
index.append(np.arange(s, s + n))
|
| 261 |
+
end[s:s + n] = s + n
|
| 262 |
+
self.index, self.end = np.concatenate(index), end
|
| 263 |
+
self._maps, self._pid = None, None
|
| 264 |
+
|
| 265 |
+
def __len__(self):
|
| 266 |
+
return len(self.index)
|
| 267 |
+
|
| 268 |
+
def _frames(self):
|
| 269 |
+
if self._maps is None or self._pid != os.getpid():
|
| 270 |
+
self._maps = {c: np.memmap(self.paths[c], dtype=np.uint8, mode='r', shape=(self.total, *self.hw, 3))
|
| 271 |
+
for c in self.cameras}
|
| 272 |
+
self._pid = os.getpid()
|
| 273 |
+
return self._maps
|
| 274 |
+
|
| 275 |
+
def rows(self, i: int) -> np.ndarray:
|
| 276 |
+
return np.minimum(np.arange(i, i + self.horizon), self.end[i] - 1)
|
| 277 |
+
|
| 278 |
+
def plain(self):
|
| 279 |
+
"""The same items without augmentation (the preflight's reference read)."""
|
| 280 |
+
return ChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.horizon, self.positions)
|
| 281 |
+
|
| 282 |
+
def _observation(self, i: int, rng=None):
|
| 283 |
+
"""The cameras (n_cameras, h, w, 3) uint8 and the state of frame i, augmented when body_dims > 0."""
|
| 284 |
+
import torch
|
| 285 |
+
maps = self._frames()
|
| 286 |
+
images = torch.from_numpy(np.stack([maps[c][i] for c in self.cameras]))
|
| 287 |
+
state = self.lowdim['state'][i]
|
| 288 |
+
if self.body_dims:
|
| 289 |
+
augmentation = augmentation_module()
|
| 290 |
+
images, _ = augmentation.augment_frames_uint8(images, rng=rng)
|
| 291 |
+
state = augmentation.perturb_body(state, self.body_dims, rng=rng)
|
| 292 |
+
return images, torch.from_numpy(np.asarray(state, dtype=np.float32))
|
| 293 |
+
|
| 294 |
+
def __getitem__(self, k):
|
| 295 |
+
import torch
|
| 296 |
+
i = int(self.index[k])
|
| 297 |
+
images, state = self._observation(i)
|
| 298 |
+
return images, state, torch.from_numpy(self.lowdim['action'][self.rows(i)])
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
class FlashChunkDataset(ChunkDataset):
|
| 302 |
+
"""FLASH training items (evaluation/baselines/flash.py) over every frame of the selected episodes as the anchor:
|
| 303 |
+
(images, state, poly, history, has_history[, dense, dense_valid]).
|
| 304 |
+
|
| 305 |
+
- images, state: the anchor frame's cameras and state44, augmented as ChunkDataset (spec v2) when body_dims > 0;
|
| 306 |
+
- poly (H_ext, action_dim): the action rows at `offsets` frames from the anchor (the polynomial's extended grid,
|
| 307 |
+
`stride` frames apart), clamped to the episode (FLASH's edge padding);
|
| 308 |
+
- history (n_history, action_dim), has_history: flash.history_rows over the `span` executed rows before the anchor
|
| 309 |
+
(rows before the episode start invalid), the same function the adapter applies to past_actions;
|
| 310 |
+
- dense (rows, action_dim), dense_valid: the recorded 30 Hz rows from the anchor (offline check only).
|
| 311 |
+
|
| 312 |
+
aug_seed: the augmentation random stream is numpy default_rng([aug_seed, torch.initial_seed(), worker id]) per
|
| 313 |
+
DataLoader worker (deterministic for a fixed seed, worker count and sampling order); None uses the shared
|
| 314 |
+
worker_rng (pid + urandom)."""
|
| 315 |
+
|
| 316 |
+
def __init__(self, lowdim, frames, cameras, hw, positions, *, offsets, stride, n_history, rows, body_dims=0,
|
| 317 |
+
aug_seed=None, with_dense=False):
|
| 318 |
+
super().__init__(lowdim, frames, cameras, hw, rows, positions, body_dims=body_dims)
|
| 319 |
+
self.offsets = np.asarray(offsets, dtype=np.int64)
|
| 320 |
+
self.stride, self.n_history, self.n_rows = int(stride), int(n_history), int(rows)
|
| 321 |
+
self.span = (self.n_history - 1) * self.stride + 1
|
| 322 |
+
self.aug_seed, self.with_dense = aug_seed, bool(with_dense)
|
| 323 |
+
start = np.zeros(self.total, np.int64)
|
| 324 |
+
for p in positions:
|
| 325 |
+
s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
|
| 326 |
+
start[s:s + n] = s
|
| 327 |
+
self.start = start
|
| 328 |
+
self._rng_key, self._rng_obj = None, None
|
| 329 |
+
|
| 330 |
+
def plain(self):
|
| 331 |
+
return FlashChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.positions, offsets=self.offsets,
|
| 332 |
+
stride=self.stride, n_history=self.n_history, rows=self.n_rows,
|
| 333 |
+
with_dense=self.with_dense)
|
| 334 |
+
|
| 335 |
+
def _rng(self):
|
| 336 |
+
if self.aug_seed is None or not self.body_dims:
|
| 337 |
+
return None
|
| 338 |
+
import torch
|
| 339 |
+
info = torch.utils.data.get_worker_info()
|
| 340 |
+
wid = info.id if info is not None else 0
|
| 341 |
+
key = (os.getpid(), wid)
|
| 342 |
+
if self._rng_key != key:
|
| 343 |
+
self._rng_obj = np.random.default_rng([int(self.aug_seed), int(torch.initial_seed()), int(wid)])
|
| 344 |
+
self._rng_key = key
|
| 345 |
+
return self._rng_obj
|
| 346 |
+
|
| 347 |
+
def __getitem__(self, k):
|
| 348 |
+
import torch
|
| 349 |
+
from .flash import history_rows
|
| 350 |
+
i = int(self.index[k])
|
| 351 |
+
s0, e1 = int(self.start[i]), int(self.end[i])
|
| 352 |
+
images, state = self._observation(i, rng=self._rng())
|
| 353 |
+
action = self.lowdim['action']
|
| 354 |
+
poly = action[np.clip(i + self.offsets, s0, e1 - 1)]
|
| 355 |
+
past = i - self.span + np.arange(self.span)
|
| 356 |
+
history, has = history_rows(action[np.maximum(past, s0)], past >= s0, self.stride, self.n_history)
|
| 357 |
+
out = [images, state, torch.from_numpy(np.ascontiguousarray(poly)), torch.from_numpy(history),
|
| 358 |
+
torch.tensor(bool(has))]
|
| 359 |
+
if self.with_dense:
|
| 360 |
+
idx = i + np.arange(self.n_rows)
|
| 361 |
+
out += [torch.from_numpy(np.ascontiguousarray(action[np.minimum(idx, e1 - 1)])),
|
| 362 |
+
torch.from_numpy(idx < e1)]
|
| 363 |
+
return tuple(out)
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/flash.py
ADDED
|
@@ -0,0 +1,412 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FLASH (Bai et al., "FLASH: Efficient Visuomotor Policy via Sparse Sampling", NeurIPS 2026) behind the baselines
|
| 2 |
+
contract: history-to-future polynomial flow matching with a DiT backbone and one Euler step at inference.
|
| 3 |
+
|
| 4 |
+
Ported from NTUMARS/FLASH-Policy @ f47e490 (Apache-2.0): `roboverse_learn/il/policies/flash/flash_policy.py`
|
| 5 |
+
(`FlashDiTImagePolicy`: basis, least-squares and Tikhonov history fits, KKT C1 boundary constraint, loss, sampler),
|
| 6 |
+
`utils/models/flow_net.py` + `policies/dp/models/diffusion/positional_embedding.py` (the DiT and its torchtune RoPE,
|
| 7 |
+
which differs from the DextraVerse RoPE of nets.py), `utils/vision/multi_image_obs_encoder.py` (one ResNet18 per
|
| 8 |
+
camera, GroupNorm, ImageNet normalization of the range-normalized image) and `configs/policy_config/flash.yaml` +
|
| 9 |
+
`configs/train_config/default_train.yaml` (the defaults below). Architecture, initialization and loss are unchanged.
|
| 10 |
+
|
| 11 |
+
What the humanoid interface changes (owner decisions 2026-11-24, recorded in every checkpoint's config):
|
| 12 |
+
|
| 13 |
+
- **Action space and history.** FLASH fits its flow start to the measured history of the action quantity (Franka
|
| 14 |
+
joint positions). The G1 action76 is the SONIC motion token (64, a latent with no measured counterpart) plus the
|
| 15 |
+
measured INSPIRE openings (12). The history is therefore the *executed* action rows - the token sent at each frame
|
| 16 |
+
and the opening measured at it, the interface's `past_actions` - ending one frame before the query (row t-1: the
|
| 17 |
+
token of frame t is what the policy is asked for). Training reads the same dataset rows. `n_history` points at the
|
| 18 |
+
sampling stride; rows before the episode start repeat its first row (FLASH's edge padding); with no row at all (the
|
| 19 |
+
episode's first frame) the flow starts from the zero coefficients, in training as at deployment.
|
| 20 |
+
- **Sampling stride.** The model's points are `stride` dataset frames apart (30 Hz data: stride 2 = 67 ms, the paper's
|
| 21 |
+
4 x 15 ms = 60 ms). Every dataset frame is an anchor (FLASH's converter keeps only every stride-th frame: one phase
|
| 22 |
+
of the same sparse data).
|
| 23 |
+
- **Observation.** The current ego_view and chest frames and state44 condition the DiT (n_obs 1); FLASH's 8-frame
|
| 24 |
+
observation history is not rendered by the benchmark runners. state44 is the low-dim encoder input as agent_pos is.
|
| 25 |
+
- **Output.** The polynomial is evaluated at every 30 Hz frame from the anchor (`rows` rows, row 0 = the query frame),
|
| 26 |
+
the analytic form of FLASH's continuous-time resampling, at exact frame times. FLASH's velocity feed-forward has no
|
| 27 |
+
channel in the interface (SONIC takes tokens) and is not produced.
|
| 28 |
+
- Polynomial fits run in float32 outside autocast (FLASH runs them inside its bf16 autocast); the encoder and the
|
| 29 |
+
DiT run under the trainer's bf16 autocast as upstream.
|
| 30 |
+
- Augmentation spec v2 replaces the native image augmentation (FLASH's random_crop is configured but inert without
|
| 31 |
+
crop_shape).
|
| 32 |
+
"""
|
| 33 |
+
from __future__ import annotations
|
| 34 |
+
|
| 35 |
+
import copy
|
| 36 |
+
|
| 37 |
+
import numpy as np
|
| 38 |
+
import torch
|
| 39 |
+
import torch.nn as nn
|
| 40 |
+
import torch.nn.functional as F
|
| 41 |
+
import torchvision
|
| 42 |
+
|
| 43 |
+
from .nets import IMAGENET_MEAN, IMAGENET_STD, Mlp, SinusoidalPosEmb, replace_batchnorm_with_groupnorm
|
| 44 |
+
|
| 45 |
+
# configs/policy_config/flash.yaml (+ default_runner.yaml horizon 16 / n_obs 8 / n_action 8), owner 2026-11-24 stride 2
|
| 46 |
+
FLASH_DEFAULTS = dict(stride=2, n_history=8, n_action=8, rows=16, poly_order=6, fit_pad=1, boundary_constraint=True,
|
| 47 |
+
poly_prefix=1, poly_suffix=1, history_noise_std=0.5, history_reg_lambda=0.1,
|
| 48 |
+
consistency_weight=1.0, solver='euler')
|
| 49 |
+
# PolicyConfig fields of a FLASH run (flash.yaml + default_train.yaml): DiT 512 x 4 x 8, dropout 0, time embedding
|
| 50 |
+
# 256, one inference step, ResNet18 from scratch with GroupNorm, one per camera
|
| 51 |
+
FLASH_POLICY_FIELDS = dict(hidden_dim=512, num_layers=4, num_heads=8, mlp_ratio=4.0, dropout=0.0, time_embed_dim=256,
|
| 52 |
+
num_inference_steps=1, backbone='resnet18', backbone_weights=None, backbone_norm='group')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def flash_settings(cfg) -> dict:
|
| 56 |
+
"""The FLASH settings of a PolicyConfig (cfg.extra['flash'] over the defaults); unknown keys are an error."""
|
| 57 |
+
given = dict((cfg.extra or {}).get('flash', {}))
|
| 58 |
+
unknown = sorted(set(given) - set(FLASH_DEFAULTS))
|
| 59 |
+
if unknown:
|
| 60 |
+
raise KeyError(f'unknown FLASH settings {unknown}; known: {sorted(FLASH_DEFAULTS)}')
|
| 61 |
+
out = dict(FLASH_DEFAULTS, **given)
|
| 62 |
+
if out['solver'] not in ('euler', 'midpoint'):
|
| 63 |
+
raise ValueError(f"solver {out['solver']!r}")
|
| 64 |
+
if out['poly_prefix'] is None or int(out['poly_prefix']) < 0:
|
| 65 |
+
raise ValueError('this port implements poly_prefix >= 0 (flash.yaml: 1)')
|
| 66 |
+
return out
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
# --- networks: utils/models/flow_net.py and positional_embedding.py of FLASH-Policy ------------------------------
|
| 70 |
+
class RotaryPosEmbFlash(nn.Module):
|
| 71 |
+
"""torchtune RoPE as FLASH builds it: `dim` = the model width, its dim/2 frequencies split over the heads, pairs
|
| 72 |
+
interleaved (x[..., 0::2], x[..., 1::2])."""
|
| 73 |
+
|
| 74 |
+
def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
|
| 75 |
+
super().__init__()
|
| 76 |
+
self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
|
| 77 |
+
theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
|
| 78 |
+
self.register_buffer('theta', theta, persistent=False)
|
| 79 |
+
seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
|
| 80 |
+
idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
|
| 81 |
+
self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
|
| 82 |
+
persistent=False)
|
| 83 |
+
|
| 84 |
+
def forward(self, x): # x: (B, heads, S, head_dim)
|
| 85 |
+
x = x.permute(0, 2, 1, 3)
|
| 86 |
+
B, S, heads, head_dim = x.size()
|
| 87 |
+
rope = self.cache[:S].view(1, S, heads, head_dim // 2, 2)
|
| 88 |
+
xs = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
|
| 89 |
+
out = torch.stack([xs[..., 0] * rope[..., 0] - xs[..., 1] * rope[..., 1],
|
| 90 |
+
xs[..., 1] * rope[..., 0] + xs[..., 0] * rope[..., 1]], -1)
|
| 91 |
+
return out.flatten(3).permute(0, 2, 1, 3).type_as(x)
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
class FlashAttention(nn.Module):
|
| 95 |
+
def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, max_seq_len=256, qk_norm=True):
|
| 96 |
+
super().__init__()
|
| 97 |
+
assert dim % num_heads == 0, 'dim should be divisible by num_heads'
|
| 98 |
+
self.num_heads, self.head_dim = num_heads, dim // num_heads
|
| 99 |
+
self.attn_drop = attn_drop
|
| 100 |
+
self.proj_drop = nn.Dropout(proj_drop)
|
| 101 |
+
self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
|
| 102 |
+
self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 103 |
+
self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 104 |
+
self.proj = nn.Linear(dim, dim)
|
| 105 |
+
self.rope = RotaryPosEmbFlash(dim, max_seq_len=max_seq_len)
|
| 106 |
+
|
| 107 |
+
def forward(self, x):
|
| 108 |
+
B, S, C = x.shape
|
| 109 |
+
q, k, v = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
|
| 110 |
+
q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
|
| 111 |
+
x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
|
| 112 |
+
return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
class FlashAdaLNBlock(nn.Module):
|
| 116 |
+
def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0, max_seq_len=256):
|
| 117 |
+
super().__init__()
|
| 118 |
+
self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 119 |
+
self.attn = FlashAttention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout,
|
| 120 |
+
max_seq_len=max_seq_len)
|
| 121 |
+
self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 122 |
+
self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
|
| 123 |
+
act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
|
| 124 |
+
self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
|
| 125 |
+
self.dim = dim
|
| 126 |
+
nn.init.constant_(self.ada_ln[-1].weight, 0)
|
| 127 |
+
nn.init.constant_(self.ada_ln[-1].bias, 0)
|
| 128 |
+
|
| 129 |
+
def forward(self, x, t, c):
|
| 130 |
+
B = x.shape[0]
|
| 131 |
+
gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
|
| 132 |
+
x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
|
| 133 |
+
return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
class FlashFlowTransformer(nn.Module):
|
| 137 |
+
"""FLASH's FlowTransformer: AdaLN DiT over the C coefficient rows (tokens of width action_dim)."""
|
| 138 |
+
|
| 139 |
+
def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
|
| 140 |
+
dropout=0.1, time_embed_dim=256, max_seq_len=256):
|
| 141 |
+
super().__init__()
|
| 142 |
+
self.input_proj = nn.Linear(input_dim, hidden_dim)
|
| 143 |
+
self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
|
| 144 |
+
nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
|
| 145 |
+
self.cond_embed = nn.Linear(condition_dim, hidden_dim)
|
| 146 |
+
self.transformer_blocks = nn.ModuleList(
|
| 147 |
+
[FlashAdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout, max_seq_len=max_seq_len)
|
| 148 |
+
for _ in range(num_layers)])
|
| 149 |
+
self.norm = nn.LayerNorm(hidden_dim)
|
| 150 |
+
self.out_proj = nn.Linear(hidden_dim, output_dim)
|
| 151 |
+
|
| 152 |
+
def basic_init(module):
|
| 153 |
+
if isinstance(module, nn.Linear):
|
| 154 |
+
nn.init.xavier_uniform_(module.weight)
|
| 155 |
+
if module.bias is not None:
|
| 156 |
+
nn.init.constant_(module.bias, 0)
|
| 157 |
+
|
| 158 |
+
self.apply(basic_init)
|
| 159 |
+
nn.init.normal_(self.time_embed[1].weight, std=0.02)
|
| 160 |
+
nn.init.normal_(self.time_embed[3].weight, std=0.02)
|
| 161 |
+
|
| 162 |
+
def forward(self, x, t, global_cond):
|
| 163 |
+
if not torch.is_tensor(t):
|
| 164 |
+
t = torch.tensor(t, device=x.device)
|
| 165 |
+
if t.ndim == 0:
|
| 166 |
+
t = t.expand(x.shape[0])
|
| 167 |
+
x = self.input_proj(x)
|
| 168 |
+
t = self.time_embed(t)
|
| 169 |
+
c = self.cond_embed(global_cond)
|
| 170 |
+
for block in self.transformer_blocks:
|
| 171 |
+
x = block(x, t, c)
|
| 172 |
+
return self.out_proj(self.norm(x))
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
class FlashObsEncoder(nn.Module):
|
| 176 |
+
"""FLASH's MultiImageObsEncoder (share_rgb_model False, use_group_norm, imagenet_norm, no resize / crop): one
|
| 177 |
+
torchvision ResNet (classifier removed) per camera, every copy deep-copied from one initialization, BatchNorm
|
| 178 |
+
replaced by GroupNorm(C // 16) after the copy; each [0, 1] image goes through FLASH's range normalizer (x 2 - 1)
|
| 179 |
+
and then torchvision's ImageNet Normalize, as upstream composes them. Output: the cameras' pooled features in the
|
| 180 |
+
contract's camera order, then the normalized state. (B, n_cameras * 512 + state_dim)."""
|
| 181 |
+
|
| 182 |
+
def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None):
|
| 183 |
+
super().__init__()
|
| 184 |
+
base = getattr(torchvision.models, backbone)(weights=weights)
|
| 185 |
+
base.fc = nn.Identity()
|
| 186 |
+
self.rgb = nn.ModuleList([replace_batchnorm_with_groupnorm(copy.deepcopy(base)) for _ in range(n_cameras)])
|
| 187 |
+
self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
|
| 188 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
|
| 189 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
|
| 190 |
+
self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
|
| 191 |
+
|
| 192 |
+
def forward(self, images, state):
|
| 193 |
+
"""images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
|
| 194 |
+
x = images * 2.0 - 1.0 # get_image_range_normalizer: [0, 1] -> [-1, 1]
|
| 195 |
+
feats = [net((x[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)]
|
| 196 |
+
return torch.cat([*feats, state], dim=-1)
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
# --- the policy ---------------------------------------------------------------------------------------------------
|
| 200 |
+
def legendre_basis(s: torch.Tensor, degree: int):
|
| 201 |
+
"""Shifted Legendre basis on s in [0, 1] and its first / second derivatives (FLASH's _build_legendre_basis)."""
|
| 202 |
+
x = 2 * s - 1
|
| 203 |
+
H, C = len(s), degree + 1
|
| 204 |
+
P = torch.zeros(H, C, dtype=s.dtype)
|
| 205 |
+
dP = torch.zeros(H, C, dtype=s.dtype)
|
| 206 |
+
d2P = torch.zeros(H, C, dtype=s.dtype)
|
| 207 |
+
P[:, 0] = 1.0
|
| 208 |
+
if C > 1:
|
| 209 |
+
P[:, 1] = x
|
| 210 |
+
dP[:, 1] = 1.0
|
| 211 |
+
for n in range(1, C - 1):
|
| 212 |
+
P[:, n + 1] = ((2 * n + 1) * x * P[:, n] - n * P[:, n - 1]) / (n + 1)
|
| 213 |
+
dP[:, n + 1] = ((2 * n + 1) * (P[:, n] + x * dP[:, n]) - n * dP[:, n - 1]) / (n + 1)
|
| 214 |
+
d2P[:, n + 1] = ((2 * n + 1) * (2 * dP[:, n] + x * d2P[:, n]) - n * d2P[:, n - 1]) / (n + 1)
|
| 215 |
+
return P, 2 * dP, 4 * d2P
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
def history_rows(rows, valid, stride: int, n_history: int):
|
| 219 |
+
"""The FLASH history of one query from its executed rows.
|
| 220 |
+
|
| 221 |
+
rows (N, D) and valid (N,): consecutive frames ending at the frame before the query (row N - 1 = t - 1), a valid
|
| 222 |
+
contiguous suffix (the interface's past_actions / history_valid; the dataset's rows before an anchor). Returns
|
| 223 |
+
(history (n_history, D) float32 at frames t-1-(n_history-1-j)*stride, has_history bool): a point before the first
|
| 224 |
+
valid row repeats that row (FLASH's edge padding); with no valid row has_history is False (zero start)."""
|
| 225 |
+
rows = np.asarray(rows, dtype=np.float32)
|
| 226 |
+
valid = np.asarray(valid, dtype=bool).reshape(-1)
|
| 227 |
+
span = (n_history - 1) * stride + 1
|
| 228 |
+
if len(rows) < span or len(valid) != len(rows):
|
| 229 |
+
raise ValueError(f'need >= {span} history rows (stride {stride} x {n_history} points), got {rows.shape}')
|
| 230 |
+
if not valid.any():
|
| 231 |
+
return np.zeros((n_history, rows.shape[1]), np.float32), False
|
| 232 |
+
first = int(np.argmax(valid))
|
| 233 |
+
if not valid[first:].all():
|
| 234 |
+
raise ValueError('history_valid must be a contiguous suffix')
|
| 235 |
+
idx = len(rows) - 1 - (n_history - 1 - np.arange(n_history)) * stride
|
| 236 |
+
return rows[np.maximum(idx, first)].copy(), True
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
class FlashPolicy(nn.Module):
|
| 240 |
+
"""FLASH (FlashDiTImagePolicy) on the baselines contract.
|
| 241 |
+
|
| 242 |
+
Training: compute_loss(images, state, poly, history, has_history) with poly (B, H_ext, Da) the physical action
|
| 243 |
+
rows at the polynomial's extended grid (anchor index fit_pad + poly_prefix, `stride` frames apart, clamped at the
|
| 244 |
+
episode's ends), history (B, n_history, Da) from history_rows. Inference: predict(images, state, history,
|
| 245 |
+
has_history) -> the physical (B, rows, Da) chunk at 30 Hz from the query frame, and the normalized coefficients."""
|
| 246 |
+
name = 'flash'
|
| 247 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 248 |
+
|
| 249 |
+
def __init__(self, cfg, init_weights=None):
|
| 250 |
+
super().__init__()
|
| 251 |
+
from .policies import Normalizer
|
| 252 |
+
self.cfg = cfg
|
| 253 |
+
self.state_norm = Normalizer(cfg.state_dim)
|
| 254 |
+
self.action_norm = Normalizer(cfg.action_dim)
|
| 255 |
+
f = self.flash = flash_settings(cfg)
|
| 256 |
+
self.stride, self.n_history, self.n_action = int(f['stride']), int(f['n_history']), int(f['n_action'])
|
| 257 |
+
self.rows, self.poly_order, self.fit_pad = int(f['rows']), int(f['poly_order']), int(f['fit_pad'])
|
| 258 |
+
self.prefix, self.suffix = int(f['poly_prefix']), int(f['poly_suffix'])
|
| 259 |
+
self.boundary_constraint = bool(f['boundary_constraint'])
|
| 260 |
+
self.history_noise_std = float(f['history_noise_std'])
|
| 261 |
+
self.history_reg_lambda = float(f['history_reg_lambda'])
|
| 262 |
+
self.consistency_weight = float(f['consistency_weight'])
|
| 263 |
+
self.solver = f['solver']
|
| 264 |
+
if cfg.horizon != self.rows:
|
| 265 |
+
raise ValueError(f'PolicyConfig.horizon {cfg.horizon} must equal the FLASH output rows {self.rows}')
|
| 266 |
+
C = self.num_coeff = self.poly_order + 1
|
| 267 |
+
H_poly = self.H_poly = self.prefix + self.n_action + self.suffix
|
| 268 |
+
H_ext = self.H_ext = H_poly + 2 * self.fit_pad
|
| 269 |
+
self.anchor = self.fit_pad + self.prefix # anchor index in the extended grid
|
| 270 |
+
last_dense = (self.rows - 1) / self.stride
|
| 271 |
+
if self.prefix + last_dense > H_poly - 1 + 1e-9:
|
| 272 |
+
raise ValueError(f'{self.rows} rows at stride {self.stride} reach past the fitted polynomial')
|
| 273 |
+
|
| 274 |
+
s_ext = torch.linspace(0.0, 1.0, H_ext, dtype=torch.float64)
|
| 275 |
+
s_mid = s_ext[self.fit_pad:self.fit_pad + H_poly] if self.fit_pad > 0 else s_ext
|
| 276 |
+
eval_ext, d1_ext, _ = legendre_basis(s_ext, self.poly_order)
|
| 277 |
+
StS = eval_ext.T @ eval_ext
|
| 278 |
+
lstsq = torch.linalg.solve(StS, eval_ext.T)
|
| 279 |
+
eval_mid, _, _ = legendre_basis(s_mid, self.poly_order)
|
| 280 |
+
coeff_scale = torch.norm(lstsq, dim=1).clamp(min=1e-8)
|
| 281 |
+
self.register_buffer('_lstsq_matrix', lstsq.float())
|
| 282 |
+
self.register_buffer('_coeff_scale', coeff_scale.float().view(1, -1, 1))
|
| 283 |
+
# history fit (flash_policy.py, poly_prefix branch): the first n_history rows of the core grid, Tikhonov
|
| 284 |
+
S_hist = eval_mid.double() if H_poly == self.n_history else eval_mid[:self.n_history, :].double()
|
| 285 |
+
StS_hist = S_hist.T @ S_hist
|
| 286 |
+
if self.history_reg_lambda > 0:
|
| 287 |
+
StS_hist = StS_hist + self.history_reg_lambda * torch.eye(C, dtype=torch.float64)
|
| 288 |
+
self.register_buffer('_history_lstsq_matrix', torch.linalg.solve(StS_hist, S_hist.T).float())
|
| 289 |
+
if self.boundary_constraint: # KKT C1 at the execution start and the next window's start
|
| 290 |
+
idx = [self.fit_pad + self.prefix, self.fit_pad + self.prefix + self.n_action]
|
| 291 |
+
if idx[1] >= H_ext:
|
| 292 |
+
raise ValueError(f'bc_overlap {idx[1]} >= H_ext {H_ext}: increase fit_pad')
|
| 293 |
+
A_pos, A_vel = eval_ext[idx, :], d1_ext[idx, :]
|
| 294 |
+
A = torch.cat([A_pos, A_vel], dim=0)
|
| 295 |
+
StS_inv_AT = torch.linalg.solve(StS, torch.eye(C, dtype=torch.float64)) @ A.T
|
| 296 |
+
self.register_buffer('_bc_eval_pos', A_pos.float())
|
| 297 |
+
self.register_buffer('_bc_eval_vel', A_vel.float())
|
| 298 |
+
self.register_buffer('_bc_correction', (StS_inv_AT @ torch.linalg.inv(A @ StS_inv_AT)).float())
|
| 299 |
+
self.register_buffer('_bc_pos_indices', torch.tensor(idx, dtype=torch.long))
|
| 300 |
+
# the 30 Hz output rows: frame k after the anchor sits at grid index anchor + k / stride
|
| 301 |
+
s_dense = torch.tensor([(self.anchor + k / self.stride) / (H_ext - 1) for k in range(self.rows)],
|
| 302 |
+
dtype=torch.float64)
|
| 303 |
+
self.register_buffer('_dense_eval_matrix', legendre_basis(s_dense, self.poly_order)[0].float())
|
| 304 |
+
|
| 305 |
+
self.obs_encoder = FlashObsEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone, weights=init_weights)
|
| 306 |
+
self.model = FlashFlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
|
| 307 |
+
hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim,
|
| 308 |
+
num_layers=cfg.num_layers, num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio,
|
| 309 |
+
dropout=cfg.dropout, time_embed_dim=cfg.time_embed_dim)
|
| 310 |
+
|
| 311 |
+
def fit_normalizers(self, stats: dict):
|
| 312 |
+
self.state_norm.fit(stats['state']['min'], stats['state']['max'])
|
| 313 |
+
self.action_norm.fit(stats['action']['min'], stats['action']['max'])
|
| 314 |
+
|
| 315 |
+
@property
|
| 316 |
+
def sampling_steps(self) -> int:
|
| 317 |
+
return int(self.cfg.num_inference_steps or 1)
|
| 318 |
+
|
| 319 |
+
@property
|
| 320 |
+
def history_span(self) -> int:
|
| 321 |
+
"""Executed rows a query needs: (n_history - 1) * stride + 1."""
|
| 322 |
+
return (self.n_history - 1) * self.stride + 1
|
| 323 |
+
|
| 324 |
+
def extended_offsets(self) -> np.ndarray:
|
| 325 |
+
"""Frame offsets from the anchor of the extended polynomial grid (for the training targets)."""
|
| 326 |
+
return (np.arange(self.H_ext) - self.anchor) * self.stride
|
| 327 |
+
|
| 328 |
+
# polynomial operations, float32 and outside autocast ----------------------------------------------------------
|
| 329 |
+
def _to_coeff(self, traj_n):
|
| 330 |
+
return torch.einsum('ch,bhd->bcd', self._lstsq_matrix, traj_n) / self._coeff_scale
|
| 331 |
+
|
| 332 |
+
def _history_coeff(self, history, has_history):
|
| 333 |
+
with torch.autocast(history.device.type, enabled=False):
|
| 334 |
+
h = torch.einsum('ch,bhd->bcd', self._history_lstsq_matrix, self.action_norm.normalize(history.float()))
|
| 335 |
+
h = h / self._coeff_scale
|
| 336 |
+
return torch.where(has_history.view(-1, 1, 1).bool(), h, torch.zeros_like(h))
|
| 337 |
+
|
| 338 |
+
def _apply_boundary_constraint(self, norm_coeff, traj_n):
|
| 339 |
+
raw = norm_coeff * self._coeff_scale
|
| 340 |
+
idx, H = self._bc_pos_indices, traj_n.shape[1]
|
| 341 |
+
cur_pos = torch.einsum('kc,bcd->bkd', self._bc_eval_pos, raw)
|
| 342 |
+
tgt_pos = traj_n[:, idx, :]
|
| 343 |
+
vel = []
|
| 344 |
+
for i in idx.tolist():
|
| 345 |
+
if i + 1 < H:
|
| 346 |
+
v = (traj_n[:, i + 1] - traj_n[:, i - 1]) * (H - 1) / 2
|
| 347 |
+
elif i >= 2:
|
| 348 |
+
v = (3 * traj_n[:, i] - 4 * traj_n[:, i - 1] + traj_n[:, i - 2]) * (H - 1) / 2
|
| 349 |
+
else:
|
| 350 |
+
v = (traj_n[:, i] - traj_n[:, i - 1]) * (H - 1)
|
| 351 |
+
vel.append(v)
|
| 352 |
+
tgt_vel = torch.stack(vel, dim=1)
|
| 353 |
+
cur_vel = torch.einsum('kc,bcd->bkd', self._bc_eval_vel, raw)
|
| 354 |
+
residual = torch.cat([cur_pos - tgt_pos, cur_vel - tgt_vel], dim=1)
|
| 355 |
+
return (raw - torch.einsum('ck,bkd->bcd', self._bc_correction, residual)) / self._coeff_scale
|
| 356 |
+
|
| 357 |
+
def target_coeff(self, poly):
|
| 358 |
+
with torch.autocast(poly.device.type, enabled=False):
|
| 359 |
+
traj_n = self.action_norm.normalize(poly.float())
|
| 360 |
+
coeff = self._to_coeff(traj_n)
|
| 361 |
+
if self.boundary_constraint:
|
| 362 |
+
coeff = self._apply_boundary_constraint(coeff, traj_n)
|
| 363 |
+
return coeff
|
| 364 |
+
|
| 365 |
+
def dense_from_coeff(self, norm_coeff):
|
| 366 |
+
"""(B, rows, Da) physical actions at the 30 Hz frames from the anchor."""
|
| 367 |
+
with torch.autocast(norm_coeff.device.type, enabled=False):
|
| 368 |
+
raw = norm_coeff.float() * self._coeff_scale
|
| 369 |
+
return self.action_norm.unnormalize(torch.einsum('hc,bcd->bhd', self._dense_eval_matrix, raw))
|
| 370 |
+
|
| 371 |
+
def condition(self, images, state):
|
| 372 |
+
return self.obs_encoder(images, self.state_norm.normalize(state))
|
| 373 |
+
|
| 374 |
+
# training and inference ------------------------------------------------------------------------------------------
|
| 375 |
+
def compute_loss(self, images, state, poly, history, has_history):
|
| 376 |
+
target = self.target_coeff(poly)
|
| 377 |
+
hist = self._history_coeff(history, has_history)
|
| 378 |
+
if self.training and self.history_noise_std > 0:
|
| 379 |
+
hist = hist + torch.randn_like(hist) * self.history_noise_std
|
| 380 |
+
cond = self.condition(images, state)
|
| 381 |
+
t = torch.rand(target.shape[0], device=target.device)
|
| 382 |
+
te = t.view(-1, 1, 1)
|
| 383 |
+
x_t = (1 - te) * hist + te * target
|
| 384 |
+
loss_fm = F.mse_loss(self.model(x_t, t, cond).float(), target - hist)
|
| 385 |
+
loss, metrics = loss_fm, dict(fm=float(loss_fm.detach()))
|
| 386 |
+
if self.consistency_weight > 0:
|
| 387 |
+
v0 = self.model(hist, torch.zeros_like(t), cond).float()
|
| 388 |
+
loss_c = F.mse_loss(hist + v0, target)
|
| 389 |
+
loss = loss + self.consistency_weight * loss_c
|
| 390 |
+
metrics['consistency'] = float(loss_c.detach())
|
| 391 |
+
return loss, metrics
|
| 392 |
+
|
| 393 |
+
@torch.no_grad()
|
| 394 |
+
def predict_coeff(self, images, state, history, has_history):
|
| 395 |
+
cond = self.condition(images, state)
|
| 396 |
+
x = self._history_coeff(history, has_history)
|
| 397 |
+
times = torch.linspace(0, 1.0, self.sampling_steps + 1)
|
| 398 |
+
for i in range(self.sampling_steps):
|
| 399 |
+
t0 = times[i].view(1).expand(x.shape[0]).to(x.device)
|
| 400 |
+
t1 = times[i + 1].view(1).expand(x.shape[0]).to(x.device)
|
| 401 |
+
dt = (t1 - t0).view(-1, 1, 1)
|
| 402 |
+
if self.solver == 'euler':
|
| 403 |
+
x = x + dt * self.model(x, t0, cond).float()
|
| 404 |
+
else:
|
| 405 |
+
x_mid = x + self.model(x, t0, cond).float() * dt / 2
|
| 406 |
+
x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond).float()
|
| 407 |
+
return x
|
| 408 |
+
|
| 409 |
+
@torch.no_grad()
|
| 410 |
+
def predict(self, images, state, history, has_history, generator=None): # noqa: ARG002 - deterministic
|
| 411 |
+
coeff = self.predict_coeff(images, state, history, has_history)
|
| 412 |
+
return self.dense_from_coeff(coeff), coeff
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""In-training open-loop action MSE of the baselines (owner 2026-11-22: every training of every model measures it while
|
| 2 |
+
it trains; HumanWAM `hb_training/REPRODUCIBILITY.md` section 6).
|
| 3 |
+
|
| 4 |
+
The protocol code is HumanWAM's `hb_training/eval-action-mse` (`hb_inloop_core.InLoop` and `hb_eval_common`), used
|
| 5 |
+
unmodified from the directory given to train.py as --inloop-code; its cache lives under $HB_EVAL_CACHE (default
|
| 6 |
+
$G/eval-action-mse/cache) and is built by its `build_cache.py <task> train10`. Per evaluation: the queries every 16
|
| 7 |
+
frames of the task's `heldout` episodes (`train10` when it has none), the first 16 predicted rows against the
|
| 8 |
+
recorded ones, nMSE over the training-frame std (constant dims excluded), batches of 8 queries seeded
|
| 9 |
+
1234 + 1000 rank + batch index, every HB_INLOOP_EVERY (250) steps; one json line per evaluation in
|
| 10 |
+
<run>/logs/inloop-mse.jsonl and `HB_INLOOP` lines in the log. Training RNG and module modes are restored after each.
|
| 11 |
+
|
| 12 |
+
The evaluated weights are the ones the run saves (the EMA). Inputs as at deployment: each camera resized like the
|
| 13 |
+
training cache (data.resize_frame), state44, and for FLASH the cached past actions (the up to 16 recorded rows before
|
| 14 |
+
the query: the eval protocol's `past_action`) through the same history rule as the adapter (runtime.BaselinePolicy).
|
| 15 |
+
Before the first step the cache is checked against the run's data: the cached state and action rows of every cached
|
| 16 |
+
episode that the run loaded must equal the run's rows bit for bit.
|
| 17 |
+
"""
|
| 18 |
+
from __future__ import annotations
|
| 19 |
+
|
| 20 |
+
import os
|
| 21 |
+
from pathlib import Path
|
| 22 |
+
import sys
|
| 23 |
+
|
| 24 |
+
import numpy as np
|
| 25 |
+
|
| 26 |
+
from .data import resize_frame
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def install(code_dir, task, run_dir, get_model, contract, cameras, hw, lowdim, policy_name, lowdim_loader=None):
|
| 30 |
+
"""The InLoop object of this run (its evaluate(step, model) is called by train.py), after the cache check."""
|
| 31 |
+
code_dir = Path(code_dir).expanduser().resolve()
|
| 32 |
+
if not (code_dir / 'hb_inloop_core.py').exists():
|
| 33 |
+
raise FileNotFoundError(f'{code_dir}: no hb_inloop_core.py (HumanWAM hb_training/eval-action-mse)')
|
| 34 |
+
if str(code_dir) not in sys.path:
|
| 35 |
+
sys.path.insert(0, str(code_dir))
|
| 36 |
+
import hb_inloop_core as core
|
| 37 |
+
E = core.E
|
| 38 |
+
if core.EVERY <= 0:
|
| 39 |
+
print(f'HB_INLOOP {policy_name} disabled: HB_INLOOP_EVERY={core.EVERY}', flush=True)
|
| 40 |
+
return None
|
| 41 |
+
if task not in E.TASKS:
|
| 42 |
+
raise KeyError(f'task {task!r} is not registered in {code_dir}/hb_eval_common.py TASKS')
|
| 43 |
+
split = core.pick_split(task)
|
| 44 |
+
meta = E.load_meta(task, split)
|
| 45 |
+
lay = E.LAYOUTS[meta['layout']]
|
| 46 |
+
if (lay['state_dim'], lay['action_dim']) != (contract.state_dim, contract.action_dim):
|
| 47 |
+
raise ValueError(f"eval layout {meta['layout']} {lay['state_dim']}/{lay['action_dim']} vs contract "
|
| 48 |
+
f'{contract.name} {contract.state_dim}/{contract.action_dim}')
|
| 49 |
+
missing = [c for c in cameras if c not in meta['cams']]
|
| 50 |
+
if missing:
|
| 51 |
+
raise KeyError(f"cameras {missing} not in the eval cache {meta['cams']}")
|
| 52 |
+
def check(rows, what):
|
| 53 |
+
done = []
|
| 54 |
+
for ep in meta['episodes']: # the cache holds this run's data
|
| 55 |
+
if ep not in rows['episodes']:
|
| 56 |
+
continue
|
| 57 |
+
p = rows['episodes'].index(ep)
|
| 58 |
+
s, n = int(rows['starts'][p]), int(rows['lengths'][p])
|
| 59 |
+
with np.load(E.split_dir(task, split) / f'ep_{ep:06d}.npz') as z:
|
| 60 |
+
same = (np.array_equal(z['state'], rows['state'][s:s + n])
|
| 61 |
+
and np.array_equal(z['action'], rows['action'][s:s + n]))
|
| 62 |
+
if not same:
|
| 63 |
+
raise ValueError(f'eval cache {task}/{split} episode {ep} differs from {what} '
|
| 64 |
+
f'(cache source {meta.get("source")})')
|
| 65 |
+
done.append(ep)
|
| 66 |
+
return done
|
| 67 |
+
|
| 68 |
+
checked = check(lowdim, 'the training data')
|
| 69 |
+
if not checked and lowdim_loader is not None:
|
| 70 |
+
# a held-out split: its episodes are not trained on, so they are checked against the same dataset read
|
| 71 |
+
# through the same contract (2026-11-24, B7 black lead-drop b7td: train 0-99, held out 100-106)
|
| 72 |
+
checked = check(lowdim_loader(list(meta['episodes'])), "this run's dataset (held-out episodes)")
|
| 73 |
+
if not checked:
|
| 74 |
+
raise ValueError(f'no cached episode of {task}/{split} is in this run\'s data: cannot check the cache')
|
| 75 |
+
|
| 76 |
+
import torch
|
| 77 |
+
|
| 78 |
+
def predict(batch, seed):
|
| 79 |
+
model = get_model()
|
| 80 |
+
device = next(model.parameters()).device
|
| 81 |
+
frames = np.stack([np.stack([resize_frame(q['images'][c], hw) for c in cameras]) for q in batch])
|
| 82 |
+
images = torch.from_numpy(frames).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 83 |
+
state = torch.from_numpy(np.stack([q['state'] for q in batch]).astype(np.float32)).to(device)
|
| 84 |
+
generator = torch.Generator(device=device)
|
| 85 |
+
generator.manual_seed(int(seed))
|
| 86 |
+
extra = ()
|
| 87 |
+
if policy_name == 'flash':
|
| 88 |
+
from .flash import history_rows
|
| 89 |
+
span, hist, has = model.history_span, [], []
|
| 90 |
+
for q in batch:
|
| 91 |
+
past = np.asarray(q['past_action'], np.float32).reshape(-1, contract.action_dim)
|
| 92 |
+
rows = np.zeros((max(span, len(past)), contract.action_dim), np.float32)
|
| 93 |
+
valid = np.zeros(len(rows), bool)
|
| 94 |
+
if len(past):
|
| 95 |
+
rows[-len(past):], valid[-len(past):] = past, True
|
| 96 |
+
h, ok = history_rows(rows[-span:], valid[-span:], model.stride, model.n_history)
|
| 97 |
+
hist.append(h)
|
| 98 |
+
has.append(ok)
|
| 99 |
+
extra = (torch.from_numpy(np.stack(hist)).to(device), torch.tensor(has, device=device))
|
| 100 |
+
pred, _ = model.predict(images, state, *extra, generator=generator)
|
| 101 |
+
return pred.float().cpu().numpy()
|
| 102 |
+
|
| 103 |
+
info = dict(weights='ema', policy=policy_name, cache_checked_episodes=checked,
|
| 104 |
+
inloop_code=str(code_dir), cache=str(E.split_dir(task, split)))
|
| 105 |
+
loop = core.InLoop(policy_name, task, split, Path(run_dir) / 'logs' / 'inloop-mse.jsonl', predict,
|
| 106 |
+
cams=list(cameras), info=info)
|
| 107 |
+
loop.every = core.EVERY
|
| 108 |
+
loop.say(f'{policy_name} installed: task {task} split {split}, every {core.EVERY} steps, cache checked on '
|
| 109 |
+
f'episodes {checked}, code {code_dir}, G={os.environ.get("G", "<default>")}')
|
| 110 |
+
return loop
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/nets.py
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Networks of the FM-DiT and DP (DDPM-DiT) baselines: the AdaLN DiT action backbone and the camera + state encoder.
|
| 2 |
+
|
| 3 |
+
Ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/nets/dit.py`, `layers.py`,
|
| 4 |
+
`positional_embedding.py`, `vision/backbones.py`, `vision/encoder.py`), unchanged in architecture and initialization.
|
| 5 |
+
Left out: the ROVE improvement embedding, the spatial-softmax / R3M / tactile options and the inpainting path (the
|
| 6 |
+
baselines always condition through the global observation feature). Added: the ResNet's normalization choice
|
| 7 |
+
(`get_resnet`): DextraVerse's GroupNorm for a backbone trained from scratch, or BatchNorm frozen at the pretrained
|
| 8 |
+
statistics (the DETR / ACT practice) for an ImageNet-initialized backbone that is fine-tuned with the policy.
|
| 9 |
+
"""
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import math
|
| 13 |
+
|
| 14 |
+
import torch
|
| 15 |
+
import torch.nn as nn
|
| 16 |
+
import torch.nn.functional as F
|
| 17 |
+
import torchvision
|
| 18 |
+
|
| 19 |
+
IMAGENET_MEAN = (0.485, 0.456, 0.406)
|
| 20 |
+
IMAGENET_STD = (0.229, 0.224, 0.225)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class SinusoidalPosEmb(nn.Module):
|
| 24 |
+
def __init__(self, dim):
|
| 25 |
+
super().__init__()
|
| 26 |
+
self.dim = dim
|
| 27 |
+
|
| 28 |
+
def forward(self, x):
|
| 29 |
+
half_dim = self.dim // 2
|
| 30 |
+
emb = math.log(10000) / (half_dim - 1)
|
| 31 |
+
emb = torch.exp(torch.arange(half_dim, device=x.device) * -emb)
|
| 32 |
+
emb = x[:, None] * emb[None, :]
|
| 33 |
+
return torch.cat((emb.sin(), emb.cos()), dim=-1)
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class RotaryPosEmb(nn.Module):
|
| 37 |
+
"""Rotary position embedding over each attention head's (S, head_dim) slice."""
|
| 38 |
+
|
| 39 |
+
def __init__(self, dim):
|
| 40 |
+
super().__init__()
|
| 41 |
+
self.dim = dim
|
| 42 |
+
self.register_buffer('inv_freq', 1.0 / (10000 ** (torch.arange(0, dim, 2).float() / dim)))
|
| 43 |
+
|
| 44 |
+
def forward(self, x): # x: (B, heads, S, head_dim)
|
| 45 |
+
t = torch.arange(x.shape[-2], device=x.device, dtype=self.inv_freq.dtype)
|
| 46 |
+
freqs = torch.outer(t, self.inv_freq.to(x.device))
|
| 47 |
+
emb = torch.cat([freqs, freqs], dim=-1)
|
| 48 |
+
cos, sin = emb.cos()[None, None], emb.sin()[None, None]
|
| 49 |
+
x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2:]
|
| 50 |
+
return x * cos + torch.cat([-x2, x1], dim=-1) * sin
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
class Mlp(nn.Module):
|
| 54 |
+
"""The ViT MLP (timm.layers.Mlp) as DextraVerse's nets/layers.py."""
|
| 55 |
+
|
| 56 |
+
def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0):
|
| 57 |
+
super().__init__()
|
| 58 |
+
out_features = out_features or in_features
|
| 59 |
+
hidden_features = hidden_features or in_features
|
| 60 |
+
self.fc1 = nn.Linear(in_features, hidden_features)
|
| 61 |
+
self.act = act_layer()
|
| 62 |
+
self.drop1 = nn.Dropout(drop)
|
| 63 |
+
self.norm = nn.Identity()
|
| 64 |
+
self.fc2 = nn.Linear(hidden_features, out_features)
|
| 65 |
+
self.drop2 = nn.Dropout(drop)
|
| 66 |
+
|
| 67 |
+
def forward(self, x):
|
| 68 |
+
return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
class Attention(nn.Module):
|
| 72 |
+
def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, qk_norm=True):
|
| 73 |
+
super().__init__()
|
| 74 |
+
assert dim % num_heads == 0, 'dim should be divisible by num_heads'
|
| 75 |
+
self.num_heads = num_heads
|
| 76 |
+
self.head_dim = dim // num_heads
|
| 77 |
+
self.attn_drop = attn_drop
|
| 78 |
+
self.proj_drop = nn.Dropout(proj_drop)
|
| 79 |
+
self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
|
| 80 |
+
self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 81 |
+
self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 82 |
+
self.proj = nn.Linear(dim, dim)
|
| 83 |
+
self.rope = RotaryPosEmb(self.head_dim)
|
| 84 |
+
|
| 85 |
+
def forward(self, x):
|
| 86 |
+
B, S, C = x.shape
|
| 87 |
+
qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
|
| 88 |
+
q, k, v = qkv.unbind(0)
|
| 89 |
+
q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
|
| 90 |
+
x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
|
| 91 |
+
return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
class AdaLNBlock(nn.Module):
|
| 95 |
+
"""Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022)."""
|
| 96 |
+
|
| 97 |
+
def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0):
|
| 98 |
+
super().__init__()
|
| 99 |
+
self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 100 |
+
self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
|
| 101 |
+
self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 102 |
+
self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
|
| 103 |
+
act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
|
| 104 |
+
self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
|
| 105 |
+
self.dim = dim
|
| 106 |
+
nn.init.constant_(self.ada_ln[-1].weight, 0)
|
| 107 |
+
nn.init.constant_(self.ada_ln[-1].bias, 0)
|
| 108 |
+
|
| 109 |
+
def forward(self, x, t, c):
|
| 110 |
+
B = x.shape[0]
|
| 111 |
+
gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
|
| 112 |
+
x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
|
| 113 |
+
return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
class FlowTransformer(nn.Module):
|
| 117 |
+
"""DiT action backbone: AdaLN blocks over the H action tokens, conditioned on time_embed(t) + cond_embed(obs).
|
| 118 |
+
|
| 119 |
+
As DextraVerse, the generic Xavier initialization runs after the blocks' zero init of their AdaLN projection, so
|
| 120 |
+
it is not the full AdaLN-Zero recipe (kept: it is the reference's training behaviour)."""
|
| 121 |
+
|
| 122 |
+
def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
|
| 123 |
+
dropout=0.1, time_embed_dim=256):
|
| 124 |
+
super().__init__()
|
| 125 |
+
self.input_proj = nn.Linear(input_dim, hidden_dim)
|
| 126 |
+
self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
|
| 127 |
+
nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
|
| 128 |
+
self.cond_embed = nn.Linear(condition_dim, hidden_dim)
|
| 129 |
+
self.transformer_blocks = nn.ModuleList(
|
| 130 |
+
[AdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout) for _ in range(num_layers)])
|
| 131 |
+
self.norm = nn.LayerNorm(hidden_dim)
|
| 132 |
+
self.out_proj = nn.Linear(hidden_dim, output_dim)
|
| 133 |
+
|
| 134 |
+
def basic_init(module):
|
| 135 |
+
if isinstance(module, nn.Linear):
|
| 136 |
+
nn.init.xavier_uniform_(module.weight)
|
| 137 |
+
if module.bias is not None:
|
| 138 |
+
nn.init.constant_(module.bias, 0)
|
| 139 |
+
|
| 140 |
+
self.apply(basic_init)
|
| 141 |
+
nn.init.normal_(self.time_embed[1].weight, std=0.02)
|
| 142 |
+
nn.init.normal_(self.time_embed[3].weight, std=0.02)
|
| 143 |
+
|
| 144 |
+
def forward(self, x, t, global_cond):
|
| 145 |
+
if not torch.is_tensor(t):
|
| 146 |
+
t = torch.tensor(t, device=x.device)
|
| 147 |
+
if t.ndim == 0:
|
| 148 |
+
t = t.expand(x.shape[0])
|
| 149 |
+
x = self.input_proj(x)
|
| 150 |
+
t = self.time_embed(t)
|
| 151 |
+
c = self.cond_embed(global_cond)
|
| 152 |
+
for block in self.transformer_blocks:
|
| 153 |
+
x = block(x, t, c)
|
| 154 |
+
return self.out_proj(self.norm(x))
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
def replace_batchnorm_with_groupnorm(module: nn.Module) -> nn.Module:
|
| 158 |
+
"""DextraVerse's use_group_norm: every BatchNorm2d becomes GroupNorm(num_features // 16 groups)."""
|
| 159 |
+
for name, child in module.named_children():
|
| 160 |
+
if isinstance(child, nn.BatchNorm2d):
|
| 161 |
+
setattr(module, name, nn.GroupNorm(num_groups=child.num_features // 16, num_channels=child.num_features))
|
| 162 |
+
else:
|
| 163 |
+
replace_batchnorm_with_groupnorm(child)
|
| 164 |
+
return module
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
NORMS = ('group', 'frozen_bn')
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
def get_resnet(name='resnet18', weights=None, norm='group') -> nn.Module:
|
| 171 |
+
"""A torchvision ResNet with its classifier removed: (N, 3, H, W) -> (N, 512) globally pooled.
|
| 172 |
+
|
| 173 |
+
weights: torchvision weights name (e.g. 'IMAGENET1K_V1') to initialize from, or None (random initialization;
|
| 174 |
+
a checkpoint load supplies every weight). norm: 'group' replaces every BatchNorm with GroupNorm (DextraVerse's
|
| 175 |
+
use_group_norm, for training from scratch: pretrained BatchNorm statistics and affine are dropped); 'frozen_bn'
|
| 176 |
+
keeps BatchNorm frozen at its (pretrained) running statistics and affine, the convolutions fine-tune."""
|
| 177 |
+
if norm == 'frozen_bn':
|
| 178 |
+
from .act_nets import FrozenBatchNorm2d
|
| 179 |
+
resnet = getattr(torchvision.models, name)(weights=weights, norm_layer=FrozenBatchNorm2d)
|
| 180 |
+
elif norm == 'group':
|
| 181 |
+
resnet = replace_batchnorm_with_groupnorm(getattr(torchvision.models, name)(weights=weights))
|
| 182 |
+
else:
|
| 183 |
+
raise ValueError(f'norm must be one of {NORMS}, got {norm!r}')
|
| 184 |
+
resnet.fc = nn.Identity()
|
| 185 |
+
return resnet
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
class ImageStateEncoder(nn.Module):
|
| 189 |
+
"""DextraVerse MultiImageObsEncoder as configured for FM-DiT / DDPM-DiT: one ResNet shared by every camera
|
| 190 |
+
(share_rgb_model; `get_resnet` weights and norm), ImageNet normalization of the [0, 1] images, the pooled features
|
| 191 |
+
of each camera in the contract's camera order, then the normalized state.
|
| 192 |
+
Output (B, n_cameras * 512 + state_dim)."""
|
| 193 |
+
|
| 194 |
+
def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None, norm='group'):
|
| 195 |
+
super().__init__()
|
| 196 |
+
self.rgb = get_resnet(backbone, weights=weights, norm=norm)
|
| 197 |
+
self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
|
| 198 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
|
| 199 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
|
| 200 |
+
self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
|
| 201 |
+
|
| 202 |
+
def forward(self, images, state):
|
| 203 |
+
"""images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
|
| 204 |
+
B = images.shape[0]
|
| 205 |
+
x = (images.flatten(0, 1) - self.mean) / self.std
|
| 206 |
+
features = self.rgb(x).reshape(B, -1) # camera features side by side, in camera order
|
| 207 |
+
return torch.cat([features, state], dim=-1)
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/policies.py
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""The baseline policies behind one contract; the first three ported from DextraVerse's imitation-learning core:
|
| 2 |
+
|
| 3 |
+
- `fm_dit`, `FMDiTPolicy` (reference: dextraverse/algorithms/il/models/fm_dit.py + fm_base.py): flow matching, MSE on
|
| 4 |
+
the velocity `a - noise`; sampled with 10 midpoint steps from noise (20 DiT calls);
|
| 5 |
+
- `dp`, `DPPolicy` (ddpm_dit.py + ddpm_base.py: Diffusion Policy with a DiT backbone): DDPM epsilon MSE over 100
|
| 6 |
+
steps; sampled with the 100 DDPM steps;
|
| 7 |
+
- `act`, `ACTPolicy` (act.py + nets/act/): L1 + `kl_weight` x KL of the CVAE; decoded from the zero latent in one pass;
|
| 8 |
+
- `flash`, `flash.FlashPolicy` (NTUMARS/FLASH-Policy @ f47e490): polynomial-coefficient flow from the fitted history
|
| 9 |
+
of the executed actions to the future, one Euler step; its contract adds the history (flash.py's docstring).
|
| 10 |
+
|
| 11 |
+
Contract (every policy): `compute_loss(images, state, action) -> (loss, metrics)` and
|
| 12 |
+
`predict(images, state, generator) -> (action, normalized action)`; images (B, n_cameras, 3, H, W) float in [0, 1],
|
| 13 |
+
state (B, state_dim) and action (B, horizon, action_dim) in physical units. Each policy owns its `Normalizer`
|
| 14 |
+
(DextraVerse's LinearNormalizer 'limits' mode: state and action to [-1, 1] per dimension, constant dimensions shifted
|
| 15 |
+
to 0), saved in its state dict. One observation frame (n_obs_steps 1: the current images and state); the chunk's row 0
|
| 16 |
+
is the action of the observation's own frame (the LeRobot rows t..t+horizon-1). The configuration that builds a
|
| 17 |
+
policy is a plain dict (`PolicyConfig` fields), stored in the checkpoint.
|
| 18 |
+
|
| 19 |
+
The ResNet18 starts from torchvision's ImageNet-1k weights (`backbone_weights` 'IMAGENET1K_V1', the default since
|
| 20 |
+
2026-11-16) and is fine-tuned with the policy, its BatchNorm frozen at the pretrained statistics (`backbone_norm`
|
| 21 |
+
'frozen_bn', as ACT always does); `backbone_weights` None trains from scratch with DextraVerse's GroupNorm encoder
|
| 22 |
+
(FM-DiT, DP) or ACT's frozen-BatchNorm one. A checkpoint load builds the structure without fetching any weights.
|
| 23 |
+
"""
|
| 24 |
+
from __future__ import annotations
|
| 25 |
+
|
| 26 |
+
from dataclasses import asdict, dataclass, field, replace
|
| 27 |
+
|
| 28 |
+
import torch
|
| 29 |
+
import torch.nn as nn
|
| 30 |
+
import torch.nn.functional as F
|
| 31 |
+
|
| 32 |
+
from .act_nets import DETRVAE, Transformer, build_backbone, build_style_encoder, kl_divergence
|
| 33 |
+
from .nets import IMAGENET_MEAN, IMAGENET_STD, FlowTransformer, ImageStateEncoder
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
@dataclass
|
| 37 |
+
class PolicyConfig:
|
| 38 |
+
"""Everything that builds a policy (stored in the checkpoint's config.json). Model defaults are DextraVerse's
|
| 39 |
+
configs/algorithm/il/model/{fm_dit,ddpm_dit,act}.yaml."""
|
| 40 |
+
policy: str
|
| 41 |
+
n_cameras: int
|
| 42 |
+
state_dim: int
|
| 43 |
+
action_dim: int
|
| 44 |
+
horizon: int = 16
|
| 45 |
+
backbone: str = 'resnet18'
|
| 46 |
+
backbone_weights: str | None = 'IMAGENET1K_V1' # torchvision weights to initialize from; None = from scratch
|
| 47 |
+
backbone_norm: str | None = None # 'frozen_bn' or 'group'; None: frozen_bn when pretrained or ACT, else group
|
| 48 |
+
# FM-DiT / DP (DiT backbone)
|
| 49 |
+
hidden_dim: int = 384
|
| 50 |
+
num_layers: int = 4
|
| 51 |
+
num_heads: int = 8
|
| 52 |
+
mlp_ratio: float = 4.0
|
| 53 |
+
dropout: float = 0.1
|
| 54 |
+
time_embed_dim: int = 128
|
| 55 |
+
num_inference_steps: int | None = None # None: FM-DiT 10 midpoint steps, DP every training timestep (100)
|
| 56 |
+
# DP noise schedule (diffusers DDPMScheduler)
|
| 57 |
+
num_train_timesteps: int = 100
|
| 58 |
+
beta_schedule: str = 'squaredcos_cap_v2'
|
| 59 |
+
prediction_type: str = 'epsilon'
|
| 60 |
+
clip_sample: bool = True
|
| 61 |
+
# ACT
|
| 62 |
+
act_hidden_dim: int = 512
|
| 63 |
+
dim_feedforward: int = 3200
|
| 64 |
+
enc_layers: int = 4
|
| 65 |
+
dec_layers: int = 7
|
| 66 |
+
nheads: int = 8
|
| 67 |
+
latent_dim: int = 32
|
| 68 |
+
kl_weight: float = 10.0
|
| 69 |
+
extra: dict = field(default_factory=dict)
|
| 70 |
+
|
| 71 |
+
def __post_init__(self):
|
| 72 |
+
if self.backbone_norm is None:
|
| 73 |
+
self.backbone_norm = 'frozen_bn' if self.backbone_weights or self.policy == 'act' else 'group'
|
| 74 |
+
if self.policy == 'act' and self.backbone_norm != 'frozen_bn':
|
| 75 |
+
raise ValueError("ACT's backbone keeps frozen BatchNorm (backbone_norm 'frozen_bn')")
|
| 76 |
+
|
| 77 |
+
@classmethod
|
| 78 |
+
def from_dict(cls, data: dict) -> PolicyConfig:
|
| 79 |
+
known = {k: v for k, v in data.items() if k in cls.__dataclass_fields__}
|
| 80 |
+
return cls(**known)
|
| 81 |
+
|
| 82 |
+
def to_dict(self) -> dict:
|
| 83 |
+
return asdict(self)
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
class Normalizer(nn.Module):
|
| 87 |
+
"""Per-dimension affine map to [-1, 1] from the training data's min/max (DextraVerse LinearNormalizer, mode
|
| 88 |
+
'limits', fit_offset, range_eps 1e-4): x_n = x * scale + offset; a dimension whose range is below range_eps gets
|
| 89 |
+
scale 1 and maps its value to 0."""
|
| 90 |
+
|
| 91 |
+
def __init__(self, dim: int):
|
| 92 |
+
super().__init__()
|
| 93 |
+
self.register_buffer('scale', torch.ones(dim))
|
| 94 |
+
self.register_buffer('offset', torch.zeros(dim))
|
| 95 |
+
|
| 96 |
+
@torch.no_grad()
|
| 97 |
+
def fit(self, minimum, maximum, range_eps=1e-4):
|
| 98 |
+
lo = torch.as_tensor(minimum, dtype=torch.float32)
|
| 99 |
+
hi = torch.as_tensor(maximum, dtype=torch.float32)
|
| 100 |
+
span = hi - lo
|
| 101 |
+
ignore = span < range_eps
|
| 102 |
+
span[ignore] = 2.0
|
| 103 |
+
scale = 2.0 / span
|
| 104 |
+
offset = -1.0 - scale * lo
|
| 105 |
+
offset[ignore] = -lo[ignore]
|
| 106 |
+
self.scale.copy_(scale)
|
| 107 |
+
self.offset.copy_(offset)
|
| 108 |
+
|
| 109 |
+
def normalize(self, x):
|
| 110 |
+
return x * self.scale + self.offset
|
| 111 |
+
|
| 112 |
+
def unnormalize(self, x):
|
| 113 |
+
return (x - self.offset) / self.scale
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
class BasePolicy(nn.Module):
|
| 117 |
+
name = ''
|
| 118 |
+
backbone_prefix = '' # state-dict prefix of the image backbone (its own learning rate in training)
|
| 119 |
+
|
| 120 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 121 |
+
super().__init__()
|
| 122 |
+
self.cfg = cfg
|
| 123 |
+
self.state_norm = Normalizer(cfg.state_dim)
|
| 124 |
+
self.action_norm = Normalizer(cfg.action_dim)
|
| 125 |
+
|
| 126 |
+
def fit_normalizers(self, stats: dict):
|
| 127 |
+
self.state_norm.fit(stats['state']['min'], stats['state']['max'])
|
| 128 |
+
self.action_norm.fit(stats['action']['min'], stats['action']['max'])
|
| 129 |
+
|
| 130 |
+
@property
|
| 131 |
+
def sampling_steps(self) -> int:
|
| 132 |
+
return 1
|
| 133 |
+
|
| 134 |
+
def compute_loss(self, images, state, action):
|
| 135 |
+
raise NotImplementedError
|
| 136 |
+
|
| 137 |
+
def predict(self, images, state, generator=None):
|
| 138 |
+
raise NotImplementedError
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
class DiTPolicy(BasePolicy):
|
| 142 |
+
"""Shared by FM-DiT and DP: the shared-ResNet image + state encoder and the AdaLN DiT over the action chunk
|
| 143 |
+
(global observation conditioning, DextraVerse obs_as_global_cond)."""
|
| 144 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 145 |
+
|
| 146 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 147 |
+
super().__init__(cfg)
|
| 148 |
+
self.obs_encoder = ImageStateEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone,
|
| 149 |
+
weights=init_weights, norm=cfg.backbone_norm)
|
| 150 |
+
self.model = FlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
|
| 151 |
+
hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim, num_layers=cfg.num_layers,
|
| 152 |
+
num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
|
| 153 |
+
time_embed_dim=cfg.time_embed_dim)
|
| 154 |
+
|
| 155 |
+
def condition(self, images, state):
|
| 156 |
+
return self.obs_encoder(images, self.state_norm.normalize(state))
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
class FMDiTPolicy(DiTPolicy):
|
| 160 |
+
"""Flow-matching DiT (DextraVerse FlowMatchingDiTImagePolicy): x_t = (1 - t) noise + t a, t ~ U(0, 1), the DiT
|
| 161 |
+
regresses the velocity a - noise; sampling integrates t = 0 -> 1 with the midpoint rule."""
|
| 162 |
+
name = 'fm_dit'
|
| 163 |
+
|
| 164 |
+
@property
|
| 165 |
+
def sampling_steps(self) -> int:
|
| 166 |
+
return int(self.cfg.num_inference_steps or 10)
|
| 167 |
+
|
| 168 |
+
def compute_loss(self, images, state, action):
|
| 169 |
+
cond = self.condition(images, state)
|
| 170 |
+
target = self.action_norm.normalize(action)
|
| 171 |
+
noise = torch.randn_like(target)
|
| 172 |
+
t = torch.rand(target.shape[0], device=target.device)
|
| 173 |
+
te = t.view(-1, 1, 1)
|
| 174 |
+
x_t = (1 - te) * noise + te * target
|
| 175 |
+
loss = F.mse_loss(self.model(x_t, t, cond), target - noise)
|
| 176 |
+
return loss, dict(fm=float(loss.detach()))
|
| 177 |
+
|
| 178 |
+
@torch.no_grad()
|
| 179 |
+
def predict(self, images, state, generator=None):
|
| 180 |
+
cond = self.condition(images, state)
|
| 181 |
+
B, steps = images.shape[0], self.sampling_steps
|
| 182 |
+
x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=cond.device, dtype=cond.dtype,
|
| 183 |
+
generator=generator)
|
| 184 |
+
times = torch.linspace(0, 1.0, steps + 1, device=cond.device)
|
| 185 |
+
for i in range(steps):
|
| 186 |
+
t0 = times[i].view(1).expand(B)
|
| 187 |
+
t1 = times[i + 1].view(1).expand(B)
|
| 188 |
+
dt = (t1 - t0).view(-1, 1, 1)
|
| 189 |
+
x_mid = x + self.model(x, t0, cond) * dt / 2
|
| 190 |
+
x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond)
|
| 191 |
+
return self.action_norm.unnormalize(x), x
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
class DPPolicy(DiTPolicy):
|
| 195 |
+
"""Diffusion Policy with the DiT backbone (DextraVerse DiffusionDiTImagePolicy, ddpm_dit.yaml): DDPM with 100
|
| 196 |
+
training steps, squaredcos_cap_v2 betas, fixed_small variance, clipped samples, epsilon prediction; sampled with
|
| 197 |
+
every training step (100 DiT calls)."""
|
| 198 |
+
name = 'dp'
|
| 199 |
+
|
| 200 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 201 |
+
super().__init__(cfg, init_weights)
|
| 202 |
+
from diffusers.schedulers.scheduling_ddpm import DDPMScheduler
|
| 203 |
+
self.noise_scheduler = DDPMScheduler(num_train_timesteps=cfg.num_train_timesteps, beta_start=0.0001,
|
| 204 |
+
beta_end=0.02, beta_schedule=cfg.beta_schedule,
|
| 205 |
+
variance_type='fixed_small', clip_sample=cfg.clip_sample,
|
| 206 |
+
prediction_type=cfg.prediction_type)
|
| 207 |
+
|
| 208 |
+
@property
|
| 209 |
+
def sampling_steps(self) -> int:
|
| 210 |
+
return int(self.cfg.num_inference_steps or self.cfg.num_train_timesteps)
|
| 211 |
+
|
| 212 |
+
def compute_loss(self, images, state, action):
|
| 213 |
+
cond = self.condition(images, state)
|
| 214 |
+
target = self.action_norm.normalize(action)
|
| 215 |
+
noise = torch.randn_like(target)
|
| 216 |
+
t = torch.randint(0, self.noise_scheduler.config.num_train_timesteps, (target.shape[0],),
|
| 217 |
+
device=target.device).long()
|
| 218 |
+
noisy = self.noise_scheduler.add_noise(target, noise, t)
|
| 219 |
+
pred = self.model(noisy, t, cond)
|
| 220 |
+
goal = noise if self.cfg.prediction_type == 'epsilon' else target
|
| 221 |
+
loss = F.mse_loss(pred, goal)
|
| 222 |
+
return loss, dict(ddpm=float(loss.detach()))
|
| 223 |
+
|
| 224 |
+
@torch.no_grad()
|
| 225 |
+
def predict(self, images, state, generator=None):
|
| 226 |
+
cond = self.condition(images, state)
|
| 227 |
+
scheduler = self.noise_scheduler
|
| 228 |
+
x = torch.randn((images.shape[0], self.cfg.horizon, self.cfg.action_dim), device=cond.device,
|
| 229 |
+
dtype=cond.dtype, generator=generator)
|
| 230 |
+
scheduler.set_timesteps(self.sampling_steps, device=cond.device)
|
| 231 |
+
for t in scheduler.timesteps:
|
| 232 |
+
x = scheduler.step(self.model(x, t.to(cond.device), cond), t, x, generator=generator).prev_sample
|
| 233 |
+
return self.action_norm.unnormalize(x), x
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
class ACTPolicy(BasePolicy):
|
| 237 |
+
"""ACT (DextraVerse ACTImagePolicy, act.yaml): ImageNet-normalized cameras through one ResNet with frozen
|
| 238 |
+
BatchNorm (spatial tokens, no pooling), the normalized state as qpos, a CVAE style encoder over the action chunk in
|
| 239 |
+
training, the DETR decoder with `horizon` queries; loss L1 + kl_weight x KL; inference decodes from the zero
|
| 240 |
+
latent (deterministic)."""
|
| 241 |
+
name = 'act'
|
| 242 |
+
backbone_prefix = 'model.backbone.'
|
| 243 |
+
|
| 244 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 245 |
+
super().__init__(cfg)
|
| 246 |
+
transformer = Transformer(d_model=cfg.act_hidden_dim, nhead=cfg.nheads, num_encoder_layers=cfg.enc_layers,
|
| 247 |
+
num_decoder_layers=cfg.dec_layers, dim_feedforward=cfg.dim_feedforward,
|
| 248 |
+
dropout=cfg.dropout, return_intermediate_dec=False)
|
| 249 |
+
self.model = DETRVAE(build_backbone(cfg.backbone, hidden_dim=cfg.act_hidden_dim, weights=init_weights),
|
| 250 |
+
transformer,
|
| 251 |
+
build_style_encoder(cfg.act_hidden_dim, cfg.nheads, cfg.dim_feedforward, cfg.enc_layers,
|
| 252 |
+
cfg.dropout),
|
| 253 |
+
qpos_dim=cfg.state_dim, action_dim=cfg.action_dim, num_queries=cfg.horizon,
|
| 254 |
+
latent_dim=cfg.latent_dim)
|
| 255 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 1, 3, 1, 1), persistent=False)
|
| 256 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 1, 3, 1, 1), persistent=False)
|
| 257 |
+
|
| 258 |
+
def compute_loss(self, images, state, action):
|
| 259 |
+
target = self.action_norm.normalize(action)
|
| 260 |
+
a_hat, (mu, logvar) = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std,
|
| 261 |
+
actions=target)
|
| 262 |
+
l1 = F.l1_loss(a_hat, target)
|
| 263 |
+
kl = kl_divergence(mu, logvar)
|
| 264 |
+
return l1 + self.cfg.kl_weight * kl, dict(l1=float(l1.detach()), kl=float(kl.detach()))
|
| 265 |
+
|
| 266 |
+
@torch.no_grad()
|
| 267 |
+
def predict(self, images, state, generator=None): # noqa: ARG002 - deterministic (zero latent)
|
| 268 |
+
a_hat, _ = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std)
|
| 269 |
+
return self.action_norm.unnormalize(a_hat), a_hat
|
| 270 |
+
|
| 271 |
+
|
| 272 |
+
from .flash import FlashPolicy # noqa: E402 - FLASH (flash.py) builds on this module's Normalizer and nets.py
|
| 273 |
+
|
| 274 |
+
POLICIES = {cls.name: cls for cls in (FMDiTPolicy, DPPolicy, ACTPolicy, FlashPolicy)}
|
| 275 |
+
LABELS = {'fm_dit': 'FM-DiT', 'dp': 'DP (DDPM-DiT)', 'act': 'ACT', 'flash': 'FLASH'}
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
def build_policy(cfg: PolicyConfig | dict, pretrained: bool = True) -> BasePolicy:
|
| 279 |
+
"""The policy of `cfg`; pretrained=True initializes the backbone from cfg.backbone_weights (training),
|
| 280 |
+
False builds the same structure with random weights (a checkpoint load, which must not download anything)."""
|
| 281 |
+
cfg = cfg if isinstance(cfg, PolicyConfig) else PolicyConfig.from_dict(cfg)
|
| 282 |
+
if cfg.policy not in POLICIES:
|
| 283 |
+
raise KeyError(f'unknown baseline {cfg.policy!r}; one of {sorted(POLICIES)}')
|
| 284 |
+
cfg = replace(cfg) # a copy (resolved backbone_norm)
|
| 285 |
+
return POLICIES[cfg.policy](cfg, init_weights=cfg.backbone_weights if pretrained else None)
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Environment of the FM-DiT / DP / ACT baselines (training and the policy server), Python 3.12, CUDA 12.8 wheels:
|
| 2 |
+
# uv venv <env> --python 3.12
|
| 3 |
+
# uv pip install --python <env>/bin/python -r evaluation/baselines/requirements.txt \
|
| 4 |
+
# --extra-index-url https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match
|
| 5 |
+
torch==2.9.0+cu128
|
| 6 |
+
torchvision==0.24.0+cu128
|
| 7 |
+
diffusers==0.35.1
|
| 8 |
+
av==15.1.0
|
| 9 |
+
pyarrow==23.0.1
|
| 10 |
+
numpy==2.2.6
|
| 11 |
+
opencv-python-headless==4.11.0.86
|
| 12 |
+
pytest==8.4.2
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Checkpoints and inference of the baselines.
|
| 2 |
+
|
| 3 |
+
A checkpoint is a directory written by train.py (`<run>/checkpoints/step-NNNNNN/`, `final` links the last one):
|
| 4 |
+
|
| 5 |
+
- `model.pt`: torch.save of {format, config (the config.json text), state_dict}: the EMA weights (or the raw ones when
|
| 6 |
+
EMA is off) with the policy's state and action normalizers, loaded strictly with `weights_only=True`;
|
| 7 |
+
- `config.json`: the policy configuration, the contract (robot, cameras, state and action columns), the image size,
|
| 8 |
+
the training task text, dataset, episodes, recipe and statistics;
|
| 9 |
+
- `protocol.json`: model.pt's size and SHA-256.
|
| 10 |
+
|
| 11 |
+
`BaselinePolicy.predict` takes the live frames of the checkpoint's cameras (any size; resized with data.resize_frame,
|
| 12 |
+
as the training cache), the physical state of the contract and a seed, and returns the physical (horizon,
|
| 13 |
+
action_dim) chunk with its normalized form; row 0 is the action of the observation's frame.
|
| 14 |
+
"""
|
| 15 |
+
from __future__ import annotations
|
| 16 |
+
|
| 17 |
+
import hashlib
|
| 18 |
+
import json
|
| 19 |
+
from pathlib import Path
|
| 20 |
+
|
| 21 |
+
import numpy as np
|
| 22 |
+
|
| 23 |
+
FORMAT = 'hb_baselines/1'
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def sha256(path) -> str:
|
| 27 |
+
digest = hashlib.sha256()
|
| 28 |
+
with Path(path).open('rb') as stream:
|
| 29 |
+
for block in iter(lambda: stream.read(16 << 20), b''):
|
| 30 |
+
digest.update(block)
|
| 31 |
+
return digest.hexdigest()
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def save_checkpoint(folder, policy, config: dict):
|
| 35 |
+
"""Write model.pt, config.json and protocol.json of `policy` (an nn.Module) into `folder`."""
|
| 36 |
+
import torch
|
| 37 |
+
folder = Path(folder)
|
| 38 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 39 |
+
text = json.dumps(dict(config, format=FORMAT), indent=1)
|
| 40 |
+
state = {k: v.detach().cpu().contiguous() for k, v in policy.state_dict().items()}
|
| 41 |
+
torch.save(dict(format=FORMAT, config=text, state_dict=state), folder / 'model.pt.tmp')
|
| 42 |
+
(folder / 'model.pt.tmp').replace(folder / 'model.pt')
|
| 43 |
+
(folder / 'config.json').write_text(text)
|
| 44 |
+
(folder / 'protocol.json').write_text(json.dumps(dict(
|
| 45 |
+
format=FORMAT, step=config.get('step'), policy=config['policy']['policy'],
|
| 46 |
+
files={'model.pt': dict(bytes=(folder / 'model.pt').stat().st_size, sha256=sha256(folder / 'model.pt'))}),
|
| 47 |
+
indent=1))
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
def load_checkpoint(folder, device='cpu', verify=True):
|
| 51 |
+
"""(policy in eval mode on `device`, config dict) of a checkpoint directory."""
|
| 52 |
+
import torch
|
| 53 |
+
from .policies import build_policy
|
| 54 |
+
folder = Path(folder)
|
| 55 |
+
if verify:
|
| 56 |
+
protocol = json.loads((folder / 'protocol.json').read_text())
|
| 57 |
+
entry = protocol['files']['model.pt']
|
| 58 |
+
if (folder / 'model.pt').stat().st_size != entry['bytes']:
|
| 59 |
+
raise ValueError(f'{folder}/model.pt differs from protocol.json')
|
| 60 |
+
payload = torch.load(folder / 'model.pt', map_location='cpu', weights_only=True)
|
| 61 |
+
if payload.get('format') != FORMAT:
|
| 62 |
+
raise ValueError(f"{folder}: format {payload.get('format')!r}, expected {FORMAT}")
|
| 63 |
+
config = json.loads(payload['config'])
|
| 64 |
+
if json.loads((folder / 'config.json').read_text()) != config:
|
| 65 |
+
raise ValueError(f'{folder}: config.json differs from the one inside model.pt')
|
| 66 |
+
policy = build_policy(config['policy'], pretrained=False) # every weight comes from model.pt
|
| 67 |
+
policy.load_state_dict(payload['state_dict'], strict=True)
|
| 68 |
+
return policy.to(device).eval(), config
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
class BaselinePolicy:
|
| 72 |
+
"""A loaded checkpoint for closed-loop inference (one request at a time)."""
|
| 73 |
+
|
| 74 |
+
def __init__(self, checkpoint, device='cuda:0', policy: str | None = None, robot: str | None = None):
|
| 75 |
+
import torch
|
| 76 |
+
self.torch = torch
|
| 77 |
+
self.device = torch.device(device)
|
| 78 |
+
self.model, self.config = load_checkpoint(checkpoint, device=self.device)
|
| 79 |
+
self.checkpoint = str(Path(checkpoint).resolve())
|
| 80 |
+
name, contract = self.config['policy']['policy'], self.config['contract']
|
| 81 |
+
if policy is not None and name != policy:
|
| 82 |
+
raise ValueError(f'{checkpoint} is a {name!r} checkpoint, not {policy!r}')
|
| 83 |
+
if robot is not None and contract['robot'] != robot:
|
| 84 |
+
raise ValueError(f"{checkpoint} was trained for {contract['robot']!r} ({contract['name']}), not {robot!r}")
|
| 85 |
+
self.name, self.contract = name, contract
|
| 86 |
+
self.cameras = tuple(contract['cameras'])
|
| 87 |
+
self.image_hw = tuple(self.config['image_hw'])
|
| 88 |
+
self.horizon = int(self.config['policy']['horizon'])
|
| 89 |
+
self.state_dim, self.action_dim = int(contract['state_dim']), int(contract['action_dim'])
|
| 90 |
+
self.sampling_steps = int(self.model.sampling_steps)
|
| 91 |
+
self.task_text = self.config.get('task_text')
|
| 92 |
+
|
| 93 |
+
def info(self) -> dict:
|
| 94 |
+
out = dict(model=self.name, checkpoint=self.checkpoint, step=self.config.get('step'),
|
| 95 |
+
contract=self.contract['name'], views=list(self.cameras), image_hw=list(self.image_hw),
|
| 96 |
+
action_chunk=self.horizon, action_dim=self.action_dim, state_dim=self.state_dim,
|
| 97 |
+
sampling_steps=self.sampling_steps, task_text=self.task_text,
|
| 98 |
+
training_data=self.config.get('dataset', {}).get('name'))
|
| 99 |
+
if self.name == 'flash':
|
| 100 |
+
out['flash'] = dict(self.model.flash, history_rows=self.model.history_span)
|
| 101 |
+
return out
|
| 102 |
+
|
| 103 |
+
def history(self, past_actions, history_valid):
|
| 104 |
+
"""FLASH: (history (1, n_history, Da), has_history (1,)) tensors from the executed rows before the query
|
| 105 |
+
(past_actions (N, Da) oldest first, row N-1 = frame t-1; history_valid (N,) a contiguous valid suffix)."""
|
| 106 |
+
from .flash import history_rows
|
| 107 |
+
torch, span = self.torch, self.model.history_span
|
| 108 |
+
rows = np.asarray(past_actions, np.float32)
|
| 109 |
+
valid = np.asarray(history_valid, np.float32).reshape(-1) > 0.5
|
| 110 |
+
if rows.ndim != 2 or rows.shape[1] != self.action_dim or len(valid) != len(rows):
|
| 111 |
+
raise ValueError(f'past_actions {rows.shape} / history_valid {valid.shape}: '
|
| 112 |
+
f'expected (N, {self.action_dim})')
|
| 113 |
+
if len(rows) < span: # fewer rows than the history reaches back: the missing older rows are invalid
|
| 114 |
+
pad = span - len(rows)
|
| 115 |
+
rows = np.concatenate([np.zeros((pad, rows.shape[1]), np.float32), rows])
|
| 116 |
+
valid = np.concatenate([np.zeros(pad, bool), valid])
|
| 117 |
+
hist, has = history_rows(rows[-span:], valid[-span:], self.model.stride, self.model.n_history)
|
| 118 |
+
return (torch.from_numpy(hist)[None].to(self.device),
|
| 119 |
+
torch.tensor([bool(has)], device=self.device))
|
| 120 |
+
|
| 121 |
+
def images_tensor(self, images: dict):
|
| 122 |
+
from .data import resize_frame
|
| 123 |
+
missing = [c for c in self.cameras if c not in images]
|
| 124 |
+
if missing:
|
| 125 |
+
raise KeyError(f'missing cameras {missing}; the checkpoint reads {list(self.cameras)}')
|
| 126 |
+
frames = np.stack([resize_frame(np.asarray(images[c]), self.image_hw) for c in self.cameras])
|
| 127 |
+
x = self.torch.from_numpy(frames).to(self.device).permute(0, 3, 1, 2).float().div_(255.)
|
| 128 |
+
return x.unsqueeze(0) # (1, n_cameras, 3, h, w)
|
| 129 |
+
|
| 130 |
+
def predict(self, images: dict, state, seed: int = 0, past_actions=None, history_valid=None):
|
| 131 |
+
"""(action (horizon, action_dim) float32 physical, normalized form (FLASH: the polynomial coefficients)).
|
| 132 |
+
FLASH also needs past_actions / history_valid (the interface's executed rows before the query)."""
|
| 133 |
+
torch = self.torch
|
| 134 |
+
state = np.asarray(state, np.float32).reshape(-1)
|
| 135 |
+
if state.shape != (self.state_dim,) or not np.isfinite(state).all():
|
| 136 |
+
raise ValueError(f'expected a finite state of {self.state_dim} values, got {state.shape}')
|
| 137 |
+
generator = torch.Generator(device=self.device)
|
| 138 |
+
generator.manual_seed(int(seed) % (2 ** 63 - 1))
|
| 139 |
+
extra = ()
|
| 140 |
+
if self.name == 'flash':
|
| 141 |
+
if past_actions is None or history_valid is None:
|
| 142 |
+
raise ValueError('FLASH needs past_actions and history_valid (the executed rows before the query)')
|
| 143 |
+
extra = self.history(past_actions, history_valid)
|
| 144 |
+
with torch.inference_mode():
|
| 145 |
+
action, raw = self.model.predict(self.images_tensor(images),
|
| 146 |
+
torch.from_numpy(state)[None].to(self.device), *extra,
|
| 147 |
+
generator=generator)
|
| 148 |
+
action = action[0].float().cpu().numpy()
|
| 149 |
+
if action.shape != (self.horizon, self.action_dim) or not np.isfinite(action).all():
|
| 150 |
+
raise ValueError(f'invalid prediction {action.shape}')
|
| 151 |
+
return np.ascontiguousarray(action, np.float32), raw[0].float().cpu().numpy().astype(np.float32)
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/baselines/train.py
ADDED
|
@@ -0,0 +1,500 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Train an FM-DiT, DP (DDPM-DiT), ACT or FLASH baseline on a task's LeRobot v2.1 expert dataset.
|
| 2 |
+
|
| 3 |
+
<baselines env>/bin/python -I evaluation/baselines/train.py --policy fm_dit --contract h2_sharpa \\
|
| 4 |
+
--dataset data/h2_pour_water/h2_pour_water_r1/lerobot --out <run dir> --steps 60000
|
| 5 |
+
|
| 6 |
+
The recipe is DextraVerse's shared IL recipe (configs/algorithm/il/train.yaml; runners/train_dex_flow_matching.py):
|
| 7 |
+
AdamW (lr 1e-4, betas 0.95/0.999, weight decay 1e-6), cosine decay (here after a 500-step linear warm-up, as
|
| 8 |
+
Diffusion Policy), whole-policy EMA (Diffusion Policy's warm-up schedule, max decay 0.9999) whose weights are the
|
| 9 |
+
saved checkpoint, batch 64, one observation frame and 16-row chunks. Added for the humanoid views: frames resized
|
| 10 |
+
to 168x224 (the 480x640 aspect). bf16 autocast on CUDA.
|
| 11 |
+
|
| 12 |
+
FLASH (--policy flash, evaluation/baselines/flash.py) keeps its upstream recipe (FLASH-Policy f47e490,
|
| 13 |
+
default_train.yaml + flash.yaml) where the defaults differ: seed 42 (upstream's; the protocol keeps each model's
|
| 14 |
+
official seed), ResNet18 from scratch with GroupNorm trained at the full learning rate (--backbone-weights none,
|
| 15 |
+
--backbone-lr-scale 1), diffusers' cosine schedule with a 500-step warm-up, Diffusion Policy's EMAModel decay as
|
| 16 |
+
upstream counts it, and its own items (FlashChunkDataset: the polynomial targets at the sampling stride, the executed
|
| 17 |
+
history). --flash KEY=VALUE changes a FLASH setting (flash.FLASH_DEFAULTS: stride, n_history, ...). Its augmentation
|
| 18 |
+
stream is seeded from the training seed (FlashChunkDataset aug_seed; logged as HB_AUG_SEED=<seed>).
|
| 19 |
+
|
| 20 |
+
Augmentation (2026-11-16): the Humanoid Benchmark spec v2 (docs/augmentation_v2.md, evaluation/augmentation), the
|
| 21 |
+
same for every model of the benchmark, is on by default (--augmentation hb-v2): per training item one hb_aug_v2 call
|
| 22 |
+
on the cached 168x224 frames of all cameras (colour shared, geometry / light patches / white balance per camera, one
|
| 23 |
+
of the 15 effects boosted 1.5 x) and the per-sample joint bias (+-2 deg) + noise (0.25 deg, clipped 3 sigma) on the
|
| 24 |
+
body joint angles of the raw state (G1 29, H2 31), before the policy's normalizers; actions untouched. The native
|
| 25 |
+
random shift is off (--shift 0; a shift with hb-v2 is refused). Before the first step a preflight reads training items
|
| 26 |
+
through the augmented and the plain path and checks the state width (G1 44 / H2 78, no velocity), that only the body
|
| 27 |
+
joints move and by at most 2.75 deg, that the action rows (and FLASH's history) are bit-identical, that the images
|
| 28 |
+
change, and that the offline-check items are deterministic; it is stored in run.json (--preflight-only stops after it).
|
| 29 |
+
--augmentation none is an explicit exception to the spec, recorded in run.json and the checkpoints. The ResNet18
|
| 30 |
+
starts from torchvision's ImageNet-1k weights (--backbone-weights IMAGENET1K_V1, downloaded once to the torch hub
|
| 31 |
+
cache) and is fine-tuned at 0.1 x the learning rate (--backbone-lr-scale, the DETR practice) with its BatchNorm
|
| 32 |
+
frozen; --backbone-weights none trains it from scratch (DextraVerse's GroupNorm encoder for FM-DiT and DP).
|
| 33 |
+
|
| 34 |
+
In-training MSE (owner 2026-11-22, HumanWAM hb_training/REPRODUCIBILITY.md section 6): --inloop-task <key> with
|
| 35 |
+
--inloop-code <HumanWAM hb_training/eval-action-mse> evaluates the saved (EMA) weights every HB_INLOOP_EVERY (250)
|
| 36 |
+
steps on the protocol's cached episodes (inloop.py) into <out>/logs/inloop-mse.jsonl. FLASH refuses to train without
|
| 37 |
+
it unless --allow-no-inloop (an exception to the protocol, recorded in run.json).
|
| 38 |
+
|
| 39 |
+
Writes into --out: run.json (arguments), train_log.jsonl, checkpoints/step-NNNNNN/ every --save-every steps and at the
|
| 40 |
+
end (runtime.py format), checkpoints/final -> the last one, and train_state.pt (optimizer, schedule, EMA, step) that
|
| 41 |
+
--resume continues from. Each save also measures the EMA policy offline on fixed frames (held-out episodes with
|
| 42 |
+
--val-episodes, else training frames): normalized-action MSE overall and per action group.
|
| 43 |
+
"""
|
| 44 |
+
from __future__ import annotations
|
| 45 |
+
|
| 46 |
+
import argparse
|
| 47 |
+
import copy
|
| 48 |
+
from datetime import datetime
|
| 49 |
+
import json
|
| 50 |
+
import math
|
| 51 |
+
import os
|
| 52 |
+
from pathlib import Path
|
| 53 |
+
import subprocess
|
| 54 |
+
import sys
|
| 55 |
+
import time
|
| 56 |
+
|
| 57 |
+
import numpy as np
|
| 58 |
+
|
| 59 |
+
HERE = Path(__file__).resolve().parent
|
| 60 |
+
REPO = HERE.parents[1]
|
| 61 |
+
if str(HERE.parent) not in sys.path:
|
| 62 |
+
sys.path.insert(0, str(HERE.parent))
|
| 63 |
+
|
| 64 |
+
from baselines.data import (CONTRACTS, ChunkDataset, FlashChunkDataset, LeRobotDataset, # noqa: E402
|
| 65 |
+
augmentation_module, frame_cache, load_lowdim, parse_episodes, statistics)
|
| 66 |
+
from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS # noqa: E402
|
| 67 |
+
from baselines.policies import POLICIES, PolicyConfig, build_policy # noqa: E402
|
| 68 |
+
from baselines.runtime import save_checkpoint # noqa: E402
|
| 69 |
+
|
| 70 |
+
DEFAULTS = dict(lr=1e-4, betas=(0.95, 0.999), weight_decay=1e-6, warmup=500, ema=0.9999, batch_size=64,
|
| 71 |
+
backbone_weights='IMAGENET1K_V1', backbone_lr_scale=0.1, seed=0)
|
| 72 |
+
# FLASH-Policy f47e490 default_train.yaml / flash.yaml where they differ from DEFAULTS
|
| 73 |
+
FLASH_TRAINING = dict(seed=42, backbone_weights=None, backbone_lr_scale=1.0, schedule='diffusers_cosine',
|
| 74 |
+
ema_schedule='diffusion_policy_emamodel')
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def git_commit():
|
| 78 |
+
try:
|
| 79 |
+
return subprocess.run(['git', '-C', str(REPO), 'rev-parse', 'HEAD'], capture_output=True, text=True,
|
| 80 |
+
check=True).stdout.strip()
|
| 81 |
+
except Exception: # noqa: BLE001 - outside a checkout
|
| 82 |
+
return None
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
def parse_hw(text):
|
| 86 |
+
h, w = text.lower().split('x')
|
| 87 |
+
return int(h), int(w)
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def random_shift(images, pad):
|
| 91 |
+
"""DrQ random shift: replicate-pad by `pad` pixels and crop back at a random offset per sample.
|
| 92 |
+
images (B, N, 3, H, W) float."""
|
| 93 |
+
import torch
|
| 94 |
+
import torch.nn.functional as F
|
| 95 |
+
if pad <= 0:
|
| 96 |
+
return images
|
| 97 |
+
B, N, C, H, W = images.shape
|
| 98 |
+
x = F.pad(images.reshape(B * N, C, H, W), (pad,) * 4, mode='replicate')
|
| 99 |
+
oy = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
|
| 100 |
+
ox = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
|
| 101 |
+
rows = (oy[:, None] + torch.arange(H, device=images.device)[None])[:, None, :, None].expand(-1, C, -1, W + 2 * pad)
|
| 102 |
+
x = x.gather(2, rows)
|
| 103 |
+
cols = (ox[:, None] + torch.arange(W, device=images.device)[None])[:, None, None, :].expand(-1, C, H, -1)
|
| 104 |
+
return x.gather(3, cols).reshape(B, N, C, H, W)
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
class EMA:
|
| 108 |
+
"""Diffusion Policy's EMAModel schedule: decay = min(max_decay, 1 - (1 + step) ** -0.75), parameters averaged,
|
| 109 |
+
buffers (normalizers) copied. schedule 'diffusion_policy_emamodel' counts the steps as upstream's EMAModel does
|
| 110 |
+
(decay 0 for the first two updates, then 1 - (step - 1) ** -0.75; FLASH)."""
|
| 111 |
+
|
| 112 |
+
def __init__(self, model, max_decay, schedule='hb'):
|
| 113 |
+
self.model = copy.deepcopy(model).eval().requires_grad_(False)
|
| 114 |
+
self.max_decay = float(max_decay)
|
| 115 |
+
self.schedule = schedule
|
| 116 |
+
|
| 117 |
+
def decay(self, step):
|
| 118 |
+
if self.schedule == 'diffusion_policy_emamodel':
|
| 119 |
+
return 0.0 if step <= 2 else min(self.max_decay, max(0.0, 1 - (step - 1) ** -0.75))
|
| 120 |
+
return 0.0 if step <= 0 else min(self.max_decay, max(0.0, 1 - (1 + step) ** -0.75))
|
| 121 |
+
|
| 122 |
+
def update(self, model, step):
|
| 123 |
+
import torch
|
| 124 |
+
decay = self.decay(step)
|
| 125 |
+
with torch.no_grad():
|
| 126 |
+
for e, p in zip(self.model.parameters(), model.parameters()):
|
| 127 |
+
e.mul_(decay).add_(p.detach(), alpha=1 - decay)
|
| 128 |
+
for e, b in zip(self.model.buffers(), model.buffers()):
|
| 129 |
+
e.copy_(b)
|
| 130 |
+
return decay
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
def preflight(train_set, eval_set, contract, samples=64, seed=0) -> dict:
|
| 134 |
+
"""Training items of `train_set` (augmented unless its body_dims is 0) against the same frames read without
|
| 135 |
+
augmentation, and two reads of the offline-check items; raises on any violation of docs/augmentation_v2.md.
|
| 136 |
+
Items are (images, state, *labels): every label (action rows; FLASH's polynomial rows and history) must be
|
| 137 |
+
bit-identical to the plain read."""
|
| 138 |
+
import torch
|
| 139 |
+
plain = train_set.plain() # the same frames without augmentation
|
| 140 |
+
picks = np.random.default_rng(seed).choice(len(plain), size=min(samples, len(plain)), replace=False)
|
| 141 |
+
nb, sd = train_set.body_dims, contract.state_dim
|
| 142 |
+
limit = augmentation_module().max_body_offset_rad() * (1 + 1e-5)
|
| 143 |
+
images_changed = body_moved = 0
|
| 144 |
+
worst = 0.0
|
| 145 |
+
for k in picks:
|
| 146 |
+
(im, st, *lab), (im0, st0, *lab0) = train_set[int(k)], plain[int(k)]
|
| 147 |
+
if st.shape != (sd,) or st0.shape != (sd,) or [x.shape for x in lab] != [x.shape for x in lab0]:
|
| 148 |
+
raise SystemExit(f'preflight: state {tuple(st.shape)} / labels {[tuple(x.shape) for x in lab]}, '
|
| 149 |
+
f'expected ({sd},)')
|
| 150 |
+
if not all(torch.equal(a, b) for a, b in zip(lab, lab0)):
|
| 151 |
+
raise SystemExit('preflight: an action label differs from the recorded data')
|
| 152 |
+
if not torch.equal(st[nb:], st0[nb:]):
|
| 153 |
+
raise SystemExit(f'preflight: a state value past the {nb} body joints changed')
|
| 154 |
+
delta = (st[:nb].double() - st0[:nb].double()).abs()
|
| 155 |
+
if nb:
|
| 156 |
+
worst = max(worst, float(delta.max()))
|
| 157 |
+
if worst > limit:
|
| 158 |
+
raise SystemExit(f'preflight: a body joint moved {math.degrees(worst):.3f} deg (> 2.75)')
|
| 159 |
+
body_moved += int((delta > 0).sum())
|
| 160 |
+
images_changed += int(not torch.equal(im, im0))
|
| 161 |
+
n = len(picks)
|
| 162 |
+
moved = body_moved / max(1, n * nb)
|
| 163 |
+
if nb and (images_changed < 0.9 * n or moved < 0.95):
|
| 164 |
+
raise SystemExit(f'preflight: augmentation inactive ({images_changed}/{n} images changed, {moved:.3f} of the '
|
| 165 |
+
'body joint values moved)')
|
| 166 |
+
if not nb and (images_changed or worst):
|
| 167 |
+
raise SystemExit('preflight: items changed with the augmentation off')
|
| 168 |
+
eval_picks = np.random.default_rng(seed + 1).choice(len(eval_set), size=min(8, len(eval_set)), replace=False)
|
| 169 |
+
for k in eval_picks:
|
| 170 |
+
a, b = eval_set[int(k)], eval_set[int(k)]
|
| 171 |
+
if eval_set.body_dims or not all(torch.equal(x, y) for x, y in zip(a, b)):
|
| 172 |
+
raise SystemExit('preflight: the offline-check items are not deterministic')
|
| 173 |
+
return dict(samples=n, state_dim=sd, body_dims=nb, images_changed=images_changed,
|
| 174 |
+
body_values_moved=round(moved, 4),
|
| 175 |
+
max_body_offset_deg=round(math.degrees(worst), 4), actions_bit_identical=True,
|
| 176 |
+
non_body_state_bit_identical=True, eval_items_deterministic=len(eval_picks))
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
def offline_eval(policy, dataset, samples, device, groups):
|
| 180 |
+
"""Normalized-action MSE of policy.predict on fixed dataset items (seeded), overall and per action group. FLASH:
|
| 181 |
+
its 30 Hz output rows against the recorded rows from the anchor (rows past the episode's end left out)."""
|
| 182 |
+
import torch
|
| 183 |
+
policy.eval()
|
| 184 |
+
errs, masks = [], []
|
| 185 |
+
generator = torch.Generator(device=device)
|
| 186 |
+
generator.manual_seed(0)
|
| 187 |
+
for start in range(0, len(samples), 32):
|
| 188 |
+
batch = [dataset[int(k)] for k in samples[start:start + 32]]
|
| 189 |
+
images = torch.stack([b[0] for b in batch]).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 190 |
+
state = torch.stack([b[1] for b in batch]).to(device)
|
| 191 |
+
if policy.name == 'flash':
|
| 192 |
+
hist = torch.stack([b[3] for b in batch]).to(device)
|
| 193 |
+
has = torch.stack([b[4] for b in batch]).to(device)
|
| 194 |
+
target = torch.stack([b[5] for b in batch]).to(device)
|
| 195 |
+
valid = torch.stack([b[6] for b in batch]).numpy()
|
| 196 |
+
pred, _ = policy.predict(images, state, hist, has, generator=generator)
|
| 197 |
+
raw = policy.action_norm.normalize(pred.float())
|
| 198 |
+
else:
|
| 199 |
+
target = torch.stack([b[2] for b in batch]).to(device)
|
| 200 |
+
valid = np.ones(target.shape[:2], bool)
|
| 201 |
+
_, raw = policy.predict(images, state, generator=generator)
|
| 202 |
+
errs.append((raw.float() - policy.action_norm.normalize(target)).pow(2).cpu().numpy())
|
| 203 |
+
masks.append(valid)
|
| 204 |
+
err, mask = np.concatenate(errs), np.concatenate(masks) # (S, horizon, action_dim), (S, horizon)
|
| 205 |
+
rows = err[mask]
|
| 206 |
+
out = dict(mse=float(rows.mean()), mse_row0=float(err[:, 0][mask[:, 0]].mean()))
|
| 207 |
+
offset = 0
|
| 208 |
+
for column, start, end in groups:
|
| 209 |
+
out[f'mse_{column.split(".")[-1]}'] = float(rows[:, offset:offset + end - start].mean())
|
| 210 |
+
offset += end - start
|
| 211 |
+
return out
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
def main():
|
| 215 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 216 |
+
p.add_argument('--policy', choices=sorted(POLICIES), required=True)
|
| 217 |
+
p.add_argument('--dataset', type=Path, required=True, help='LeRobot v2.1 dataset directory')
|
| 218 |
+
p.add_argument('--contract', choices=sorted(CONTRACTS), required=True)
|
| 219 |
+
p.add_argument('--cameras', help='comma-separated cameras (default: the contract\'s)')
|
| 220 |
+
p.add_argument('--episodes', help="episodes to use, e.g. '0:100' (default: all)")
|
| 221 |
+
p.add_argument('--val-episodes', type=int, default=0, help='hold out the last N of them for the offline check')
|
| 222 |
+
p.add_argument('--out', type=Path, required=True)
|
| 223 |
+
p.add_argument('--steps', type=int, default=60000)
|
| 224 |
+
p.add_argument('--batch-size', type=int, default=DEFAULTS['batch_size'])
|
| 225 |
+
p.add_argument('--lr', type=float, default=DEFAULTS['lr'])
|
| 226 |
+
p.add_argument('--weight-decay', type=float, default=DEFAULTS['weight_decay'])
|
| 227 |
+
p.add_argument('--warmup', type=int, default=DEFAULTS['warmup'])
|
| 228 |
+
p.add_argument('--ema', type=float, default=DEFAULTS['ema'], help='max EMA decay; 0 saves the raw weights')
|
| 229 |
+
p.add_argument('--horizon', type=int, default=16)
|
| 230 |
+
p.add_argument('--image-size', default='168x224', help='HxW of the policy images')
|
| 231 |
+
p.add_argument('--augmentation', choices=['hb-v2', 'none'], default='hb-v2',
|
| 232 |
+
help='training augmentation: the benchmark spec v2 (default; docs/augmentation_v2.md) or none '
|
| 233 |
+
'(an explicit exception, recorded in run.json)')
|
| 234 |
+
p.add_argument('--shift', type=int, default=0,
|
| 235 |
+
help='native random-shift augmentation in pixels (default 0: off; only with --augmentation none)')
|
| 236 |
+
p.add_argument('--preflight-only', action='store_true', help='run the data preflight, write run.json and stop')
|
| 237 |
+
p.add_argument('--backbone-weights', default=None,
|
| 238 |
+
help="torchvision weights the ResNet18 starts from (default IMAGENET1K_V1; FLASH: none); "
|
| 239 |
+
"'none': from scratch")
|
| 240 |
+
p.add_argument('--backbone-lr-scale', type=float, default=None,
|
| 241 |
+
help='learning rate of the image backbone relative to --lr (default 0.1; FLASH: 1)')
|
| 242 |
+
p.add_argument('--model', action='append', default=[], metavar='KEY=VALUE',
|
| 243 |
+
help='override a PolicyConfig field (JSON value), e.g. num_layers=6; repeatable')
|
| 244 |
+
p.add_argument('--flash', action='append', default=[], metavar='KEY=VALUE',
|
| 245 |
+
help='FLASH setting (JSON value), e.g. stride=2; repeatable (flash.FLASH_DEFAULTS)')
|
| 246 |
+
p.add_argument('--cache-dir', type=Path, default=Path('~/hb_models/baselines/cache'))
|
| 247 |
+
p.add_argument('--workers', type=int, default=32,
|
| 248 |
+
help='DataLoader workers (and frame-cache decoders); the v2 augmentation costs ~17 ms of one CPU '
|
| 249 |
+
'core per item, so 8 workers feed only ~6 steps/s at batch 64')
|
| 250 |
+
p.add_argument('--prefetch', type=int, default=2, help='batches prefetched per worker')
|
| 251 |
+
p.add_argument('--save-every', type=int, default=10000)
|
| 252 |
+
p.add_argument('--log-every', type=int, default=100)
|
| 253 |
+
p.add_argument('--eval-samples', type=int, default=256)
|
| 254 |
+
p.add_argument('--seed', type=int, default=None, help='training seed (default 0; FLASH: 42, upstream\'s)')
|
| 255 |
+
p.add_argument('--device', default='cuda:0')
|
| 256 |
+
p.add_argument('--no-amp', action='store_true')
|
| 257 |
+
p.add_argument('--resume', action='store_true', help='continue from <out>/train_state.pt')
|
| 258 |
+
p.add_argument('--inloop-task', help='in-training MSE: the task key of HumanWAM eval-action-mse hb_eval_common')
|
| 259 |
+
p.add_argument('--inloop-code', type=Path, help='in-training MSE: HumanWAM hb_training/eval-action-mse')
|
| 260 |
+
p.add_argument('--allow-no-inloop', action='store_true',
|
| 261 |
+
help='FLASH: train without the in-training MSE (an exception to the protocol, recorded)')
|
| 262 |
+
args = p.parse_args()
|
| 263 |
+
|
| 264 |
+
flash = args.policy == 'flash'
|
| 265 |
+
defaults = dict(DEFAULTS, **(FLASH_TRAINING if flash else {}))
|
| 266 |
+
seed = defaults['seed'] if args.seed is None else args.seed
|
| 267 |
+
backbone_weights = defaults['backbone_weights'] if args.backbone_weights is None else args.backbone_weights
|
| 268 |
+
backbone_lr_scale = defaults['backbone_lr_scale'] if args.backbone_lr_scale is None else args.backbone_lr_scale
|
| 269 |
+
if flash and not args.inloop_task and not args.allow_no_inloop:
|
| 270 |
+
raise SystemExit('FLASH: the protocol requires the in-training MSE (--inloop-task, --inloop-code), or '
|
| 271 |
+
'--allow-no-inloop as a recorded exception')
|
| 272 |
+
if bool(args.inloop_task) != bool(args.inloop_code):
|
| 273 |
+
raise SystemExit('--inloop-task and --inloop-code go together')
|
| 274 |
+
|
| 275 |
+
out = args.out.expanduser().resolve()
|
| 276 |
+
out.mkdir(parents=True, exist_ok=True)
|
| 277 |
+
contract = CONTRACTS[args.contract]
|
| 278 |
+
aug = augmentation_module()
|
| 279 |
+
aug.check_state_layout(contract.robot, contract.state_dim, [column for column, _, _ in contract.state])
|
| 280 |
+
hb_aug = args.augmentation == 'hb-v2'
|
| 281 |
+
if hb_aug and args.shift:
|
| 282 |
+
raise SystemExit('--shift is the native random shift, which the augmentation spec v2 turns off '
|
| 283 |
+
'(docs/augmentation_v2.md); use it only with --augmentation none')
|
| 284 |
+
if contract.body_dims != aug.BODY_JOINTS[contract.robot]:
|
| 285 |
+
raise SystemExit(f'contract {contract.name}: body_dims {contract.body_dims}, the spec perturbs '
|
| 286 |
+
f'{aug.BODY_JOINTS[contract.robot]} body joints')
|
| 287 |
+
augmentation = (aug.describe(contract.robot, contract.body_dims) if hb_aug else
|
| 288 |
+
dict(version=None, exception='--augmentation none (not the benchmark default)'))
|
| 289 |
+
cameras = tuple(args.cameras.split(',')) if args.cameras else contract.cameras
|
| 290 |
+
hw = parse_hw(args.image_size)
|
| 291 |
+
dataset = LeRobotDataset(args.dataset)
|
| 292 |
+
dataset.check_contract(contract, cameras)
|
| 293 |
+
episodes = parse_episodes(args.episodes, dataset.lengths)
|
| 294 |
+
if not 0 <= args.val_episodes < len(episodes):
|
| 295 |
+
raise SystemExit('--val-episodes must leave training episodes')
|
| 296 |
+
lowdim = load_lowdim(dataset, contract, episodes)
|
| 297 |
+
if len(lowdim['tasks']) != 1:
|
| 298 |
+
raise SystemExit(f"the baselines take no language: one task per dataset, found {lowdim['tasks']}")
|
| 299 |
+
n_train = len(episodes) - args.val_episodes
|
| 300 |
+
train_pos, val_pos = list(range(n_train)), list(range(n_train, len(episodes)))
|
| 301 |
+
train_rows = np.concatenate([np.arange(s, s + n) for s, n in
|
| 302 |
+
zip(lowdim['starts'][:n_train], lowdim['lengths'][:n_train])])
|
| 303 |
+
stats = statistics(lowdim, train_rows)
|
| 304 |
+
frames = frame_cache(dataset, lowdim, cameras, hw, args.cache_dir, workers=args.workers)
|
| 305 |
+
|
| 306 |
+
overrides = {k: json.loads(v) for k, v in (item.split('=', 1) for item in args.model)}
|
| 307 |
+
base = dict(policy=args.policy, n_cameras=len(cameras), state_dim=contract.state_dim,
|
| 308 |
+
action_dim=contract.action_dim, horizon=args.horizon)
|
| 309 |
+
if flash:
|
| 310 |
+
settings = dict(FLASH_DEFAULTS, **{k: json.loads(v) for k, v in (i.split('=', 1) for i in args.flash)})
|
| 311 |
+
if args.horizon != 16 and args.horizon != settings['rows']:
|
| 312 |
+
raise SystemExit('FLASH: the output rows are --flash rows=N, not --horizon')
|
| 313 |
+
base.update(FLASH_POLICY_FIELDS, horizon=int(settings['rows']), extra=dict(flash=settings))
|
| 314 |
+
elif args.flash:
|
| 315 |
+
raise SystemExit('--flash applies to --policy flash only')
|
| 316 |
+
weights = None if str(backbone_weights).lower() in ('none', '') else backbone_weights
|
| 317 |
+
pcfg = PolicyConfig.from_dict({**base, 'backbone_weights': weights, **overrides})
|
| 318 |
+
aug_seed = seed if (flash and hb_aug) else None
|
| 319 |
+
if flash:
|
| 320 |
+
from baselines.flash import FlashPolicy, flash_settings
|
| 321 |
+
fs = flash_settings(pcfg)
|
| 322 |
+
H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
|
| 323 |
+
offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
|
| 324 |
+
kw = dict(offsets=offsets, stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'])
|
| 325 |
+
train_set = FlashChunkDataset(lowdim, frames, cameras, hw, train_pos,
|
| 326 |
+
body_dims=contract.body_dims if hb_aug else 0, aug_seed=aug_seed, **kw)
|
| 327 |
+
eval_set = FlashChunkDataset(lowdim, frames, cameras, hw, val_pos or train_pos, with_dense=True, **kw)
|
| 328 |
+
assert FlashPolicy.name == 'flash'
|
| 329 |
+
print(f'HB_AUG_SEED={aug_seed}', file=sys.stderr, flush=True)
|
| 330 |
+
else:
|
| 331 |
+
train_set = ChunkDataset(lowdim, frames, cameras, hw, args.horizon, train_pos,
|
| 332 |
+
body_dims=contract.body_dims if hb_aug else 0)
|
| 333 |
+
eval_set = ChunkDataset(lowdim, frames, cameras, hw, args.horizon, val_pos or train_pos) # never augmented
|
| 334 |
+
checks = preflight(train_set, eval_set, contract, seed=seed)
|
| 335 |
+
print(json.dumps(dict(event='preflight', augmentation=augmentation.get('version'), **checks)), flush=True)
|
| 336 |
+
layout = dict(nodes=1, gpus=1, per_gpu_batch=args.batch_size, global_batch=args.batch_size,
|
| 337 |
+
gradient_accumulation=1, num_workers=args.workers, prefetch=args.prefetch)
|
| 338 |
+
if args.preflight_only:
|
| 339 |
+
(out / 'run.json').write_text(json.dumps(dict(
|
| 340 |
+
argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
|
| 341 |
+
contract=contract.to_dict(cameras), image_hw=list(hw), augmentation=augmentation, preflight=checks,
|
| 342 |
+
shift_px=args.shift, seed=seed, aug_seed=aug_seed, layout=layout, policy=pcfg.to_dict(),
|
| 343 |
+
code_commit=git_commit()), indent=1, default=str))
|
| 344 |
+
return
|
| 345 |
+
|
| 346 |
+
import torch
|
| 347 |
+
torch.manual_seed(seed)
|
| 348 |
+
np.random.seed(seed)
|
| 349 |
+
device = torch.device(args.device)
|
| 350 |
+
policy = build_policy(pcfg)
|
| 351 |
+
policy.fit_normalizers(stats)
|
| 352 |
+
policy.to(device)
|
| 353 |
+
ema = EMA(policy, args.ema, defaults.get('ema_schedule', 'hb')) if args.ema > 0 else None
|
| 354 |
+
named = list(policy.named_parameters())
|
| 355 |
+
backbone = [p for n, p in named if n.startswith(policy.backbone_prefix)]
|
| 356 |
+
rest = [p for n, p in named if not n.startswith(policy.backbone_prefix)]
|
| 357 |
+
if not backbone:
|
| 358 |
+
raise SystemExit(f'no backbone parameters under {policy.backbone_prefix!r}')
|
| 359 |
+
optimizer = torch.optim.AdamW([dict(params=rest), dict(params=backbone, lr=args.lr * backbone_lr_scale)],
|
| 360 |
+
lr=args.lr, betas=DEFAULTS['betas'], weight_decay=args.weight_decay)
|
| 361 |
+
schedule = defaults.get('schedule', 'hb')
|
| 362 |
+
|
| 363 |
+
def lr_lambda(step):
|
| 364 |
+
if schedule == 'diffusers_cosine': # diffusers get_cosine_schedule_with_warmup (FLASH's lr_scheduler)
|
| 365 |
+
if step < args.warmup:
|
| 366 |
+
return step / max(1, args.warmup)
|
| 367 |
+
progress = (step - args.warmup) / max(1, args.steps - args.warmup)
|
| 368 |
+
return max(0.0, 0.5 * (1.0 + math.cos(math.pi * progress)))
|
| 369 |
+
if step < args.warmup:
|
| 370 |
+
return (step + 1) / max(1, args.warmup)
|
| 371 |
+
return 0.5 * (1 + math.cos(math.pi * min(1.0, (step - args.warmup) / max(1, args.steps - args.warmup))))
|
| 372 |
+
|
| 373 |
+
scheduler = torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda)
|
| 374 |
+
step = 0
|
| 375 |
+
state_path = out / 'train_state.pt'
|
| 376 |
+
if args.resume and state_path.exists():
|
| 377 |
+
saved = torch.load(state_path, map_location='cpu', weights_only=False)
|
| 378 |
+
if saved['config']['policy'] != pcfg.to_dict():
|
| 379 |
+
raise SystemExit('train_state.pt was written for another policy configuration')
|
| 380 |
+
before = saved['config'].get('training', {})
|
| 381 |
+
if (before.get('augmentation') or {}).get('version') != augmentation.get('version') \
|
| 382 |
+
or before.get('shift_px') != args.shift:
|
| 383 |
+
raise SystemExit('train_state.pt was trained with another augmentation (version / --shift); resuming '
|
| 384 |
+
'would change it mid-run')
|
| 385 |
+
policy.load_state_dict(saved['policy'])
|
| 386 |
+
optimizer.load_state_dict(saved['optimizer'])
|
| 387 |
+
scheduler.load_state_dict(saved['scheduler'])
|
| 388 |
+
if ema is not None:
|
| 389 |
+
ema.model.load_state_dict(saved['ema'])
|
| 390 |
+
step = int(saved['step'])
|
| 391 |
+
print(json.dumps(dict(event='resumed', step=step)), flush=True)
|
| 392 |
+
|
| 393 |
+
inloop = None
|
| 394 |
+
if args.inloop_task:
|
| 395 |
+
from baselines import inloop as inloop_mod
|
| 396 |
+
inloop = inloop_mod.install(args.inloop_code, args.inloop_task, out,
|
| 397 |
+
lambda: ema.model if ema is not None else policy, contract, cameras, hw, lowdim,
|
| 398 |
+
args.policy, lowdim_loader=lambda eps: load_lowdim(dataset, contract, eps))
|
| 399 |
+
else:
|
| 400 |
+
print(f'HB_INLOOP {args.policy} disabled: no --inloop-task', flush=True)
|
| 401 |
+
|
| 402 |
+
samples = np.random.default_rng(1).choice(len(eval_set), size=min(args.eval_samples, len(eval_set)), replace=False)
|
| 403 |
+
training = dict(steps=args.steps, batch_size=args.batch_size, lr=args.lr, betas=list(DEFAULTS['betas']),
|
| 404 |
+
weight_decay=args.weight_decay, warmup=args.warmup,
|
| 405 |
+
schedule='linear warm-up + cosine' if schedule == 'hb' else schedule,
|
| 406 |
+
backbone_lr_scale=backbone_lr_scale,
|
| 407 |
+
ema=args.ema, shift_px=args.shift, amp=not args.no_amp, seed=seed,
|
| 408 |
+
augmentation=augmentation, preflight=checks)
|
| 409 |
+
if flash:
|
| 410 |
+
training.update(aug_seed=aug_seed, ema_schedule=defaults['ema_schedule'], layout=layout,
|
| 411 |
+
upstream='NTUMARS/FLASH-Policy@f47e490',
|
| 412 |
+
inloop=dict(task=args.inloop_task, code=str(args.inloop_code) if args.inloop_code else None,
|
| 413 |
+
every=int(os.environ.get('HB_INLOOP_EVERY', '250')) if args.inloop_task else 0,
|
| 414 |
+
exception=None if args.inloop_task else '--allow-no-inloop'))
|
| 415 |
+
config = dict(
|
| 416 |
+
policy=pcfg.to_dict(), contract=contract.to_dict(cameras), image_hw=list(hw), task_text=lowdim['tasks'][0],
|
| 417 |
+
dataset=dict(name=dataset.name,
|
| 418 |
+
root=str(dataset.root), robot_type=dataset.info.get('robot_type'), fps=dataset.fps,
|
| 419 |
+
episodes=episodes, train_episodes=episodes[:n_train], val_episodes=episodes[n_train:],
|
| 420 |
+
train_frames=int(len(train_set)),
|
| 421 |
+
git_commit=dataset.info.get('script_config', {}).get('git_commit')),
|
| 422 |
+
training=training, stats=stats, code_commit=git_commit())
|
| 423 |
+
run = dict(argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
|
| 424 |
+
torch=torch.__version__, **config)
|
| 425 |
+
(out / 'run.json').write_text(json.dumps(run, indent=1, default=str))
|
| 426 |
+
loader = torch.utils.data.DataLoader(train_set, batch_size=args.batch_size, shuffle=True, drop_last=True,
|
| 427 |
+
num_workers=args.workers, pin_memory=True, persistent_workers=True,
|
| 428 |
+
prefetch_factor=args.prefetch)
|
| 429 |
+
params = sum(x.numel() for x in policy.parameters())
|
| 430 |
+
print(json.dumps(dict(event='start', policy=args.policy, params=params,
|
| 431 |
+
backbone_params=sum(x.numel() for x in backbone), backbone_weights=pcfg.backbone_weights,
|
| 432 |
+
backbone_norm=pcfg.backbone_norm, train_frames=len(train_set), steps=args.steps,
|
| 433 |
+
from_step=step, cameras=list(cameras), hw=list(hw), seed=seed)), flush=True)
|
| 434 |
+
log = (out / 'train_log.jsonl').open('a')
|
| 435 |
+
amp = (not args.no_amp) and device.type == 'cuda'
|
| 436 |
+
|
| 437 |
+
def save(step):
|
| 438 |
+
folder = out / f'checkpoints/step-{step:06d}'
|
| 439 |
+
model = ema.model if ema is not None else policy
|
| 440 |
+
metrics = offline_eval(model, eval_set, samples, device, contract.action)
|
| 441 |
+
save_checkpoint(folder, model, dict(config, step=step, weights='ema' if ema is not None else 'raw',
|
| 442 |
+
offline_eval=dict(metrics, samples=len(samples),
|
| 443 |
+
frames='val' if val_pos else 'train')))
|
| 444 |
+
final = out / 'checkpoints/final'
|
| 445 |
+
if final.is_symlink() or final.exists():
|
| 446 |
+
final.unlink()
|
| 447 |
+
final.symlink_to(folder.name)
|
| 448 |
+
torch.save(dict(policy=policy.state_dict(), optimizer=optimizer.state_dict(), scheduler=scheduler.state_dict(),
|
| 449 |
+
ema=None if ema is None else ema.model.state_dict(), step=step, config=config),
|
| 450 |
+
out / 'train_state.pt.tmp')
|
| 451 |
+
(out / 'train_state.pt.tmp').replace(state_path)
|
| 452 |
+
record = dict(event='save', step=step, checkpoint=str(folder), **metrics)
|
| 453 |
+
print(json.dumps(record), flush=True)
|
| 454 |
+
log.write(json.dumps(record) + '\n')
|
| 455 |
+
log.flush()
|
| 456 |
+
policy.train()
|
| 457 |
+
|
| 458 |
+
policy.train()
|
| 459 |
+
t0, data_s, acc = time.monotonic(), 0.0, {}
|
| 460 |
+
while step < args.steps:
|
| 461 |
+
tick = time.monotonic()
|
| 462 |
+
for images, *labels in loader:
|
| 463 |
+
data_s += time.monotonic() - tick
|
| 464 |
+
images = images.to(device, non_blocking=True).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 465 |
+
images = random_shift(images, args.shift)
|
| 466 |
+
labels = [x.to(device, non_blocking=True) for x in labels]
|
| 467 |
+
with torch.autocast(device.type, dtype=torch.bfloat16, enabled=amp):
|
| 468 |
+
loss, metrics = policy.compute_loss(images, *labels)
|
| 469 |
+
optimizer.zero_grad(set_to_none=True)
|
| 470 |
+
loss.backward()
|
| 471 |
+
optimizer.step()
|
| 472 |
+
scheduler.step()
|
| 473 |
+
step += 1
|
| 474 |
+
decay = ema.update(policy, step) if ema is not None else 0.0
|
| 475 |
+
for k, v in dict(metrics, loss=float(loss.detach())).items():
|
| 476 |
+
acc[k] = acc.get(k, 0.0) + v
|
| 477 |
+
if step % args.log_every == 0:
|
| 478 |
+
elapsed = time.monotonic() - t0
|
| 479 |
+
record = dict(event='train', step=step, lr=scheduler.get_last_lr()[0],
|
| 480 |
+
backbone_lr=scheduler.get_last_lr()[1], ema_decay=round(decay, 6),
|
| 481 |
+
it_s=round(args.log_every / elapsed, 2), data_frac=round(data_s / elapsed, 3),
|
| 482 |
+
**{k: v / args.log_every for k, v in acc.items()})
|
| 483 |
+
print(json.dumps(record), flush=True)
|
| 484 |
+
log.write(json.dumps(record) + '\n')
|
| 485 |
+
log.flush()
|
| 486 |
+
t0, data_s, acc = time.monotonic(), 0.0, {}
|
| 487 |
+
if inloop is not None and step % inloop.every == 0:
|
| 488 |
+
inloop.evaluate(step, ema.model if ema is not None else policy)
|
| 489 |
+
policy.train()
|
| 490 |
+
if step % args.save_every == 0 or step == args.steps:
|
| 491 |
+
save(step)
|
| 492 |
+
if step >= args.steps:
|
| 493 |
+
break
|
| 494 |
+
tick = time.monotonic()
|
| 495 |
+
log.close()
|
| 496 |
+
print(json.dumps(dict(event='done', step=step, checkpoint=str(out / 'checkpoints/final'))), flush=True)
|
| 497 |
+
|
| 498 |
+
|
| 499 |
+
if __name__ == '__main__':
|
| 500 |
+
main()
|
a9-pedal-open/b512/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FLASH (Bai et al., NeurIPS 2026; NTUMARS/FLASH-Policy @ f47e490) baseline of the Humanoid Benchmark: one checkpoint
|
| 2 |
+
of evaluation/baselines/train.py --policy flash with the g1_sonic_dfx6 contract, served by the shared adapter
|
| 3 |
+
evaluation/baselines/adapters.py (current ego_view + chest frames, state44 and the executed-action history ->
|
| 4 |
+
16 rows of action76 at 30 Hz from the query frame; evaluation/baselines/flash.py).
|
| 5 |
+
"""
|
| 6 |
+
from pathlib import Path
|
| 7 |
+
import sys
|
| 8 |
+
|
| 9 |
+
sys.path.insert(0, str(Path(__file__).resolve().parents[2])) # evaluation/: the baselines package
|
| 10 |
+
from baselines.adapters import make_model # noqa: E402
|
| 11 |
+
|
| 12 |
+
Model = make_model('flash')
|
a9-pedal-open/b512/step-012000/training_records/code_commit.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
78235367c03e0ea376ca1880ec3026c28dd93258
|
a9-pedal-open/b512/step-012000/training_records/flash_pool_a800.sh
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Relay cmd item (2026-11-24 user): FLASH on A800, every latest task except B6 (done) and B7 (4090 side). Recipe = HumanWAM
|
| 3 |
+
# REPRODUCIBILITY.md 4.6 / protocol.yaml models.flash: 1 GPU x batch 512, no accumulation, 16000 steps, save every 2000,
|
| 4 |
+
# num_workers 40, seed 42 (upstream default), augmentation v2, in-training MSE every 250 steps (eval key = task key).
|
| 5 |
+
# 4 nodes: rank r trains the tasks with index % 4 == r at the same time, one GPU and a CPU slice each. Restart-safe (--resume).
|
| 6 |
+
G=$(dirname "$(dirname "$(realpath "$0")")"); P=$(dirname $G); L=$G/flash-a800-20261124
|
| 7 |
+
B=$P/Humanoid_benchmark-bai; PY=$G/envs/hb-baselines/bin/python
|
| 8 |
+
RK=${RANK:?DLC RANK missing}
|
| 9 |
+
for i in $(seq 2160); do [ -f $L/prep.done ] && break; [ $((i % 60)) = 1 ] && echo "$(date -u) waiting for FLASH preflight"; sleep 10; done
|
| 10 |
+
mapfile -t TS < $L/tasks.txt; NCPU=$(nproc); idx=0; slot=0; pids=()
|
| 11 |
+
for line in "${TS[@]}"; do
|
| 12 |
+
read -r T SRC EPS CON <<< "$line"
|
| 13 |
+
if [ $((idx % 4)) = "$RK" ]; then
|
| 14 |
+
if [ -f $L/pre-$T.ok ]; then
|
| 15 |
+
OUT=$P/flash-runs/$T-b512-s16000; mkdir -p $OUT/logs
|
| 16 |
+
EA=""; [ "$EPS" != all ] && EA="--episodes $EPS"
|
| 17 |
+
RES=""; [ -f $OUT/train_state.pt ] && RES="--resume"
|
| 18 |
+
C0=$((slot * NCPU / 4)); C1=$(((slot + 1) * NCPU / 4 - 1))
|
| 19 |
+
echo "$(date -u) FLASH $T on GPU $slot cores $C0-$C1 -> $OUT $RES"
|
| 20 |
+
(cd $B && CUDA_VISIBLE_DEVICES=$slot taskset -c $C0-$C1 $PY -I evaluation/baselines/train.py --policy flash --contract $CON \
|
| 21 |
+
--dataset $SRC $EA --out $OUT --steps 16000 --batch-size 512 --workers 40 --save-every 2000 --log-every 50 \
|
| 22 |
+
--cache-dir $G/flash-cache/$T --inloop-task $T --inloop-code $G/eval-action-mse $RES >> $OUT/logs/train-a800.log 2>&1) &
|
| 23 |
+
pids+=($!); slot=$((slot + 1))
|
| 24 |
+
else echo "SKIP FLASH $T: preflight failed"; fi
|
| 25 |
+
fi
|
| 26 |
+
idx=$((idx + 1))
|
| 27 |
+
done
|
| 28 |
+
rc=0; for p in "${pids[@]}"; do wait $p || rc=1; done
|
| 29 |
+
echo "$(date -u) FLASH pool rank $RK done rc=$rc"; exit $rc
|
a9-pedal-open/b512/step-012000/training_records/inloop-mse.jsonl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"step": 250, "utc": "2026-11-25T04:13:28Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 3.6, "infer_s_per_query": 0.0163, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.004907175544330225, "mae_raw": 0.050730068916432995, "nmse": 0.8076565764038606, "groups": {"motion_token": {"mse_raw": 0.005060524000880445, "nmse": 0.8328285312275826}, "hands": {"mse_raw": 2.4934723157657504e-08, "nmse": 0.0021540220447561656}}, "nmse_by_step": [0.825496968893763, 0.7755211001460856, 0.7510727420816258, 0.7501624166277907, 0.7636544056415492, 0.7999106589526372, 0.8094918316228226, 0.7895289942537106, 0.767185806747886, 0.7744098181023568, 0.7708583269253805, 0.7908298154602164, 0.8103358805952265, 0.8606664671971215, 0.9132903525692606, 0.9858963789713469], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.004229769403563433, "rms_raw": 0.0650366773717987, "mae_raw": 0.04994313643320112}, "nmse_per_episode": {"0": 0.7299702124037631, "11": 0.6857074217112339, "22": 0.8960179779287113, "33": 0.7931705372758329, "44": 0.7703765928425853, "55": 0.9315375887626768, "66": 0.836868712944771, "77": 0.806589642163524, "88": 0.7651155278322902, "99": 0.8530845023861771}, "nmse_episode_sem": 0.02366008644208846}
|
| 2 |
+
{"step": 500, "utc": "2026-11-25T04:17:31Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.005258436523793909, "mae_raw": 0.051322761098518514, "nmse": 0.810747494963738, "groups": {"motion_token": {"mse_raw": 0.005422762128763625, "nmse": 0.8360370165930956}, "hands": {"mse_raw": 1.716476301217157e-08, "nmse": 0.0014828028242967778}}, "nmse_by_step": [0.6660461296523419, 0.6451134301343026, 0.6656264466972597, 0.7225962428396221, 0.7772558773996049, 0.8612517667477113, 0.898908064737782, 0.8820038018433911, 0.8844610889984383, 0.9117605160287926, 0.9234274147961509, 0.9428002356626072, 0.915749804940054, 0.8563256468203466, 0.7622624831123593, 0.6682719403705615], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0038256113452114844, "rms_raw": 0.06185152661989423, "mae_raw": 0.04750725046707118}, "nmse_per_episode": {"0": 0.7616302067417847, "11": 0.7161725893680215, "22": 0.88929754440815, "33": 0.8907288804522379, "44": 0.8954027038125005, "55": 0.8484700638639886, "66": 0.7977910961585858, "77": 0.8788561102128477, "88": 0.71248079460231, "99": 0.6999909562759957}, "nmse_episode_sem": 0.025650605596459233}
|
| 3 |
+
{"step": 750, "utc": "2026-11-25T04:21:27Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0018557180357912824, "mae_raw": 0.03117480963370931, "nmse": 0.31971634161373597, "groups": {"motion_token": {"mse_raw": 0.001913708964505273, "nmse": 0.32968502506499175}, "hands": {"mse_raw": 8.316943576710753e-09, "nmse": 0.0007184711735500643}}, "nmse_by_step": [0.2520570446631294, 0.26048988126006145, 0.2740662644571125, 0.29685799623362374, 0.30241176456791347, 0.3310764512370947, 0.34217844648851337, 0.3296128763856033, 0.330197441208441, 0.33805888931246086, 0.337249623609454, 0.3360061363664915, 0.3339119916669803, 0.3361206823136477, 0.3519183140118994, 0.37260901161479953], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0018157829923949446, "rms_raw": 0.04261200526136906, "mae_raw": 0.03320628816356716}, "nmse_per_episode": {"0": 0.27429512488934527, "11": 0.3251427219398333, "22": 0.26987573870677944, "33": 0.39861929697511855, "44": 0.3470818395518237, "55": 0.3005631950313156, "66": 0.32480789875511973, "77": 0.3227202296691751, "88": 0.33694945346134897, "99": 0.2992082763959113}, "nmse_episode_sem": 0.011865016330032955}
|
| 4 |
+
{"step": 1000, "utc": "2026-11-25T04:24:55Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0013329686549918584, "mae_raw": 0.02623915795872189, "nmse": 0.24353085899921156, "groups": {"motion_token": {"mse_raw": 0.0013746237223848713, "nmse": 0.25112365537427883}, "hands": {"mse_raw": 6.498415451862254e-09, "nmse": 0.0005613749970589372}}, "nmse_by_step": [0.1939717005675915, 0.19903226589394124, 0.20874570403837245, 0.22282526650845402, 0.2239896901927144, 0.24170133253340298, 0.2473456231798874, 0.23794484600612298, 0.23996400408649565, 0.24997650753557654, 0.25523080531355724, 0.2588116446901874, 0.26554975559193145, 0.2715586636590543, 0.2869432718753933, 0.3025744423872597], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.001172344795951206, "rms_raw": 0.034239520965562674, "mae_raw": 0.026555846478972762}, "nmse_per_episode": {"0": 0.20003202664626457, "11": 0.24665864822799022, "22": 0.21254964711755397, "33": 0.30407062716212563, "44": 0.2541437217369449, "55": 0.22585471613203992, "66": 0.24169443495971815, "77": 0.26074833605566283, "88": 0.261617491376921, "99": 0.2277198739783419}, "nmse_episode_sem": 0.009326683387569592}
|
| 5 |
+
{"step": 1250, "utc": "2026-11-25T04:28:54Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0011046078069816376, "mae_raw": 0.023830456367491603, "nmse": 0.2096867642124255, "groups": {"motion_token": {"mse_raw": 0.001139126624872456, "nmse": 0.21622426489740923}, "hands": {"mse_raw": 5.6344754471164405e-09, "nmse": 0.0004867422929457686}}, "nmse_by_step": [0.1678898744710203, 0.1716307359312163, 0.17940845351845197, 0.19021168053309143, 0.19099571120237271, 0.2048852911768315, 0.20969434712627183, 0.2021733194567049, 0.20447106660173978, 0.21437861930861934, 0.22101916622230017, 0.2250162952978817, 0.2328610523947385, 0.23803387761456304, 0.25011907594032057, 0.2610442196988561], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0008607110943954307, "rms_raw": 0.02933787815087231, "mae_raw": 0.022897605072670572}, "nmse_per_episode": {"0": 0.17077191083016993, "11": 0.20945425008038912, "22": 0.19042435403162283, "33": 0.25922474551197944, "44": 0.21178884969426512, "55": 0.1944563003455219, "66": 0.19695320709227263, "77": 0.23352676325255847, "88": 0.22699901279860477, "99": 0.20171324633640933}, "nmse_episode_sem": 0.007936831072910273}
|
| 6 |
+
{"step": 1500, "utc": "2026-11-25T04:32:57Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0009774605646372708, "mae_raw": 0.02239792283587978, "nmse": 0.19036533502060912, "groups": {"motion_token": {"mse_raw": 0.0010080060478490185, "nmse": 0.19630047887578336}, "hands": {"mse_raw": 5.1018613443805365e-09, "nmse": 0.00044073165503384}}, "nmse_by_step": [0.1550665931315435, 0.158022592587664, 0.16420051463442925, 0.1724322813099068, 0.17295598322996455, 0.18454814732220998, 0.18916938131269856, 0.18310853554940984, 0.18547429415100636, 0.19449411419578017, 0.20102116853443963, 0.204703000487204, 0.21157740638437744, 0.21603195344026596, 0.2261045156230671, 0.23475037015247036], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0006926299565921547, "rms_raw": 0.02631786383033689, "mae_raw": 0.02061485096311444}, "nmse_per_episode": {"0": 0.15441491262030718, "11": 0.18698837623499837, "22": 0.1765804527128305, "33": 0.22934342498951918, "44": 0.19187307568737774, "55": 0.1773595125141876, "66": 0.1690702446231156, "77": 0.21789333227775484, "88": 0.20850175940514926, "99": 0.19005919757297726}, "nmse_episode_sem": 0.00724540070393305}
|
| 7 |
+
{"step": 1750, "utc": "2026-11-25T04:36:26Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0009033093798348546, "mae_raw": 0.021517751881382705, "nmse": 0.17862451426259357, "groups": {"motion_token": {"mse_raw": 0.0009315376503893614, "nmse": 0.18419378268909709}, "hands": {"mse_raw": 4.72209063786224e-09, "nmse": 0.00040792461448156426}}, "nmse_by_step": [0.14756401567500546, 0.15015837153095177, 0.15568731517006254, 0.1625119721025924, 0.1631934346305244, 0.17345858554486213, 0.17783641180091753, 0.1725735656484269, 0.17446788534640095, 0.18244100092953258, 0.1881392229771202, 0.190990721085617, 0.19655574259901357, 0.20085934011572415, 0.2101801520592239, 0.21826089907394133], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0005917186857343492, "rms_raw": 0.024325268461711767, "mae_raw": 0.018955243628302768}, "nmse_per_episode": {"0": 0.1454679994335639, "11": 0.17150120578804262, "22": 0.16716648270881979, "33": 0.20781022688260106, "44": 0.18261866547418631, "55": 0.16697547932608905, "66": 0.15318265271203574, "77": 0.20763302848596632, "88": 0.19940669232310423, "99": 0.18369335875706458}, "nmse_episode_sem": 0.006856589356965115}
|
| 8 |
+
{"step": 2000, "utc": "2026-11-25T04:40:25Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0008543113043138625, "mae_raw": 0.020903654715331323, "nmse": 0.17065761238489766, "groups": {"motion_token": {"mse_raw": 0.000881008392893979, "nmse": 0.1759785963401863}, "hands": {"mse_raw": 4.469750131363651e-09, "nmse": 0.0003861258156600914}}, "nmse_by_step": [0.14242091834325551, 0.14496384167354198, 0.1504151934575076, 0.1565315540092443, 0.15757187241490353, 0.16689650829193978, 0.1708602595655117, 0.16602682024234283, 0.16697724300641856, 0.17358627435584192, 0.17854498188813042, 0.18042267252977737, 0.18483514997545447, 0.18967734554934096, 0.19923967734766873, 0.20765544991145526], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0005246851053140741, "rms_raw": 0.02290600587867894, "mae_raw": 0.017787233026119433}, "nmse_per_episode": {"0": 0.14063103702809282, "11": 0.16127062031920705, "22": 0.1608172087679904, "33": 0.19282317497578533, "44": 0.17632413775559658, "55": 0.16008865525850222, "66": 0.14262831080924265, "77": 0.1996683017465322, "88": 0.19373777304188644, "99": 0.1784042308737579}, "nmse_episode_sem": 0.006617847368709328}
|
| 9 |
+
{"step": 2250, "utc": "2026-11-25T04:44:24Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0008142711296883149, "mae_raw": 0.020381894937779636, "nmse": 0.1640849419812332, "groups": {"motion_token": {"mse_raw": 0.0008397169676371666, "nmse": 0.169200946868682}, "hands": {"mse_raw": 4.315325058389344e-09, "nmse": 0.0003727855828711989}}, "nmse_by_step": [0.13834567609128254, 0.14094319953744658, 0.14634013519920816, 0.15200580251109708, 0.15331227272348866, 0.16183268781225602, 0.16535349622392725, 0.1604956593435362, 0.1605688204746669, 0.16597757321734385, 0.17030569301763931, 0.17123607539547386, 0.17468034445176217, 0.18026633371312661, 0.19010121066842495, 0.19898345269592763], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0004705857176155374, "rms_raw": 0.021692987752164, "mae_raw": 0.016828393141412566}, "nmse_per_episode": {"0": 0.13764569370653534, "11": 0.15357234485500654, "22": 0.1548862402903847, "33": 0.18221258845354124, "44": 0.17163095350840837, "55": 0.1540298703227033, "66": 0.13471528160584795, "77": 0.19108144704329239, "88": 0.18899956531357456, "99": 0.17248734381277953}, "nmse_episode_sem": 0.006380119351609109}
|
| 10 |
+
{"step": 2500, "utc": "2026-11-25T04:49:27Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0007759093266209501, "mae_raw": 0.019875153293585038, "nmse": 0.15780023132911036, "groups": {"motion_token": {"mse_raw": 0.0008001563619594744, "nmse": 0.16272016170764078}, "hands": {"mse_raw": 4.195788168608568e-09, "nmse": 0.00036245921613669186}}, "nmse_by_step": [0.134276590114027, 0.13686261164654578, 0.14219953555773193, 0.14761887179404373, 0.14903355885247355, 0.15685735641873771, 0.15986414422126416, 0.15479563317526607, 0.15418199878039335, 0.15849602141609004, 0.16237901323555867, 0.1625886715221476, 0.16546788360106718, 0.17182099333283588, 0.182161743484812, 0.19099425158073063], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0004282361931245394, "rms_raw": 0.020693868491041965, "mae_raw": 0.016071073652773084}, "nmse_per_episode": {"0": 0.13476454176407066, "11": 0.14671727506857038, "22": 0.1487767316200916, "33": 0.17332258207278, "44": 0.16681174256124384, "55": 0.14875026568541794, "66": 0.1291005043841578, "77": 0.1813318895367392, "88": 0.1830825165721371, "99": 0.16626378043817244}, "nmse_episode_sem": 0.005988048624793757}
|
| 11 |
+
{"step": 2750, "utc": "2026-11-25T04:55:09Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0007421291596045689, "mae_raw": 0.01942147336384972, "nmse": 0.15224401885784097, "groups": {"motion_token": {"mse_raw": 0.0007653205677135331, "nmse": 0.15699057586633527}, "hands": {"mse_raw": 4.100117716033035e-09, "nmse": 0.0003541945860232345}}, "nmse_by_step": [0.1307284824639539, 0.1332834442023686, 0.13857170515182962, 0.14398888681236463, 0.14547494340835737, 0.15271012093477948, 0.15525538727198238, 0.14991456838001904, 0.14863440436622732, 0.1519190436060007, 0.15523131919675393, 0.15479985436428853, 0.15731015882161448, 0.16432427639759112, 0.17472373173839548, 0.18323343342442505], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0003973417796034821, "rms_raw": 0.019933433713324008, "mae_raw": 0.015470187470169632}, "nmse_per_episode": {"0": 0.13238469180450557, "11": 0.1412431543952548, "22": 0.14299971059143896, "33": 0.1655568306574549, "44": 0.16182517249180936, "55": 0.14450584293500446, "66": 0.1246317942103836, "77": 0.17271714458754148, "88": 0.17697838061747112, "99": 0.16081284960904704}, "nmse_episode_sem": 0.005574174157472656}
|
| 12 |
+
{"step": 3000, "utc": "2026-11-25T05:00:53Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.1, "infer_s_per_query": 0.0071, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0007123043959359174, "mae_raw": 0.019009561084597, "nmse": 0.14727155329369168, "groups": {"motion_token": {"mse_raw": 0.000734563783312712, "nmse": 0.15186299135674977}, "hands": {"mse_raw": 3.999878490136098e-09, "nmse": 0.00034553527583293923}}, "nmse_by_step": [0.12748760346128096, 0.1299191681758554, 0.13512336355785717, 0.14056144723544728, 0.14215487499808077, 0.14873715633291154, 0.15091315362709057, 0.1452644487229733, 0.14345079651633819, 0.14603098977864187, 0.14907184542678303, 0.14807330924955767, 0.15045857513596383, 0.1581252439100122, 0.16832004690076072, 0.1763877803316096], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0003722315565613387, "rms_raw": 0.019293303412358877, "mae_raw": 0.014947638607921043}, "nmse_per_episode": {"0": 0.1303626093321708, "11": 0.1372702760714452, "22": 0.1380173874036059, "33": 0.15862899317725626, "44": 0.15699728389000694, "55": 0.14094080586031035, "66": 0.12099963448402894, "77": 0.16393473099757241, "88": 0.17115340720773994, "99": 0.1558799936897536}, "nmse_episode_sem": 0.005107015425448998}
|
| 13 |
+
{"step": 3250, "utc": "2026-11-25T05:05:47Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0038, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0006868233868511664, "mae_raw": 0.01864198157580622, "nmse": 0.14295946490840214, "groups": {"motion_token": {"mse_raw": 0.0007082864955294251, "nmse": 0.14741639514631885}, "hands": {"mse_raw": 3.909146883654984e-09, "nmse": 0.0003376972950668909}}, "nmse_by_step": [0.12450695666634219, 0.1267407355516112, 0.13171823297734958, 0.13745801519126163, 0.13919587996658656, 0.14530193159689977, 0.14729745304116665, 0.14128149009051283, 0.13896129563386445, 0.14110338409119685, 0.1437931861656717, 0.14240357440963847, 0.1448071282909981, 0.15300048816962777, 0.1627402352966892, 0.17041221882191365], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00035251567954792414, "rms_raw": 0.018775400915770724, "mae_raw": 0.014543254397852937}, "nmse_per_episode": {"0": 0.12843769866319443, "11": 0.13401271720255792, "22": 0.1331055931212815, "33": 0.15239018929606957, "44": 0.15268964246998978, "55": 0.1379544533706477, "66": 0.11743726827412737, "77": 0.15704008878020137, "88": 0.165987082282721, "99": 0.15217774765313927}, "nmse_episode_sem": 0.004785761260610615}
|
| 14 |
+
{"step": 3500, "utc": "2026-11-25T05:11:30Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.0, "infer_s_per_query": 0.0065, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.000666019699388689, "mae_raw": 0.01832945206314378, "nmse": 0.1394155744677613, "groups": {"motion_token": {"mse_raw": 0.0006868326954559516, "nmse": 0.14376198465247103}, "hands": {"mse_raw": 3.825236286665709e-09, "nmse": 0.0003304485570495993}}, "nmse_by_step": [0.1219385396594487, 0.12405554617254819, 0.12890645108431797, 0.13496582488929976, 0.1368680292500693, 0.14269787406520185, 0.14448106833223123, 0.13811004510272543, 0.13538600739072673, 0.1370904347581531, 0.13926489440771422, 0.13770593050775767, 0.1401769963501681, 0.14854512440282025, 0.15793083041263473, 0.16558055859563184], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00033784775867605254, "rms_raw": 0.018380635426340747, "mae_raw": 0.014237821849841582}, "nmse_per_episode": {"0": 0.12664770797421632, "11": 0.13133761520571488, "22": 0.12888110804009764, "33": 0.14726574506214943, "44": 0.14843510567264218, "55": 0.13525934218708, "66": 0.11510192883353793, "77": 0.15098888857755685, "88": 0.16278454066322512, "99": 0.14934128657110884}, "nmse_episode_sem": 0.004556881538980374}
|
| 15 |
+
{"step": 3750, "utc": "2026-11-25T05:17:13Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0006484042275558202, "mae_raw": 0.018060966082396008, "nmse": 0.13633317522625713, "groups": {"motion_token": {"mse_raw": 0.0006686667426383781, "nmse": 0.1405834772709118}, "hands": {"mse_raw": 3.744913964215354e-09, "nmse": 0.00032350979730680503}}, "nmse_by_step": [0.11977384175310817, 0.12171057321208185, 0.12637451854518822, 0.1326797944552004, 0.13473748702160956, 0.1403106340811101, 0.14197101913093668, 0.13537534042087757, 0.13240754485272332, 0.133770141054731, 0.13552803976712177, 0.1336488024107884, 0.13619726395165457, 0.1446494789182988, 0.1536738049101186, 0.16131057809547444], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0003243463296529371, "rms_raw": 0.01800961769868914, "mae_raw": 0.013965412419208786}, "nmse_per_episode": {"0": 0.12457406565885533, "11": 0.1292878197113897, "22": 0.12604306745664565, "33": 0.14285363738332596, "44": 0.14468888693331447, "55": 0.13322235971608576, "66": 0.1130015990619028, "77": 0.14577038016561808, "88": 0.15916427614743398, "99": 0.14669553739937022}, "nmse_episode_sem": 0.004317257988900498}
|
| 16 |
+
{"step": 4000, "utc": "2026-11-25T05:21:25Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0006331351546713312, "mae_raw": 0.017820397621248162, "nmse": 0.13360277769590548, "groups": {"motion_token": {"mse_raw": 0.000652920513813834, "nmse": 0.13776797835000673}, "hands": {"mse_raw": 3.6621112421657694e-09, "nmse": 0.00031635676466501897}}, "nmse_by_step": [0.11781314677745969, 0.1195255019473053, 0.12397005891429289, 0.13048756110787646, 0.13264497717810372, 0.13792660855944253, 0.13945413433442141, 0.1328381967794749, 0.12984316454340936, 0.1309886692593214, 0.13236755147994486, 0.13029107307481222, 0.1328484417260598, 0.14143873529672027, 0.1502307120495729, 0.1575788909331364], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0003127628315113163, "rms_raw": 0.017685101964968038, "mae_raw": 0.013719501727361099}, "nmse_per_episode": {"0": 0.12265452616799138, "11": 0.12733698702529062, "22": 0.12401302620940365, "33": 0.13897130669878213, "44": 0.14121038013691092, "55": 0.13138246494959513, "66": 0.1111289266698816, "77": 0.14110351449531966, "88": 0.15645568678577432, "99": 0.14381520818490404}, "nmse_episode_sem": 0.004123348843876633}
|
| 17 |
+
{"step": 4250, "utc": "2026-11-25T05:27:36Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.0, "infer_s_per_query": 0.007, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0006199712102989471, "mae_raw": 0.017604911961530235, "nmse": 0.13119930144374845, "groups": {"motion_token": {"mse_raw": 0.0006393451988441241, "nmse": 0.1352896236253446}, "hands": {"mse_raw": 3.576853281258732e-09, "nmse": 0.0003089916326712306}}, "nmse_by_step": [0.1161506678976895, 0.11752740023769893, 0.12179754281291827, 0.12842314173931943, 0.13071079579076672, 0.1357762354611096, 0.13713899613827849, 0.1305875930670339, 0.12747990444745128, 0.1285560700945354, 0.12972967784623815, 0.1274502146691363, 0.12997047688430532, 0.13865546640838114, 0.14731905767314002, 0.15437975921777017], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00030334274624751784, "rms_raw": 0.0174167375316825, "mae_raw": 0.013498970526488366}, "nmse_per_episode": {"0": 0.12081948762302068, "11": 0.12551644873309653, "22": 0.12216510437892376, "33": 0.1360326917646165, "44": 0.13813377395816132, "55": 0.12905846675277005, "66": 0.10968078318747018, "77": 0.1374375748891029, "88": 0.15376628760261865, "99": 0.14146683134290983}, "nmse_episode_sem": 0.003963588499638933}
|
| 18 |
+
{"step": 4500, "utc": "2026-11-25T05:33:47Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.008, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0006090171332782665, "mae_raw": 0.017417765893571753, "nmse": 0.12911630942891422, "groups": {"motion_token": {"mse_raw": 0.0006280488093546849, "nmse": 0.13314174873208198}, "hands": {"mse_raw": 3.49883287807187e-09, "nmse": 0.0003022517275460497}}, "nmse_by_step": [0.11473316782357537, 0.11587051725816873, 0.11992639782315602, 0.12657067209186665, 0.12890405957836001, 0.13380868418073344, 0.13504798946384244, 0.12858163658356747, 0.12533598278563615, 0.12636840532079294, 0.12749084598932495, 0.12502686571950716, 0.12755729567542143, 0.13628850418829, 0.1449892417023784, 0.15172360842883198], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.000296505075636217, "rms_raw": 0.017219322740346585, "mae_raw": 0.013340243219246211}, "nmse_per_episode": {"0": 0.11915655657466184, "11": 0.12355661451422106, "22": 0.12041669900123844, "33": 0.13365614421291563, "44": 0.1353031213215506, "55": 0.12719752025244888, "66": 0.10872992852566418, "77": 0.1343708006902844, "88": 0.151366655865573, "99": 0.1395137298043579}, "nmse_episode_sem": 0.0038214513017925935}
|
| 19 |
+
{"step": 4750, "utc": "2026-11-25T05:39:12Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.1, "infer_s_per_query": 0.0077, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.000599543835182192, "mae_raw": 0.017250050290480826, "nmse": 0.12728466282399112, "groups": {"motion_token": {"mse_raw": 0.0006182794733410753, "nmse": 0.131253091919219}, "hands": {"mse_raw": 3.414097929164007e-09, "nmse": 0.0002949317766985996}}, "nmse_by_step": [0.11339322021813128, 0.1143301506249349, 0.11814477929429433, 0.12487294590586868, 0.12731523124087096, 0.13205841324719156, 0.13318993020669478, 0.1268556766561579, 0.12358188584780137, 0.12460065528618035, 0.12554566618194676, 0.12302124378960365, 0.12547723353161724, 0.13410401309037648, 0.1429634029307139, 0.14938502363153683], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002890003321581765, "rms_raw": 0.017000009769355326, "mae_raw": 0.0131797508471037}, "nmse_per_episode": {"0": 0.11746557374038952, "11": 0.1217747805644316, "22": 0.11879405755116251, "33": 0.1313020783937106, "44": 0.1331615951668758, "55": 0.12522418135076013, "66": 0.10798089507520496, "77": 0.13150566384604204, "88": 0.1492955036779297, "99": 0.13858567500998395}, "nmse_episode_sem": 0.0037356038529751923}
|
| 20 |
+
{"step": 5000, "utc": "2026-11-25T05:45:04Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005906527987044555, "mae_raw": 0.017091377123310682, "nmse": 0.12554002885369342, "groups": {"motion_token": {"mse_raw": 0.0006091105943691447, "nmse": 0.12945414509639153}, "hands": {"mse_raw": 3.337434403011227e-09, "nmse": 0.0002883090873541978}}, "nmse_by_step": [0.11199856918250307, 0.11274261416741739, 0.1163694406630825, 0.12313594304242223, 0.1257279123221271, 0.13041838322904123, 0.13147219136598304, 0.12527669402793656, 0.121877211609246, 0.12294695578671008, 0.12380871681756389, 0.12119121600050371, 0.12350356077558294, 0.1321228845589907, 0.14103599773902953, 0.14724459254726915], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.000281994946399971, "rms_raw": 0.016792705154321356, "mae_raw": 0.013028525632317075}, "nmse_per_episode": {"0": 0.11552037935407929, "11": 0.12014664783584124, "22": 0.11752958649777734, "33": 0.12916158431178035, "44": 0.13099163480016165, "55": 0.12359201380526011, "66": 0.10724608192980566, "77": 0.12902161251967886, "88": 0.14759490778050247, "99": 0.1369045799918563}, "nmse_episode_sem": 0.003654688242289492}
|
| 21 |
+
{"step": 5250, "utc": "2026-11-25T05:51:11Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0082, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005836275814106481, "mae_raw": 0.01695887127048597, "nmse": 0.12413519868390652, "groups": {"motion_token": {"mse_raw": 0.0006018658413045713, "nmse": 0.12800561005212174}, "hands": {"mse_raw": 3.2648051095071488e-09, "nmse": 0.00028203490101919514}}, "nmse_by_step": [0.1108516853076731, 0.11144604703611768, 0.1150116291417974, 0.12190939235601518, 0.12457338471656128, 0.12924027414605144, 0.13019328574918798, 0.12405610950065009, 0.1205648071436367, 0.12166596757206326, 0.12225141115038693, 0.11970462042161913, 0.12188784129082698, 0.13031723551934737, 0.13925629125225433, 0.14539180963302553], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00027657603897740323, "rms_raw": 0.01663057542532438, "mae_raw": 0.012908063378961528}, "nmse_per_episode": {"0": 0.11411548317801933, "11": 0.11864381560952471, "22": 0.11638097989120057, "33": 0.12721802168754368, "44": 0.12936614028771154, "55": 0.12204342518630495, "66": 0.10697407926886202, "77": 0.12691141343393295, "88": 0.14640933315954224, "99": 0.1357363303439221}, "nmse_episode_sem": 0.0035966896389285612}
|
| 22 |
+
{"step": 5500, "utc": "2026-11-25T05:56:43Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005763125947316082, "mae_raw": 0.016825883362661973, "nmse": 0.12268777737025151, "groups": {"motion_token": {"mse_raw": 0.0005943222637780809, "nmse": 0.12651317160239747}, "hands": {"mse_raw": 3.185244484163947e-09, "nmse": 0.0002751619415802525}}, "nmse_by_step": [0.1097753206817661, 0.1102194314787519, 0.11370040821142004, 0.12063260103683081, 0.123346771012108, 0.12787238744944726, 0.12872470581555187, 0.1226684307726048, 0.11911144013202289, 0.12022090237669691, 0.12070327438318862, 0.11810326590528568, 0.12029116101288542, 0.12861687643531222, 0.1375133673036318, 0.14359720160544437], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00027325648589430297, "rms_raw": 0.016530471435936212, "mae_raw": 0.012834628978958292}, "nmse_per_episode": {"0": 0.11314129982853792, "11": 0.11766086954629186, "22": 0.11531365592540947, "33": 0.12527268008802978, "44": 0.12752185310733438, "55": 0.12024565703745169, "66": 0.1058502830062475, "77": 0.12496543181336313, "88": 0.14473514345599742, "99": 0.13464500302727364}, "nmse_episode_sem": 0.0035338601323338446}
|
| 23 |
+
{"step": 5750, "utc": "2026-11-25T06:02:34Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0085, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005693352940178772, "mae_raw": 0.016696528154535758, "nmse": 0.12131930456629092, "groups": {"motion_token": {"mse_raw": 0.000587126924486714, "nmse": 0.12510211281457934}, "hands": {"mse_raw": 3.1190151047635693e-09, "nmse": 0.00026944062106119463}}, "nmse_by_step": [0.10878109400330604, 0.10909139956684832, 0.112399728694618, 0.11929279339360854, 0.12204328051210774, 0.12642227801569286, 0.12720019536626154, 0.12132097043871186, 0.11772917671094005, 0.11893477559847651, 0.11937052488616758, 0.11671447375300652, 0.11891390035016668, 0.12709306091736516, 0.1359879570571622, 0.14186623065272982], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00026808238728501016, "rms_raw": 0.016373221652595134, "mae_raw": 0.012713990401975241}, "nmse_per_episode": {"0": 0.1117894559254071, "11": 0.11661406303354804, "22": 0.11448504691553174, "33": 0.12356215006937764, "44": 0.12579702040084856, "55": 0.1189412690068718, "66": 0.1050737143903978, "77": 0.12303817864018307, "88": 0.1430047745155985, "99": 0.1333583359762862}, "nmse_episode_sem": 0.003451023657060578}
|
| 24 |
+
{"step": 6000, "utc": "2026-11-25T06:08:29Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005624016688130122, "mae_raw": 0.01656991272913312, "nmse": 0.11996853680906329, "groups": {"motion_token": {"mse_raw": 0.0005799766255865685, "nmse": 0.12370931431748954}, "hands": {"mse_raw": 3.0520592095326197e-09, "nmse": 0.00026365653942363464}}, "nmse_by_step": [0.10779168765829153, 0.10804311383606825, 0.11122205458404394, 0.11812043346224294, 0.12090256334147383, 0.12512330225955892, 0.12576173289843037, 0.11996475278063952, 0.11633487364065347, 0.1176336036658748, 0.11803347554236214, 0.11522722468540639, 0.11740294866693503, 0.12551023352716695, 0.13432349398327512, 0.14008699624263937], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00026422383901823787, "rms_raw": 0.016254963519437313, "mae_raw": 0.01262449747191985}, "nmse_per_episode": {"0": 0.11048323783272111, "11": 0.11541039725682911, "22": 0.11367531403102747, "33": 0.12184166458888265, "44": 0.12459811904515196, "55": 0.11751553700823601, "66": 0.10427489871903278, "77": 0.12125350875356292, "88": 0.14142474886329395, "99": 0.131717256238759}, "nmse_episode_sem": 0.0033780734823913466}
|
| 25 |
+
{"step": 6250, "utc": "2026-11-25T06:14:29Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005569159323588164, "mae_raw": 0.016463915906148954, "nmse": 0.11885348576666031, "groups": {"motion_token": {"mse_raw": 0.0005743194617998569, "nmse": 0.1225595848007881}, "hands": {"mse_raw": 2.990245519138738e-09, "nmse": 0.00025831667457194623}}, "nmse_by_step": [0.10692886474855563, 0.10711107482488923, 0.11014097190732786, 0.11702651239680839, 0.11989162585539813, 0.1239416801953935, 0.12455274549134279, 0.118944750115803, 0.11528709901745024, 0.11660138134300307, 0.11685380405163098, 0.1140688341335593, 0.1162848344186307, 0.12420485062207524, 0.1330387896213889, 0.13872793568441139], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00026069485363924, "rms_raw": 0.016146047616653433, "mae_raw": 0.01254374379736012}, "nmse_per_episode": {"0": 0.10918834480141426, "11": 0.1143727730079378, "22": 0.11290666313432103, "33": 0.12055123571711243, "44": 0.1231730635171712, "55": 0.11638479979041134, "66": 0.10365722776663999, "77": 0.11981971503192362, "88": 0.13997360021147465, "99": 0.13102226008374676}, "nmse_episode_sem": 0.0033364280258858948}
|
| 26 |
+
{"step": 6500, "utc": "2026-11-25T06:20:00Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.0, "infer_s_per_query": 0.007, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005518034964327921, "mae_raw": 0.016364988680517844, "nmse": 0.11781436693351283, "groups": {"motion_token": {"mse_raw": 0.000569047264107412, "nmse": 0.12148815386046065}, "hands": {"mse_raw": 2.9308449557891308e-09, "nmse": 0.0002531852711825049}}, "nmse_by_step": [0.10613520080746472, 0.10624601671463901, 0.10916181799613854, 0.11606279423756108, 0.11897003562718722, 0.12292333490133049, 0.1235134225407754, 0.11798443327897401, 0.11432286519206722, 0.11568327832484245, 0.11571465025565059, 0.11291368596828867, 0.11514033799913319, 0.12288153993098246, 0.1318102335413975, 0.13747163856755149], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002579781205367203, "rms_raw": 0.016061697311826054, "mae_raw": 0.012480888084584803}, "nmse_per_episode": {"0": 0.10803315808708928, "11": 0.11337556749913523, "22": 0.11213430601991803, "33": 0.11927890841779556, "44": 0.12207720212718924, "55": 0.11519999411570114, "66": 0.10300022688584488, "77": 0.11858858327743567, "88": 0.1386608989175155, "99": 0.13033736499315107}, "nmse_episode_sem": 0.003309254281154598}
|
| 27 |
+
{"step": 6750, "utc": "2026-11-25T06:26:04Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0082, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005473493928040553, "mae_raw": 0.016276028433186193, "nmse": 0.11690395867866334, "groups": {"motion_token": {"mse_raw": 0.0005644539716219745, "nmse": 0.12054945790079455}, "hands": {"mse_raw": 2.870630638273682e-09, "nmse": 0.00024798357046507005}}, "nmse_by_step": [0.10534994012630326, 0.10542293096647873, 0.10822708212565381, 0.11512333114523313, 0.11805117563256069, 0.12190598098110686, 0.12245110339841148, 0.1169876692031649, 0.1134000796379254, 0.11495471692509127, 0.11484412516763538, 0.11214866191902728, 0.11432770896456654, 0.12183907447583506, 0.13086676724948884, 0.1364669857662505], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00025519582651370654, "rms_raw": 0.01597484981192958, "mae_raw": 0.012414629528291329}, "nmse_per_episode": {"0": 0.10704930785728393, "11": 0.11259969903334514, "22": 0.11153955966234355, "33": 0.11809082527982859, "44": 0.12104865595664603, "55": 0.11422843895608632, "66": 0.10241180921393961, "77": 0.11749096079340014, "88": 0.13711969470416588, "99": 0.12999399419412444}, "nmse_episode_sem": 0.0032658388986576393}
|
| 28 |
+
{"step": 7000, "utc": "2026-11-25T06:31:52Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005436007382042693, "mae_raw": 0.016196046443402647, "nmse": 0.11614113134444715, "groups": {"motion_token": {"mse_raw": 0.0005605881731350231, "nmse": 0.11976292775944347}, "hands": {"mse_raw": 2.8204201452623562e-09, "nmse": 0.00024364606456453813}}, "nmse_by_step": [0.10461538406576154, 0.10463315631833732, 0.10737114447067664, 0.11427105759961943, 0.11721990776062957, 0.12101008707833989, 0.12160603672552979, 0.11624674076491881, 0.11275095067487251, 0.11449177193481819, 0.11414885681857853, 0.1115977226645456, 0.11376745368332716, 0.12093514972304077, 0.12995355853919313, 0.13554742379963797], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002532049485004814, "rms_raw": 0.015912414917305336, "mae_raw": 0.012357271909521968}, "nmse_per_episode": {"0": 0.10617571406785084, "11": 0.1118532381132022, "22": 0.11086426074783887, "33": 0.11716689495981197, "44": 0.11997507016231052, "55": 0.11317046465565918, "66": 0.10221652431200198, "77": 0.11651601946961578, "88": 0.13592480589431452, "99": 0.13011543855779104}, "nmse_episode_sem": 0.0032492192656438422}
|
| 29 |
+
{"step": 7250, "utc": "2026-11-25T06:37:23Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0081, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005398547348867415, "mae_raw": 0.01611995130011072, "nmse": 0.11539235955612982, "groups": {"motion_token": {"mse_raw": 0.0005567251087173912, "nmse": 0.11899088674067589}, "hands": {"mse_raw": 2.772305953308717e-09, "nmse": 0.00023948965065617107}}, "nmse_by_step": [0.10398911971019623, 0.10395911810901644, 0.10663037123166712, 0.11350123806275468, 0.11649220871600864, 0.12015833598235384, 0.12074014263187703, 0.1154874757358443, 0.1119992873829325, 0.11389386164434967, 0.1134574270566913, 0.1109231834239197, 0.11307490832460589, 0.12006853770196091, 0.12910954243111916, 0.13469351058530749], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002519589684281059, "rms_raw": 0.015873215440738712, "mae_raw": 0.012314714260827097}, "nmse_per_episode": {"0": 0.10555878443598397, "11": 0.11113653802670731, "22": 0.11034498493680824, "33": 0.1163890213795456, "44": 0.11900612139221173, "55": 0.11226809377278121, "66": 0.10179691607565453, "77": 0.11559197163830233, "88": 0.13465070685698424, "99": 0.12972599643404262}, "nmse_episode_sem": 0.003205318308703156}
|
| 30 |
+
{"step": 7500, "utc": "2026-11-25T06:43:45Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0081, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005366175460426294, "mae_raw": 0.016050423839923368, "nmse": 0.11474090917673731, "groups": {"motion_token": {"mse_raw": 0.0005533867591250615, "nmse": 0.11831919975101376}, "hands": {"mse_raw": 2.7274048018828544e-09, "nmse": 0.00023561079989072587}}, "nmse_by_step": [0.10342674765861795, 0.10333455360581449, 0.105938645106045, 0.11282434532143842, 0.11579614778006152, 0.11935844471385745, 0.11995619627434194, 0.11483599879833316, 0.11144878184751182, 0.11343688489387313, 0.11291081646393601, 0.11044100146767177, 0.1124986895898074, 0.11926584102750169, 0.12836085548174475, 0.13391933125414857], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002506937893509031, "rms_raw": 0.015833312646155354, "mae_raw": 0.012281537675876048}, "nmse_per_episode": {"0": 0.10488968032951185, "11": 0.11041752231903815, "22": 0.10982546333998873, "33": 0.1157379090604347, "44": 0.11813968189151527, "55": 0.11159044737959554, "66": 0.10139206181568004, "77": 0.11470887407069881, "88": 0.13326910742266837, "99": 0.129967937553349}, "nmse_episode_sem": 0.0031886612603980813}
|
| 31 |
+
{"step": 7750, "utc": "2026-11-25T06:49:48Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.008, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005332278436661951, "mae_raw": 0.01598158990202614, "nmse": 0.11406755112650291, "groups": {"motion_token": {"mse_raw": 0.0005498911298302199, "nmse": 0.11762490991031799}, "hands": {"mse_raw": 2.6864174045460166e-09, "nmse": 0.00023207004442043252}}, "nmse_by_step": [0.10285325463641269, 0.10273188338705794, 0.10526065584086375, 0.11215026855948723, 0.11513955578786396, 0.11866287551321861, 0.119190677650366, 0.11414703643957755, 0.11082398545660568, 0.11287367699362183, 0.1123524531174466, 0.10988532754691038, 0.1118367968087582, 0.1184970594480924, 0.12752953704417125, 0.13303017084063307], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00025004001071008916, "rms_raw": 0.015812653499969232, "mae_raw": 0.01226573348689424}, "nmse_per_episode": {"0": 0.10423614775472291, "11": 0.10976383933983296, "22": 0.10940789334197878, "33": 0.11493152236118721, "44": 0.11739578618437407, "55": 0.11090451297270344, "66": 0.10110106112480957, "77": 0.11397411712602831, "88": 0.13207878280537888, "99": 0.12938265690688316}, "nmse_episode_sem": 0.003136150087583419}
|
| 32 |
+
{"step": 8000, "utc": "2026-11-25T06:54:38Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005305145804263505, "mae_raw": 0.015921761783284867, "nmse": 0.11350760490616789, "groups": {"motion_token": {"mse_raw": 0.0005470930781200117, "nmse": 0.11704755226513906}, "hands": {"mse_raw": 2.6542291904210165e-09, "nmse": 0.00022928941909051818}}, "nmse_by_step": [0.10228407143393294, 0.10214129383884218, 0.10463030339407853, 0.11153027966029255, 0.11452558425536398, 0.1180191950078529, 0.1185306682007436, 0.11357858080679177, 0.11034881316123642, 0.11241891930303971, 0.1118211657987849, 0.10946482382944805, 0.11133161201469888, 0.11787035397689308, 0.12705328941224645, 0.13246923698707158], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024904132828033535, "rms_raw": 0.015781043320399805, "mae_raw": 0.012238185176404421}, "nmse_per_episode": {"0": 0.10355475268187336, "11": 0.10924666956455077, "22": 0.10910307034140672, "33": 0.1142753186139526, "44": 0.11669697259428856, "55": 0.11034870048059965, "66": 0.10040461505726603, "77": 0.1132713128743667, "88": 0.13100600713079405, "99": 0.1296516722768072}, "nmse_episode_sem": 0.0031540230190591264}
|
| 33 |
+
{"step": 8250, "utc": "2026-11-25T07:01:28Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0091, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005280621105344084, "mae_raw": 0.015866374367647807, "nmse": 0.11299042692540295, "groups": {"motion_token": {"mse_raw": 0.0005445639694962032, "nmse": 0.11651429473455244}, "hands": {"mse_raw": 2.623756973078998e-09, "nmse": 0.00022665703261915874}}, "nmse_by_step": [0.10179206869410806, 0.10165000521070316, 0.10410682634509183, 0.11100116535846546, 0.11399481691884361, 0.11746152585458283, 0.11795700007283667, 0.11307559471462, 0.10985000255783434, 0.11199392908388482, 0.11132948839954969, 0.10901043434868996, 0.11080886541732696, 0.1172732132083915, 0.1265576847587113, 0.13187854707994204], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002478814987869504, "rms_raw": 0.015744252881192883, "mae_raw": 0.01219795103496476}, "nmse_per_episode": {"0": 0.1029668102538182, "11": 0.10876425177038655, "22": 0.10872113048573409, "33": 0.11357017416725243, "44": 0.11605251135552413, "55": 0.10984565466725178, "66": 0.09979017719654237, "77": 0.11273134551619877, "88": 0.12998216207186122, "99": 0.12994453893705785}, "nmse_episode_sem": 0.0031728531218567623}
|
| 34 |
+
{"step": 8500, "utc": "2026-11-25T07:07:42Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.1, "infer_s_per_query": 0.0074, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005256039471993754, "mae_raw": 0.015812722094726638, "nmse": 0.11248659028668985, "groups": {"motion_token": {"mse_raw": 0.0005420289894719668, "nmse": 0.11599479224587969}, "hands": {"mse_raw": 2.5944764527601115e-09, "nmse": 0.00022412759261495151}}, "nmse_by_step": [0.10135159738582063, 0.10115138134416196, 0.10357784169213397, 0.11047475228297449, 0.11346849610893577, 0.11689875107682404, 0.11737662975630093, 0.11253615607381291, 0.1093630114918849, 0.11159518314006864, 0.11090296229801988, 0.10864214513193012, 0.11035754058260257, 0.11673110940388756, 0.12602684831545627, 0.1312243312715785], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002467346914776339, "rms_raw": 0.015707790789211383, "mae_raw": 0.012159365174691702}, "nmse_per_episode": {"0": 0.10241314014405865, "11": 0.1082731515176144, "22": 0.10836931850650176, "33": 0.11305370938187492, "44": 0.11551653396621166, "55": 0.1094814676566092, "66": 0.09918883741839082, "77": 0.11226043570372518, "88": 0.12908724348744222, "99": 0.12964086294830326}, "nmse_episode_sem": 0.003163787132731818}
|
| 35 |
+
{"step": 8750, "utc": "2026-11-25T07:12:57Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.6, "infer_s_per_query": 0.0038, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005230367541853039, "mae_raw": 0.015760392828362613, "nmse": 0.11197020611001302, "groups": {"motion_token": {"mse_raw": 0.0005393815725087567, "nmse": 0.1154623429848163}, "hands": {"mse_raw": 2.567834815225332e-09, "nmse": 0.00022182611630837805}}, "nmse_by_step": [0.10095885589812237, 0.10069446302744114, 0.1030488906275662, 0.10995362454471669, 0.11293719713448697, 0.11633285999153162, 0.11679545922465001, 0.1119576255098939, 0.10882973812467266, 0.11116621271385103, 0.1104491569999246, 0.1082265279435094, 0.10992558689708637, 0.11616151089821633, 0.1254259568881988, 0.1305456855002768], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024640493107034634, "rms_raw": 0.01569729056462759, "mae_raw": 0.012139828298054264}, "nmse_per_episode": {"0": 0.10189988443902273, "11": 0.10779276327427045, "22": 0.1079962417700935, "33": 0.11255122214210342, "44": 0.11486171527398989, "55": 0.10906424048100528, "66": 0.0988011204723777, "77": 0.11183194096262002, "88": 0.1282612370518165, "99": 0.12900318467467978}, "nmse_episode_sem": 0.0031273065432042024}
|
| 36 |
+
{"step": 9000, "utc": "2026-11-25T07:16:52Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005212223965246272, "mae_raw": 0.01571905997194382, "nmse": 0.11159110713720712, "groups": {"motion_token": {"mse_raw": 0.0005375105168608603, "nmse": 0.11507145674780984}, "hands": {"mse_raw": 2.5457651672765916e-09, "nmse": 0.0002199195979203046}}, "nmse_by_step": [0.10061685396770179, 0.10032069324588803, 0.10257430808134115, 0.10952071640885906, 0.11252453217953866, 0.11585806714249479, 0.11631843269711509, 0.11153787896987913, 0.10845207484177911, 0.11087355837307156, 0.11017925092642594, 0.10798281501857415, 0.10966509364021665, 0.11579028992262459, 0.1250356301689734, 0.13010388446921858], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.000246558038985296, "rms_raw": 0.01570216669715667, "mae_raw": 0.01213293613202205}, "nmse_per_episode": {"0": 0.10147399559198335, "11": 0.10738304796211827, "22": 0.10770548509692128, "33": 0.11214413050194974, "44": 0.11436624184909594, "55": 0.10876259275946606, "66": 0.09853727103279329, "77": 0.11144667224255515, "88": 0.1276158706388023, "99": 0.12881294379912167}, "nmse_episode_sem": 0.0031170346101237244}
|
| 37 |
+
{"step": 9250, "utc": "2026-11-25T07:20:49Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005196364904972244, "mae_raw": 0.01568286921572192, "nmse": 0.11126288892035804, "groups": {"motion_token": {"mse_raw": 0.0005358750519241551, "nmse": 0.11473303821307236}, "hands": {"mse_raw": 2.5248354431956838e-09, "nmse": 0.00021811155350064584}}, "nmse_by_step": [0.10027911292200452, 0.09997151320531492, 0.1021965463639221, 0.10913669382954029, 0.11217105798986887, 0.11547367192526263, 0.11593965525557573, 0.11121298499691586, 0.10816754994519757, 0.11064287446492187, 0.109931768454782, 0.10776834206559595, 0.10937862693754552, 0.11541864548990816, 0.12471379215434378, 0.1297054353284252], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024705467586248346, "rms_raw": 0.015717973020160186, "mae_raw": 0.012135092111624802}, "nmse_per_episode": {"0": 0.10116053500854895, "11": 0.10701438968085869, "22": 0.10748975169313538, "33": 0.11177941920905395, "44": 0.11394761661065171, "55": 0.10848873685337482, "66": 0.09822117790977822, "77": 0.11108905234989697, "88": 0.1270059728960377, "99": 0.1287477320233604}, "nmse_episode_sem": 0.003113874106851016}
|
| 38 |
+
{"step": 9500, "utc": "2026-11-25T07:24:20Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005177383711284968, "mae_raw": 0.015645687362108994, "nmse": 0.11088960356655887, "groups": {"motion_token": {"mse_raw": 0.0005339176168944897, "nmse": 0.11434813687478312}, "hands": {"mse_raw": 2.5066167266921435e-09, "nmse": 0.00021653770338297417}}, "nmse_by_step": [0.10000120808218736, 0.09968952424655471, 0.1018890177533419, 0.1087589195927815, 0.11180774477267735, 0.1151019926500733, 0.11553277701166438, 0.11080453020992824, 0.10780601742628255, 0.11027557126009824, 0.10957031318398086, 0.1074412352276701, 0.10895192331838133, 0.11496479517892189, 0.12435260053530033, 0.1291728774392935], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024703602023760024, "rms_raw": 0.015717379560142977, "mae_raw": 0.012127710806129928}, "nmse_per_episode": {"0": 0.10086477419234291, "11": 0.10668900544625953, "22": 0.10727067489865788, "33": 0.11149549101451978, "44": 0.11358446898794798, "55": 0.10819590813102878, "66": 0.097910606897435, "77": 0.11074491858784792, "88": 0.12638511583734938, "99": 0.12801999279993742}, "nmse_episode_sem": 0.003068926169276168}
|
| 39 |
+
{"step": 9750, "utc": "2026-11-25T07:28:15Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005157990001742606, "mae_raw": 0.015609282065865161, "nmse": 0.11051781657418563, "groups": {"motion_token": {"mse_raw": 0.0005319176411179662, "nmse": 0.1139647764626633}, "hands": {"mse_raw": 2.4899756840643733e-09, "nmse": 0.00021510014289989588}}, "nmse_by_step": [0.09971901652391989, 0.09940285749740764, 0.10157163170769783, 0.10842499114912275, 0.11146758608433051, 0.1147258960657604, 0.11512119094434518, 0.1103897476217676, 0.10739651893371588, 0.10990860825702031, 0.10922596720845851, 0.10712666505764872, 0.10858748191663602, 0.11453908158398494, 0.12392623673037764, 0.1286237629357452], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002467515590049668, "rms_raw": 0.01570832769600147, "mae_raw": 0.012115325147046288}, "nmse_per_episode": {"0": 0.10055081655916046, "11": 0.1063655514027967, "22": 0.10705510282414064, "33": 0.1111999375960065, "44": 0.11326330868332056, "55": 0.10791361002888586, "66": 0.0976597145632088, "77": 0.11041809425413673, "88": 0.12582754044073186, "99": 0.12714244456556303}, "nmse_episode_sem": 0.0030165697768587273}
|
| 40 |
+
{"step": 10000, "utc": "2026-11-25T07:32:13Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005142271305813983, "mae_raw": 0.015576893260822148, "nmse": 0.11021334427234744, "groups": {"motion_token": {"mse_raw": 0.0005302966510786986, "nmse": 0.1136508307262347}, "hands": {"mse_raw": 2.4746677850884885e-09, "nmse": 0.00021377774795512474}}, "nmse_by_step": [0.09947403886207219, 0.09914225650426609, 0.10129053282440921, 0.10813110083549711, 0.1111983301439088, 0.11441128301225055, 0.11477460743126612, 0.11006153887710805, 0.1070655806719195, 0.10962404860302796, 0.10893653129935786, 0.10684992153787769, 0.1082720494024742, 0.11423015580480719, 0.12358948129891095, 0.12822665357188331], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002469258176653703, "rms_raw": 0.015713873413813997, "mae_raw": 0.012118767509221834}, "nmse_per_episode": {"0": 0.10031943105564439, "11": 0.10606265014707222, "22": 0.1068240590494947, "33": 0.11090296764814563, "44": 0.11303636831286415, "55": 0.1076431692167821, "66": 0.09744994469254037, "77": 0.11011534496141535, "88": 0.1252367545392529, "99": 0.12673671501379774}, "nmse_episode_sem": 0.0029866613509090725}
|
| 41 |
+
{"step": 10250, "utc": "2026-11-25T07:35:38Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005131555062927777, "mae_raw": 0.015552810154766623, "nmse": 0.10999550093116026, "groups": {"motion_token": {"mse_raw": 0.0005291915390136107, "nmse": 0.11342622146658353}, "hands": {"mse_raw": 2.4592261221291473e-09, "nmse": 0.00021244379761559988}}, "nmse_by_step": [0.09926931956484655, 0.09894008690121803, 0.10106029359757498, 0.10792932274953501, 0.11097848018546928, 0.11414740985221197, 0.11449402024355027, 0.10980211643456482, 0.10685811036212235, 0.10944054073770927, 0.10870649747663125, 0.10666561576026967, 0.10807315348093803, 0.11401431675396094, 0.1234205890922893, 0.12799518485046638], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002465650703005419, "rms_raw": 0.015702390591898478, "mae_raw": 0.012106563263196523}, "nmse_per_episode": {"0": 0.10012473953498195, "11": 0.10580362138697309, "22": 0.1065713140853828, "33": 0.11067852601779275, "44": 0.1128171603604477, "55": 0.1074341635679021, "66": 0.09727802550616178, "77": 0.10988701569629049, "88": 0.1247937150490707, "99": 0.1267554327919723}, "nmse_episode_sem": 0.00298676141771311}
|
| 42 |
+
{"step": 10500, "utc": "2026-11-25T07:39:35Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005120148375616607, "mae_raw": 0.015528333706629944, "nmse": 0.10977570820213828, "groups": {"motion_token": {"mse_raw": 0.0005280152247646528, "nmse": 0.11319959304220006}, "hands": {"mse_raw": 2.447065910218883e-09, "nmse": 0.0002113933201606067}}, "nmse_by_step": [0.0990927564861102, 0.09874527375037558, 0.1008387895220012, 0.10772329550118215, 0.11075010252174718, 0.11389522286517949, 0.11425153412156144, 0.1095401982326431, 0.10662253543959083, 0.10926180679430672, 0.10852085804873085, 0.10649251388958678, 0.10788052334447254, 0.11376610959190134, 0.1231833165520403, 0.127711223199479], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002469483500903275, "rms_raw": 0.015714590357063955, "mae_raw": 0.01211642274701473}, "nmse_per_episode": {"0": 0.09994775630306414, "11": 0.10558983843182214, "22": 0.10638902321916233, "33": 0.11047970610555123, "44": 0.1126020831114388, "55": 0.10724882426800629, "66": 0.09709141956984883, "77": 0.10969161651725025, "88": 0.124443256558541, "99": 0.12644215644264414}, "nmse_episode_sem": 0.0029698192413054967}
|
| 43 |
+
{"step": 10750, "utc": "2026-11-25T07:43:34Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005110535605426289, "mae_raw": 0.015506829063722385, "nmse": 0.10958450780848515, "groups": {"motion_token": {"mse_raw": 0.0005270239081778087, "nmse": 0.11300244692403852}, "hands": {"mse_raw": 2.4362168770925117e-09, "nmse": 0.00021045611077710025}}, "nmse_by_step": [0.09893242285050123, 0.09855906497874282, 0.10064409940303835, 0.10753212362241812, 0.11053387156732813, 0.11366125611901225, 0.1140355721704649, 0.1092936076615591, 0.1064090271535718, 0.10911101859709486, 0.10835153540247353, 0.1063679460397889, 0.10773649814958154, 0.11357984493210323, 0.12300319471955272, 0.12746795757242682], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002472179393508573, "rms_raw": 0.015723165691134126, "mae_raw": 0.012122676399638968}, "nmse_per_episode": {"0": 0.09979641960614229, "11": 0.10537426666201394, "22": 0.1062376770368424, "33": 0.11027388352793657, "44": 0.11243869232397927, "55": 0.10710738792034699, "66": 0.09688584555269737, "77": 0.10957921969122547, "88": 0.12408503525420381, "99": 0.12621168821185544}, "nmse_episode_sem": 0.002957131051843828}
|
| 44 |
+
{"step": 11000, "utc": "2026-11-25T07:47:00Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005104429995230863, "mae_raw": 0.015491119776666205, "nmse": 0.10945662234722484, "groups": {"motion_token": {"mse_raw": 0.0005263942674018536, "nmse": 0.11287058883711425}, "hands": {"mse_raw": 2.4274025309300637e-09, "nmse": 0.00020969467076334996}}, "nmse_by_step": [0.0988039130775158, 0.0984082792350068, 0.10047773437186179, 0.10739909505673793, 0.11037125243670162, 0.11348213821048848, 0.11385581744203442, 0.10912764008968043, 0.1062693516125197, 0.10902407785569598, 0.10825278905487991, 0.10631612304836878, 0.1076721019821742, 0.11346532268936334, 0.12290503013435276, 0.1273513469748915], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024747186690570296, "rms_raw": 0.015731238568711076, "mae_raw": 0.0121275532926036}, "nmse_per_episode": {"0": 0.09967519872199122, "11": 0.10521301484884843, "22": 0.10610876195331742, "33": 0.11011481490894665, "44": 0.11231114646485806, "55": 0.10704009134169609, "66": 0.09678819329030468, "77": 0.10944766235302313, "88": 0.12380195850450017, "99": 0.12620251616453307}, "nmse_episode_sem": 0.0029543937882854625}
|
| 45 |
+
{"step": 11250, "utc": "2026-11-25T07:50:58Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005097447325012148, "mae_raw": 0.01547586761417146, "nmse": 0.10931749503091806, "groups": {"motion_token": {"mse_raw": 0.0005256741797541489, "nmse": 0.11272713267627028}, "hands": {"mse_raw": 2.420407323181228e-09, "nmse": 0.00020909037964676638}}, "nmse_by_step": [0.09867578924806855, 0.09826309048860768, 0.10032572930671374, 0.10726804361224154, 0.11022653810682052, 0.11332865460986727, 0.11372368164177638, 0.10898061625012521, 0.10612085803524048, 0.10891570463199135, 0.10810418019223966, 0.10621367790959366, 0.10757672846722897, 0.11330491710072302, 0.12274932230485888, 0.12717790709727936], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002475015764793473, "rms_raw": 0.015732182826275167, "mae_raw": 0.012125144802916267}, "nmse_per_episode": {"0": 0.0995774597127439, "11": 0.10505876428607266, "22": 0.10598669291644416, "33": 0.10999022828067627, "44": 0.11217516105129768, "55": 0.10694472275224354, "66": 0.09665483299606996, "77": 0.10932675408443378, "88": 0.12354472259988254, "99": 0.12603686333038847}, "nmse_episode_sem": 0.002944283721555169}
|
| 46 |
+
{"step": 11500, "utc": "2026-11-25T07:54:55Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005092718186445268, "mae_raw": 0.015464466044402988, "nmse": 0.10922048405924285, "groups": {"motion_token": {"mse_raw": 0.0005251864875138546, "nmse": 0.11262710517883934}, "hands": {"mse_raw": 2.4148260366567913e-09, "nmse": 0.00020860823215566643}}, "nmse_by_step": [0.0985727972644116, 0.09814946491540116, 0.10021195398863739, 0.10717177985401201, 0.11011230310106436, 0.11321062642381649, 0.11362121593563258, 0.10886082659516161, 0.10603693526279388, 0.10886637475776473, 0.10799725838711796, 0.10613652415346786, 0.10748919193177715, 0.1131833063994115, 0.12268106926433192, 0.12710548043587203], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.0002474988816312045, "rms_raw": 0.015732097178418537, "mae_raw": 0.012121433025892173}, "nmse_per_episode": {"0": 0.09948536197970533, "11": 0.104963059291706, "22": 0.10588295134759257, "33": 0.1099008211047534, "44": 0.11207664564532606, "55": 0.10684871452012433, "66": 0.09655513938549756, "77": 0.10922343510026825, "88": 0.12335342907921241, "99": 0.12603227279334578}, "nmse_episode_sem": 0.0029450945573861464}
|
| 47 |
+
{"step": 11750, "utc": "2026-11-25T07:58:43Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 1.4, "infer_s_per_query": 0.0095, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.000508866993838983, "mae_raw": 0.015454659011226224, "nmse": 0.10913820207494311, "groups": {"motion_token": {"mse_raw": 0.0005247690120766934, "nmse": 0.11254226428381217}, "hands": {"mse_raw": 2.410232248466624e-09, "nmse": 0.0002082113911332899}}, "nmse_by_step": [0.09849478606243552, 0.09805255090774198, 0.10012070247832874, 0.10709051438257357, 0.11002035613496149, 0.11313032143807322, 0.11354498559157031, 0.10876400657528329, 0.10595513499600538, 0.1088004903953576, 0.10789876475720662, 0.10606455044891626, 0.10741497293241979, 0.11309584019800155, 0.12261881495636416, 0.12702523323575465], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024742088390618917, "rms_raw": 0.015729618047053435, "mae_raw": 0.012117980867993702}, "nmse_per_episode": {"0": 0.09940543877099084, "11": 0.10487542531351007, "22": 0.1058009103694481, "33": 0.10981944063111285, "44": 0.11200166832537059, "55": 0.10677307212637054, "66": 0.09646520686446534, "77": 0.10913133968321327, "88": 0.12323842063480277, "99": 0.12598770786030916}, "nmse_episode_sem": 0.0029461305836155044}
|
| 48 |
+
{"step": 12000, "utc": "2026-11-25T08:02:19Z", "model": "flash", "task": "a9", "split": "train10", "queries": 145, "ranks": 1, "wall_s": 0.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a9/train10", "rows": 2265, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 66, "mse_raw": 0.0005085523345407801, "mae_raw": 0.015447468136665093, "nmse": 0.10907378815120918, "groups": {"motion_token": {"mse_raw": 0.0005244445197836707, "nmse": 0.11247584677622244}, "hands": {"mse_raw": 2.4067682749877063e-09, "nmse": 0.0002079121507852475}}, "nmse_by_step": [0.09843364363976595, 0.09798477447104252, 0.10004447460134659, 0.10702917471332518, 0.10995146442952157, 0.11306038456322219, 0.1134815769286423, 0.10868852174349364, 0.10589173775868611, 0.10876126831331269, 0.10783671257290627, 0.1060200666422634, 0.10736720731825677, 0.11302661612904674, 0.1225543916680342, 0.12692925683968884], "const_dims": {"n": 10, "idx": [64, 65, 66, 67, 69, 70, 71, 72, 73, 75], "mse_raw": 0.00024751582260428446, "rms_raw": 0.01573263558989035, "mae_raw": 0.01211851098700943}, "nmse_per_episode": {"0": 0.09935490032303124, "11": 0.10481077237594053, "22": 0.10574782900259347, "33": 0.10976160195847129, "44": 0.11194103255968275, "55": 0.10671954149057095, "66": 0.09639962404166348, "77": 0.1090565365453932, "88": 0.12316080171810008, "99": 0.12589946818759015}, "nmse_episode_sem": 0.00294328603587825}
|
a9-pedal-open/b512/step-012000/training_records/pip_freeze_hb-baselines.txt
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
anyio==4.16.0
|
| 2 |
+
av==15.1.0
|
| 3 |
+
certifi==2026.11.20
|
| 4 |
+
charset-normalizer==3.5.3
|
| 5 |
+
click==8.5.1
|
| 6 |
+
diffusers==0.35.1
|
| 7 |
+
filelock==4.3.1
|
| 8 |
+
fsspec==2026.9.0
|
| 9 |
+
h11==0.16.0
|
| 10 |
+
hf-xet==1.8.0
|
| 11 |
+
httpcore2==2.16.2
|
| 12 |
+
httpx2==2.16.2
|
| 13 |
+
huggingface_hub==2.4.0
|
| 14 |
+
idna==3.20
|
| 15 |
+
importlib_metadata==10.2.0
|
| 16 |
+
iniconfig==2.3.1
|
| 17 |
+
Jinja2==3.1.6
|
| 18 |
+
lazy-importer==0.1.0
|
| 19 |
+
MarkupSafe==3.0.4
|
| 20 |
+
mpmath==1.3.0
|
| 21 |
+
networkx==3.7
|
| 22 |
+
numpy==2.2.6
|
| 23 |
+
nvidia-cublas-cu12==12.8.4.1
|
| 24 |
+
nvidia-cuda-cupti-cu12==12.8.90
|
| 25 |
+
nvidia-cuda-nvrtc-cu12==12.8.93
|
| 26 |
+
nvidia-cuda-runtime-cu12==12.8.90
|
| 27 |
+
nvidia-cudnn-cu12==9.10.2.21
|
| 28 |
+
nvidia-cufft-cu12==11.3.3.83
|
| 29 |
+
nvidia-cufile-cu12==1.13.1.3
|
| 30 |
+
nvidia-curand-cu12==10.3.9.90
|
| 31 |
+
nvidia-cusolver-cu12==11.7.3.90
|
| 32 |
+
nvidia-cusparse-cu12==12.5.8.93
|
| 33 |
+
nvidia-cusparselt-cu12==0.7.1
|
| 34 |
+
nvidia-nccl-cu12==2.27.5
|
| 35 |
+
nvidia-nvjitlink-cu12==12.8.93
|
| 36 |
+
nvidia-nvshmem-cu12==3.3.20
|
| 37 |
+
nvidia-nvtx-cu12==12.8.90
|
| 38 |
+
opencv-python-headless==4.11.0.86
|
| 39 |
+
packaging==26.4
|
| 40 |
+
pillow==13.0.0
|
| 41 |
+
pluggy==1.7.0
|
| 42 |
+
pyarrow==23.0.1
|
| 43 |
+
Pygments==2.21.0
|
| 44 |
+
pytest==8.4.2
|
| 45 |
+
PyYAML==6.0.4
|
| 46 |
+
regex==2026.11.19
|
| 47 |
+
requests==2.34.2
|
| 48 |
+
safetensors==0.8.0
|
| 49 |
+
setuptools==84.2.1
|
| 50 |
+
sympy==1.14.0
|
| 51 |
+
torch==2.9.0+cu128
|
| 52 |
+
torchvision==0.24.0+cu128
|
| 53 |
+
tqdm==4.70.1
|
| 54 |
+
triton==3.5.0
|
| 55 |
+
truststore==0.10.5
|
| 56 |
+
typing_extensions==4.16.0
|
| 57 |
+
urllib3==2.8.0
|
| 58 |
+
zipp==4.1.2
|
a9-pedal-open/b512/step-012000/training_records/run.json
ADDED
|
@@ -0,0 +1,936 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"argv": [
|
| 3 |
+
"evaluation/baselines/train.py",
|
| 4 |
+
"--policy",
|
| 5 |
+
"flash",
|
| 6 |
+
"--contract",
|
| 7 |
+
"g1_sonic_dfx6",
|
| 8 |
+
"--dataset",
|
| 9 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a9-pedal-open-8d43206/data",
|
| 10 |
+
"--out",
|
| 11 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000",
|
| 12 |
+
"--steps",
|
| 13 |
+
"12000",
|
| 14 |
+
"--batch-size",
|
| 15 |
+
"512",
|
| 16 |
+
"--workers",
|
| 17 |
+
"40",
|
| 18 |
+
"--save-every",
|
| 19 |
+
"4000",
|
| 20 |
+
"--log-every",
|
| 21 |
+
"50",
|
| 22 |
+
"--cache-dir",
|
| 23 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/flash-cache/a9",
|
| 24 |
+
"--inloop-task",
|
| 25 |
+
"a9",
|
| 26 |
+
"--inloop-code",
|
| 27 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse"
|
| 28 |
+
],
|
| 29 |
+
"started": "2026-11-25T12:09:16",
|
| 30 |
+
"host": "dlc19te5fv9wtn5t-worker-0",
|
| 31 |
+
"torch": "2.9.0+cu128",
|
| 32 |
+
"policy": {
|
| 33 |
+
"policy": "flash",
|
| 34 |
+
"n_cameras": 2,
|
| 35 |
+
"state_dim": 44,
|
| 36 |
+
"action_dim": 76,
|
| 37 |
+
"horizon": 16,
|
| 38 |
+
"backbone": "resnet18",
|
| 39 |
+
"backbone_weights": null,
|
| 40 |
+
"backbone_norm": "group",
|
| 41 |
+
"hidden_dim": 512,
|
| 42 |
+
"num_layers": 4,
|
| 43 |
+
"num_heads": 8,
|
| 44 |
+
"mlp_ratio": 4.0,
|
| 45 |
+
"dropout": 0.0,
|
| 46 |
+
"time_embed_dim": 256,
|
| 47 |
+
"num_inference_steps": 1,
|
| 48 |
+
"num_train_timesteps": 100,
|
| 49 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 50 |
+
"prediction_type": "epsilon",
|
| 51 |
+
"clip_sample": true,
|
| 52 |
+
"act_hidden_dim": 512,
|
| 53 |
+
"dim_feedforward": 3200,
|
| 54 |
+
"enc_layers": 4,
|
| 55 |
+
"dec_layers": 7,
|
| 56 |
+
"nheads": 8,
|
| 57 |
+
"latent_dim": 32,
|
| 58 |
+
"kl_weight": 10.0,
|
| 59 |
+
"extra": {
|
| 60 |
+
"flash": {
|
| 61 |
+
"stride": 2,
|
| 62 |
+
"n_history": 8,
|
| 63 |
+
"n_action": 8,
|
| 64 |
+
"rows": 16,
|
| 65 |
+
"poly_order": 6,
|
| 66 |
+
"fit_pad": 1,
|
| 67 |
+
"boundary_constraint": true,
|
| 68 |
+
"poly_prefix": 1,
|
| 69 |
+
"poly_suffix": 1,
|
| 70 |
+
"history_noise_std": 0.5,
|
| 71 |
+
"history_reg_lambda": 0.1,
|
| 72 |
+
"consistency_weight": 1.0,
|
| 73 |
+
"solver": "euler"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"contract": {
|
| 78 |
+
"name": "g1_sonic_dfx6",
|
| 79 |
+
"robot": "g1",
|
| 80 |
+
"cameras": [
|
| 81 |
+
"ego_view",
|
| 82 |
+
"chest"
|
| 83 |
+
],
|
| 84 |
+
"state": [
|
| 85 |
+
[
|
| 86 |
+
"observation.state",
|
| 87 |
+
0,
|
| 88 |
+
29
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
"observation.inspire_left_hand_state",
|
| 92 |
+
0,
|
| 93 |
+
6
|
| 94 |
+
],
|
| 95 |
+
[
|
| 96 |
+
"observation.inspire_right_hand_state",
|
| 97 |
+
0,
|
| 98 |
+
6
|
| 99 |
+
],
|
| 100 |
+
[
|
| 101 |
+
"observation.projected_gravity",
|
| 102 |
+
0,
|
| 103 |
+
3
|
| 104 |
+
]
|
| 105 |
+
],
|
| 106 |
+
"action": [
|
| 107 |
+
[
|
| 108 |
+
"action.motion_token",
|
| 109 |
+
0,
|
| 110 |
+
64
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
"observation.inspire_left_hand_state",
|
| 114 |
+
0,
|
| 115 |
+
6
|
| 116 |
+
],
|
| 117 |
+
[
|
| 118 |
+
"observation.inspire_right_hand_state",
|
| 119 |
+
0,
|
| 120 |
+
6
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"state_dim": 44,
|
| 124 |
+
"action_dim": 76,
|
| 125 |
+
"action_space": "sonic_dfx6",
|
| 126 |
+
"body_dims": 29
|
| 127 |
+
},
|
| 128 |
+
"image_hw": [
|
| 129 |
+
168,
|
| 130 |
+
224
|
| 131 |
+
],
|
| 132 |
+
"task_text": "Walk to the pedal bin and step on its pedal with the left foot to open the lid.",
|
| 133 |
+
"dataset": {
|
| 134 |
+
"name": "data",
|
| 135 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a9-pedal-open-8d43206/data",
|
| 136 |
+
"robot_type": null,
|
| 137 |
+
"fps": 30.0,
|
| 138 |
+
"episodes": [
|
| 139 |
+
0,
|
| 140 |
+
1,
|
| 141 |
+
2,
|
| 142 |
+
3,
|
| 143 |
+
4,
|
| 144 |
+
5,
|
| 145 |
+
6,
|
| 146 |
+
7,
|
| 147 |
+
8,
|
| 148 |
+
9,
|
| 149 |
+
10,
|
| 150 |
+
11,
|
| 151 |
+
12,
|
| 152 |
+
13,
|
| 153 |
+
14,
|
| 154 |
+
15,
|
| 155 |
+
16,
|
| 156 |
+
17,
|
| 157 |
+
18,
|
| 158 |
+
19,
|
| 159 |
+
20,
|
| 160 |
+
21,
|
| 161 |
+
22,
|
| 162 |
+
23,
|
| 163 |
+
24,
|
| 164 |
+
25,
|
| 165 |
+
26,
|
| 166 |
+
27,
|
| 167 |
+
28,
|
| 168 |
+
29,
|
| 169 |
+
30,
|
| 170 |
+
31,
|
| 171 |
+
32,
|
| 172 |
+
33,
|
| 173 |
+
34,
|
| 174 |
+
35,
|
| 175 |
+
36,
|
| 176 |
+
37,
|
| 177 |
+
38,
|
| 178 |
+
39,
|
| 179 |
+
40,
|
| 180 |
+
41,
|
| 181 |
+
42,
|
| 182 |
+
43,
|
| 183 |
+
44,
|
| 184 |
+
45,
|
| 185 |
+
46,
|
| 186 |
+
47,
|
| 187 |
+
48,
|
| 188 |
+
49,
|
| 189 |
+
50,
|
| 190 |
+
51,
|
| 191 |
+
52,
|
| 192 |
+
53,
|
| 193 |
+
54,
|
| 194 |
+
55,
|
| 195 |
+
56,
|
| 196 |
+
57,
|
| 197 |
+
58,
|
| 198 |
+
59,
|
| 199 |
+
60,
|
| 200 |
+
61,
|
| 201 |
+
62,
|
| 202 |
+
63,
|
| 203 |
+
64,
|
| 204 |
+
65,
|
| 205 |
+
66,
|
| 206 |
+
67,
|
| 207 |
+
68,
|
| 208 |
+
69,
|
| 209 |
+
70,
|
| 210 |
+
71,
|
| 211 |
+
72,
|
| 212 |
+
73,
|
| 213 |
+
74,
|
| 214 |
+
75,
|
| 215 |
+
76,
|
| 216 |
+
77,
|
| 217 |
+
78,
|
| 218 |
+
79,
|
| 219 |
+
80,
|
| 220 |
+
81,
|
| 221 |
+
82,
|
| 222 |
+
83,
|
| 223 |
+
84,
|
| 224 |
+
85,
|
| 225 |
+
86,
|
| 226 |
+
87,
|
| 227 |
+
88,
|
| 228 |
+
89,
|
| 229 |
+
90,
|
| 230 |
+
91,
|
| 231 |
+
92,
|
| 232 |
+
93,
|
| 233 |
+
94,
|
| 234 |
+
95,
|
| 235 |
+
96,
|
| 236 |
+
97,
|
| 237 |
+
98,
|
| 238 |
+
99
|
| 239 |
+
],
|
| 240 |
+
"train_episodes": [
|
| 241 |
+
0,
|
| 242 |
+
1,
|
| 243 |
+
2,
|
| 244 |
+
3,
|
| 245 |
+
4,
|
| 246 |
+
5,
|
| 247 |
+
6,
|
| 248 |
+
7,
|
| 249 |
+
8,
|
| 250 |
+
9,
|
| 251 |
+
10,
|
| 252 |
+
11,
|
| 253 |
+
12,
|
| 254 |
+
13,
|
| 255 |
+
14,
|
| 256 |
+
15,
|
| 257 |
+
16,
|
| 258 |
+
17,
|
| 259 |
+
18,
|
| 260 |
+
19,
|
| 261 |
+
20,
|
| 262 |
+
21,
|
| 263 |
+
22,
|
| 264 |
+
23,
|
| 265 |
+
24,
|
| 266 |
+
25,
|
| 267 |
+
26,
|
| 268 |
+
27,
|
| 269 |
+
28,
|
| 270 |
+
29,
|
| 271 |
+
30,
|
| 272 |
+
31,
|
| 273 |
+
32,
|
| 274 |
+
33,
|
| 275 |
+
34,
|
| 276 |
+
35,
|
| 277 |
+
36,
|
| 278 |
+
37,
|
| 279 |
+
38,
|
| 280 |
+
39,
|
| 281 |
+
40,
|
| 282 |
+
41,
|
| 283 |
+
42,
|
| 284 |
+
43,
|
| 285 |
+
44,
|
| 286 |
+
45,
|
| 287 |
+
46,
|
| 288 |
+
47,
|
| 289 |
+
48,
|
| 290 |
+
49,
|
| 291 |
+
50,
|
| 292 |
+
51,
|
| 293 |
+
52,
|
| 294 |
+
53,
|
| 295 |
+
54,
|
| 296 |
+
55,
|
| 297 |
+
56,
|
| 298 |
+
57,
|
| 299 |
+
58,
|
| 300 |
+
59,
|
| 301 |
+
60,
|
| 302 |
+
61,
|
| 303 |
+
62,
|
| 304 |
+
63,
|
| 305 |
+
64,
|
| 306 |
+
65,
|
| 307 |
+
66,
|
| 308 |
+
67,
|
| 309 |
+
68,
|
| 310 |
+
69,
|
| 311 |
+
70,
|
| 312 |
+
71,
|
| 313 |
+
72,
|
| 314 |
+
73,
|
| 315 |
+
74,
|
| 316 |
+
75,
|
| 317 |
+
76,
|
| 318 |
+
77,
|
| 319 |
+
78,
|
| 320 |
+
79,
|
| 321 |
+
80,
|
| 322 |
+
81,
|
| 323 |
+
82,
|
| 324 |
+
83,
|
| 325 |
+
84,
|
| 326 |
+
85,
|
| 327 |
+
86,
|
| 328 |
+
87,
|
| 329 |
+
88,
|
| 330 |
+
89,
|
| 331 |
+
90,
|
| 332 |
+
91,
|
| 333 |
+
92,
|
| 334 |
+
93,
|
| 335 |
+
94,
|
| 336 |
+
95,
|
| 337 |
+
96,
|
| 338 |
+
97,
|
| 339 |
+
98,
|
| 340 |
+
99
|
| 341 |
+
],
|
| 342 |
+
"val_episodes": [],
|
| 343 |
+
"train_frames": 22763,
|
| 344 |
+
"git_commit": "028df1bb7024fb1e3d176de7e60c84d3333cd97f"
|
| 345 |
+
},
|
| 346 |
+
"training": {
|
| 347 |
+
"steps": 12000,
|
| 348 |
+
"batch_size": 512,
|
| 349 |
+
"lr": 0.0001,
|
| 350 |
+
"betas": [
|
| 351 |
+
0.95,
|
| 352 |
+
0.999
|
| 353 |
+
],
|
| 354 |
+
"weight_decay": 1e-06,
|
| 355 |
+
"warmup": 500,
|
| 356 |
+
"schedule": "diffusers_cosine",
|
| 357 |
+
"backbone_lr_scale": 1.0,
|
| 358 |
+
"ema": 0.9999,
|
| 359 |
+
"shift_px": 0,
|
| 360 |
+
"amp": true,
|
| 361 |
+
"seed": 42,
|
| 362 |
+
"augmentation": {
|
| 363 |
+
"spec": "docs/augmentation_v2.md",
|
| 364 |
+
"version": "hb-aug-v2-20261109",
|
| 365 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 366 |
+
"visual": {
|
| 367 |
+
"effects": [
|
| 368 |
+
"exposure",
|
| 369 |
+
"contrast",
|
| 370 |
+
"saturation",
|
| 371 |
+
"hue",
|
| 372 |
+
"gamma",
|
| 373 |
+
"temperature",
|
| 374 |
+
"rotation_crop",
|
| 375 |
+
"noise",
|
| 376 |
+
"gaussian_blur",
|
| 377 |
+
"jpeg",
|
| 378 |
+
"motion_blur",
|
| 379 |
+
"sharpen",
|
| 380 |
+
"defocus",
|
| 381 |
+
"light_shadow",
|
| 382 |
+
"wb_channel"
|
| 383 |
+
],
|
| 384 |
+
"boosted_per_sample": 1,
|
| 385 |
+
"boost": 1.5,
|
| 386 |
+
"pixel_scale": "H / 224",
|
| 387 |
+
"future_targets": "none (one observation frame)"
|
| 388 |
+
},
|
| 389 |
+
"proprio": {
|
| 390 |
+
"robot": "g1",
|
| 391 |
+
"body_dims": 29,
|
| 392 |
+
"bias_deg": 2.0,
|
| 393 |
+
"bias_scope": "per_sample",
|
| 394 |
+
"noise_deg": 0.25,
|
| 395 |
+
"noise_clip_sigma": 3,
|
| 396 |
+
"delay_probability": 0.0,
|
| 397 |
+
"history_drop_probability": 0.0,
|
| 398 |
+
"velocity": false
|
| 399 |
+
},
|
| 400 |
+
"native_image_augmentation": "off",
|
| 401 |
+
"evaluation": "off"
|
| 402 |
+
},
|
| 403 |
+
"preflight": {
|
| 404 |
+
"samples": 64,
|
| 405 |
+
"state_dim": 44,
|
| 406 |
+
"body_dims": 29,
|
| 407 |
+
"images_changed": 64,
|
| 408 |
+
"body_values_moved": 1.0,
|
| 409 |
+
"max_body_offset_deg": 2.7162,
|
| 410 |
+
"actions_bit_identical": true,
|
| 411 |
+
"non_body_state_bit_identical": true,
|
| 412 |
+
"eval_items_deterministic": 8
|
| 413 |
+
},
|
| 414 |
+
"aug_seed": 42,
|
| 415 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 416 |
+
"layout": {
|
| 417 |
+
"nodes": 1,
|
| 418 |
+
"gpus": 1,
|
| 419 |
+
"per_gpu_batch": 512,
|
| 420 |
+
"global_batch": 512,
|
| 421 |
+
"gradient_accumulation": 1,
|
| 422 |
+
"num_workers": 40,
|
| 423 |
+
"prefetch": 2
|
| 424 |
+
},
|
| 425 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 426 |
+
"inloop": {
|
| 427 |
+
"task": "a9",
|
| 428 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 429 |
+
"every": 250,
|
| 430 |
+
"exception": null
|
| 431 |
+
}
|
| 432 |
+
},
|
| 433 |
+
"stats": {
|
| 434 |
+
"state": {
|
| 435 |
+
"min": [
|
| 436 |
+
-0.85328608751297,
|
| 437 |
+
-0.06907648593187332,
|
| 438 |
+
-0.21899153292179108,
|
| 439 |
+
0.12875080108642578,
|
| 440 |
+
-0.4542495906352997,
|
| 441 |
+
-0.16321630775928497,
|
| 442 |
+
-0.5057377815246582,
|
| 443 |
+
-0.2835802435874939,
|
| 444 |
+
-0.41284993290901184,
|
| 445 |
+
0.11731760948896408,
|
| 446 |
+
-0.5172221660614014,
|
| 447 |
+
-0.18826539814472198,
|
| 448 |
+
-0.03187485411763191,
|
| 449 |
+
-0.06315656006336212,
|
| 450 |
+
-0.034862205386161804,
|
| 451 |
+
0.324480801820755,
|
| 452 |
+
0.04509006068110466,
|
| 453 |
+
-0.12961792945861816,
|
| 454 |
+
-0.3828187882900238,
|
| 455 |
+
-0.5066221952438354,
|
| 456 |
+
-0.06149636581540108,
|
| 457 |
+
0.045186493545770645,
|
| 458 |
+
0.29818740487098694,
|
| 459 |
+
-0.15362273156642914,
|
| 460 |
+
-0.02466396987438202,
|
| 461 |
+
-0.27415239810943604,
|
| 462 |
+
0.4841823875904083,
|
| 463 |
+
-0.1610591560602188,
|
| 464 |
+
0.03203858435153961,
|
| 465 |
+
0.9999946355819702,
|
| 466 |
+
0.999992311000824,
|
| 467 |
+
0.9999906420707703,
|
| 468 |
+
0.9999911189079285,
|
| 469 |
+
0.9989739656448364,
|
| 470 |
+
0.0,
|
| 471 |
+
0.9999977350234985,
|
| 472 |
+
0.9999969601631165,
|
| 473 |
+
0.9999966025352478,
|
| 474 |
+
0.9999971389770508,
|
| 475 |
+
0.9990490078926086,
|
| 476 |
+
0.0,
|
| 477 |
+
-0.15878453850746155,
|
| 478 |
+
-0.14739660918712616,
|
| 479 |
+
-1.0
|
| 480 |
+
],
|
| 481 |
+
"max": [
|
| 482 |
+
0.30774569511413574,
|
| 483 |
+
0.29127001762390137,
|
| 484 |
+
0.2931687533855438,
|
| 485 |
+
1.1981122493743896,
|
| 486 |
+
0.30293598771095276,
|
| 487 |
+
0.11864283680915833,
|
| 488 |
+
0.20868174731731415,
|
| 489 |
+
0.12529540061950684,
|
| 490 |
+
0.06273241341114044,
|
| 491 |
+
1.1556999683380127,
|
| 492 |
+
0.10819908231496811,
|
| 493 |
+
0.13382957875728607,
|
| 494 |
+
0.047840241342782974,
|
| 495 |
+
0.03201582282781601,
|
| 496 |
+
0.10173576325178146,
|
| 497 |
+
0.44784021377563477,
|
| 498 |
+
0.17809371650218964,
|
| 499 |
+
0.0006325790891423821,
|
| 500 |
+
-0.23496104776859283,
|
| 501 |
+
-0.36446377635002136,
|
| 502 |
+
0.07478269934654236,
|
| 503 |
+
0.17929065227508545,
|
| 504 |
+
0.3846745491027832,
|
| 505 |
+
-0.029145779088139534,
|
| 506 |
+
0.07714414596557617,
|
| 507 |
+
-0.11649037897586823,
|
| 508 |
+
0.6306237578392029,
|
| 509 |
+
-0.029618142172694206,
|
| 510 |
+
0.2046281397342682,
|
| 511 |
+
1.0,
|
| 512 |
+
1.0,
|
| 513 |
+
1.0,
|
| 514 |
+
1.0,
|
| 515 |
+
0.9998283982276917,
|
| 516 |
+
0.0,
|
| 517 |
+
1.0,
|
| 518 |
+
1.0,
|
| 519 |
+
1.0,
|
| 520 |
+
1.0,
|
| 521 |
+
0.9999804496765137,
|
| 522 |
+
0.0,
|
| 523 |
+
0.05032211169600487,
|
| 524 |
+
0.06023091450333595,
|
| 525 |
+
-0.9835244417190552
|
| 526 |
+
],
|
| 527 |
+
"mean": [
|
| 528 |
+
-0.18867394475541033,
|
| 529 |
+
0.06859181518506506,
|
| 530 |
+
0.059216750808372715,
|
| 531 |
+
0.3741825574959319,
|
| 532 |
+
-0.10485724086469816,
|
| 533 |
+
-0.01683981723026499,
|
| 534 |
+
-0.1372116319960886,
|
| 535 |
+
-0.04772890712036113,
|
| 536 |
+
-0.19873840170413398,
|
| 537 |
+
0.3993657798537946,
|
| 538 |
+
-0.1865758556776451,
|
| 539 |
+
-0.05638726925094433,
|
| 540 |
+
0.008666907215531516,
|
| 541 |
+
-0.011401991928589289,
|
| 542 |
+
0.014006401807375142,
|
| 543 |
+
0.37017773948235055,
|
| 544 |
+
0.10901712806485336,
|
| 545 |
+
-0.049930227982091964,
|
| 546 |
+
-0.2975384835881267,
|
| 547 |
+
-0.4151976021551758,
|
| 548 |
+
0.020364781860101686,
|
| 549 |
+
0.09555342386862554,
|
| 550 |
+
0.3390257831476162,
|
| 551 |
+
-0.07808300271233913,
|
| 552 |
+
0.01983554468472139,
|
| 553 |
+
-0.18160291312318305,
|
| 554 |
+
0.5504751063561558,
|
| 555 |
+
-0.08682859835305291,
|
| 556 |
+
0.1377671019886919,
|
| 557 |
+
0.9999999952395886,
|
| 558 |
+
0.999999993283578,
|
| 559 |
+
0.9999999900864041,
|
| 560 |
+
0.9999999880832606,
|
| 561 |
+
0.9994041203394646,
|
| 562 |
+
0.0,
|
| 563 |
+
0.999999998782403,
|
| 564 |
+
0.9999999986174383,
|
| 565 |
+
0.9999999980439894,
|
| 566 |
+
0.9999999973998414,
|
| 567 |
+
0.9994378465186501,
|
| 568 |
+
0.0,
|
| 569 |
+
-0.048555671003437655,
|
| 570 |
+
-0.006914950209228234,
|
| 571 |
+
-0.9977536029625677
|
| 572 |
+
],
|
| 573 |
+
"std": [
|
| 574 |
+
0.2643987408228008,
|
| 575 |
+
0.06086022349909881,
|
| 576 |
+
0.08263500668646376,
|
| 577 |
+
0.24456513288531465,
|
| 578 |
+
0.14144645533444083,
|
| 579 |
+
0.0526514841984123,
|
| 580 |
+
0.12864315366188941,
|
| 581 |
+
0.06097857187751974,
|
| 582 |
+
0.06823207697742709,
|
| 583 |
+
0.20825681094243498,
|
| 584 |
+
0.11155529878261528,
|
| 585 |
+
0.0605648056778638,
|
| 586 |
+
0.011110143858892663,
|
| 587 |
+
0.017472980641487123,
|
| 588 |
+
0.02153435468964663,
|
| 589 |
+
0.02028871886353312,
|
| 590 |
+
0.016938082438909388,
|
| 591 |
+
0.015973335686548337,
|
| 592 |
+
0.02591653972776229,
|
| 593 |
+
0.01632131057354762,
|
| 594 |
+
0.0247790534416184,
|
| 595 |
+
0.015761488580191507,
|
| 596 |
+
0.011462800681419586,
|
| 597 |
+
0.017668421631941596,
|
| 598 |
+
0.012857238639788144,
|
| 599 |
+
0.024953211565708542,
|
| 600 |
+
0.02045509546445527,
|
| 601 |
+
0.020708735645543548,
|
| 602 |
+
0.01986295784282382,
|
| 603 |
+
9.407025022883164e-08,
|
| 604 |
+
1.4727285607879223e-07,
|
| 605 |
+
2.016490331327028e-07,
|
| 606 |
+
2.1059407794883297e-07,
|
| 607 |
+
0.00012068612396207338,
|
| 608 |
+
0.0,
|
| 609 |
+
3.209378252724693e-08,
|
| 610 |
+
4.6509652682201586e-08,
|
| 611 |
+
5.8611140496956195e-08,
|
| 612 |
+
5.934048494192063e-08,
|
| 613 |
+
0.00015549816053081873,
|
| 614 |
+
0.0,
|
| 615 |
+
0.03577476314377914,
|
| 616 |
+
0.028243381808349902,
|
| 617 |
+
0.0021807172058309152
|
| 618 |
+
]
|
| 619 |
+
},
|
| 620 |
+
"action": {
|
| 621 |
+
"min": [
|
| 622 |
+
-0.1875,
|
| 623 |
+
-0.25,
|
| 624 |
+
-0.375,
|
| 625 |
+
-0.375,
|
| 626 |
+
-0.3125,
|
| 627 |
+
-0.125,
|
| 628 |
+
-0.0625,
|
| 629 |
+
-0.1875,
|
| 630 |
+
-0.125,
|
| 631 |
+
-0.25,
|
| 632 |
+
-0.125,
|
| 633 |
+
-0.5,
|
| 634 |
+
-0.125,
|
| 635 |
+
-0.25,
|
| 636 |
+
0.0,
|
| 637 |
+
-0.375,
|
| 638 |
+
-0.125,
|
| 639 |
+
-0.125,
|
| 640 |
+
-0.3125,
|
| 641 |
+
-0.3125,
|
| 642 |
+
-0.3125,
|
| 643 |
+
-0.0625,
|
| 644 |
+
-0.25,
|
| 645 |
+
-0.1875,
|
| 646 |
+
-0.0625,
|
| 647 |
+
-0.25,
|
| 648 |
+
-0.3125,
|
| 649 |
+
-0.1875,
|
| 650 |
+
-0.1875,
|
| 651 |
+
-0.3125,
|
| 652 |
+
-0.25,
|
| 653 |
+
-0.4375,
|
| 654 |
+
-0.25,
|
| 655 |
+
0.0,
|
| 656 |
+
-0.0625,
|
| 657 |
+
0.0,
|
| 658 |
+
-0.3125,
|
| 659 |
+
0.0625,
|
| 660 |
+
0.0625,
|
| 661 |
+
-0.25,
|
| 662 |
+
-0.375,
|
| 663 |
+
-0.25,
|
| 664 |
+
-0.1875,
|
| 665 |
+
-0.25,
|
| 666 |
+
-0.125,
|
| 667 |
+
-0.125,
|
| 668 |
+
-0.0625,
|
| 669 |
+
-0.3125,
|
| 670 |
+
-0.4375,
|
| 671 |
+
-0.25,
|
| 672 |
+
-0.3125,
|
| 673 |
+
-0.125,
|
| 674 |
+
-0.3125,
|
| 675 |
+
-0.3125,
|
| 676 |
+
-0.0625,
|
| 677 |
+
-0.0625,
|
| 678 |
+
-0.125,
|
| 679 |
+
0.0625,
|
| 680 |
+
0.0,
|
| 681 |
+
-0.375,
|
| 682 |
+
0.0625,
|
| 683 |
+
-0.125,
|
| 684 |
+
0.0,
|
| 685 |
+
-0.3125,
|
| 686 |
+
0.9999946355819702,
|
| 687 |
+
0.999992311000824,
|
| 688 |
+
0.9999906420707703,
|
| 689 |
+
0.9999911189079285,
|
| 690 |
+
0.9989739656448364,
|
| 691 |
+
0.0,
|
| 692 |
+
0.9999977350234985,
|
| 693 |
+
0.9999969601631165,
|
| 694 |
+
0.9999966025352478,
|
| 695 |
+
0.9999971389770508,
|
| 696 |
+
0.9990490078926086,
|
| 697 |
+
0.0
|
| 698 |
+
],
|
| 699 |
+
"max": [
|
| 700 |
+
0.25,
|
| 701 |
+
0.25,
|
| 702 |
+
0.0,
|
| 703 |
+
0.1875,
|
| 704 |
+
0.375,
|
| 705 |
+
0.3125,
|
| 706 |
+
0.3125,
|
| 707 |
+
0.1875,
|
| 708 |
+
0.1875,
|
| 709 |
+
-0.0625,
|
| 710 |
+
0.1875,
|
| 711 |
+
0.0625,
|
| 712 |
+
0.0625,
|
| 713 |
+
0.1875,
|
| 714 |
+
0.4375,
|
| 715 |
+
0.1875,
|
| 716 |
+
0.125,
|
| 717 |
+
0.25,
|
| 718 |
+
0.125,
|
| 719 |
+
0.0,
|
| 720 |
+
0.1875,
|
| 721 |
+
0.125,
|
| 722 |
+
0.0,
|
| 723 |
+
0.25,
|
| 724 |
+
0.1875,
|
| 725 |
+
0.1875,
|
| 726 |
+
-0.0625,
|
| 727 |
+
0.3125,
|
| 728 |
+
0.375,
|
| 729 |
+
0.125,
|
| 730 |
+
0.25,
|
| 731 |
+
0.1875,
|
| 732 |
+
0.125,
|
| 733 |
+
0.375,
|
| 734 |
+
0.1875,
|
| 735 |
+
0.3125,
|
| 736 |
+
0.375,
|
| 737 |
+
0.1875,
|
| 738 |
+
0.4375,
|
| 739 |
+
0.125,
|
| 740 |
+
0.25,
|
| 741 |
+
0.25,
|
| 742 |
+
0.375,
|
| 743 |
+
-0.0625,
|
| 744 |
+
0.5,
|
| 745 |
+
0.0,
|
| 746 |
+
0.25,
|
| 747 |
+
0.0,
|
| 748 |
+
-0.1875,
|
| 749 |
+
0.0625,
|
| 750 |
+
0.4375,
|
| 751 |
+
0.25,
|
| 752 |
+
0.1875,
|
| 753 |
+
0.125,
|
| 754 |
+
0.1875,
|
| 755 |
+
0.3125,
|
| 756 |
+
0.0625,
|
| 757 |
+
0.375,
|
| 758 |
+
0.25,
|
| 759 |
+
0.125,
|
| 760 |
+
0.3125,
|
| 761 |
+
0.25,
|
| 762 |
+
0.375,
|
| 763 |
+
0.0,
|
| 764 |
+
1.0,
|
| 765 |
+
1.0,
|
| 766 |
+
1.0,
|
| 767 |
+
1.0,
|
| 768 |
+
0.9998283982276917,
|
| 769 |
+
0.0,
|
| 770 |
+
1.0,
|
| 771 |
+
1.0,
|
| 772 |
+
1.0,
|
| 773 |
+
1.0,
|
| 774 |
+
0.9999804496765137,
|
| 775 |
+
0.0
|
| 776 |
+
],
|
| 777 |
+
"mean": [
|
| 778 |
+
0.07242290119931467,
|
| 779 |
+
0.008127224003865922,
|
| 780 |
+
-0.13871469050652374,
|
| 781 |
+
-0.07624763871194483,
|
| 782 |
+
0.09058559943768396,
|
| 783 |
+
0.1369958924570575,
|
| 784 |
+
0.13454674252075738,
|
| 785 |
+
0.06728572683741159,
|
| 786 |
+
0.04104248121952291,
|
| 787 |
+
-0.182121205465009,
|
| 788 |
+
0.013519746957782366,
|
| 789 |
+
-0.23632374906646753,
|
| 790 |
+
0.010403395861705399,
|
| 791 |
+
0.018772240038659228,
|
| 792 |
+
0.24076351974695778,
|
| 793 |
+
-0.0904922461889909,
|
| 794 |
+
0.027121864429117428,
|
| 795 |
+
0.01856631375477749,
|
| 796 |
+
-0.08719467996309802,
|
| 797 |
+
-0.1140309932785661,
|
| 798 |
+
-0.010403395861705399,
|
| 799 |
+
-0.016435663137547775,
|
| 800 |
+
-0.15229484250757808,
|
| 801 |
+
0.04462285287528006,
|
| 802 |
+
0.05573738083732373,
|
| 803 |
+
-0.007465514211659272,
|
| 804 |
+
-0.17174252075736943,
|
| 805 |
+
0.04152023019812854,
|
| 806 |
+
0.047972587093089665,
|
| 807 |
+
-0.11948392127575451,
|
| 808 |
+
-0.0349388261652682,
|
| 809 |
+
-0.11785023942362606,
|
| 810 |
+
-0.0885235909150815,
|
| 811 |
+
0.17267330756051488,
|
| 812 |
+
0.08206574265255019,
|
| 813 |
+
0.17519659095901244,
|
| 814 |
+
-0.10897344374643061,
|
| 815 |
+
0.11767176997759522,
|
| 816 |
+
0.196607433115143,
|
| 817 |
+
-0.05186322101656196,
|
| 818 |
+
-0.030592408733470983,
|
| 819 |
+
-0.02094956728023547,
|
| 820 |
+
0.14595231296402056,
|
| 821 |
+
-0.1859322145587137,
|
| 822 |
+
0.1499967051794579,
|
| 823 |
+
-0.04453773667794227,
|
| 824 |
+
0.0756847735360014,
|
| 825 |
+
-0.176069718402671,
|
| 826 |
+
-0.336277621578878,
|
| 827 |
+
-0.10655449633176646,
|
| 828 |
+
0.08068466370865,
|
| 829 |
+
0.10449797917673417,
|
| 830 |
+
-0.062068927645740894,
|
| 831 |
+
-0.11361914071080262,
|
| 832 |
+
0.0472065413170496,
|
| 833 |
+
0.1298406405131134,
|
| 834 |
+
-0.03219314238017836,
|
| 835 |
+
0.2004156965250626,
|
| 836 |
+
0.10949237798181259,
|
| 837 |
+
-0.1868822211483548,
|
| 838 |
+
0.12354753327768747,
|
| 839 |
+
0.08541547687035979,
|
| 840 |
+
0.2143829899398146,
|
| 841 |
+
-0.14808845494882045,
|
| 842 |
+
0.9999999952395886,
|
| 843 |
+
0.999999993283578,
|
| 844 |
+
0.9999999900864041,
|
| 845 |
+
0.9999999880832606,
|
| 846 |
+
0.9994041203394646,
|
| 847 |
+
0.0,
|
| 848 |
+
0.999999998782403,
|
| 849 |
+
0.9999999986174383,
|
| 850 |
+
0.9999999980439894,
|
| 851 |
+
0.9999999973998414,
|
| 852 |
+
0.9994378465186501,
|
| 853 |
+
0.0
|
| 854 |
+
],
|
| 855 |
+
"std": [
|
| 856 |
+
0.09715634348947717,
|
| 857 |
+
0.12043934277443014,
|
| 858 |
+
0.07475959840298549,
|
| 859 |
+
0.0913158335154531,
|
| 860 |
+
0.17014661849642138,
|
| 861 |
+
0.09664651252912485,
|
| 862 |
+
0.09032977292233302,
|
| 863 |
+
0.07615438851541308,
|
| 864 |
+
0.060890840680581905,
|
| 865 |
+
0.037292877221772866,
|
| 866 |
+
0.05273040552903576,
|
| 867 |
+
0.10350767895629431,
|
| 868 |
+
0.042444835166495824,
|
| 869 |
+
0.07702366385233651,
|
| 870 |
+
0.0956043144969805,
|
| 871 |
+
0.12917570224944536,
|
| 872 |
+
0.04840102481815591,
|
| 873 |
+
0.06394707261482528,
|
| 874 |
+
0.06527382787762362,
|
| 875 |
+
0.05195504338940805,
|
| 876 |
+
0.0781613630935635,
|
| 877 |
+
0.04774853707321427,
|
| 878 |
+
0.05361586357989116,
|
| 879 |
+
0.06886646850393413,
|
| 880 |
+
0.05943406236950779,
|
| 881 |
+
0.10513550445622982,
|
| 882 |
+
0.03671242505254331,
|
| 883 |
+
0.09286662188227343,
|
| 884 |
+
0.10579688213915901,
|
| 885 |
+
0.10466885169601943,
|
| 886 |
+
0.12484302335319887,
|
| 887 |
+
0.15682080772900553,
|
| 888 |
+
0.08102592251869303,
|
| 889 |
+
0.08824356247964592,
|
| 890 |
+
0.04487561084112228,
|
| 891 |
+
0.06341028499109164,
|
| 892 |
+
0.128201816178023,
|
| 893 |
+
0.037962484909225575,
|
| 894 |
+
0.07146266040095695,
|
| 895 |
+
0.07344628918656171,
|
| 896 |
+
0.12345300222438171,
|
| 897 |
+
0.08412131335777133,
|
| 898 |
+
0.1342618294672576,
|
| 899 |
+
0.038193725115361,
|
| 900 |
+
0.13376888816035587,
|
| 901 |
+
0.03194812808607355,
|
| 902 |
+
0.06803963784696329,
|
| 903 |
+
0.06447672997860214,
|
| 904 |
+
0.0455590748680762,
|
| 905 |
+
0.052267010049050294,
|
| 906 |
+
0.13119846095083995,
|
| 907 |
+
0.060853671800953406,
|
| 908 |
+
0.1187120508596654,
|
| 909 |
+
0.06805380312626544,
|
| 910 |
+
0.05033305242492583,
|
| 911 |
+
0.10127646867119827,
|
| 912 |
+
0.03338672227204972,
|
| 913 |
+
0.0563930254313253,
|
| 914 |
+
0.06919210280651265,
|
| 915 |
+
0.0788156045354752,
|
| 916 |
+
0.05383803167028171,
|
| 917 |
+
0.09840044111601212,
|
| 918 |
+
0.07858757514499791,
|
| 919 |
+
0.08172920497759735,
|
| 920 |
+
9.407025022883164e-08,
|
| 921 |
+
1.4727285607879223e-07,
|
| 922 |
+
2.016490331327028e-07,
|
| 923 |
+
2.1059407794883297e-07,
|
| 924 |
+
0.00012068612396207338,
|
| 925 |
+
0.0,
|
| 926 |
+
3.209378252724693e-08,
|
| 927 |
+
4.6509652682201586e-08,
|
| 928 |
+
5.8611140496956195e-08,
|
| 929 |
+
5.934048494192063e-08,
|
| 930 |
+
0.00015549816053081873,
|
| 931 |
+
0.0
|
| 932 |
+
]
|
| 933 |
+
}
|
| 934 |
+
},
|
| 935 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258"
|
| 936 |
+
}
|
a9-pedal-open/b512/step-012000/training_records/train.log
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
HB_AUG_SEED=42
|
| 2 |
+
{"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 44, "body_dims": 29, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.7162, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
|
| 3 |
+
HB_INLOOP flash installed: task a9 split train10, every 250 steps, cache checked on episodes [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], code /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse, G=<default>
|
| 4 |
+
/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/envs/hb-baselines/lib/python3.12/site-packages/torch/utils/data/dataloader.py:627: UserWarning: This DataLoader will create 40 worker processes in total. Our suggested max number of worker in current system is 23, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
|
| 5 |
+
warnings.warn(
|
| 6 |
+
{"event": "start", "policy": "flash", "params": 42673868, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 22763, "steps": 12000, "from_step": 0, "cameras": ["ego_view", "chest"], "hw": [168, 224], "seed": 42}
|
| 7 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.64, "data_frac": 0.745, "fm": 1.256499103307724, "consistency": 1.3352598965167999, "loss": 2.591759009361267}
|
| 8 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.12, "data_frac": 0.701, "fm": 0.5778047740459442, "consistency": 0.5718595969676972, "loss": 1.149664363861084}
|
| 9 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.2, "data_frac": 0.681, "fm": 0.5518717563152313, "consistency": 0.5334240341186524, "loss": 1.0852957725524903}
|
| 10 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.17, "data_frac": 0.684, "fm": 0.5297623378038406, "consistency": 0.46848226964473727, "loss": 0.9982446110248566}
|
| 11 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 1.2, "data_frac": 0.679, "fm": 0.48323086619377137, "consistency": 0.37105071902275083, "loss": 0.8542815887928009}
|
| 12 |
+
HB_INLOOP flash ready: task a9 split train10 queries 145 (rank 0/1: 145), every 250 steps, batch 8, cams ['ego_view', 'chest']
|
| 13 |
+
HB_INLOOP flash step 250: a9/train10 nMSE 0.8077 (motion_token 0.8328 hands 0.0022) on 145 queries, 3.6 s
|
| 14 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.05, "data_frac": 0.646, "fm": 0.40249574720859527, "consistency": 0.24971781134605409, "loss": 0.6522135615348816}
|
| 15 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.22, "data_frac": 0.679, "fm": 0.32920368015766144, "consistency": 0.17036642909049987, "loss": 0.4995701092481613}
|
| 16 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 0.71, "data_frac": 0.809, "fm": 0.2753276300430298, "consistency": 0.12523228302598, "loss": 0.40055991113185885}
|
| 17 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.13, "data_frac": 0.699, "fm": 0.24272329688072206, "consistency": 0.10185530453920365, "loss": 0.34457860350608827}
|
| 18 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 1.17, "data_frac": 0.687, "fm": 0.21959567308425904, "consistency": 0.08875457808375359, "loss": 0.3083502513170242}
|
| 19 |
+
HB_INLOOP flash step 500: a9/train10 nMSE 0.8107 (motion_token 0.8360 hands 0.0015) on 145 queries, 0.6 s
|
| 20 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 1.17, "data_frac": 0.677, "fm": 0.20324932008981705, "consistency": 0.07860084071755409, "loss": 0.2818501603603363}
|
| 21 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 1.22, "data_frac": 0.677, "fm": 0.18847813934087754, "consistency": 0.07107773140072822, "loss": 0.2595558711886406}
|
| 22 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 1.16, "data_frac": 0.687, "fm": 0.17654211074113846, "consistency": 0.06613531485199928, "loss": 0.2426774248480797}
|
| 23 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 1.22, "data_frac": 0.675, "fm": 0.1676620826125145, "consistency": 0.061476102322340014, "loss": 0.22913818508386613}
|
| 24 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 0.73, "data_frac": 0.803, "fm": 0.16115312904119491, "consistency": 0.058488124459981916, "loss": 0.219641253054142}
|
| 25 |
+
HB_INLOOP flash step 750: a9/train10 nMSE 0.3197 (motion_token 0.3297 hands 0.0007) on 145 queries, 0.6 s
|
| 26 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 1.18, "data_frac": 0.668, "fm": 0.15409253656864166, "consistency": 0.0550876209884882, "loss": 0.20918015778064727}
|
| 27 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 1.21, "data_frac": 0.677, "fm": 0.14918505817651748, "consistency": 0.05279352851212025, "loss": 0.20197858661413193}
|
| 28 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 1.19, "data_frac": 0.685, "fm": 0.14594152241945266, "consistency": 0.05071644894778728, "loss": 0.19665797144174577}
|
| 29 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 1.22, "data_frac": 0.676, "fm": 0.14258170634508133, "consistency": 0.04871485032141209, "loss": 0.1912965565919876}
|
| 30 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 1.2, "data_frac": 0.68, "fm": 0.1396322613954544, "consistency": 0.04722966089844704, "loss": 0.18686192244291305}
|
| 31 |
+
HB_INLOOP flash step 1000: a9/train10 nMSE 0.2435 (motion_token 0.2511 hands 0.0006) on 145 queries, 0.5 s
|
| 32 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 1.21, "data_frac": 0.666, "fm": 0.13669520765542983, "consistency": 0.04613477669656277, "loss": 0.18282998532056807}
|
| 33 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 1.12, "data_frac": 0.701, "fm": 0.13313223540782929, "consistency": 0.044357246309518816, "loss": 0.1774894818663597}
|
| 34 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 0.72, "data_frac": 0.808, "fm": 0.13180388301610946, "consistency": 0.04348952583968639, "loss": 0.17529340863227844}
|
| 35 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 1.21, "data_frac": 0.678, "fm": 0.13071434304118157, "consistency": 0.04261469423770905, "loss": 0.17332903742790223}
|
| 36 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 1.2, "data_frac": 0.677, "fm": 0.1273145507276058, "consistency": 0.04150247983634472, "loss": 0.1688170301914215}
|
| 37 |
+
HB_INLOOP flash step 1250: a9/train10 nMSE 0.2097 (motion_token 0.2162 hands 0.0005) on 145 queries, 0.5 s
|
| 38 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 1.14, "data_frac": 0.685, "fm": 0.1264222790300846, "consistency": 0.04098256573081017, "loss": 0.16740484446287154}
|
| 39 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 1.15, "data_frac": 0.695, "fm": 0.12472962915897369, "consistency": 0.039600912556052206, "loss": 0.16433054238557815}
|
| 40 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 1.17, "data_frac": 0.689, "fm": 0.12329150959849358, "consistency": 0.0389509879052639, "loss": 0.16224249660968781}
|
| 41 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 1.18, "data_frac": 0.689, "fm": 0.12365962907671929, "consistency": 0.038656207770109176, "loss": 0.16231583654880524}
|
| 42 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 0.71, "data_frac": 0.809, "fm": 0.12083175078034401, "consistency": 0.03779370307922363, "loss": 0.1586254534125328}
|
| 43 |
+
HB_INLOOP flash step 1500: a9/train10 nMSE 0.1904 (motion_token 0.1963 hands 0.0004) on 145 queries, 0.5 s
|
| 44 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 1.13, "data_frac": 0.687, "fm": 0.11968247026205063, "consistency": 0.03686726778745651, "loss": 0.15654973775148393}
|
| 45 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 1.2, "data_frac": 0.681, "fm": 0.1201426412165165, "consistency": 0.03711059361696243, "loss": 0.1572532343864441}
|
| 46 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 1.2, "data_frac": 0.682, "fm": 0.11760753780603408, "consistency": 0.03632420994341373, "loss": 0.15393174827098846}
|
| 47 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 1.23, "data_frac": 0.673, "fm": 0.11683106660842896, "consistency": 0.035943369865417484, "loss": 0.1527744361758232}
|
| 48 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 1.24, "data_frac": 0.672, "fm": 0.11568918034434318, "consistency": 0.03505174361169338, "loss": 0.15074092358350755}
|
| 49 |
+
HB_INLOOP flash step 1750: a9/train10 nMSE 0.1786 (motion_token 0.1842 hands 0.0004) on 145 queries, 0.5 s
|
| 50 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 1.19, "data_frac": 0.664, "fm": 0.11418118119239808, "consistency": 0.034370461702346804, "loss": 0.1485516431927681}
|
| 51 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 0.72, "data_frac": 0.807, "fm": 0.11428178548812866, "consistency": 0.03439645923674107, "loss": 0.14867824465036392}
|
| 52 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 1.18, "data_frac": 0.688, "fm": 0.1121143352985382, "consistency": 0.033746500685811046, "loss": 0.14586083590984344}
|
| 53 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 1.15, "data_frac": 0.693, "fm": 0.11162423521280289, "consistency": 0.03363640710711479, "loss": 0.14526064157485963}
|
| 54 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 1.19, "data_frac": 0.683, "fm": 0.11195267349481583, "consistency": 0.03247032780200243, "loss": 0.1444230005145073}
|
| 55 |
+
HB_INLOOP flash step 2000: a9/train10 nMSE 0.1707 (motion_token 0.1760 hands 0.0004) on 145 queries, 0.5 s
|
| 56 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 1.18, "data_frac": 0.673, "fm": 0.11059822723269462, "consistency": 0.032579288221895694, "loss": 0.14317751556634903}
|
| 57 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 1.19, "data_frac": 0.686, "fm": 0.11035466477274895, "consistency": 0.032002684213221076, "loss": 0.14235734909772874}
|
| 58 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 1.21, "data_frac": 0.681, "fm": 0.10925204694271087, "consistency": 0.03183230452239513, "loss": 0.14108435332775116}
|
| 59 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 1.21, "data_frac": 0.675, "fm": 0.10865027233958244, "consistency": 0.031203563027083873, "loss": 0.1398538354039192}
|
| 60 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 0.69, "data_frac": 0.814, "fm": 0.1076258397102356, "consistency": 0.030884872041642666, "loss": 0.13851071119308472}
|
| 61 |
+
HB_INLOOP flash step 2250: a9/train10 nMSE 0.1641 (motion_token 0.1692 hands 0.0004) on 145 queries, 0.5 s
|
| 62 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 1.15, "data_frac": 0.678, "fm": 0.10757141247391701, "consistency": 0.03045626822859049, "loss": 0.1380276808142662}
|
| 63 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 0.82, "data_frac": 0.763, "fm": 0.1074581864476204, "consistency": 0.030227413289248942, "loss": 0.13768559992313384}
|
| 64 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 0.69, "data_frac": 0.791, "fm": 0.1067126752436161, "consistency": 0.029999133981764316, "loss": 0.1367118090391159}
|
| 65 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 0.79, "data_frac": 0.78, "fm": 0.10561525583267212, "consistency": 0.029525620378553868, "loss": 0.13514087587594986}
|
| 66 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 0.8, "data_frac": 0.778, "fm": 0.10492217555642128, "consistency": 0.029270000122487545, "loss": 0.13419217526912688}
|
| 67 |
+
HB_INLOOP flash step 2500: a9/train10 nMSE 0.1578 (motion_token 0.1627 hands 0.0004) on 145 queries, 0.6 s
|
| 68 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 0.86, "data_frac": 0.756, "fm": 0.1056952154636383, "consistency": 0.02931578565388918, "loss": 0.1350110012292862}
|
| 69 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 0.47, "data_frac": 0.864, "fm": 0.10448727160692214, "consistency": 0.02866323109716177, "loss": 0.13315050259232522}
|
| 70 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 0.83, "data_frac": 0.772, "fm": 0.103952447026968, "consistency": 0.028566762432456018, "loss": 0.1325192093849182}
|
| 71 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 0.86, "data_frac": 0.752, "fm": 0.10232667252421379, "consistency": 0.027995341680943964, "loss": 0.13032201528549195}
|
| 72 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 0.84, "data_frac": 0.769, "fm": 0.10150378689169884, "consistency": 0.027674187421798706, "loss": 0.12917797461152078}
|
| 73 |
+
HB_INLOOP flash step 2750: a9/train10 nMSE 0.1522 (motion_token 0.1570 hands 0.0004) on 145 queries, 0.6 s
|
| 74 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 0.81, "data_frac": 0.77, "fm": 0.10170620203018188, "consistency": 0.027410062439739705, "loss": 0.1291162648797035}
|
| 75 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 0.87, "data_frac": 0.766, "fm": 0.10101159736514091, "consistency": 0.027306007370352745, "loss": 0.1283176051080227}
|
| 76 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 0.84, "data_frac": 0.776, "fm": 0.10164465829730034, "consistency": 0.027476415522396564, "loss": 0.1291210748255253}
|
| 77 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 0.48, "data_frac": 0.868, "fm": 0.09947413131594658, "consistency": 0.026728425808250904, "loss": 0.1262025575339794}
|
| 78 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 0.83, "data_frac": 0.765, "fm": 0.10014448583126068, "consistency": 0.026733345203101635, "loss": 0.12687783032655717}
|
| 79 |
+
HB_INLOOP flash step 3000: a9/train10 nMSE 0.1473 (motion_token 0.1519 hands 0.0003) on 145 queries, 1.1 s
|
| 80 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 0.85, "data_frac": 0.749, "fm": 0.0986092123389244, "consistency": 0.026496475599706172, "loss": 0.12510568797588348}
|
| 81 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 0.83, "data_frac": 0.767, "fm": 0.10014094322919846, "consistency": 0.026274979561567307, "loss": 0.1264159221947193}
|
| 82 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 0.89, "data_frac": 0.759, "fm": 0.09889948770403861, "consistency": 0.025950607396662235, "loss": 0.12485009506344795}
|
| 83 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 0.83, "data_frac": 0.773, "fm": 0.09866977244615555, "consistency": 0.02579377394169569, "loss": 0.12446354642510414}
|
| 84 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 0.84, "data_frac": 0.771, "fm": 0.0980977949500084, "consistency": 0.025300781652331353, "loss": 0.12339857578277588}
|
| 85 |
+
HB_INLOOP flash step 3250: a9/train10 nMSE 0.1430 (motion_token 0.1474 hands 0.0003) on 145 queries, 0.6 s
|
| 86 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 0.81, "data_frac": 0.771, "fm": 0.0990341255068779, "consistency": 0.02548059694468975, "loss": 0.12451472282409667}
|
| 87 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 0.48, "data_frac": 0.87, "fm": 0.0970679321885109, "consistency": 0.025133301466703416, "loss": 0.12220123335719109}
|
| 88 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 0.85, "data_frac": 0.762, "fm": 0.09870309546589852, "consistency": 0.025467028096318244, "loss": 0.12417012304067612}
|
| 89 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 0.86, "data_frac": 0.761, "fm": 0.0974121056497097, "consistency": 0.025000827461481093, "loss": 0.12241293355822563}
|
| 90 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 0.83, "data_frac": 0.777, "fm": 0.09677423551678657, "consistency": 0.024650879986584186, "loss": 0.12142511561512948}
|
| 91 |
+
HB_INLOOP flash step 3500: a9/train10 nMSE 0.1394 (motion_token 0.1438 hands 0.0003) on 145 queries, 1.0 s
|
| 92 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 0.85, "data_frac": 0.752, "fm": 0.09796907052397728, "consistency": 0.024975337125360965, "loss": 0.12294440791010856}
|
| 93 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 0.85, "data_frac": 0.768, "fm": 0.09574649944901466, "consistency": 0.024369266852736472, "loss": 0.12011576622724533}
|
| 94 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 0.8, "data_frac": 0.784, "fm": 0.09566166624426842, "consistency": 0.02404251892119646, "loss": 0.11970418497920036}
|
| 95 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 0.48, "data_frac": 0.868, "fm": 0.09522397592663764, "consistency": 0.023983432091772557, "loss": 0.11920740813016892}
|
| 96 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 0.86, "data_frac": 0.764, "fm": 0.09597209304571151, "consistency": 0.024244910180568693, "loss": 0.12021700352430344}
|
| 97 |
+
HB_INLOOP flash step 3750: a9/train10 nMSE 0.1363 (motion_token 0.1406 hands 0.0003) on 145 queries, 0.6 s
|
| 98 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 0.81, "data_frac": 0.765, "fm": 0.09548091545701026, "consistency": 0.024139374606311322, "loss": 0.11962028980255127}
|
| 99 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 0.86, "data_frac": 0.765, "fm": 0.09490724191069604, "consistency": 0.023846671842038633, "loss": 0.11875391364097596}
|
| 100 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 1.02, "data_frac": 0.726, "fm": 0.09501085057854652, "consistency": 0.023537223748862742, "loss": 0.11854807436466216}
|
| 101 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 1.23, "data_frac": 0.671, "fm": 0.09359663471579552, "consistency": 0.023389725163578987, "loss": 0.11698635965585709}
|
| 102 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 1.18, "data_frac": 0.686, "fm": 0.09362559363245965, "consistency": 0.023001351058483124, "loss": 0.11662694454193115}
|
| 103 |
+
HB_INLOOP flash step 4000: a9/train10 nMSE 0.1336 (motion_token 0.1378 hands 0.0003) on 145 queries, 0.5 s
|
| 104 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/step-004000", "mse": 0.014890769496560097, "mse_row0": 0.012704264372587204, "mse_motion_token": 0.017161525785923004, "mse_inspire_left_hand_state": 0.002947366563603282, "mse_inspire_right_hand_state": 0.0026127570308744907}
|
| 105 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 0.58, "data_frac": 0.777, "fm": 0.09438193321228028, "consistency": 0.023071037121117115, "loss": 0.11745297014713288}
|
| 106 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 0.7, "data_frac": 0.794, "fm": 0.09299621537327767, "consistency": 0.023086489401757716, "loss": 0.11608270540833474}
|
| 107 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 0.7, "data_frac": 0.794, "fm": 0.09309764862060547, "consistency": 0.022874375246465205, "loss": 0.11597202375531196}
|
| 108 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 0.69, "data_frac": 0.798, "fm": 0.09319904088973999, "consistency": 0.022590732388198375, "loss": 0.11578977316617965}
|
| 109 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 0.73, "data_frac": 0.788, "fm": 0.09187627509236336, "consistency": 0.022611302435398103, "loss": 0.11448757752776145}
|
| 110 |
+
HB_INLOOP flash step 4250: a9/train10 nMSE 0.1312 (motion_token 0.1353 hands 0.0003) on 145 queries, 1.0 s
|
| 111 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 0.68, "data_frac": 0.791, "fm": 0.09187135979533195, "consistency": 0.022678419202566146, "loss": 0.11454977944493294}
|
| 112 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 0.79, "data_frac": 0.77, "fm": 0.09288804039359093, "consistency": 0.022575742192566396, "loss": 0.11546378225088119}
|
| 113 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 0.79, "data_frac": 0.785, "fm": 0.09163603320717811, "consistency": 0.02246698759496212, "loss": 0.11410302132368087}
|
| 114 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 0.45, "data_frac": 0.868, "fm": 0.09123429909348488, "consistency": 0.022109448499977587, "loss": 0.1133437480032444}
|
| 115 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 0.82, "data_frac": 0.764, "fm": 0.09177209064364433, "consistency": 0.02242434985935688, "loss": 0.11419644057750702}
|
| 116 |
+
HB_INLOOP flash step 4500: a9/train10 nMSE 0.1291 (motion_token 0.1331 hands 0.0003) on 145 queries, 1.2 s
|
| 117 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 0.71, "data_frac": 0.777, "fm": 0.09109950304031372, "consistency": 0.021950186118483542, "loss": 0.11304969012737275}
|
| 118 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 0.78, "data_frac": 0.778, "fm": 0.09100631803274155, "consistency": 0.02183875735849142, "loss": 0.11284507542848587}
|
| 119 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 0.8, "data_frac": 0.777, "fm": 0.090558260679245, "consistency": 0.02164290502667427, "loss": 0.11220116585493088}
|
| 120 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 0.82, "data_frac": 0.763, "fm": 0.090477607101202, "consistency": 0.02185937896370888, "loss": 0.11233698576688766}
|
| 121 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 0.75, "data_frac": 0.791, "fm": 0.09011981755495072, "consistency": 0.021550372764468192, "loss": 0.11167018964886666}
|
| 122 |
+
HB_INLOOP flash step 4750: a9/train10 nMSE 0.1273 (motion_token 0.1313 hands 0.0003) on 145 queries, 1.1 s
|
| 123 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 0.44, "data_frac": 0.858, "fm": 0.08996665805578231, "consistency": 0.021520593017339707, "loss": 0.11148725122213364}
|
| 124 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 0.76, "data_frac": 0.786, "fm": 0.09001959279179574, "consistency": 0.02117498476058245, "loss": 0.11119457826018334}
|
| 125 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 0.81, "data_frac": 0.778, "fm": 0.0896044684946537, "consistency": 0.021176534853875637, "loss": 0.11078100323677063}
|
| 126 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 0.82, "data_frac": 0.774, "fm": 0.08937466323375702, "consistency": 0.021165454797446727, "loss": 0.11054011836647987}
|
| 127 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 0.98, "data_frac": 0.733, "fm": 0.0893153965473175, "consistency": 0.02107293400913477, "loss": 0.11038833111524582}
|
| 128 |
+
HB_INLOOP flash step 5000: a9/train10 nMSE 0.1255 (motion_token 0.1295 hands 0.0003) on 145 queries, 0.5 s
|
| 129 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 1.13, "data_frac": 0.688, "fm": 0.08919163152575493, "consistency": 0.02080606896430254, "loss": 0.10999770015478134}
|
| 130 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 1.02, "data_frac": 0.71, "fm": 0.0887783382833004, "consistency": 0.020875451266765595, "loss": 0.10965378910303115}
|
| 131 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 0.38, "data_frac": 0.888, "fm": 0.08952880874276162, "consistency": 0.020833443515002728, "loss": 0.11036225214600563}
|
| 132 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 0.7, "data_frac": 0.793, "fm": 0.08952652499079704, "consistency": 0.021217089295387268, "loss": 0.11074361354112625}
|
| 133 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 0.72, "data_frac": 0.784, "fm": 0.08899169772863388, "consistency": 0.020739423222839833, "loss": 0.1097311207652092}
|
| 134 |
+
HB_INLOOP flash step 5250: a9/train10 nMSE 0.1241 (motion_token 0.1280 hands 0.0003) on 145 queries, 1.2 s
|
| 135 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 0.77, "data_frac": 0.76, "fm": 0.08876444011926651, "consistency": 0.02061120864003897, "loss": 0.1093756490945816}
|
| 136 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 0.75, "data_frac": 0.791, "fm": 0.08798857107758522, "consistency": 0.020593998916447163, "loss": 0.10858256995677948}
|
| 137 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 0.79, "data_frac": 0.767, "fm": 0.08762945547699928, "consistency": 0.02031582925468683, "loss": 0.1079452845454216}
|
| 138 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 0.75, "data_frac": 0.782, "fm": 0.08784030243754387, "consistency": 0.020276640877127647, "loss": 0.10811694353818893}
|
| 139 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 0.7, "data_frac": 0.801, "fm": 0.08693359583616257, "consistency": 0.019958109334111213, "loss": 0.1068917055428028}
|
| 140 |
+
HB_INLOOP flash step 5500: a9/train10 nMSE 0.1227 (motion_token 0.1265 hands 0.0003) on 145 queries, 0.5 s
|
| 141 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 0.46, "data_frac": 0.862, "fm": 0.08760179311037064, "consistency": 0.020004192516207695, "loss": 0.1076059852540493}
|
| 142 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 0.84, "data_frac": 0.77, "fm": 0.08805178448557854, "consistency": 0.02006811764091253, "loss": 0.10811990201473236}
|
| 143 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 0.89, "data_frac": 0.749, "fm": 0.08767512515187263, "consistency": 0.020115420259535312, "loss": 0.10779054597020149}
|
| 144 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 0.77, "data_frac": 0.777, "fm": 0.08644135028123856, "consistency": 0.01996984750032425, "loss": 0.1064111977815628}
|
| 145 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 0.82, "data_frac": 0.764, "fm": 0.0873464149236679, "consistency": 0.019867584481835364, "loss": 0.10721399903297424}
|
| 146 |
+
HB_INLOOP flash step 5750: a9/train10 nMSE 0.1213 (motion_token 0.1251 hands 0.0003) on 145 queries, 1.3 s
|
| 147 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 0.69, "data_frac": 0.785, "fm": 0.08547621816396714, "consistency": 0.019618142992258072, "loss": 0.10509436160326004}
|
| 148 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 0.79, "data_frac": 0.787, "fm": 0.08620410472154617, "consistency": 0.01982321824878454, "loss": 0.10602732330560684}
|
| 149 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 0.45, "data_frac": 0.867, "fm": 0.08600536435842514, "consistency": 0.019661310054361822, "loss": 0.10566667407751083}
|
| 150 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 0.78, "data_frac": 0.778, "fm": 0.08524483397603035, "consistency": 0.019376398772001268, "loss": 0.10462123274803162}
|
| 151 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 1.14, "data_frac": 0.692, "fm": 0.0861989901959896, "consistency": 0.019490370936691762, "loss": 0.10568936094641686}
|
| 152 |
+
HB_INLOOP flash step 6000: a9/train10 nMSE 0.1200 (motion_token 0.1237 hands 0.0003) on 145 queries, 0.5 s
|
| 153 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 1.04, "data_frac": 0.711, "fm": 0.08567097216844559, "consistency": 0.01933801867067814, "loss": 0.10500899076461792}
|
| 154 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.01, "data_frac": 0.722, "fm": 0.08629267558455467, "consistency": 0.019368788972496987, "loss": 0.10566146448254585}
|
| 155 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 0.78, "data_frac": 0.773, "fm": 0.08542600437998772, "consistency": 0.01917629562318325, "loss": 0.10460230007767678}
|
| 156 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 0.71, "data_frac": 0.794, "fm": 0.08526593104004859, "consistency": 0.019155363105237484, "loss": 0.10442129403352737}
|
| 157 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 0.39, "data_frac": 0.883, "fm": 0.0855109840631485, "consistency": 0.01924097701907158, "loss": 0.10475196093320846}
|
| 158 |
+
HB_INLOOP flash step 6250: a9/train10 nMSE 0.1189 (motion_token 0.1226 hands 0.0003) on 145 queries, 0.6 s
|
| 159 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 0.67, "data_frac": 0.8, "fm": 0.08536273807287216, "consistency": 0.01916087985038757, "loss": 0.10452361822128296}
|
| 160 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 0.76, "data_frac": 0.787, "fm": 0.08479476734995842, "consistency": 0.01899805333465338, "loss": 0.10379282101988792}
|
| 161 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 0.73, "data_frac": 0.788, "fm": 0.08474779173731804, "consistency": 0.019098954759538173, "loss": 0.10384674623608589}
|
| 162 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 0.76, "data_frac": 0.781, "fm": 0.08356071054935456, "consistency": 0.018811737857758998, "loss": 0.10237244874238968}
|
| 163 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 0.9, "data_frac": 0.743, "fm": 0.0848859690129757, "consistency": 0.019001672379672527, "loss": 0.1038876411318779}
|
| 164 |
+
HB_INLOOP flash step 6500: a9/train10 nMSE 0.1178 (motion_token 0.1215 hands 0.0003) on 145 queries, 1.0 s
|
| 165 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 0.73, "data_frac": 0.779, "fm": 0.08461637794971466, "consistency": 0.018787224069237708, "loss": 0.10340360254049301}
|
| 166 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 0.79, "data_frac": 0.785, "fm": 0.08355089828372002, "consistency": 0.018643424771726133, "loss": 0.10219432324171067}
|
| 167 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 0.47, "data_frac": 0.867, "fm": 0.08377501353621483, "consistency": 0.018774173967540265, "loss": 0.10254918813705444}
|
| 168 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 0.78, "data_frac": 0.776, "fm": 0.08482477575540542, "consistency": 0.018673870004713534, "loss": 0.10349864572286606}
|
| 169 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 0.81, "data_frac": 0.764, "fm": 0.08370697498321533, "consistency": 0.01843373626470566, "loss": 0.10214071065187454}
|
| 170 |
+
HB_INLOOP flash step 6750: a9/train10 nMSE 0.1169 (motion_token 0.1205 hands 0.0002) on 145 queries, 1.2 s
|
| 171 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 0.73, "data_frac": 0.768, "fm": 0.08361043766140938, "consistency": 0.018361803963780402, "loss": 0.10197224155068398}
|
| 172 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 0.7, "data_frac": 0.8, "fm": 0.0837144185602665, "consistency": 0.01852077953517437, "loss": 0.10223519787192345}
|
| 173 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 0.71, "data_frac": 0.799, "fm": 0.0830351960659027, "consistency": 0.018269989043474197, "loss": 0.1013051851093769}
|
| 174 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 0.84, "data_frac": 0.772, "fm": 0.08288424044847488, "consistency": 0.01828803703188896, "loss": 0.10117227777838707}
|
| 175 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 0.64, "data_frac": 0.824, "fm": 0.08278070092201233, "consistency": 0.018181047588586807, "loss": 0.10096174821257592}
|
| 176 |
+
HB_INLOOP flash step 7000: a9/train10 nMSE 0.1161 (motion_token 0.1198 hands 0.0002) on 145 queries, 0.6 s
|
| 177 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 0.85, "data_frac": 0.759, "fm": 0.08348570004105568, "consistency": 0.01817485235631466, "loss": 0.10166055232286453}
|
| 178 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 0.73, "data_frac": 0.789, "fm": 0.08296608686447143, "consistency": 0.018188572600483895, "loss": 0.10115465983748435}
|
| 179 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 0.65, "data_frac": 0.812, "fm": 0.0828617562353611, "consistency": 0.018162885531783104, "loss": 0.10102464184165001}
|
| 180 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 0.81, "data_frac": 0.769, "fm": 0.08264556899666786, "consistency": 0.01803723454475403, "loss": 0.10068280383944511}
|
| 181 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 0.77, "data_frac": 0.778, "fm": 0.08160720437765122, "consistency": 0.018005946576595308, "loss": 0.09961315110325814}
|
| 182 |
+
HB_INLOOP flash step 7250: a9/train10 nMSE 0.1154 (motion_token 0.1190 hands 0.0002) on 145 queries, 1.2 s
|
| 183 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 0.68, "data_frac": 0.784, "fm": 0.08231391832232475, "consistency": 0.017950007244944572, "loss": 0.1002639253437519}
|
| 184 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 0.46, "data_frac": 0.871, "fm": 0.08177893340587616, "consistency": 0.01783491864800453, "loss": 0.0996138520538807}
|
| 185 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 0.71, "data_frac": 0.8, "fm": 0.08158941268920898, "consistency": 0.017901215106248855, "loss": 0.09949062779545784}
|
| 186 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 0.82, "data_frac": 0.77, "fm": 0.08202976524829865, "consistency": 0.017652144394814967, "loss": 0.0996819093823433}
|
| 187 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 0.75, "data_frac": 0.784, "fm": 0.08261463403701783, "consistency": 0.017720488235354423, "loss": 0.10033512204885482}
|
| 188 |
+
HB_INLOOP flash step 7500: a9/train10 nMSE 0.1147 (motion_token 0.1183 hands 0.0002) on 145 queries, 1.2 s
|
| 189 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 0.86, "data_frac": 0.728, "fm": 0.08188104763627052, "consistency": 0.017815950401127337, "loss": 0.09969699785113334}
|
| 190 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 0.74, "data_frac": 0.79, "fm": 0.08188719421625137, "consistency": 0.017661781683564186, "loss": 0.09954897597432137}
|
| 191 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 0.9, "data_frac": 0.733, "fm": 0.0818576130270958, "consistency": 0.01769393403083086, "loss": 0.09955154731869698}
|
| 192 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 0.68, "data_frac": 0.806, "fm": 0.08224956631660461, "consistency": 0.0176533180475235, "loss": 0.09990288510918617}
|
| 193 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 0.46, "data_frac": 0.868, "fm": 0.08116479888558388, "consistency": 0.017477955035865307, "loss": 0.09864275380969048}
|
| 194 |
+
HB_INLOOP flash step 7750: a9/train10 nMSE 0.1141 (motion_token 0.1176 hands 0.0002) on 145 queries, 1.2 s
|
| 195 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 0.74, "data_frac": 0.774, "fm": 0.0811986680328846, "consistency": 0.01748612280935049, "loss": 0.09868479087948799}
|
| 196 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 0.74, "data_frac": 0.788, "fm": 0.0815090924501419, "consistency": 0.01750069495290518, "loss": 0.0990097875893116}
|
| 197 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 0.8, "data_frac": 0.779, "fm": 0.08144770443439484, "consistency": 0.017251629456877707, "loss": 0.09869933381676674}
|
| 198 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 1.04, "data_frac": 0.725, "fm": 0.08082589387893677, "consistency": 0.01741544909775257, "loss": 0.09824134275317192}
|
| 199 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 1.11, "data_frac": 0.701, "fm": 0.08107598587870597, "consistency": 0.017262699753046035, "loss": 0.09833868578076363}
|
| 200 |
+
HB_INLOOP flash step 8000: a9/train10 nMSE 0.1135 (motion_token 0.1170 hands 0.0002) on 145 queries, 0.5 s
|
| 201 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/step-008000", "mse": 0.011984765529632568, "mse_row0": 0.010174976661801338, "mse_motion_token": 0.01384236104786396, "mse_inspire_left_hand_state": 0.0021672716829925776, "mse_inspire_right_hand_state": 0.001987920142710209}
|
| 202 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 0.73, "data_frac": 0.71, "fm": 0.08092185989022255, "consistency": 0.017346027307212353, "loss": 0.09826788738369942}
|
| 203 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 0.38, "data_frac": 0.886, "fm": 0.08100757986307144, "consistency": 0.017266103737056254, "loss": 0.09827368333935738}
|
| 204 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 0.76, "data_frac": 0.78, "fm": 0.08037214115262031, "consistency": 0.017109675854444503, "loss": 0.0974818167090416}
|
| 205 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 0.72, "data_frac": 0.792, "fm": 0.0808767694234848, "consistency": 0.01711876556277275, "loss": 0.09799553498625756}
|
| 206 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 0.68, "data_frac": 0.801, "fm": 0.08051844894886016, "consistency": 0.017231817059218883, "loss": 0.09775026649236679}
|
| 207 |
+
HB_INLOOP flash step 8250: a9/train10 nMSE 0.1130 (motion_token 0.1165 hands 0.0002) on 145 queries, 1.3 s
|
| 208 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 0.73, "data_frac": 0.77, "fm": 0.08015716180205346, "consistency": 0.01696389652788639, "loss": 0.09712105870246887}
|
| 209 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 0.74, "data_frac": 0.794, "fm": 0.08051961064338684, "consistency": 0.017041571252048016, "loss": 0.09756118223071099}
|
| 210 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 0.9, "data_frac": 0.744, "fm": 0.08047656580805779, "consistency": 0.016948552094399928, "loss": 0.09742511853575707}
|
| 211 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 0.44, "data_frac": 0.872, "fm": 0.0801660780608654, "consistency": 0.017005851231515406, "loss": 0.09717192932963371}
|
| 212 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 0.72, "data_frac": 0.796, "fm": 0.08029760763049126, "consistency": 0.016876148618757726, "loss": 0.0971737563610077}
|
| 213 |
+
HB_INLOOP flash step 8500: a9/train10 nMSE 0.1125 (motion_token 0.1160 hands 0.0002) on 145 queries, 1.1 s
|
| 214 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 0.74, "data_frac": 0.769, "fm": 0.08026227012276649, "consistency": 0.01697759672999382, "loss": 0.0972398667037487}
|
| 215 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 0.83, "data_frac": 0.769, "fm": 0.08037074968218803, "consistency": 0.016909446753561496, "loss": 0.09728019654750825}
|
| 216 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 0.88, "data_frac": 0.758, "fm": 0.08020563930273056, "consistency": 0.01667888689786196, "loss": 0.09688452571630478}
|
| 217 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 0.71, "data_frac": 0.794, "fm": 0.0808315210044384, "consistency": 0.01688965827226639, "loss": 0.0977211794257164}
|
| 218 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 0.82, "data_frac": 0.779, "fm": 0.08028442487120628, "consistency": 0.01670199282467365, "loss": 0.09698641777038575}
|
| 219 |
+
HB_INLOOP flash step 8750: a9/train10 nMSE 0.1120 (motion_token 0.1155 hands 0.0002) on 145 queries, 0.6 s
|
| 220 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 1.2, "data_frac": 0.671, "fm": 0.0797119089961052, "consistency": 0.016728678047657014, "loss": 0.09644058674573898}
|
| 221 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 0.72, "data_frac": 0.808, "fm": 0.08094168975949287, "consistency": 0.016739286947995424, "loss": 0.0976809772849083}
|
| 222 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 1.21, "data_frac": 0.68, "fm": 0.07951228275895118, "consistency": 0.016690759919583797, "loss": 0.09620304256677628}
|
| 223 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 1.24, "data_frac": 0.67, "fm": 0.08012493550777436, "consistency": 0.016680566128343344, "loss": 0.09680550158023835}
|
| 224 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 1.19, "data_frac": 0.683, "fm": 0.07964220911264419, "consistency": 0.01667550567537546, "loss": 0.09631771489977836}
|
| 225 |
+
HB_INLOOP flash step 9000: a9/train10 nMSE 0.1116 (motion_token 0.1151 hands 0.0002) on 145 queries, 0.5 s
|
| 226 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 1.2, "data_frac": 0.669, "fm": 0.07903456389904022, "consistency": 0.01664296131581068, "loss": 0.09567752510309219}
|
| 227 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 1.22, "data_frac": 0.674, "fm": 0.07991324350237847, "consistency": 0.0166171720251441, "loss": 0.09653041586279869}
|
| 228 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 1.23, "data_frac": 0.674, "fm": 0.07895754605531692, "consistency": 0.01650971855968237, "loss": 0.09546726495027542}
|
| 229 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 0.72, "data_frac": 0.806, "fm": 0.07969961315393448, "consistency": 0.016568792201578617, "loss": 0.09626840561628341}
|
| 230 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 1.15, "data_frac": 0.694, "fm": 0.07951397344470024, "consistency": 0.016536584720015526, "loss": 0.09605055823922157}
|
| 231 |
+
HB_INLOOP flash step 9250: a9/train10 nMSE 0.1113 (motion_token 0.1147 hands 0.0002) on 145 queries, 0.5 s
|
| 232 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 1.16, "data_frac": 0.682, "fm": 0.07861540749669076, "consistency": 0.016449974216520787, "loss": 0.09506538197398186}
|
| 233 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 1.17, "data_frac": 0.69, "fm": 0.07933901757001877, "consistency": 0.016498892568051815, "loss": 0.09583790972828865}
|
| 234 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 1.18, "data_frac": 0.687, "fm": 0.07942080736160279, "consistency": 0.016395342722535133, "loss": 0.09581615015864373}
|
| 235 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 1.23, "data_frac": 0.672, "fm": 0.07889421433210372, "consistency": 0.016300444658845663, "loss": 0.09519465863704682}
|
| 236 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 1.19, "data_frac": 0.685, "fm": 0.07826235622167588, "consistency": 0.016379671245813368, "loss": 0.09464202776551246}
|
| 237 |
+
HB_INLOOP flash step 9500: a9/train10 nMSE 0.1109 (motion_token 0.1143 hands 0.0002) on 145 queries, 0.5 s
|
| 238 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 0.75, "data_frac": 0.792, "fm": 0.0783827343583107, "consistency": 0.016366600673645735, "loss": 0.09474933475255966}
|
| 239 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 1.1, "data_frac": 0.706, "fm": 0.0786670358479023, "consistency": 0.016271016113460064, "loss": 0.09493805140256882}
|
| 240 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 1.22, "data_frac": 0.67, "fm": 0.07949748337268829, "consistency": 0.016330309193581343, "loss": 0.09582779198884964}
|
| 241 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 1.19, "data_frac": 0.679, "fm": 0.07888317197561263, "consistency": 0.0161117148399353, "loss": 0.09499488696455956}
|
| 242 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 1.22, "data_frac": 0.67, "fm": 0.07880418345332146, "consistency": 0.016382100339978934, "loss": 0.09518628373742104}
|
| 243 |
+
HB_INLOOP flash step 9750: a9/train10 nMSE 0.1105 (motion_token 0.1140 hands 0.0002) on 145 queries, 0.5 s
|
| 244 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 1.15, "data_frac": 0.683, "fm": 0.07775111332535743, "consistency": 0.01616721265017986, "loss": 0.09391832649707794}
|
| 245 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 1.27, "data_frac": 0.661, "fm": 0.07852867498993873, "consistency": 0.016255349107086658, "loss": 0.09478402450680733}
|
| 246 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 1.22, "data_frac": 0.675, "fm": 0.07771797448396683, "consistency": 0.016209069285541774, "loss": 0.0939270442724228}
|
| 247 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 0.68, "data_frac": 0.818, "fm": 0.07788250967860222, "consistency": 0.016194313783198595, "loss": 0.09407682344317436}
|
| 248 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.23, "data_frac": 0.673, "fm": 0.07919782415032386, "consistency": 0.01616284817457199, "loss": 0.09536067262291908}
|
| 249 |
+
HB_INLOOP flash step 10000: a9/train10 nMSE 0.1102 (motion_token 0.1137 hands 0.0002) on 145 queries, 0.5 s
|
| 250 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 1.2, "data_frac": 0.67, "fm": 0.07925790637731552, "consistency": 0.016203842721879483, "loss": 0.09546174943447112}
|
| 251 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 1.2, "data_frac": 0.68, "fm": 0.07800667732954025, "consistency": 0.016090749986469744, "loss": 0.09409742698073387}
|
| 252 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 1.24, "data_frac": 0.673, "fm": 0.07870405480265617, "consistency": 0.01607680780813098, "loss": 0.09478086248040199}
|
| 253 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 1.22, "data_frac": 0.673, "fm": 0.07860577046871185, "consistency": 0.01610190972685814, "loss": 0.09470767989754676}
|
| 254 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 1.23, "data_frac": 0.673, "fm": 0.07804683849215507, "consistency": 0.01607244001701474, "loss": 0.0941192777454853}
|
| 255 |
+
HB_INLOOP flash step 10250: a9/train10 nMSE 0.1100 (motion_token 0.1134 hands 0.0002) on 145 queries, 0.5 s
|
| 256 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 0.72, "data_frac": 0.799, "fm": 0.07833199948072433, "consistency": 0.016039184127002955, "loss": 0.09437118396162987}
|
| 257 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 1.13, "data_frac": 0.699, "fm": 0.07851610913872718, "consistency": 0.01606072245165706, "loss": 0.09457683101296425}
|
| 258 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 1.22, "data_frac": 0.675, "fm": 0.078225779235363, "consistency": 0.01598768202587962, "loss": 0.09421346127986908}
|
| 259 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 1.23, "data_frac": 0.671, "fm": 0.07871444344520569, "consistency": 0.016004818491637707, "loss": 0.0947192619740963}
|
| 260 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 1.19, "data_frac": 0.685, "fm": 0.0782027769088745, "consistency": 0.016082102600485086, "loss": 0.09428487926721572}
|
| 261 |
+
HB_INLOOP flash step 10500: a9/train10 nMSE 0.1098 (motion_token 0.1132 hands 0.0002) on 145 queries, 0.5 s
|
| 262 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 1.18, "data_frac": 0.673, "fm": 0.07760572105646134, "consistency": 0.015889684967696667, "loss": 0.0934954059123993}
|
| 263 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 1.22, "data_frac": 0.676, "fm": 0.07668126434087753, "consistency": 0.016009405665099622, "loss": 0.09269066989421844}
|
| 264 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 0.72, "data_frac": 0.806, "fm": 0.07752861946821213, "consistency": 0.01594321046024561, "loss": 0.09347182959318161}
|
| 265 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 1.13, "data_frac": 0.701, "fm": 0.07779079735279083, "consistency": 0.01593544915318489, "loss": 0.09372624650597572}
|
| 266 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 1.22, "data_frac": 0.678, "fm": 0.07757854640483856, "consistency": 0.015919334329664706, "loss": 0.09349788054823875}
|
| 267 |
+
HB_INLOOP flash step 10750: a9/train10 nMSE 0.1096 (motion_token 0.1130 hands 0.0002) on 145 queries, 0.5 s
|
| 268 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 1.18, "data_frac": 0.674, "fm": 0.07789099097251892, "consistency": 0.01594093505293131, "loss": 0.09383192539215088}
|
| 269 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 1.24, "data_frac": 0.667, "fm": 0.07700256198644638, "consistency": 0.015885212104767562, "loss": 0.0928877741098404}
|
| 270 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 1.18, "data_frac": 0.687, "fm": 0.07841546222567558, "consistency": 0.015849123541265726, "loss": 0.09426458537578583}
|
| 271 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 1.22, "data_frac": 0.675, "fm": 0.07748781740665436, "consistency": 0.01582897748798132, "loss": 0.09331679493188857}
|
| 272 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 1.24, "data_frac": 0.671, "fm": 0.07781229346990585, "consistency": 0.015828271619975565, "loss": 0.09364056527614593}
|
| 273 |
+
HB_INLOOP flash step 11000: a9/train10 nMSE 0.1095 (motion_token 0.1129 hands 0.0002) on 145 queries, 0.5 s
|
| 274 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 0.7, "data_frac": 0.805, "fm": 0.07787178993225098, "consistency": 0.015890742018818856, "loss": 0.09376253232359887}
|
| 275 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 1.15, "data_frac": 0.696, "fm": 0.0777466630935669, "consistency": 0.01584627468138933, "loss": 0.09359293788671494}
|
| 276 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 1.21, "data_frac": 0.679, "fm": 0.07779623538255692, "consistency": 0.015850396510213614, "loss": 0.09364663124084473}
|
| 277 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 1.18, "data_frac": 0.686, "fm": 0.07840564429759979, "consistency": 0.015802037324756383, "loss": 0.09420768186450004}
|
| 278 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 1.26, "data_frac": 0.663, "fm": 0.07783278197050095, "consistency": 0.015909321643412112, "loss": 0.093742104023695}
|
| 279 |
+
HB_INLOOP flash step 11250: a9/train10 nMSE 0.1093 (motion_token 0.1127 hands 0.0002) on 145 queries, 0.5 s
|
| 280 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 1.26, "data_frac": 0.649, "fm": 0.07801556155085564, "consistency": 0.015864869821816684, "loss": 0.09388043150305748}
|
| 281 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 1.16, "data_frac": 0.691, "fm": 0.07738698571920395, "consistency": 0.015822696294635535, "loss": 0.09320968210697174}
|
| 282 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 0.72, "data_frac": 0.805, "fm": 0.07865554824471474, "consistency": 0.015818372406065463, "loss": 0.09447392031550407}
|
| 283 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 1.16, "data_frac": 0.691, "fm": 0.07796098992228508, "consistency": 0.015768281277269126, "loss": 0.09372927084565162}
|
| 284 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 1.2, "data_frac": 0.68, "fm": 0.07746017649769783, "consistency": 0.015804018564522265, "loss": 0.09326419457793236}
|
| 285 |
+
HB_INLOOP flash step 11500: a9/train10 nMSE 0.1092 (motion_token 0.1126 hands 0.0002) on 145 queries, 0.5 s
|
| 286 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 1.17, "data_frac": 0.676, "fm": 0.0785224524140358, "consistency": 0.015839887391775845, "loss": 0.09436233952641487}
|
| 287 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 1.2, "data_frac": 0.681, "fm": 0.07871859416365623, "consistency": 0.015756598897278307, "loss": 0.0944751925766468}
|
| 288 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 1.21, "data_frac": 0.679, "fm": 0.07796668872237206, "consistency": 0.015822935439646243, "loss": 0.09378962382674218}
|
| 289 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.2, "data_frac": 0.684, "fm": 0.0785516282916069, "consistency": 0.015810506083071232, "loss": 0.09436213478446007}
|
| 290 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 0.83, "data_frac": 0.778, "fm": 0.07780716091394424, "consistency": 0.01573515798896551, "loss": 0.09354231849312783}
|
| 291 |
+
HB_INLOOP flash step 11750: a9/train10 nMSE 0.1091 (motion_token 0.1125 hands 0.0002) on 145 queries, 1.4 s
|
| 292 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 0.99, "data_frac": 0.709, "fm": 0.07775068163871765, "consistency": 0.015798564068973064, "loss": 0.093549245595932}
|
| 293 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 1.23, "data_frac": 0.673, "fm": 0.07771017119288444, "consistency": 0.01586862264201045, "loss": 0.09357879370450974}
|
| 294 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.14, "data_frac": 0.697, "fm": 0.07741688787937165, "consistency": 0.015704608652740717, "loss": 0.09312149658799171}
|
| 295 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 1.24, "data_frac": 0.666, "fm": 0.07707073897123337, "consistency": 0.0157870970107615, "loss": 0.09285783588886261}
|
| 296 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 1.22, "data_frac": 0.673, "fm": 0.07775073602795601, "consistency": 0.015814888831228016, "loss": 0.09356562510132789}
|
| 297 |
+
HB_INLOOP flash step 12000: a9/train10 nMSE 0.1091 (motion_token 0.1125 hands 0.0002) on 145 queries, 0.5 s
|
| 298 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/step-012000", "mse": 0.011307966895401478, "mse_row0": 0.00958575215190649, "mse_motion_token": 0.013067372143268585, "mse_inspire_left_hand_state": 0.001998642925173044, "mse_inspire_right_hand_state": 0.001850301050581038}
|
| 299 |
+
{"event": "done", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/final"}
|
a9-pedal-open/b512/step-012000/training_records/train_log.jsonl
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.64, "data_frac": 0.745, "fm": 1.256499103307724, "consistency": 1.3352598965167999, "loss": 2.591759009361267}
|
| 2 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.12, "data_frac": 0.701, "fm": 0.5778047740459442, "consistency": 0.5718595969676972, "loss": 1.149664363861084}
|
| 3 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.2, "data_frac": 0.681, "fm": 0.5518717563152313, "consistency": 0.5334240341186524, "loss": 1.0852957725524903}
|
| 4 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.17, "data_frac": 0.684, "fm": 0.5297623378038406, "consistency": 0.46848226964473727, "loss": 0.9982446110248566}
|
| 5 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 1.2, "data_frac": 0.679, "fm": 0.48323086619377137, "consistency": 0.37105071902275083, "loss": 0.8542815887928009}
|
| 6 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.05, "data_frac": 0.646, "fm": 0.40249574720859527, "consistency": 0.24971781134605409, "loss": 0.6522135615348816}
|
| 7 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.22, "data_frac": 0.679, "fm": 0.32920368015766144, "consistency": 0.17036642909049987, "loss": 0.4995701092481613}
|
| 8 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 0.71, "data_frac": 0.809, "fm": 0.2753276300430298, "consistency": 0.12523228302598, "loss": 0.40055991113185885}
|
| 9 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.13, "data_frac": 0.699, "fm": 0.24272329688072206, "consistency": 0.10185530453920365, "loss": 0.34457860350608827}
|
| 10 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 1.17, "data_frac": 0.687, "fm": 0.21959567308425904, "consistency": 0.08875457808375359, "loss": 0.3083502513170242}
|
| 11 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 1.17, "data_frac": 0.677, "fm": 0.20324932008981705, "consistency": 0.07860084071755409, "loss": 0.2818501603603363}
|
| 12 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 1.22, "data_frac": 0.677, "fm": 0.18847813934087754, "consistency": 0.07107773140072822, "loss": 0.2595558711886406}
|
| 13 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 1.16, "data_frac": 0.687, "fm": 0.17654211074113846, "consistency": 0.06613531485199928, "loss": 0.2426774248480797}
|
| 14 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 1.22, "data_frac": 0.675, "fm": 0.1676620826125145, "consistency": 0.061476102322340014, "loss": 0.22913818508386613}
|
| 15 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 0.73, "data_frac": 0.803, "fm": 0.16115312904119491, "consistency": 0.058488124459981916, "loss": 0.219641253054142}
|
| 16 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 1.18, "data_frac": 0.668, "fm": 0.15409253656864166, "consistency": 0.0550876209884882, "loss": 0.20918015778064727}
|
| 17 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 1.21, "data_frac": 0.677, "fm": 0.14918505817651748, "consistency": 0.05279352851212025, "loss": 0.20197858661413193}
|
| 18 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 1.19, "data_frac": 0.685, "fm": 0.14594152241945266, "consistency": 0.05071644894778728, "loss": 0.19665797144174577}
|
| 19 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 1.22, "data_frac": 0.676, "fm": 0.14258170634508133, "consistency": 0.04871485032141209, "loss": 0.1912965565919876}
|
| 20 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 1.2, "data_frac": 0.68, "fm": 0.1396322613954544, "consistency": 0.04722966089844704, "loss": 0.18686192244291305}
|
| 21 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 1.21, "data_frac": 0.666, "fm": 0.13669520765542983, "consistency": 0.04613477669656277, "loss": 0.18282998532056807}
|
| 22 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 1.12, "data_frac": 0.701, "fm": 0.13313223540782929, "consistency": 0.044357246309518816, "loss": 0.1774894818663597}
|
| 23 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 0.72, "data_frac": 0.808, "fm": 0.13180388301610946, "consistency": 0.04348952583968639, "loss": 0.17529340863227844}
|
| 24 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 1.21, "data_frac": 0.678, "fm": 0.13071434304118157, "consistency": 0.04261469423770905, "loss": 0.17332903742790223}
|
| 25 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 1.2, "data_frac": 0.677, "fm": 0.1273145507276058, "consistency": 0.04150247983634472, "loss": 0.1688170301914215}
|
| 26 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 1.14, "data_frac": 0.685, "fm": 0.1264222790300846, "consistency": 0.04098256573081017, "loss": 0.16740484446287154}
|
| 27 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 1.15, "data_frac": 0.695, "fm": 0.12472962915897369, "consistency": 0.039600912556052206, "loss": 0.16433054238557815}
|
| 28 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 1.17, "data_frac": 0.689, "fm": 0.12329150959849358, "consistency": 0.0389509879052639, "loss": 0.16224249660968781}
|
| 29 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 1.18, "data_frac": 0.689, "fm": 0.12365962907671929, "consistency": 0.038656207770109176, "loss": 0.16231583654880524}
|
| 30 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 0.71, "data_frac": 0.809, "fm": 0.12083175078034401, "consistency": 0.03779370307922363, "loss": 0.1586254534125328}
|
| 31 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 1.13, "data_frac": 0.687, "fm": 0.11968247026205063, "consistency": 0.03686726778745651, "loss": 0.15654973775148393}
|
| 32 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 1.2, "data_frac": 0.681, "fm": 0.1201426412165165, "consistency": 0.03711059361696243, "loss": 0.1572532343864441}
|
| 33 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 1.2, "data_frac": 0.682, "fm": 0.11760753780603408, "consistency": 0.03632420994341373, "loss": 0.15393174827098846}
|
| 34 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 1.23, "data_frac": 0.673, "fm": 0.11683106660842896, "consistency": 0.035943369865417484, "loss": 0.1527744361758232}
|
| 35 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 1.24, "data_frac": 0.672, "fm": 0.11568918034434318, "consistency": 0.03505174361169338, "loss": 0.15074092358350755}
|
| 36 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 1.19, "data_frac": 0.664, "fm": 0.11418118119239808, "consistency": 0.034370461702346804, "loss": 0.1485516431927681}
|
| 37 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 0.72, "data_frac": 0.807, "fm": 0.11428178548812866, "consistency": 0.03439645923674107, "loss": 0.14867824465036392}
|
| 38 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 1.18, "data_frac": 0.688, "fm": 0.1121143352985382, "consistency": 0.033746500685811046, "loss": 0.14586083590984344}
|
| 39 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 1.15, "data_frac": 0.693, "fm": 0.11162423521280289, "consistency": 0.03363640710711479, "loss": 0.14526064157485963}
|
| 40 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 1.19, "data_frac": 0.683, "fm": 0.11195267349481583, "consistency": 0.03247032780200243, "loss": 0.1444230005145073}
|
| 41 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 1.18, "data_frac": 0.673, "fm": 0.11059822723269462, "consistency": 0.032579288221895694, "loss": 0.14317751556634903}
|
| 42 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 1.19, "data_frac": 0.686, "fm": 0.11035466477274895, "consistency": 0.032002684213221076, "loss": 0.14235734909772874}
|
| 43 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 1.21, "data_frac": 0.681, "fm": 0.10925204694271087, "consistency": 0.03183230452239513, "loss": 0.14108435332775116}
|
| 44 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 1.21, "data_frac": 0.675, "fm": 0.10865027233958244, "consistency": 0.031203563027083873, "loss": 0.1398538354039192}
|
| 45 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 0.69, "data_frac": 0.814, "fm": 0.1076258397102356, "consistency": 0.030884872041642666, "loss": 0.13851071119308472}
|
| 46 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 1.15, "data_frac": 0.678, "fm": 0.10757141247391701, "consistency": 0.03045626822859049, "loss": 0.1380276808142662}
|
| 47 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 0.82, "data_frac": 0.763, "fm": 0.1074581864476204, "consistency": 0.030227413289248942, "loss": 0.13768559992313384}
|
| 48 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 0.69, "data_frac": 0.791, "fm": 0.1067126752436161, "consistency": 0.029999133981764316, "loss": 0.1367118090391159}
|
| 49 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 0.79, "data_frac": 0.78, "fm": 0.10561525583267212, "consistency": 0.029525620378553868, "loss": 0.13514087587594986}
|
| 50 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 0.8, "data_frac": 0.778, "fm": 0.10492217555642128, "consistency": 0.029270000122487545, "loss": 0.13419217526912688}
|
| 51 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 0.86, "data_frac": 0.756, "fm": 0.1056952154636383, "consistency": 0.02931578565388918, "loss": 0.1350110012292862}
|
| 52 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 0.47, "data_frac": 0.864, "fm": 0.10448727160692214, "consistency": 0.02866323109716177, "loss": 0.13315050259232522}
|
| 53 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 0.83, "data_frac": 0.772, "fm": 0.103952447026968, "consistency": 0.028566762432456018, "loss": 0.1325192093849182}
|
| 54 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 0.86, "data_frac": 0.752, "fm": 0.10232667252421379, "consistency": 0.027995341680943964, "loss": 0.13032201528549195}
|
| 55 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 0.84, "data_frac": 0.769, "fm": 0.10150378689169884, "consistency": 0.027674187421798706, "loss": 0.12917797461152078}
|
| 56 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 0.81, "data_frac": 0.77, "fm": 0.10170620203018188, "consistency": 0.027410062439739705, "loss": 0.1291162648797035}
|
| 57 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 0.87, "data_frac": 0.766, "fm": 0.10101159736514091, "consistency": 0.027306007370352745, "loss": 0.1283176051080227}
|
| 58 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 0.84, "data_frac": 0.776, "fm": 0.10164465829730034, "consistency": 0.027476415522396564, "loss": 0.1291210748255253}
|
| 59 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 0.48, "data_frac": 0.868, "fm": 0.09947413131594658, "consistency": 0.026728425808250904, "loss": 0.1262025575339794}
|
| 60 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 0.83, "data_frac": 0.765, "fm": 0.10014448583126068, "consistency": 0.026733345203101635, "loss": 0.12687783032655717}
|
| 61 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 0.85, "data_frac": 0.749, "fm": 0.0986092123389244, "consistency": 0.026496475599706172, "loss": 0.12510568797588348}
|
| 62 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 0.83, "data_frac": 0.767, "fm": 0.10014094322919846, "consistency": 0.026274979561567307, "loss": 0.1264159221947193}
|
| 63 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 0.89, "data_frac": 0.759, "fm": 0.09889948770403861, "consistency": 0.025950607396662235, "loss": 0.12485009506344795}
|
| 64 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 0.83, "data_frac": 0.773, "fm": 0.09866977244615555, "consistency": 0.02579377394169569, "loss": 0.12446354642510414}
|
| 65 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 0.84, "data_frac": 0.771, "fm": 0.0980977949500084, "consistency": 0.025300781652331353, "loss": 0.12339857578277588}
|
| 66 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 0.81, "data_frac": 0.771, "fm": 0.0990341255068779, "consistency": 0.02548059694468975, "loss": 0.12451472282409667}
|
| 67 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 0.48, "data_frac": 0.87, "fm": 0.0970679321885109, "consistency": 0.025133301466703416, "loss": 0.12220123335719109}
|
| 68 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 0.85, "data_frac": 0.762, "fm": 0.09870309546589852, "consistency": 0.025467028096318244, "loss": 0.12417012304067612}
|
| 69 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 0.86, "data_frac": 0.761, "fm": 0.0974121056497097, "consistency": 0.025000827461481093, "loss": 0.12241293355822563}
|
| 70 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 0.83, "data_frac": 0.777, "fm": 0.09677423551678657, "consistency": 0.024650879986584186, "loss": 0.12142511561512948}
|
| 71 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 0.85, "data_frac": 0.752, "fm": 0.09796907052397728, "consistency": 0.024975337125360965, "loss": 0.12294440791010856}
|
| 72 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 0.85, "data_frac": 0.768, "fm": 0.09574649944901466, "consistency": 0.024369266852736472, "loss": 0.12011576622724533}
|
| 73 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 0.8, "data_frac": 0.784, "fm": 0.09566166624426842, "consistency": 0.02404251892119646, "loss": 0.11970418497920036}
|
| 74 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 0.48, "data_frac": 0.868, "fm": 0.09522397592663764, "consistency": 0.023983432091772557, "loss": 0.11920740813016892}
|
| 75 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 0.86, "data_frac": 0.764, "fm": 0.09597209304571151, "consistency": 0.024244910180568693, "loss": 0.12021700352430344}
|
| 76 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 0.81, "data_frac": 0.765, "fm": 0.09548091545701026, "consistency": 0.024139374606311322, "loss": 0.11962028980255127}
|
| 77 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 0.86, "data_frac": 0.765, "fm": 0.09490724191069604, "consistency": 0.023846671842038633, "loss": 0.11875391364097596}
|
| 78 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 1.02, "data_frac": 0.726, "fm": 0.09501085057854652, "consistency": 0.023537223748862742, "loss": 0.11854807436466216}
|
| 79 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 1.23, "data_frac": 0.671, "fm": 0.09359663471579552, "consistency": 0.023389725163578987, "loss": 0.11698635965585709}
|
| 80 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 1.18, "data_frac": 0.686, "fm": 0.09362559363245965, "consistency": 0.023001351058483124, "loss": 0.11662694454193115}
|
| 81 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/step-004000", "mse": 0.014890769496560097, "mse_row0": 0.012704264372587204, "mse_motion_token": 0.017161525785923004, "mse_inspire_left_hand_state": 0.002947366563603282, "mse_inspire_right_hand_state": 0.0026127570308744907}
|
| 82 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 0.58, "data_frac": 0.777, "fm": 0.09438193321228028, "consistency": 0.023071037121117115, "loss": 0.11745297014713288}
|
| 83 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 0.7, "data_frac": 0.794, "fm": 0.09299621537327767, "consistency": 0.023086489401757716, "loss": 0.11608270540833474}
|
| 84 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 0.7, "data_frac": 0.794, "fm": 0.09309764862060547, "consistency": 0.022874375246465205, "loss": 0.11597202375531196}
|
| 85 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 0.69, "data_frac": 0.798, "fm": 0.09319904088973999, "consistency": 0.022590732388198375, "loss": 0.11578977316617965}
|
| 86 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 0.73, "data_frac": 0.788, "fm": 0.09187627509236336, "consistency": 0.022611302435398103, "loss": 0.11448757752776145}
|
| 87 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 0.68, "data_frac": 0.791, "fm": 0.09187135979533195, "consistency": 0.022678419202566146, "loss": 0.11454977944493294}
|
| 88 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 0.79, "data_frac": 0.77, "fm": 0.09288804039359093, "consistency": 0.022575742192566396, "loss": 0.11546378225088119}
|
| 89 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 0.79, "data_frac": 0.785, "fm": 0.09163603320717811, "consistency": 0.02246698759496212, "loss": 0.11410302132368087}
|
| 90 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 0.45, "data_frac": 0.868, "fm": 0.09123429909348488, "consistency": 0.022109448499977587, "loss": 0.1133437480032444}
|
| 91 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 0.82, "data_frac": 0.764, "fm": 0.09177209064364433, "consistency": 0.02242434985935688, "loss": 0.11419644057750702}
|
| 92 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 0.71, "data_frac": 0.777, "fm": 0.09109950304031372, "consistency": 0.021950186118483542, "loss": 0.11304969012737275}
|
| 93 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 0.78, "data_frac": 0.778, "fm": 0.09100631803274155, "consistency": 0.02183875735849142, "loss": 0.11284507542848587}
|
| 94 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 0.8, "data_frac": 0.777, "fm": 0.090558260679245, "consistency": 0.02164290502667427, "loss": 0.11220116585493088}
|
| 95 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 0.82, "data_frac": 0.763, "fm": 0.090477607101202, "consistency": 0.02185937896370888, "loss": 0.11233698576688766}
|
| 96 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 0.75, "data_frac": 0.791, "fm": 0.09011981755495072, "consistency": 0.021550372764468192, "loss": 0.11167018964886666}
|
| 97 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 0.44, "data_frac": 0.858, "fm": 0.08996665805578231, "consistency": 0.021520593017339707, "loss": 0.11148725122213364}
|
| 98 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 0.76, "data_frac": 0.786, "fm": 0.09001959279179574, "consistency": 0.02117498476058245, "loss": 0.11119457826018334}
|
| 99 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 0.81, "data_frac": 0.778, "fm": 0.0896044684946537, "consistency": 0.021176534853875637, "loss": 0.11078100323677063}
|
| 100 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 0.82, "data_frac": 0.774, "fm": 0.08937466323375702, "consistency": 0.021165454797446727, "loss": 0.11054011836647987}
|
| 101 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 0.98, "data_frac": 0.733, "fm": 0.0893153965473175, "consistency": 0.02107293400913477, "loss": 0.11038833111524582}
|
| 102 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 1.13, "data_frac": 0.688, "fm": 0.08919163152575493, "consistency": 0.02080606896430254, "loss": 0.10999770015478134}
|
| 103 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 1.02, "data_frac": 0.71, "fm": 0.0887783382833004, "consistency": 0.020875451266765595, "loss": 0.10965378910303115}
|
| 104 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 0.38, "data_frac": 0.888, "fm": 0.08952880874276162, "consistency": 0.020833443515002728, "loss": 0.11036225214600563}
|
| 105 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 0.7, "data_frac": 0.793, "fm": 0.08952652499079704, "consistency": 0.021217089295387268, "loss": 0.11074361354112625}
|
| 106 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 0.72, "data_frac": 0.784, "fm": 0.08899169772863388, "consistency": 0.020739423222839833, "loss": 0.1097311207652092}
|
| 107 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 0.77, "data_frac": 0.76, "fm": 0.08876444011926651, "consistency": 0.02061120864003897, "loss": 0.1093756490945816}
|
| 108 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 0.75, "data_frac": 0.791, "fm": 0.08798857107758522, "consistency": 0.020593998916447163, "loss": 0.10858256995677948}
|
| 109 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 0.79, "data_frac": 0.767, "fm": 0.08762945547699928, "consistency": 0.02031582925468683, "loss": 0.1079452845454216}
|
| 110 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 0.75, "data_frac": 0.782, "fm": 0.08784030243754387, "consistency": 0.020276640877127647, "loss": 0.10811694353818893}
|
| 111 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 0.7, "data_frac": 0.801, "fm": 0.08693359583616257, "consistency": 0.019958109334111213, "loss": 0.1068917055428028}
|
| 112 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 0.46, "data_frac": 0.862, "fm": 0.08760179311037064, "consistency": 0.020004192516207695, "loss": 0.1076059852540493}
|
| 113 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 0.84, "data_frac": 0.77, "fm": 0.08805178448557854, "consistency": 0.02006811764091253, "loss": 0.10811990201473236}
|
| 114 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 0.89, "data_frac": 0.749, "fm": 0.08767512515187263, "consistency": 0.020115420259535312, "loss": 0.10779054597020149}
|
| 115 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 0.77, "data_frac": 0.777, "fm": 0.08644135028123856, "consistency": 0.01996984750032425, "loss": 0.1064111977815628}
|
| 116 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 0.82, "data_frac": 0.764, "fm": 0.0873464149236679, "consistency": 0.019867584481835364, "loss": 0.10721399903297424}
|
| 117 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 0.69, "data_frac": 0.785, "fm": 0.08547621816396714, "consistency": 0.019618142992258072, "loss": 0.10509436160326004}
|
| 118 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 0.79, "data_frac": 0.787, "fm": 0.08620410472154617, "consistency": 0.01982321824878454, "loss": 0.10602732330560684}
|
| 119 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 0.45, "data_frac": 0.867, "fm": 0.08600536435842514, "consistency": 0.019661310054361822, "loss": 0.10566667407751083}
|
| 120 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 0.78, "data_frac": 0.778, "fm": 0.08524483397603035, "consistency": 0.019376398772001268, "loss": 0.10462123274803162}
|
| 121 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 1.14, "data_frac": 0.692, "fm": 0.0861989901959896, "consistency": 0.019490370936691762, "loss": 0.10568936094641686}
|
| 122 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 1.04, "data_frac": 0.711, "fm": 0.08567097216844559, "consistency": 0.01933801867067814, "loss": 0.10500899076461792}
|
| 123 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.01, "data_frac": 0.722, "fm": 0.08629267558455467, "consistency": 0.019368788972496987, "loss": 0.10566146448254585}
|
| 124 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 0.78, "data_frac": 0.773, "fm": 0.08542600437998772, "consistency": 0.01917629562318325, "loss": 0.10460230007767678}
|
| 125 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 0.71, "data_frac": 0.794, "fm": 0.08526593104004859, "consistency": 0.019155363105237484, "loss": 0.10442129403352737}
|
| 126 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 0.39, "data_frac": 0.883, "fm": 0.0855109840631485, "consistency": 0.01924097701907158, "loss": 0.10475196093320846}
|
| 127 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 0.67, "data_frac": 0.8, "fm": 0.08536273807287216, "consistency": 0.01916087985038757, "loss": 0.10452361822128296}
|
| 128 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 0.76, "data_frac": 0.787, "fm": 0.08479476734995842, "consistency": 0.01899805333465338, "loss": 0.10379282101988792}
|
| 129 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 0.73, "data_frac": 0.788, "fm": 0.08474779173731804, "consistency": 0.019098954759538173, "loss": 0.10384674623608589}
|
| 130 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 0.76, "data_frac": 0.781, "fm": 0.08356071054935456, "consistency": 0.018811737857758998, "loss": 0.10237244874238968}
|
| 131 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 0.9, "data_frac": 0.743, "fm": 0.0848859690129757, "consistency": 0.019001672379672527, "loss": 0.1038876411318779}
|
| 132 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 0.73, "data_frac": 0.779, "fm": 0.08461637794971466, "consistency": 0.018787224069237708, "loss": 0.10340360254049301}
|
| 133 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 0.79, "data_frac": 0.785, "fm": 0.08355089828372002, "consistency": 0.018643424771726133, "loss": 0.10219432324171067}
|
| 134 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 0.47, "data_frac": 0.867, "fm": 0.08377501353621483, "consistency": 0.018774173967540265, "loss": 0.10254918813705444}
|
| 135 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 0.78, "data_frac": 0.776, "fm": 0.08482477575540542, "consistency": 0.018673870004713534, "loss": 0.10349864572286606}
|
| 136 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 0.81, "data_frac": 0.764, "fm": 0.08370697498321533, "consistency": 0.01843373626470566, "loss": 0.10214071065187454}
|
| 137 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 0.73, "data_frac": 0.768, "fm": 0.08361043766140938, "consistency": 0.018361803963780402, "loss": 0.10197224155068398}
|
| 138 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 0.7, "data_frac": 0.8, "fm": 0.0837144185602665, "consistency": 0.01852077953517437, "loss": 0.10223519787192345}
|
| 139 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 0.71, "data_frac": 0.799, "fm": 0.0830351960659027, "consistency": 0.018269989043474197, "loss": 0.1013051851093769}
|
| 140 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 0.84, "data_frac": 0.772, "fm": 0.08288424044847488, "consistency": 0.01828803703188896, "loss": 0.10117227777838707}
|
| 141 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 0.64, "data_frac": 0.824, "fm": 0.08278070092201233, "consistency": 0.018181047588586807, "loss": 0.10096174821257592}
|
| 142 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 0.85, "data_frac": 0.759, "fm": 0.08348570004105568, "consistency": 0.01817485235631466, "loss": 0.10166055232286453}
|
| 143 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 0.73, "data_frac": 0.789, "fm": 0.08296608686447143, "consistency": 0.018188572600483895, "loss": 0.10115465983748435}
|
| 144 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 0.65, "data_frac": 0.812, "fm": 0.0828617562353611, "consistency": 0.018162885531783104, "loss": 0.10102464184165001}
|
| 145 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 0.81, "data_frac": 0.769, "fm": 0.08264556899666786, "consistency": 0.01803723454475403, "loss": 0.10068280383944511}
|
| 146 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 0.77, "data_frac": 0.778, "fm": 0.08160720437765122, "consistency": 0.018005946576595308, "loss": 0.09961315110325814}
|
| 147 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 0.68, "data_frac": 0.784, "fm": 0.08231391832232475, "consistency": 0.017950007244944572, "loss": 0.1002639253437519}
|
| 148 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 0.46, "data_frac": 0.871, "fm": 0.08177893340587616, "consistency": 0.01783491864800453, "loss": 0.0996138520538807}
|
| 149 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 0.71, "data_frac": 0.8, "fm": 0.08158941268920898, "consistency": 0.017901215106248855, "loss": 0.09949062779545784}
|
| 150 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 0.82, "data_frac": 0.77, "fm": 0.08202976524829865, "consistency": 0.017652144394814967, "loss": 0.0996819093823433}
|
| 151 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 0.75, "data_frac": 0.784, "fm": 0.08261463403701783, "consistency": 0.017720488235354423, "loss": 0.10033512204885482}
|
| 152 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 0.86, "data_frac": 0.728, "fm": 0.08188104763627052, "consistency": 0.017815950401127337, "loss": 0.09969699785113334}
|
| 153 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 0.74, "data_frac": 0.79, "fm": 0.08188719421625137, "consistency": 0.017661781683564186, "loss": 0.09954897597432137}
|
| 154 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 0.9, "data_frac": 0.733, "fm": 0.0818576130270958, "consistency": 0.01769393403083086, "loss": 0.09955154731869698}
|
| 155 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 0.68, "data_frac": 0.806, "fm": 0.08224956631660461, "consistency": 0.0176533180475235, "loss": 0.09990288510918617}
|
| 156 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 0.46, "data_frac": 0.868, "fm": 0.08116479888558388, "consistency": 0.017477955035865307, "loss": 0.09864275380969048}
|
| 157 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 0.74, "data_frac": 0.774, "fm": 0.0811986680328846, "consistency": 0.01748612280935049, "loss": 0.09868479087948799}
|
| 158 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 0.74, "data_frac": 0.788, "fm": 0.0815090924501419, "consistency": 0.01750069495290518, "loss": 0.0990097875893116}
|
| 159 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 0.8, "data_frac": 0.779, "fm": 0.08144770443439484, "consistency": 0.017251629456877707, "loss": 0.09869933381676674}
|
| 160 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 1.04, "data_frac": 0.725, "fm": 0.08082589387893677, "consistency": 0.01741544909775257, "loss": 0.09824134275317192}
|
| 161 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 1.11, "data_frac": 0.701, "fm": 0.08107598587870597, "consistency": 0.017262699753046035, "loss": 0.09833868578076363}
|
| 162 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/step-008000", "mse": 0.011984765529632568, "mse_row0": 0.010174976661801338, "mse_motion_token": 0.01384236104786396, "mse_inspire_left_hand_state": 0.0021672716829925776, "mse_inspire_right_hand_state": 0.001987920142710209}
|
| 163 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 0.73, "data_frac": 0.71, "fm": 0.08092185989022255, "consistency": 0.017346027307212353, "loss": 0.09826788738369942}
|
| 164 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 0.38, "data_frac": 0.886, "fm": 0.08100757986307144, "consistency": 0.017266103737056254, "loss": 0.09827368333935738}
|
| 165 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 0.76, "data_frac": 0.78, "fm": 0.08037214115262031, "consistency": 0.017109675854444503, "loss": 0.0974818167090416}
|
| 166 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 0.72, "data_frac": 0.792, "fm": 0.0808767694234848, "consistency": 0.01711876556277275, "loss": 0.09799553498625756}
|
| 167 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 0.68, "data_frac": 0.801, "fm": 0.08051844894886016, "consistency": 0.017231817059218883, "loss": 0.09775026649236679}
|
| 168 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 0.73, "data_frac": 0.77, "fm": 0.08015716180205346, "consistency": 0.01696389652788639, "loss": 0.09712105870246887}
|
| 169 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 0.74, "data_frac": 0.794, "fm": 0.08051961064338684, "consistency": 0.017041571252048016, "loss": 0.09756118223071099}
|
| 170 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 0.9, "data_frac": 0.744, "fm": 0.08047656580805779, "consistency": 0.016948552094399928, "loss": 0.09742511853575707}
|
| 171 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 0.44, "data_frac": 0.872, "fm": 0.0801660780608654, "consistency": 0.017005851231515406, "loss": 0.09717192932963371}
|
| 172 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 0.72, "data_frac": 0.796, "fm": 0.08029760763049126, "consistency": 0.016876148618757726, "loss": 0.0971737563610077}
|
| 173 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 0.74, "data_frac": 0.769, "fm": 0.08026227012276649, "consistency": 0.01697759672999382, "loss": 0.0972398667037487}
|
| 174 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 0.83, "data_frac": 0.769, "fm": 0.08037074968218803, "consistency": 0.016909446753561496, "loss": 0.09728019654750825}
|
| 175 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 0.88, "data_frac": 0.758, "fm": 0.08020563930273056, "consistency": 0.01667888689786196, "loss": 0.09688452571630478}
|
| 176 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 0.71, "data_frac": 0.794, "fm": 0.0808315210044384, "consistency": 0.01688965827226639, "loss": 0.0977211794257164}
|
| 177 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 0.82, "data_frac": 0.779, "fm": 0.08028442487120628, "consistency": 0.01670199282467365, "loss": 0.09698641777038575}
|
| 178 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 1.2, "data_frac": 0.671, "fm": 0.0797119089961052, "consistency": 0.016728678047657014, "loss": 0.09644058674573898}
|
| 179 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 0.72, "data_frac": 0.808, "fm": 0.08094168975949287, "consistency": 0.016739286947995424, "loss": 0.0976809772849083}
|
| 180 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 1.21, "data_frac": 0.68, "fm": 0.07951228275895118, "consistency": 0.016690759919583797, "loss": 0.09620304256677628}
|
| 181 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 1.24, "data_frac": 0.67, "fm": 0.08012493550777436, "consistency": 0.016680566128343344, "loss": 0.09680550158023835}
|
| 182 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 1.19, "data_frac": 0.683, "fm": 0.07964220911264419, "consistency": 0.01667550567537546, "loss": 0.09631771489977836}
|
| 183 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 1.2, "data_frac": 0.669, "fm": 0.07903456389904022, "consistency": 0.01664296131581068, "loss": 0.09567752510309219}
|
| 184 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 1.22, "data_frac": 0.674, "fm": 0.07991324350237847, "consistency": 0.0166171720251441, "loss": 0.09653041586279869}
|
| 185 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 1.23, "data_frac": 0.674, "fm": 0.07895754605531692, "consistency": 0.01650971855968237, "loss": 0.09546726495027542}
|
| 186 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 0.72, "data_frac": 0.806, "fm": 0.07969961315393448, "consistency": 0.016568792201578617, "loss": 0.09626840561628341}
|
| 187 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 1.15, "data_frac": 0.694, "fm": 0.07951397344470024, "consistency": 0.016536584720015526, "loss": 0.09605055823922157}
|
| 188 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 1.16, "data_frac": 0.682, "fm": 0.07861540749669076, "consistency": 0.016449974216520787, "loss": 0.09506538197398186}
|
| 189 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 1.17, "data_frac": 0.69, "fm": 0.07933901757001877, "consistency": 0.016498892568051815, "loss": 0.09583790972828865}
|
| 190 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 1.18, "data_frac": 0.687, "fm": 0.07942080736160279, "consistency": 0.016395342722535133, "loss": 0.09581615015864373}
|
| 191 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 1.23, "data_frac": 0.672, "fm": 0.07889421433210372, "consistency": 0.016300444658845663, "loss": 0.09519465863704682}
|
| 192 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 1.19, "data_frac": 0.685, "fm": 0.07826235622167588, "consistency": 0.016379671245813368, "loss": 0.09464202776551246}
|
| 193 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 0.75, "data_frac": 0.792, "fm": 0.0783827343583107, "consistency": 0.016366600673645735, "loss": 0.09474933475255966}
|
| 194 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 1.1, "data_frac": 0.706, "fm": 0.0786670358479023, "consistency": 0.016271016113460064, "loss": 0.09493805140256882}
|
| 195 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 1.22, "data_frac": 0.67, "fm": 0.07949748337268829, "consistency": 0.016330309193581343, "loss": 0.09582779198884964}
|
| 196 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 1.19, "data_frac": 0.679, "fm": 0.07888317197561263, "consistency": 0.0161117148399353, "loss": 0.09499488696455956}
|
| 197 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 1.22, "data_frac": 0.67, "fm": 0.07880418345332146, "consistency": 0.016382100339978934, "loss": 0.09518628373742104}
|
| 198 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 1.15, "data_frac": 0.683, "fm": 0.07775111332535743, "consistency": 0.01616721265017986, "loss": 0.09391832649707794}
|
| 199 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 1.27, "data_frac": 0.661, "fm": 0.07852867498993873, "consistency": 0.016255349107086658, "loss": 0.09478402450680733}
|
| 200 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 1.22, "data_frac": 0.675, "fm": 0.07771797448396683, "consistency": 0.016209069285541774, "loss": 0.0939270442724228}
|
| 201 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 0.68, "data_frac": 0.818, "fm": 0.07788250967860222, "consistency": 0.016194313783198595, "loss": 0.09407682344317436}
|
| 202 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.23, "data_frac": 0.673, "fm": 0.07919782415032386, "consistency": 0.01616284817457199, "loss": 0.09536067262291908}
|
| 203 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 1.2, "data_frac": 0.67, "fm": 0.07925790637731552, "consistency": 0.016203842721879483, "loss": 0.09546174943447112}
|
| 204 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 1.2, "data_frac": 0.68, "fm": 0.07800667732954025, "consistency": 0.016090749986469744, "loss": 0.09409742698073387}
|
| 205 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 1.24, "data_frac": 0.673, "fm": 0.07870405480265617, "consistency": 0.01607680780813098, "loss": 0.09478086248040199}
|
| 206 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 1.22, "data_frac": 0.673, "fm": 0.07860577046871185, "consistency": 0.01610190972685814, "loss": 0.09470767989754676}
|
| 207 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 1.23, "data_frac": 0.673, "fm": 0.07804683849215507, "consistency": 0.01607244001701474, "loss": 0.0941192777454853}
|
| 208 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 0.72, "data_frac": 0.799, "fm": 0.07833199948072433, "consistency": 0.016039184127002955, "loss": 0.09437118396162987}
|
| 209 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 1.13, "data_frac": 0.699, "fm": 0.07851610913872718, "consistency": 0.01606072245165706, "loss": 0.09457683101296425}
|
| 210 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 1.22, "data_frac": 0.675, "fm": 0.078225779235363, "consistency": 0.01598768202587962, "loss": 0.09421346127986908}
|
| 211 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 1.23, "data_frac": 0.671, "fm": 0.07871444344520569, "consistency": 0.016004818491637707, "loss": 0.0947192619740963}
|
| 212 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 1.19, "data_frac": 0.685, "fm": 0.0782027769088745, "consistency": 0.016082102600485086, "loss": 0.09428487926721572}
|
| 213 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 1.18, "data_frac": 0.673, "fm": 0.07760572105646134, "consistency": 0.015889684967696667, "loss": 0.0934954059123993}
|
| 214 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 1.22, "data_frac": 0.676, "fm": 0.07668126434087753, "consistency": 0.016009405665099622, "loss": 0.09269066989421844}
|
| 215 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 0.72, "data_frac": 0.806, "fm": 0.07752861946821213, "consistency": 0.01594321046024561, "loss": 0.09347182959318161}
|
| 216 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 1.13, "data_frac": 0.701, "fm": 0.07779079735279083, "consistency": 0.01593544915318489, "loss": 0.09372624650597572}
|
| 217 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 1.22, "data_frac": 0.678, "fm": 0.07757854640483856, "consistency": 0.015919334329664706, "loss": 0.09349788054823875}
|
| 218 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 1.18, "data_frac": 0.674, "fm": 0.07789099097251892, "consistency": 0.01594093505293131, "loss": 0.09383192539215088}
|
| 219 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 1.24, "data_frac": 0.667, "fm": 0.07700256198644638, "consistency": 0.015885212104767562, "loss": 0.0928877741098404}
|
| 220 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 1.18, "data_frac": 0.687, "fm": 0.07841546222567558, "consistency": 0.015849123541265726, "loss": 0.09426458537578583}
|
| 221 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 1.22, "data_frac": 0.675, "fm": 0.07748781740665436, "consistency": 0.01582897748798132, "loss": 0.09331679493188857}
|
| 222 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 1.24, "data_frac": 0.671, "fm": 0.07781229346990585, "consistency": 0.015828271619975565, "loss": 0.09364056527614593}
|
| 223 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 0.7, "data_frac": 0.805, "fm": 0.07787178993225098, "consistency": 0.015890742018818856, "loss": 0.09376253232359887}
|
| 224 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 1.15, "data_frac": 0.696, "fm": 0.0777466630935669, "consistency": 0.01584627468138933, "loss": 0.09359293788671494}
|
| 225 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 1.21, "data_frac": 0.679, "fm": 0.07779623538255692, "consistency": 0.015850396510213614, "loss": 0.09364663124084473}
|
| 226 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 1.18, "data_frac": 0.686, "fm": 0.07840564429759979, "consistency": 0.015802037324756383, "loss": 0.09420768186450004}
|
| 227 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 1.26, "data_frac": 0.663, "fm": 0.07783278197050095, "consistency": 0.015909321643412112, "loss": 0.093742104023695}
|
| 228 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 1.26, "data_frac": 0.649, "fm": 0.07801556155085564, "consistency": 0.015864869821816684, "loss": 0.09388043150305748}
|
| 229 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 1.16, "data_frac": 0.691, "fm": 0.07738698571920395, "consistency": 0.015822696294635535, "loss": 0.09320968210697174}
|
| 230 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 0.72, "data_frac": 0.805, "fm": 0.07865554824471474, "consistency": 0.015818372406065463, "loss": 0.09447392031550407}
|
| 231 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 1.16, "data_frac": 0.691, "fm": 0.07796098992228508, "consistency": 0.015768281277269126, "loss": 0.09372927084565162}
|
| 232 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 1.2, "data_frac": 0.68, "fm": 0.07746017649769783, "consistency": 0.015804018564522265, "loss": 0.09326419457793236}
|
| 233 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 1.17, "data_frac": 0.676, "fm": 0.0785224524140358, "consistency": 0.015839887391775845, "loss": 0.09436233952641487}
|
| 234 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 1.2, "data_frac": 0.681, "fm": 0.07871859416365623, "consistency": 0.015756598897278307, "loss": 0.0944751925766468}
|
| 235 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 1.21, "data_frac": 0.679, "fm": 0.07796668872237206, "consistency": 0.015822935439646243, "loss": 0.09378962382674218}
|
| 236 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.2, "data_frac": 0.684, "fm": 0.0785516282916069, "consistency": 0.015810506083071232, "loss": 0.09436213478446007}
|
| 237 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 0.83, "data_frac": 0.778, "fm": 0.07780716091394424, "consistency": 0.01573515798896551, "loss": 0.09354231849312783}
|
| 238 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 0.99, "data_frac": 0.709, "fm": 0.07775068163871765, "consistency": 0.015798564068973064, "loss": 0.093549245595932}
|
| 239 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 1.23, "data_frac": 0.673, "fm": 0.07771017119288444, "consistency": 0.01586862264201045, "loss": 0.09357879370450974}
|
| 240 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.14, "data_frac": 0.697, "fm": 0.07741688787937165, "consistency": 0.015704608652740717, "loss": 0.09312149658799171}
|
| 241 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 1.24, "data_frac": 0.666, "fm": 0.07707073897123337, "consistency": 0.0157870970107615, "loss": 0.09285783588886261}
|
| 242 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 1.22, "data_frac": 0.673, "fm": 0.07775073602795601, "consistency": 0.015814888831228016, "loss": 0.09356562510132789}
|
| 243 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a9-b512-s12000/checkpoints/step-012000", "mse": 0.011307966895401478, "mse_row0": 0.00958575215190649, "mse_motion_token": 0.013067372143268585, "mse_inspire_left_hand_state": 0.001998642925173044, "mse_inspire_right_hand_state": 0.001850301050581038}
|