FLASH A18 pour water (cropped v4, three-frame trim): A800 1 GPU x 512, 12000 steps, `step-010000`, `step-012000`
Browse files- README.md +27 -0
- a18-pour-water/b512-trim3f/step-010000/SHA256SUMS +3 -0
- a18-pour-water/b512-trim3f/step-010000/config.json +1084 -0
- a18-pour-water/b512-trim3f/step-010000/model.pt +3 -0
- a18-pour-water/b512-trim3f/step-010000/protocol.json +151 -0
- a18-pour-water/b512-trim3f/step-012000/SHA256SUMS +28 -0
- a18-pour-water/b512-trim3f/step-012000/config.json +1084 -0
- a18-pour-water/b512-trim3f/step-012000/model.pt +3 -0
- a18-pour-water/b512-trim3f/step-012000/protocol.json +251 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/augmentation/hb_aug_v2.py +163 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/__init__.py +13 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/act_nets.py +615 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/adapters.py +58 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/check_flash_adapter.py +114 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/check_flash_parity.py +141 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/data.py +415 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/flash.py +412 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/fm_dit_v2.py +99 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/inloop.py +117 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/nets.py +212 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/ode_nets.py +181 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/policies.py +459 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/requirements.lock.txt +61 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/requirements.txt +15 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/runtime.py +179 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/train.py +923 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/policy/FLASH/model.py +12 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/code_commit.txt +2 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/inloop-mse.jsonl +48 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/pip_freeze_hb-baselines.txt +58 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/run.json +1101 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/small_pool.sh +73 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/train.log +301 -0
- a18-pour-water/b512-trim3f/step-012000/training_records/train_log.jsonl +246 -0
README.md
CHANGED
|
@@ -38,6 +38,7 @@ the lowest in-training action MSE, unless the task's section below says otherwis
|
|
| 38 |
| `a29-drawer-close/b512/` | A29 drawer close (black-marble kitchen, 30 Hz) | Unitree G1 (Inspire hands) | ego_view, chest | `a29-drawer-close-black-marble-30hz-v1` @d03c19e6, all 100 episodes (30,041 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 39 |
| `a21-floor-basket-transfer/b512/` | A21 floor basket transfer (idle-trimmed) | Unitree G1 (Inspire hands) | ego_view, chest | `a21-floor-transfer-basket-trim-raw-head-expert-v1` @682f2bfc, all 100 episodes (86,706 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 40 |
| `a17-unscrew-bottle/b512-trim3f/` | A17 unscrew bottle (cropped v4, three-frame trim) | Unitree H2 (Sharpa hands) | head, chest | `a17-unscrew-bottle` @f7105314, all 100 episodes (49,788 frames) | 512 | 12,000 | `step-010000`, `step-012000` | `step-012000` |
|
|
|
|
| 41 |
## Recipe (every folder)
|
| 42 |
|
| 43 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
@@ -549,3 +550,29 @@ the model, FLASH settings, training and augmentation are the same.
|
|
| 549 |
| MSE | 0.3266 | 0.1220 | 0.1081 | 0.1043 | 0.1019 | 0.1001 | 0.0992 (lowest) |
|
| 550 |
|
| 551 |
Closed-loop evaluation: pending.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
| `a29-drawer-close/b512/` | A29 drawer close (black-marble kitchen, 30 Hz) | Unitree G1 (Inspire hands) | ego_view, chest | `a29-drawer-close-black-marble-30hz-v1` @d03c19e6, all 100 episodes (30,041 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 39 |
| `a21-floor-basket-transfer/b512/` | A21 floor basket transfer (idle-trimmed) | Unitree G1 (Inspire hands) | ego_view, chest | `a21-floor-transfer-basket-trim-raw-head-expert-v1` @682f2bfc, all 100 episodes (86,706 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 40 |
| `a17-unscrew-bottle/b512-trim3f/` | A17 unscrew bottle (cropped v4, three-frame trim) | Unitree H2 (Sharpa hands) | head, chest | `a17-unscrew-bottle` @f7105314, all 100 episodes (49,788 frames) | 512 | 12,000 | `step-010000`, `step-012000` | `step-012000` |
|
| 41 |
+
| `a18-pour-water/b512-trim3f/` | A18 pour water (cropped v4, three-frame trim) | Unitree H2 (Sharpa hands) | head, chest | `a18-pour-water` @73fd5225, all 100 episodes (48,286 frames) | 512 | 12,000 | `step-010000`, `step-012000` | `step-012000` |
|
| 42 |
## Recipe (every folder)
|
| 43 |
|
| 44 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
|
|
| 550 |
| MSE | 0.3266 | 0.1220 | 0.1081 | 0.1043 | 0.1019 | 0.1001 | 0.0992 (lowest) |
|
| 551 |
|
| 552 |
Closed-loop evaluation: pending.
|
| 553 |
+
|
| 554 |
+
## A18 pour water (cropped v4, three-frame trim), batch 512, steps 10000 and 12000 (2026-11-28)
|
| 555 |
+
|
| 556 |
+
Checkpoints: [`a18-pour-water/b512-trim3f/step-012000/`](a18-pour-water/b512-trim3f/step-012000) (evaluated) and [`step-010000/`](a18-pour-water/b512-trim3f/step-010000).
|
| 557 |
+
|
| 558 |
+
**Data.**
|
| 559 |
+
- Source: `a18-pour-water` @73fd5225.
|
| 560 |
+
- All 100 episodes (48,286 frames) are used for training.
|
| 561 |
+
- Instruction: "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go."
|
| 562 |
+
- Humanoid_benchmark commit: 36ded31d.
|
| 563 |
+
|
| 564 |
+
**Robot and interface (h2_sharpa).** Unitree H2 (Sharpa hands). This replaces the G1 inputs and outputs described under Recipe;
|
| 565 |
+
the model, FLASH settings, training and augmentation are the same.
|
| 566 |
+
- State, 78-D: observation.state 75, observation.projected_gravity 3. No joint velocities.
|
| 567 |
+
- Action, 75-D: action.body_target 31, action.hands 44.
|
| 568 |
+
- Cameras (model input): head, chest.
|
| 569 |
+
|
| 570 |
+
**Training hardware.** One NVIDIA A800 80 GB (Aliyun PAI DLC), batch 512, no gradient accumulation, seed 42.
|
| 571 |
+
|
| 572 |
+
**In-training normalized action MSE on 10 equally spaced training episodes (every episode is used for training; there are no held-out episodes).**
|
| 573 |
+
|
| 574 |
+
| Step | 250 | 2,000 | 4,000 | 6,000 | 8,000 | 10,000 | 12,000 |
|
| 575 |
+
|---|---|---|---|---|---|---|---|
|
| 576 |
+
| MSE | 0.4546 | 0.1906 | 0.1560 | 0.1464 | 0.1404 | 0.1361 | 0.1344 (lowest) |
|
| 577 |
+
|
| 578 |
+
Closed-loop evaluation: pending.
|
a18-pour-water/b512-trim3f/step-010000/SHA256SUMS
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
7300a75fd76b9d2ec8124d8512432caa6c67298b8224b7820663c854023fe238 config.json
|
| 2 |
+
47d59580b99d8ae478c0850578ae8f16e0a828626941cfde5081e002e766799a model.pt
|
| 3 |
+
e069b3755200a149dbd5520c92234534e317c8dc375423a1f362c75f73c73e42 protocol.json
|
a18-pour-water/b512-trim3f/step-010000/config.json
ADDED
|
@@ -0,0 +1,1084 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 78,
|
| 6 |
+
"action_dim": 75,
|
| 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 |
+
"ode_body_dim": null,
|
| 30 |
+
"ode_width": 512,
|
| 31 |
+
"ode_layers": 4,
|
| 32 |
+
"ode_cond_dim": 512,
|
| 33 |
+
"ode_field_scale": 1.0,
|
| 34 |
+
"ode_dit_hidden": 512,
|
| 35 |
+
"ode_dit_layers": 4,
|
| 36 |
+
"ode_dit_heads": 8,
|
| 37 |
+
"ode_dit_tokens": 4,
|
| 38 |
+
"extra": {
|
| 39 |
+
"flash": {
|
| 40 |
+
"stride": 2,
|
| 41 |
+
"n_history": 8,
|
| 42 |
+
"n_action": 8,
|
| 43 |
+
"rows": 16,
|
| 44 |
+
"poly_order": 6,
|
| 45 |
+
"fit_pad": 1,
|
| 46 |
+
"boundary_constraint": true,
|
| 47 |
+
"poly_prefix": 1,
|
| 48 |
+
"poly_suffix": 1,
|
| 49 |
+
"history_noise_std": 0.5,
|
| 50 |
+
"history_reg_lambda": 0.1,
|
| 51 |
+
"consistency_weight": 1.0,
|
| 52 |
+
"solver": "euler"
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
"contract": {
|
| 57 |
+
"name": "h2_sharpa",
|
| 58 |
+
"robot": "h2_sharpa",
|
| 59 |
+
"cameras": [
|
| 60 |
+
"head",
|
| 61 |
+
"chest"
|
| 62 |
+
],
|
| 63 |
+
"state": [
|
| 64 |
+
[
|
| 65 |
+
"observation.state",
|
| 66 |
+
0,
|
| 67 |
+
75
|
| 68 |
+
],
|
| 69 |
+
[
|
| 70 |
+
"observation.projected_gravity",
|
| 71 |
+
0,
|
| 72 |
+
3
|
| 73 |
+
]
|
| 74 |
+
],
|
| 75 |
+
"action": [
|
| 76 |
+
[
|
| 77 |
+
"action.body_target",
|
| 78 |
+
0,
|
| 79 |
+
31
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
"action.hands",
|
| 83 |
+
0,
|
| 84 |
+
44
|
| 85 |
+
]
|
| 86 |
+
],
|
| 87 |
+
"state_dim": 78,
|
| 88 |
+
"action_dim": 75,
|
| 89 |
+
"action_space": null,
|
| 90 |
+
"body_dims": 31
|
| 91 |
+
},
|
| 92 |
+
"image_hw": [
|
| 93 |
+
168,
|
| 94 |
+
224
|
| 95 |
+
],
|
| 96 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 97 |
+
"dataset": {
|
| 98 |
+
"name": "data",
|
| 99 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v4-73fd522/data",
|
| 100 |
+
"robot_type": "h2_sharpa",
|
| 101 |
+
"fps": 30.0,
|
| 102 |
+
"episodes": [
|
| 103 |
+
0,
|
| 104 |
+
1,
|
| 105 |
+
2,
|
| 106 |
+
3,
|
| 107 |
+
4,
|
| 108 |
+
5,
|
| 109 |
+
6,
|
| 110 |
+
7,
|
| 111 |
+
8,
|
| 112 |
+
9,
|
| 113 |
+
10,
|
| 114 |
+
11,
|
| 115 |
+
12,
|
| 116 |
+
13,
|
| 117 |
+
14,
|
| 118 |
+
15,
|
| 119 |
+
16,
|
| 120 |
+
17,
|
| 121 |
+
18,
|
| 122 |
+
19,
|
| 123 |
+
20,
|
| 124 |
+
21,
|
| 125 |
+
22,
|
| 126 |
+
23,
|
| 127 |
+
24,
|
| 128 |
+
25,
|
| 129 |
+
26,
|
| 130 |
+
27,
|
| 131 |
+
28,
|
| 132 |
+
29,
|
| 133 |
+
30,
|
| 134 |
+
31,
|
| 135 |
+
32,
|
| 136 |
+
33,
|
| 137 |
+
34,
|
| 138 |
+
35,
|
| 139 |
+
36,
|
| 140 |
+
37,
|
| 141 |
+
38,
|
| 142 |
+
39,
|
| 143 |
+
40,
|
| 144 |
+
41,
|
| 145 |
+
42,
|
| 146 |
+
43,
|
| 147 |
+
44,
|
| 148 |
+
45,
|
| 149 |
+
46,
|
| 150 |
+
47,
|
| 151 |
+
48,
|
| 152 |
+
49,
|
| 153 |
+
50,
|
| 154 |
+
51,
|
| 155 |
+
52,
|
| 156 |
+
53,
|
| 157 |
+
54,
|
| 158 |
+
55,
|
| 159 |
+
56,
|
| 160 |
+
57,
|
| 161 |
+
58,
|
| 162 |
+
59,
|
| 163 |
+
60,
|
| 164 |
+
61,
|
| 165 |
+
62,
|
| 166 |
+
63,
|
| 167 |
+
64,
|
| 168 |
+
65,
|
| 169 |
+
66,
|
| 170 |
+
67,
|
| 171 |
+
68,
|
| 172 |
+
69,
|
| 173 |
+
70,
|
| 174 |
+
71,
|
| 175 |
+
72,
|
| 176 |
+
73,
|
| 177 |
+
74,
|
| 178 |
+
75,
|
| 179 |
+
76,
|
| 180 |
+
77,
|
| 181 |
+
78,
|
| 182 |
+
79,
|
| 183 |
+
80,
|
| 184 |
+
81,
|
| 185 |
+
82,
|
| 186 |
+
83,
|
| 187 |
+
84,
|
| 188 |
+
85,
|
| 189 |
+
86,
|
| 190 |
+
87,
|
| 191 |
+
88,
|
| 192 |
+
89,
|
| 193 |
+
90,
|
| 194 |
+
91,
|
| 195 |
+
92,
|
| 196 |
+
93,
|
| 197 |
+
94,
|
| 198 |
+
95,
|
| 199 |
+
96,
|
| 200 |
+
97,
|
| 201 |
+
98,
|
| 202 |
+
99
|
| 203 |
+
],
|
| 204 |
+
"train_episodes": [
|
| 205 |
+
0,
|
| 206 |
+
1,
|
| 207 |
+
2,
|
| 208 |
+
3,
|
| 209 |
+
4,
|
| 210 |
+
5,
|
| 211 |
+
6,
|
| 212 |
+
7,
|
| 213 |
+
8,
|
| 214 |
+
9,
|
| 215 |
+
10,
|
| 216 |
+
11,
|
| 217 |
+
12,
|
| 218 |
+
13,
|
| 219 |
+
14,
|
| 220 |
+
15,
|
| 221 |
+
16,
|
| 222 |
+
17,
|
| 223 |
+
18,
|
| 224 |
+
19,
|
| 225 |
+
20,
|
| 226 |
+
21,
|
| 227 |
+
22,
|
| 228 |
+
23,
|
| 229 |
+
24,
|
| 230 |
+
25,
|
| 231 |
+
26,
|
| 232 |
+
27,
|
| 233 |
+
28,
|
| 234 |
+
29,
|
| 235 |
+
30,
|
| 236 |
+
31,
|
| 237 |
+
32,
|
| 238 |
+
33,
|
| 239 |
+
34,
|
| 240 |
+
35,
|
| 241 |
+
36,
|
| 242 |
+
37,
|
| 243 |
+
38,
|
| 244 |
+
39,
|
| 245 |
+
40,
|
| 246 |
+
41,
|
| 247 |
+
42,
|
| 248 |
+
43,
|
| 249 |
+
44,
|
| 250 |
+
45,
|
| 251 |
+
46,
|
| 252 |
+
47,
|
| 253 |
+
48,
|
| 254 |
+
49,
|
| 255 |
+
50,
|
| 256 |
+
51,
|
| 257 |
+
52,
|
| 258 |
+
53,
|
| 259 |
+
54,
|
| 260 |
+
55,
|
| 261 |
+
56,
|
| 262 |
+
57,
|
| 263 |
+
58,
|
| 264 |
+
59,
|
| 265 |
+
60,
|
| 266 |
+
61,
|
| 267 |
+
62,
|
| 268 |
+
63,
|
| 269 |
+
64,
|
| 270 |
+
65,
|
| 271 |
+
66,
|
| 272 |
+
67,
|
| 273 |
+
68,
|
| 274 |
+
69,
|
| 275 |
+
70,
|
| 276 |
+
71,
|
| 277 |
+
72,
|
| 278 |
+
73,
|
| 279 |
+
74,
|
| 280 |
+
75,
|
| 281 |
+
76,
|
| 282 |
+
77,
|
| 283 |
+
78,
|
| 284 |
+
79,
|
| 285 |
+
80,
|
| 286 |
+
81,
|
| 287 |
+
82,
|
| 288 |
+
83,
|
| 289 |
+
84,
|
| 290 |
+
85,
|
| 291 |
+
86,
|
| 292 |
+
87,
|
| 293 |
+
88,
|
| 294 |
+
89,
|
| 295 |
+
90,
|
| 296 |
+
91,
|
| 297 |
+
92,
|
| 298 |
+
93,
|
| 299 |
+
94,
|
| 300 |
+
95,
|
| 301 |
+
96,
|
| 302 |
+
97,
|
| 303 |
+
98,
|
| 304 |
+
99
|
| 305 |
+
],
|
| 306 |
+
"val_episodes": [],
|
| 307 |
+
"train_frames": 48286,
|
| 308 |
+
"git_commit": "69c6ae8351f490ff9ffb87a56e95b11c91bf2f55"
|
| 309 |
+
},
|
| 310 |
+
"training": {
|
| 311 |
+
"steps": 12000,
|
| 312 |
+
"batch_size": 512,
|
| 313 |
+
"lr": 0.0001,
|
| 314 |
+
"betas": [
|
| 315 |
+
0.95,
|
| 316 |
+
0.999
|
| 317 |
+
],
|
| 318 |
+
"weight_decay": 1e-06,
|
| 319 |
+
"warmup": 500,
|
| 320 |
+
"schedule": "diffusers_cosine",
|
| 321 |
+
"backbone_lr_scale": 1.0,
|
| 322 |
+
"ema": 0.9999,
|
| 323 |
+
"shift_px": 0,
|
| 324 |
+
"amp": true,
|
| 325 |
+
"seed": 42,
|
| 326 |
+
"augmentation": {
|
| 327 |
+
"spec": "docs/augmentation_v2.md",
|
| 328 |
+
"version": "hb-aug-v2-20261109",
|
| 329 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 330 |
+
"visual": {
|
| 331 |
+
"effects": [
|
| 332 |
+
"exposure",
|
| 333 |
+
"contrast",
|
| 334 |
+
"saturation",
|
| 335 |
+
"hue",
|
| 336 |
+
"gamma",
|
| 337 |
+
"temperature",
|
| 338 |
+
"rotation_crop",
|
| 339 |
+
"noise",
|
| 340 |
+
"gaussian_blur",
|
| 341 |
+
"jpeg",
|
| 342 |
+
"motion_blur",
|
| 343 |
+
"sharpen",
|
| 344 |
+
"defocus",
|
| 345 |
+
"light_shadow",
|
| 346 |
+
"wb_channel"
|
| 347 |
+
],
|
| 348 |
+
"boosted_per_sample": 1,
|
| 349 |
+
"boost": 1.5,
|
| 350 |
+
"pixel_scale": "H / 224",
|
| 351 |
+
"future_targets": "none (one observation frame)"
|
| 352 |
+
},
|
| 353 |
+
"proprio": {
|
| 354 |
+
"robot": "h2_sharpa",
|
| 355 |
+
"body_dims": 31,
|
| 356 |
+
"bias_deg": 2.0,
|
| 357 |
+
"bias_scope": "per_sample",
|
| 358 |
+
"noise_deg": 0.25,
|
| 359 |
+
"noise_clip_sigma": 3,
|
| 360 |
+
"delay_probability": 0.0,
|
| 361 |
+
"history_drop_probability": 0.0,
|
| 362 |
+
"velocity": false
|
| 363 |
+
},
|
| 364 |
+
"native_image_augmentation": "off",
|
| 365 |
+
"evaluation": "off"
|
| 366 |
+
},
|
| 367 |
+
"preflight": {
|
| 368 |
+
"samples": 64,
|
| 369 |
+
"state_dim": 78,
|
| 370 |
+
"body_dims": 31,
|
| 371 |
+
"images_changed": 64,
|
| 372 |
+
"body_values_moved": 1.0,
|
| 373 |
+
"max_body_offset_deg": 2.6427,
|
| 374 |
+
"actions_bit_identical": true,
|
| 375 |
+
"non_body_state_bit_identical": true,
|
| 376 |
+
"eval_items_deterministic": 8
|
| 377 |
+
},
|
| 378 |
+
"aug_seed": 42,
|
| 379 |
+
"layout": {
|
| 380 |
+
"nodes": 1,
|
| 381 |
+
"gpus": 1,
|
| 382 |
+
"per_gpu_batch": 512,
|
| 383 |
+
"global_batch": 512,
|
| 384 |
+
"gradient_accumulation": 1,
|
| 385 |
+
"num_workers": 40,
|
| 386 |
+
"prefetch": 2
|
| 387 |
+
},
|
| 388 |
+
"continuation": null,
|
| 389 |
+
"total_steps": 12000,
|
| 390 |
+
"save_steps": [
|
| 391 |
+
2000,
|
| 392 |
+
4000,
|
| 393 |
+
6000,
|
| 394 |
+
8000,
|
| 395 |
+
10000,
|
| 396 |
+
12000
|
| 397 |
+
],
|
| 398 |
+
"save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
|
| 399 |
+
"protocol_exceptions": [],
|
| 400 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 401 |
+
"inloop": {
|
| 402 |
+
"task": "a18cr4",
|
| 403 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 404 |
+
"every": 250,
|
| 405 |
+
"exception": null,
|
| 406 |
+
"code_sha256": {
|
| 407 |
+
"hb_inloop_core.py": "6c7c160f05cc624eeebd0721c5241b52d2b6b64ac25cd1e9fd72e0b8a6aca8e6",
|
| 408 |
+
"hb_eval_common.py": "c26efcb8e6c49be8b5883ec187e5b7292bd19d81c4442ba5ee1ba35e9bb8c8a6"
|
| 409 |
+
}
|
| 410 |
+
},
|
| 411 |
+
"protocol_recipe": {
|
| 412 |
+
"batch_size": 512,
|
| 413 |
+
"steps": 12000,
|
| 414 |
+
"warmup": 500,
|
| 415 |
+
"workers": 40,
|
| 416 |
+
"long_task_factor": 1
|
| 417 |
+
},
|
| 418 |
+
"protocol_deviations": [],
|
| 419 |
+
"environment": {
|
| 420 |
+
"python": "3.12.12",
|
| 421 |
+
"torch": "2.9.0+cu128",
|
| 422 |
+
"numpy": "2.2.6",
|
| 423 |
+
"cuda": "12.8",
|
| 424 |
+
"cudnn": 91002,
|
| 425 |
+
"torchvision": "0.24.0+cu128",
|
| 426 |
+
"pillow": "13.0.0",
|
| 427 |
+
"gpu": "NVIDIA A800-SXM4-80GB",
|
| 428 |
+
"driver": "570.133.20"
|
| 429 |
+
},
|
| 430 |
+
"code_dirty": null,
|
| 431 |
+
"allow_dirty_tree": false,
|
| 432 |
+
"augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
|
| 433 |
+
"order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
|
| 434 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490"
|
| 435 |
+
},
|
| 436 |
+
"stats": {
|
| 437 |
+
"state": {
|
| 438 |
+
"min": [
|
| 439 |
+
-0.12583781778812408,
|
| 440 |
+
-0.03233915567398071,
|
| 441 |
+
-0.12766100466251373,
|
| 442 |
+
0.12355858832597733,
|
| 443 |
+
-0.06983537971973419,
|
| 444 |
+
-0.25010767579078674,
|
| 445 |
+
-0.12295906990766525,
|
| 446 |
+
-0.13229477405548096,
|
| 447 |
+
-0.1533408761024475,
|
| 448 |
+
0.1465308964252472,
|
| 449 |
+
-0.03606459125876427,
|
| 450 |
+
-0.21855871379375458,
|
| 451 |
+
-0.05953621491789818,
|
| 452 |
+
-0.1087862029671669,
|
| 453 |
+
-0.01577889733016491,
|
| 454 |
+
0.05845891311764717,
|
| 455 |
+
0.025421474128961563,
|
| 456 |
+
-0.3774237632751465,
|
| 457 |
+
0.9427529573440552,
|
| 458 |
+
-0.193416565656662,
|
| 459 |
+
-0.12422491610050201,
|
| 460 |
+
0.00011441537935752422,
|
| 461 |
+
-0.740268349647522,
|
| 462 |
+
-0.3696679174900055,
|
| 463 |
+
-0.6199629902839661,
|
| 464 |
+
-0.4936543107032776,
|
| 465 |
+
-0.09027265757322311,
|
| 466 |
+
-0.1852821260690689,
|
| 467 |
+
-0.9950985908508301,
|
| 468 |
+
0.00010179156379308552,
|
| 469 |
+
-0.27579498291015625,
|
| 470 |
+
2.4212911853283003e-07,
|
| 471 |
+
1.991089675357216e-07,
|
| 472 |
+
-2.484825699866633e-06,
|
| 473 |
+
1.5511126605360914e-07,
|
| 474 |
+
-0.07711441069841385,
|
| 475 |
+
-0.0014401556691154838,
|
| 476 |
+
-0.001440082211047411,
|
| 477 |
+
1.1005147371179191e-07,
|
| 478 |
+
-0.0014395025791600347,
|
| 479 |
+
-0.15826088190078735,
|
| 480 |
+
4.014998822299276e-08,
|
| 481 |
+
3.3918841069180417e-08,
|
| 482 |
+
-0.0014388926792889833,
|
| 483 |
+
2.7533292978887403e-08,
|
| 484 |
+
-0.06904831528663635,
|
| 485 |
+
6.039757582954053e-09,
|
| 486 |
+
5.286712401186833e-09,
|
| 487 |
+
2.0993500271515586e-08,
|
| 488 |
+
4.5118535574317775e-09,
|
| 489 |
+
-0.04190514609217644,
|
| 490 |
+
3.7183456313982788e-09,
|
| 491 |
+
-0.00024513574317097664,
|
| 492 |
+
-0.0012902324087917805,
|
| 493 |
+
-0.011018202640116215,
|
| 494 |
+
-1.4729690747117274e-06,
|
| 495 |
+
-0.008869198150932789,
|
| 496 |
+
-0.0010071652941405773,
|
| 497 |
+
-0.07318796217441559,
|
| 498 |
+
-0.14104261994361877,
|
| 499 |
+
-0.006404141429811716,
|
| 500 |
+
-0.012594389729201794,
|
| 501 |
+
-0.2601270377635956,
|
| 502 |
+
-0.005105330143123865,
|
| 503 |
+
-0.0029860667418688536,
|
| 504 |
+
-0.000577878556214273,
|
| 505 |
+
-0.004302919376641512,
|
| 506 |
+
-0.003525838255882263,
|
| 507 |
+
-0.0016964594833552837,
|
| 508 |
+
-0.0017751255072653294,
|
| 509 |
+
-0.004758988507091999,
|
| 510 |
+
1.0182914067513593e-08,
|
| 511 |
+
-0.015183444134891033,
|
| 512 |
+
-0.0019727651961147785,
|
| 513 |
+
-0.0021971184760332108,
|
| 514 |
+
-0.08454640954732895,
|
| 515 |
+
-0.09825830906629562,
|
| 516 |
+
-1.0
|
| 517 |
+
],
|
| 518 |
+
"max": [
|
| 519 |
+
0.035650208592414856,
|
| 520 |
+
0.10629415512084961,
|
| 521 |
+
0.17557011544704437,
|
| 522 |
+
0.32769498229026794,
|
| 523 |
+
0.0809067115187645,
|
| 524 |
+
-0.03284743055701256,
|
| 525 |
+
0.04188062623143196,
|
| 526 |
+
-1.1926664228667505e-05,
|
| 527 |
+
0.22257640957832336,
|
| 528 |
+
0.31865113973617554,
|
| 529 |
+
0.03910355642437935,
|
| 530 |
+
-0.08754467964172363,
|
| 531 |
+
0.06784578412771225,
|
| 532 |
+
0.030363162979483604,
|
| 533 |
+
0.09902483224868774,
|
| 534 |
+
0.24996721744537354,
|
| 535 |
+
0.14023271203041077,
|
| 536 |
+
0.24500703811645508,
|
| 537 |
+
1.1965162754058838,
|
| 538 |
+
0.1962144374847412,
|
| 539 |
+
0.30692338943481445,
|
| 540 |
+
0.26775699853897095,
|
| 541 |
+
0.6624637246131897,
|
| 542 |
+
0.2637946307659149,
|
| 543 |
+
0.4765041768550873,
|
| 544 |
+
1.1365193128585815,
|
| 545 |
+
1.9407533407211304,
|
| 546 |
+
0.4451823830604553,
|
| 547 |
+
0.7307088375091553,
|
| 548 |
+
0.681303858757019,
|
| 549 |
+
0.12099187821149826,
|
| 550 |
+
0.001787454355508089,
|
| 551 |
+
0.0017886327113956213,
|
| 552 |
+
0.0001129926458816044,
|
| 553 |
+
0.00179005297832191,
|
| 554 |
+
0.07618467509746552,
|
| 555 |
+
-1.8496356233299593e-06,
|
| 556 |
+
-1.9247966065449873e-06,
|
| 557 |
+
0.0017915134085342288,
|
| 558 |
+
-1.7791824120649835e-06,
|
| 559 |
+
-0.00012538964801933616,
|
| 560 |
+
0.000348125264281407,
|
| 561 |
+
0.00034833172685466707,
|
| 562 |
+
-1.6332217001036042e-06,
|
| 563 |
+
0.0003485499764792621,
|
| 564 |
+
0.002921103499829769,
|
| 565 |
+
6.412907532649115e-05,
|
| 566 |
+
6.415732786990702e-05,
|
| 567 |
+
0.0003487732319626957,
|
| 568 |
+
6.418681005015969e-05,
|
| 569 |
+
0.04411711171269417,
|
| 570 |
+
6.421708530979231e-05,
|
| 571 |
+
0.00032537104561924934,
|
| 572 |
+
0.38441139459609985,
|
| 573 |
+
0.7239128351211548,
|
| 574 |
+
0.041639670729637146,
|
| 575 |
+
0.6621608734130859,
|
| 576 |
+
0.7537245750427246,
|
| 577 |
+
0.01115428563207388,
|
| 578 |
+
0.003058104310184717,
|
| 579 |
+
0.5719240307807922,
|
| 580 |
+
0.0017499510431662202,
|
| 581 |
+
-7.032280700514093e-05,
|
| 582 |
+
1.7278196811676025,
|
| 583 |
+
1.6268699169158936,
|
| 584 |
+
0.14201073348522186,
|
| 585 |
+
1.5546071529388428,
|
| 586 |
+
0.5080516338348389,
|
| 587 |
+
1.247752070426941,
|
| 588 |
+
1.182234525680542,
|
| 589 |
+
1.7132840156555176,
|
| 590 |
+
0.27388015389442444,
|
| 591 |
+
0.014602060429751873,
|
| 592 |
+
0.9894223809242249,
|
| 593 |
+
0.8894468545913696,
|
| 594 |
+
0.00796288251876831,
|
| 595 |
+
0.036943208426237106,
|
| 596 |
+
-0.9915630221366882
|
| 597 |
+
],
|
| 598 |
+
"mean": [
|
| 599 |
+
-0.017870823559336925,
|
| 600 |
+
0.041031219178313164,
|
| 601 |
+
0.035619848963763946,
|
| 602 |
+
0.15613457820089044,
|
| 603 |
+
0.039094521120493636,
|
| 604 |
+
-0.12065839865961846,
|
| 605 |
+
-0.012306749706583221,
|
| 606 |
+
-0.03308033095452969,
|
| 607 |
+
0.016875193942137795,
|
| 608 |
+
0.1986798640544707,
|
| 609 |
+
-0.0026646308537214202,
|
| 610 |
+
-0.14784664191848468,
|
| 611 |
+
0.009134329598924415,
|
| 612 |
+
-0.016333804361178046,
|
| 613 |
+
0.03733401711984319,
|
| 614 |
+
0.13416802161636474,
|
| 615 |
+
0.08077118681327977,
|
| 616 |
+
-0.064078520098801,
|
| 617 |
+
1.0518841787401834,
|
| 618 |
+
-0.0008684586223328951,
|
| 619 |
+
0.13442506939061388,
|
| 620 |
+
0.1362260574476888,
|
| 621 |
+
-0.28219068366654454,
|
| 622 |
+
-0.03911000141639166,
|
| 623 |
+
-0.06843089122289733,
|
| 624 |
+
0.12240113266681037,
|
| 625 |
+
1.030559225242821,
|
| 626 |
+
0.2221724631397724,
|
| 627 |
+
-0.25367483071452956,
|
| 628 |
+
0.6017187778066657,
|
| 629 |
+
-0.010696739509392377,
|
| 630 |
+
0.0013080899914675443,
|
| 631 |
+
0.0013077420319834716,
|
| 632 |
+
9.937161465077358e-06,
|
| 633 |
+
0.0013076217235972114,
|
| 634 |
+
0.004237707355884257,
|
| 635 |
+
-0.000983325367697211,
|
| 636 |
+
-0.0009834237453353336,
|
| 637 |
+
0.0013076450638284105,
|
| 638 |
+
-0.000982465877528148,
|
| 639 |
+
-0.09819623249681579,
|
| 640 |
+
0.0002612062345181264,
|
| 641 |
+
0.000261200869775934,
|
| 642 |
+
-0.000981452907775211,
|
| 643 |
+
0.00026119732485635987,
|
| 644 |
+
-0.012096458914903005,
|
| 645 |
+
4.926743216934513e-05,
|
| 646 |
+
4.926681146364981e-05,
|
| 647 |
+
0.0002611915666130027,
|
| 648 |
+
4.926628120721994e-05,
|
| 649 |
+
0.0006308781698833501,
|
| 650 |
+
4.92654816452331e-05,
|
| 651 |
+
2.3636314518457464e-05,
|
| 652 |
+
0.22700126331500672,
|
| 653 |
+
0.4494514004569012,
|
| 654 |
+
0.024862165112041788,
|
| 655 |
+
0.42881081802702375,
|
| 656 |
+
0.47224966007224567,
|
| 657 |
+
-0.03007185952147306,
|
| 658 |
+
-0.08696430302017988,
|
| 659 |
+
0.3590849460298851,
|
| 660 |
+
-0.005051063589313524,
|
| 661 |
+
-0.19058316154540442,
|
| 662 |
+
1.1061087376914576,
|
| 663 |
+
1.0612147311384132,
|
| 664 |
+
0.09869945729040477,
|
| 665 |
+
1.0222200140091404,
|
| 666 |
+
0.304400187754918,
|
| 667 |
+
0.8097907169380146,
|
| 668 |
+
0.769938909026595,
|
| 669 |
+
1.1199845079689352,
|
| 670 |
+
0.1804346505367566,
|
| 671 |
+
-0.004870191250264618,
|
| 672 |
+
0.6495057473873053,
|
| 673 |
+
0.546930065167339,
|
| 674 |
+
-0.02738236430891598,
|
| 675 |
+
-0.010844638281740645,
|
| 676 |
+
-0.9994528479437462
|
| 677 |
+
],
|
| 678 |
+
"std": [
|
| 679 |
+
0.02572073875091404,
|
| 680 |
+
0.013666794751529496,
|
| 681 |
+
0.039168856762038254,
|
| 682 |
+
0.01968742642650526,
|
| 683 |
+
0.02050116008443038,
|
| 684 |
+
0.012821669116424836,
|
| 685 |
+
0.017173063757637577,
|
| 686 |
+
0.014461353757188069,
|
| 687 |
+
0.05669133523575792,
|
| 688 |
+
0.022872372419375762,
|
| 689 |
+
0.012384129265156602,
|
| 690 |
+
0.016380888280571597,
|
| 691 |
+
0.020388385528938055,
|
| 692 |
+
0.01202242065946557,
|
| 693 |
+
0.01486018244316969,
|
| 694 |
+
0.0249388559549568,
|
| 695 |
+
0.018682932000097813,
|
| 696 |
+
0.13067485145904698,
|
| 697 |
+
0.04846903513578194,
|
| 698 |
+
0.05919671623517287,
|
| 699 |
+
0.09558757139594534,
|
| 700 |
+
0.057149714530577746,
|
| 701 |
+
0.3526741786013927,
|
| 702 |
+
0.1040203796491815,
|
| 703 |
+
0.265770103808944,
|
| 704 |
+
0.3663255019672244,
|
| 705 |
+
0.4823549278654788,
|
| 706 |
+
0.1693719164447291,
|
| 707 |
+
0.3751570938390035,
|
| 708 |
+
0.13050449858268,
|
| 709 |
+
0.11213739644727616,
|
| 710 |
+
0.00021114357107194245,
|
| 711 |
+
0.00021129769631667467,
|
| 712 |
+
1.8816352103336983e-05,
|
| 713 |
+
0.0002113053135802942,
|
| 714 |
+
0.024014904503632566,
|
| 715 |
+
0.0002901494011304027,
|
| 716 |
+
0.00028984862709993323,
|
| 717 |
+
0.00021128017304485484,
|
| 718 |
+
0.0002902694945750172,
|
| 719 |
+
0.01062661967495904,
|
| 720 |
+
4.4612509646587125e-05,
|
| 721 |
+
4.461084160076085e-05,
|
| 722 |
+
0.0002906654512569615,
|
| 723 |
+
4.461045257157183e-05,
|
| 724 |
+
0.01331260102544139,
|
| 725 |
+
9.000119911218345e-06,
|
| 726 |
+
8.999610257462908e-06,
|
| 727 |
+
4.460914173809214e-05,
|
| 728 |
+
8.999239348774898e-06,
|
| 729 |
+
0.009157859698091174,
|
| 730 |
+
8.998714152361053e-06,
|
| 731 |
+
4.0376940304132586e-05,
|
| 732 |
+
0.15122546182861188,
|
| 733 |
+
0.30512504187872613,
|
| 734 |
+
0.013020123624824492,
|
| 735 |
+
0.29205422158305644,
|
| 736 |
+
0.33914464999515603,
|
| 737 |
+
0.020761180951863276,
|
| 738 |
+
0.04957080503560786,
|
| 739 |
+
0.24475198970153633,
|
| 740 |
+
0.004006150403632658,
|
| 741 |
+
0.0709506911571617,
|
| 742 |
+
0.7183078028252496,
|
| 743 |
+
0.6810225196115942,
|
| 744 |
+
0.053831030878728196,
|
| 745 |
+
0.6787324555123242,
|
| 746 |
+
0.23236759025693646,
|
| 747 |
+
0.5300024032238984,
|
| 748 |
+
0.5029145481305155,
|
| 749 |
+
0.7372316212699845,
|
| 750 |
+
0.11913506497472569,
|
| 751 |
+
0.0046846649867722905,
|
| 752 |
+
0.42549333492119684,
|
| 753 |
+
0.41621768083770283,
|
| 754 |
+
0.011203879236885407,
|
| 755 |
+
0.010044764627707873,
|
| 756 |
+
0.0004249954850423655
|
| 757 |
+
]
|
| 758 |
+
},
|
| 759 |
+
"action": {
|
| 760 |
+
"min": [
|
| 761 |
+
-0.1784663051366806,
|
| 762 |
+
-0.13318756222724915,
|
| 763 |
+
-0.1307600885629654,
|
| 764 |
+
0.0,
|
| 765 |
+
-0.05743294209241867,
|
| 766 |
+
-0.3024138808250427,
|
| 767 |
+
-0.12985824048519135,
|
| 768 |
+
-0.266737699508667,
|
| 769 |
+
-0.15798582136631012,
|
| 770 |
+
0.0,
|
| 771 |
+
-0.0613182857632637,
|
| 772 |
+
-0.4162753224372864,
|
| 773 |
+
-0.06568841636180878,
|
| 774 |
+
-0.20634755492210388,
|
| 775 |
+
-0.046035848557949066,
|
| 776 |
+
0.0,
|
| 777 |
+
0.0,
|
| 778 |
+
-0.40408286452293396,
|
| 779 |
+
0.0,
|
| 780 |
+
-0.19912302494049072,
|
| 781 |
+
-0.156949982047081,
|
| 782 |
+
0.0,
|
| 783 |
+
-0.7415577173233032,
|
| 784 |
+
-0.37339621782302856,
|
| 785 |
+
-0.6357685327529907,
|
| 786 |
+
-0.4724564254283905,
|
| 787 |
+
-0.1029481366276741,
|
| 788 |
+
-0.1933467984199524,
|
| 789 |
+
-0.99897301197052,
|
| 790 |
+
0.0,
|
| 791 |
+
-0.2813774645328522,
|
| 792 |
+
0.0,
|
| 793 |
+
0.0,
|
| 794 |
+
0.0,
|
| 795 |
+
0.0,
|
| 796 |
+
0.0,
|
| 797 |
+
0.0,
|
| 798 |
+
0.0,
|
| 799 |
+
0.0,
|
| 800 |
+
0.0,
|
| 801 |
+
0.0,
|
| 802 |
+
0.0,
|
| 803 |
+
0.0,
|
| 804 |
+
0.0,
|
| 805 |
+
0.0,
|
| 806 |
+
0.0,
|
| 807 |
+
0.0,
|
| 808 |
+
0.0,
|
| 809 |
+
0.0,
|
| 810 |
+
0.0,
|
| 811 |
+
0.0,
|
| 812 |
+
0.0,
|
| 813 |
+
0.0,
|
| 814 |
+
0.0,
|
| 815 |
+
0.0,
|
| 816 |
+
0.0,
|
| 817 |
+
0.0,
|
| 818 |
+
0.0,
|
| 819 |
+
0.0,
|
| 820 |
+
-0.2870999872684479,
|
| 821 |
+
0.0,
|
| 822 |
+
-0.01590000092983246,
|
| 823 |
+
-0.17630000412464142,
|
| 824 |
+
0.0,
|
| 825 |
+
0.0,
|
| 826 |
+
0.0,
|
| 827 |
+
0.0,
|
| 828 |
+
0.0,
|
| 829 |
+
0.0,
|
| 830 |
+
0.0,
|
| 831 |
+
0.0,
|
| 832 |
+
0.0,
|
| 833 |
+
-0.006200000178068876,
|
| 834 |
+
0.0,
|
| 835 |
+
0.0
|
| 836 |
+
],
|
| 837 |
+
"max": [
|
| 838 |
+
0.041423577815294266,
|
| 839 |
+
0.24960044026374817,
|
| 840 |
+
0.17349489033222198,
|
| 841 |
+
0.3818897604942322,
|
| 842 |
+
0.09517528861761093,
|
| 843 |
+
0.33370673656463623,
|
| 844 |
+
0.08997327834367752,
|
| 845 |
+
0.1119127869606018,
|
| 846 |
+
0.2282232642173767,
|
| 847 |
+
0.3609016537666321,
|
| 848 |
+
0.020472919568419456,
|
| 849 |
+
0.19194680452346802,
|
| 850 |
+
0.0703074038028717,
|
| 851 |
+
0.03062274493277073,
|
| 852 |
+
0.16752633452415466,
|
| 853 |
+
0.2617945075035095,
|
| 854 |
+
0.21634480357170105,
|
| 855 |
+
0.2762379050254822,
|
| 856 |
+
1.1804041862487793,
|
| 857 |
+
0.20910896360874176,
|
| 858 |
+
0.33972981572151184,
|
| 859 |
+
0.28348755836486816,
|
| 860 |
+
0.5959668159484863,
|
| 861 |
+
0.2764294743537903,
|
| 862 |
+
0.4788244366645813,
|
| 863 |
+
1.1417303085327148,
|
| 864 |
+
1.9401861429214478,
|
| 865 |
+
0.4363322854042053,
|
| 866 |
+
0.737479031085968,
|
| 867 |
+
0.6173598170280457,
|
| 868 |
+
0.12206494063138962,
|
| 869 |
+
0.0,
|
| 870 |
+
0.0,
|
| 871 |
+
0.0,
|
| 872 |
+
0.0,
|
| 873 |
+
0.0,
|
| 874 |
+
0.0,
|
| 875 |
+
0.0,
|
| 876 |
+
0.0,
|
| 877 |
+
0.0,
|
| 878 |
+
0.0,
|
| 879 |
+
0.0,
|
| 880 |
+
0.0,
|
| 881 |
+
0.0,
|
| 882 |
+
0.0,
|
| 883 |
+
0.0,
|
| 884 |
+
0.0,
|
| 885 |
+
0.0,
|
| 886 |
+
0.0,
|
| 887 |
+
0.0,
|
| 888 |
+
0.0,
|
| 889 |
+
0.0,
|
| 890 |
+
0.0,
|
| 891 |
+
0.3626999855041504,
|
| 892 |
+
0.777400016784668,
|
| 893 |
+
0.04019999876618385,
|
| 894 |
+
0.6610000133514404,
|
| 895 |
+
0.7699999809265137,
|
| 896 |
+
0.07270000129938126,
|
| 897 |
+
0.0,
|
| 898 |
+
0.5733000040054321,
|
| 899 |
+
0.0,
|
| 900 |
+
0.0,
|
| 901 |
+
1.745300054550171,
|
| 902 |
+
1.745300054550171,
|
| 903 |
+
0.12300000339746475,
|
| 904 |
+
1.5556999444961548,
|
| 905 |
+
0.5410000085830688,
|
| 906 |
+
1.2592999935150146,
|
| 907 |
+
1.2130999565124512,
|
| 908 |
+
1.745300054550171,
|
| 909 |
+
0.27469998598098755,
|
| 910 |
+
0.0,
|
| 911 |
+
1.0023000240325928,
|
| 912 |
+
0.8996000289916992
|
| 913 |
+
],
|
| 914 |
+
"mean": [
|
| 915 |
+
-0.03005173645355719,
|
| 916 |
+
0.05024966035479469,
|
| 917 |
+
0.0357268685657241,
|
| 918 |
+
0.15010214792794804,
|
| 919 |
+
0.05894441959222812,
|
| 920 |
+
-0.14816357048706127,
|
| 921 |
+
0.0036108555933720998,
|
| 922 |
+
-0.02880789144036109,
|
| 923 |
+
0.01749564461620056,
|
| 924 |
+
0.2214762168198371,
|
| 925 |
+
-0.029654333556350235,
|
| 926 |
+
-0.012496863759105904,
|
| 927 |
+
0.010690085752273908,
|
| 928 |
+
-0.05698913409692613,
|
| 929 |
+
0.040228291442832895,
|
| 930 |
+
0.12802224172774468,
|
| 931 |
+
0.1187736263734513,
|
| 932 |
+
-0.061573318216413125,
|
| 933 |
+
0.9895417553776217,
|
| 934 |
+
0.0048449186983524385,
|
| 935 |
+
0.12069420563033935,
|
| 936 |
+
0.1439296545496889,
|
| 937 |
+
-0.28135345858990113,
|
| 938 |
+
-0.04147824378033711,
|
| 939 |
+
-0.06640540919172361,
|
| 940 |
+
0.12113336447693136,
|
| 941 |
+
1.029356115645545,
|
| 942 |
+
0.22341508751223668,
|
| 943 |
+
-0.25507492074022153,
|
| 944 |
+
0.559371247867398,
|
| 945 |
+
-0.010800927056760463,
|
| 946 |
+
0.0,
|
| 947 |
+
0.0,
|
| 948 |
+
0.0,
|
| 949 |
+
0.0,
|
| 950 |
+
0.0,
|
| 951 |
+
0.0,
|
| 952 |
+
0.0,
|
| 953 |
+
0.0,
|
| 954 |
+
0.0,
|
| 955 |
+
0.0,
|
| 956 |
+
0.0,
|
| 957 |
+
0.0,
|
| 958 |
+
0.0,
|
| 959 |
+
0.0,
|
| 960 |
+
0.0,
|
| 961 |
+
0.0,
|
| 962 |
+
0.0,
|
| 963 |
+
0.0,
|
| 964 |
+
0.0,
|
| 965 |
+
0.0,
|
| 966 |
+
0.0,
|
| 967 |
+
0.0,
|
| 968 |
+
0.23314248624803569,
|
| 969 |
+
0.5075337855574538,
|
| 970 |
+
0.027332930962164836,
|
| 971 |
+
0.43051347092666514,
|
| 972 |
+
0.479340661137629,
|
| 973 |
+
0.05344081583103477,
|
| 974 |
+
-0.2110434298929596,
|
| 975 |
+
0.3724851522972838,
|
| 976 |
+
-0.01168788174518308,
|
| 977 |
+
-0.12959581673955656,
|
| 978 |
+
1.157817454205077,
|
| 979 |
+
1.1606316162623056,
|
| 980 |
+
0.0904156864779174,
|
| 981 |
+
1.0232560288923012,
|
| 982 |
+
0.33384930002931873,
|
| 983 |
+
0.8339756909329621,
|
| 984 |
+
0.8034141647182123,
|
| 985 |
+
1.151556932798909,
|
| 986 |
+
0.18249937347554077,
|
| 987 |
+
-0.004557538669717596,
|
| 988 |
+
0.6639357888113315,
|
| 989 |
+
0.5582107756963598
|
| 990 |
+
],
|
| 991 |
+
"std": [
|
| 992 |
+
0.03770488745194172,
|
| 993 |
+
0.03721368604622193,
|
| 994 |
+
0.0396009436409749,
|
| 995 |
+
0.03442198134866964,
|
| 996 |
+
0.019632691254619156,
|
| 997 |
+
0.06224191027373757,
|
| 998 |
+
0.025996372494061986,
|
| 999 |
+
0.03456327651075318,
|
| 1000 |
+
0.05799118370735844,
|
| 1001 |
+
0.03259908012489038,
|
| 1002 |
+
0.009521991365308654,
|
| 1003 |
+
0.06179253236963095,
|
| 1004 |
+
0.0167586281598437,
|
| 1005 |
+
0.03276578344721597,
|
| 1006 |
+
0.030951759539595582,
|
| 1007 |
+
0.0326652878921254,
|
| 1008 |
+
0.018150986371344945,
|
| 1009 |
+
0.1363931437024222,
|
| 1010 |
+
0.07645108111920924,
|
| 1011 |
+
0.05958279494872307,
|
| 1012 |
+
0.10852839746681996,
|
| 1013 |
+
0.05891992134247989,
|
| 1014 |
+
0.34827742057291405,
|
| 1015 |
+
0.10472800785661075,
|
| 1016 |
+
0.2655667323193027,
|
| 1017 |
+
0.3591625425108581,
|
| 1018 |
+
0.4825767358792988,
|
| 1019 |
+
0.17287725663776285,
|
| 1020 |
+
0.37743680915610794,
|
| 1021 |
+
0.11730860885498721,
|
| 1022 |
+
0.11343656841986131,
|
| 1023 |
+
0.0,
|
| 1024 |
+
0.0,
|
| 1025 |
+
0.0,
|
| 1026 |
+
0.0,
|
| 1027 |
+
0.0,
|
| 1028 |
+
0.0,
|
| 1029 |
+
0.0,
|
| 1030 |
+
0.0,
|
| 1031 |
+
0.0,
|
| 1032 |
+
0.0,
|
| 1033 |
+
0.0,
|
| 1034 |
+
0.0,
|
| 1035 |
+
0.0,
|
| 1036 |
+
0.0,
|
| 1037 |
+
0.0,
|
| 1038 |
+
0.0,
|
| 1039 |
+
0.0,
|
| 1040 |
+
0.0,
|
| 1041 |
+
0.0,
|
| 1042 |
+
0.0,
|
| 1043 |
+
0.0,
|
| 1044 |
+
0.0,
|
| 1045 |
+
0.16117632222037495,
|
| 1046 |
+
0.34221113440349177,
|
| 1047 |
+
0.0171396051790633,
|
| 1048 |
+
0.29132911603892875,
|
| 1049 |
+
0.3674851291885632,
|
| 1050 |
+
0.030674257999573525,
|
| 1051 |
+
0.12113588627877322,
|
| 1052 |
+
0.2530146408934489,
|
| 1053 |
+
0.006708675679332569,
|
| 1054 |
+
0.07438613090070517,
|
| 1055 |
+
0.7616282631348937,
|
| 1056 |
+
0.7595940708982851,
|
| 1057 |
+
0.05189730084574777,
|
| 1058 |
+
0.6821854479624819,
|
| 1059 |
+
0.25715967584916055,
|
| 1060 |
+
0.55088589154003,
|
| 1061 |
+
0.5306495006718731,
|
| 1062 |
+
0.7645119604609097,
|
| 1063 |
+
0.11974228682365298,
|
| 1064 |
+
0.0026159615085428758,
|
| 1065 |
+
0.43834074667014794,
|
| 1066 |
+
0.4267351372230352
|
| 1067 |
+
]
|
| 1068 |
+
}
|
| 1069 |
+
},
|
| 1070 |
+
"code_commit": "36ded31d7790990f5ed318b818bd0e1278185c9c",
|
| 1071 |
+
"task": "a18cr4",
|
| 1072 |
+
"dataset_id": "a18-pour-water-cropped-v4@73fd522 (inferred from the directory name)",
|
| 1073 |
+
"step": 10000,
|
| 1074 |
+
"weights": "ema",
|
| 1075 |
+
"offline_eval": {
|
| 1076 |
+
"mse": 0.004019129555672407,
|
| 1077 |
+
"mse_row0": 0.003910966217517853,
|
| 1078 |
+
"mse_body_target": 0.0057970029301941395,
|
| 1079 |
+
"mse_hands": 0.002766536781564355,
|
| 1080 |
+
"samples": 256,
|
| 1081 |
+
"frames": "train"
|
| 1082 |
+
},
|
| 1083 |
+
"format": "hb_baselines/1"
|
| 1084 |
+
}
|
a18-pour-water/b512-trim3f/step-010000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47d59580b99d8ae478c0850578ae8f16e0a828626941cfde5081e002e766799a
|
| 3 |
+
size 170847485
|
a18-pour-water/b512-trim3f/step-010000/protocol.json
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "hb_baselines/1",
|
| 3 |
+
"step": 10000,
|
| 4 |
+
"policy": "flash",
|
| 5 |
+
"task": "a18cr4",
|
| 6 |
+
"dataset_id": "a18-pour-water-cropped-v4@73fd522 (inferred from the directory name)",
|
| 7 |
+
"episodes": 100,
|
| 8 |
+
"frames": 48286,
|
| 9 |
+
"fps": 30.0,
|
| 10 |
+
"steps": 12000,
|
| 11 |
+
"total_steps": 12000,
|
| 12 |
+
"save_steps": [
|
| 13 |
+
10000,
|
| 14 |
+
12000
|
| 15 |
+
],
|
| 16 |
+
"global_batch": 512,
|
| 17 |
+
"per_gpu_batch": 512,
|
| 18 |
+
"num_gpus": 1,
|
| 19 |
+
"gradient_accumulation_steps": 1,
|
| 20 |
+
"lr": 0.0001,
|
| 21 |
+
"warmup": 500,
|
| 22 |
+
"schedule": "diffusers_cosine",
|
| 23 |
+
"seed": 42,
|
| 24 |
+
"aug_seed": 42,
|
| 25 |
+
"code_commit": "36ded31d7790990f5ed318b818bd0e1278185c9c",
|
| 26 |
+
"code_dirty": null,
|
| 27 |
+
"environment": {
|
| 28 |
+
"python": "3.12.12",
|
| 29 |
+
"torch": "2.9.0+cu128",
|
| 30 |
+
"numpy": "2.2.6",
|
| 31 |
+
"cuda": "12.8",
|
| 32 |
+
"cudnn": 91002,
|
| 33 |
+
"torchvision": "0.24.0+cu128",
|
| 34 |
+
"pillow": "13.0.0",
|
| 35 |
+
"gpu": "NVIDIA A800-SXM4-80GB",
|
| 36 |
+
"driver": "570.133.20"
|
| 37 |
+
},
|
| 38 |
+
"continuation": null,
|
| 39 |
+
"protocol_deviations": [],
|
| 40 |
+
"protocol_exceptions": [],
|
| 41 |
+
"files": {
|
| 42 |
+
"config.json": {
|
| 43 |
+
"bytes": 20930,
|
| 44 |
+
"sha256": "7300a75fd76b9d2ec8124d8512432caa6c67298b8224b7820663c854023fe238"
|
| 45 |
+
},
|
| 46 |
+
"model.pt": {
|
| 47 |
+
"bytes": 170847485,
|
| 48 |
+
"sha256": "47d59580b99d8ae478c0850578ae8f16e0a828626941cfde5081e002e766799a"
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"task_dir": "a18-pour-water",
|
| 52 |
+
"training_data": "a18-pour-water @73fd5225, all episodes (A800 small-model pool 2026-11-27, newest A29 three-frame trim)",
|
| 53 |
+
"lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
|
| 54 |
+
"ema": 0.9999,
|
| 55 |
+
"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",
|
| 56 |
+
"state_dim": 78,
|
| 57 |
+
"action_dim": 75,
|
| 58 |
+
"cameras": [
|
| 59 |
+
"head",
|
| 60 |
+
"chest"
|
| 61 |
+
],
|
| 62 |
+
"contract": "h2_sharpa",
|
| 63 |
+
"image_hw": [
|
| 64 |
+
168,
|
| 65 |
+
224
|
| 66 |
+
],
|
| 67 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 68 |
+
"inloop_mse": {
|
| 69 |
+
"task": "a18cr4",
|
| 70 |
+
"split": "train10",
|
| 71 |
+
"every": 250,
|
| 72 |
+
"seed": 1234,
|
| 73 |
+
"weights": "ema",
|
| 74 |
+
"nmse_at_this_step": 0.1361,
|
| 75 |
+
"curve": {
|
| 76 |
+
"250": 0.4546,
|
| 77 |
+
"500": 0.3455,
|
| 78 |
+
"750": 0.2926,
|
| 79 |
+
"1000": 0.2504,
|
| 80 |
+
"1250": 0.2262,
|
| 81 |
+
"1500": 0.21,
|
| 82 |
+
"1750": 0.199,
|
| 83 |
+
"2000": 0.1906,
|
| 84 |
+
"2250": 0.184,
|
| 85 |
+
"2500": 0.1789,
|
| 86 |
+
"2750": 0.1743,
|
| 87 |
+
"3000": 0.1702,
|
| 88 |
+
"3250": 0.1666,
|
| 89 |
+
"3500": 0.1631,
|
| 90 |
+
"3750": 0.1599,
|
| 91 |
+
"4000": 0.156,
|
| 92 |
+
"4250": 0.1529,
|
| 93 |
+
"4500": 0.1509,
|
| 94 |
+
"4750": 0.15,
|
| 95 |
+
"5000": 0.1493,
|
| 96 |
+
"5250": 0.1488,
|
| 97 |
+
"5500": 0.148,
|
| 98 |
+
"5750": 0.1471,
|
| 99 |
+
"6000": 0.1464,
|
| 100 |
+
"6250": 0.1456,
|
| 101 |
+
"6500": 0.1448,
|
| 102 |
+
"6750": 0.1442,
|
| 103 |
+
"7000": 0.1436,
|
| 104 |
+
"7250": 0.1429,
|
| 105 |
+
"7500": 0.1421,
|
| 106 |
+
"7750": 0.1411,
|
| 107 |
+
"8000": 0.1404,
|
| 108 |
+
"8250": 0.1397,
|
| 109 |
+
"8500": 0.1391,
|
| 110 |
+
"8750": 0.1385,
|
| 111 |
+
"9000": 0.138,
|
| 112 |
+
"9250": 0.1373,
|
| 113 |
+
"9500": 0.1369,
|
| 114 |
+
"9750": 0.1365,
|
| 115 |
+
"10000": 0.1361,
|
| 116 |
+
"10250": 0.1357,
|
| 117 |
+
"10500": 0.1354,
|
| 118 |
+
"10750": 0.1352,
|
| 119 |
+
"11000": 0.135,
|
| 120 |
+
"11250": 0.1348,
|
| 121 |
+
"11500": 0.1347,
|
| 122 |
+
"11750": 0.1345,
|
| 123 |
+
"12000": 0.1344
|
| 124 |
+
}
|
| 125 |
+
},
|
| 126 |
+
"reproducibility": {
|
| 127 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 128 |
+
"protocol_commit": "bd45ed20",
|
| 129 |
+
"training_seed": 42,
|
| 130 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 131 |
+
"training_seed_verified_from_run_files": true,
|
| 132 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 133 |
+
"inloop_mse_seed": 1234,
|
| 134 |
+
"layout": {
|
| 135 |
+
"nodes": 1,
|
| 136 |
+
"gpus_per_node": 1,
|
| 137 |
+
"per_gpu_batch": 512,
|
| 138 |
+
"global_batch": 512,
|
| 139 |
+
"gradient_accumulation": 1,
|
| 140 |
+
"num_workers": 40,
|
| 141 |
+
"prefetch": 2
|
| 142 |
+
},
|
| 143 |
+
"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",
|
| 144 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 145 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 36ded31d7790990f5ed318b818bd0e1278185c9c (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 146 |
+
"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",
|
| 147 |
+
"exceptions": []
|
| 148 |
+
},
|
| 149 |
+
"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",
|
| 150 |
+
"resume_state_included": false
|
| 151 |
+
}
|
a18-pour-water/b512-trim3f/step-012000/SHA256SUMS
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
eb58f675b4197675fa516024433ba0cf8884829e625988b9865f5963ac2e8865 config.json
|
| 2 |
+
73fa23a2b78549d50b4b145e0f767133d05f33349d4ed12afae36c9d20fbcd3d model.pt
|
| 3 |
+
c3592fc27b7a9266fef761a251bc20386d5c48b09382750c5b377a630b08a61b protocol.json
|
| 4 |
+
9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde training_records/code_36ded31d/evaluation/augmentation/hb_aug_v2.py
|
| 5 |
+
bfbb52f85ac5d91e37f3cfc24bb8671de447b5b566760bfe091204ae69e1f7f6 training_records/code_36ded31d/evaluation/baselines/__init__.py
|
| 6 |
+
3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19 training_records/code_36ded31d/evaluation/baselines/act_nets.py
|
| 7 |
+
87e47332381fcb34e75d08cb258475c200519cb5cf17fd0e218bf2a1b21fa890 training_records/code_36ded31d/evaluation/baselines/adapters.py
|
| 8 |
+
aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81 training_records/code_36ded31d/evaluation/baselines/check_flash_adapter.py
|
| 9 |
+
91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f training_records/code_36ded31d/evaluation/baselines/check_flash_parity.py
|
| 10 |
+
c8b0817f7fe3bdec71b13e94a2e2fea231e0c6c05bd16614b564419ff024e8e2 training_records/code_36ded31d/evaluation/baselines/data.py
|
| 11 |
+
35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53 training_records/code_36ded31d/evaluation/baselines/flash.py
|
| 12 |
+
c987d9e641f5e5266703a8154b708d9ccab203b06d5ab82774d39a1cba602d62 training_records/code_36ded31d/evaluation/baselines/fm_dit_v2.py
|
| 13 |
+
0e6343d7d28893c4107864b943193eb4a402cf97b1625e94eb2acb1d163ca85c training_records/code_36ded31d/evaluation/baselines/inloop.py
|
| 14 |
+
2d72e3c455d5e376a6f5954886fd4c7a6478eb516380c6a05515fa043c62fbce training_records/code_36ded31d/evaluation/baselines/nets.py
|
| 15 |
+
38f2ea6050fa45e6c0d5e3f19caf21f1a72a50f80e356044dddcf76da22b144a training_records/code_36ded31d/evaluation/baselines/ode_nets.py
|
| 16 |
+
74ca169fe453f64bf6ffc3f3a85a4208aed2961d0abd9eb3e92b96457f86daf1 training_records/code_36ded31d/evaluation/baselines/policies.py
|
| 17 |
+
4b79b9dcc98f05bfe7bc9e64e3492f4565728f6d1f75cbdecc1c817d03ff32a5 training_records/code_36ded31d/evaluation/baselines/requirements.lock.txt
|
| 18 |
+
56a8db94a98c5256028b475d9a0293cdee4cf475e415df763b3a0232433663ba training_records/code_36ded31d/evaluation/baselines/requirements.txt
|
| 19 |
+
8cd8963bb87cdc453293a369658c97a97aadbef77281538d8a4c484925af00c5 training_records/code_36ded31d/evaluation/baselines/runtime.py
|
| 20 |
+
ba867030063ec6245529df0432bcc18ad92f6c6bdcb130239fea4779bc5679a8 training_records/code_36ded31d/evaluation/baselines/train.py
|
| 21 |
+
823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159 training_records/code_36ded31d/evaluation/policy/FLASH/model.py
|
| 22 |
+
d03bab044170e492a7de5bc4af0ed77b14dc3a74016241928917c00d83dc41a5 training_records/code_commit.txt
|
| 23 |
+
82cad03c952ce30171bb6edc03b72d7b62136359e8121f1357be270fe5b87563 training_records/inloop-mse.jsonl
|
| 24 |
+
72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2 training_records/pip_freeze_hb-baselines.txt
|
| 25 |
+
51e85d09289388154e36b5996b6423d22c3e9641d111314b694f9bf89945fd7f training_records/run.json
|
| 26 |
+
304383751d48404793e4b849bddeef9754a97cc9a39893fdc2ae9062cdf5b227 training_records/small_pool.sh
|
| 27 |
+
4922095e4676b642c7dfe211c5ad476e466e42400dc4055415da90249de37031 training_records/train.log
|
| 28 |
+
2f58b7ad058f9fb2b35458ca11476616257f155a2417bcd3f108ad5f4d5339f6 training_records/train_log.jsonl
|
a18-pour-water/b512-trim3f/step-012000/config.json
ADDED
|
@@ -0,0 +1,1084 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 78,
|
| 6 |
+
"action_dim": 75,
|
| 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 |
+
"ode_body_dim": null,
|
| 30 |
+
"ode_width": 512,
|
| 31 |
+
"ode_layers": 4,
|
| 32 |
+
"ode_cond_dim": 512,
|
| 33 |
+
"ode_field_scale": 1.0,
|
| 34 |
+
"ode_dit_hidden": 512,
|
| 35 |
+
"ode_dit_layers": 4,
|
| 36 |
+
"ode_dit_heads": 8,
|
| 37 |
+
"ode_dit_tokens": 4,
|
| 38 |
+
"extra": {
|
| 39 |
+
"flash": {
|
| 40 |
+
"stride": 2,
|
| 41 |
+
"n_history": 8,
|
| 42 |
+
"n_action": 8,
|
| 43 |
+
"rows": 16,
|
| 44 |
+
"poly_order": 6,
|
| 45 |
+
"fit_pad": 1,
|
| 46 |
+
"boundary_constraint": true,
|
| 47 |
+
"poly_prefix": 1,
|
| 48 |
+
"poly_suffix": 1,
|
| 49 |
+
"history_noise_std": 0.5,
|
| 50 |
+
"history_reg_lambda": 0.1,
|
| 51 |
+
"consistency_weight": 1.0,
|
| 52 |
+
"solver": "euler"
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
"contract": {
|
| 57 |
+
"name": "h2_sharpa",
|
| 58 |
+
"robot": "h2_sharpa",
|
| 59 |
+
"cameras": [
|
| 60 |
+
"head",
|
| 61 |
+
"chest"
|
| 62 |
+
],
|
| 63 |
+
"state": [
|
| 64 |
+
[
|
| 65 |
+
"observation.state",
|
| 66 |
+
0,
|
| 67 |
+
75
|
| 68 |
+
],
|
| 69 |
+
[
|
| 70 |
+
"observation.projected_gravity",
|
| 71 |
+
0,
|
| 72 |
+
3
|
| 73 |
+
]
|
| 74 |
+
],
|
| 75 |
+
"action": [
|
| 76 |
+
[
|
| 77 |
+
"action.body_target",
|
| 78 |
+
0,
|
| 79 |
+
31
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
"action.hands",
|
| 83 |
+
0,
|
| 84 |
+
44
|
| 85 |
+
]
|
| 86 |
+
],
|
| 87 |
+
"state_dim": 78,
|
| 88 |
+
"action_dim": 75,
|
| 89 |
+
"action_space": null,
|
| 90 |
+
"body_dims": 31
|
| 91 |
+
},
|
| 92 |
+
"image_hw": [
|
| 93 |
+
168,
|
| 94 |
+
224
|
| 95 |
+
],
|
| 96 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 97 |
+
"dataset": {
|
| 98 |
+
"name": "data",
|
| 99 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v4-73fd522/data",
|
| 100 |
+
"robot_type": "h2_sharpa",
|
| 101 |
+
"fps": 30.0,
|
| 102 |
+
"episodes": [
|
| 103 |
+
0,
|
| 104 |
+
1,
|
| 105 |
+
2,
|
| 106 |
+
3,
|
| 107 |
+
4,
|
| 108 |
+
5,
|
| 109 |
+
6,
|
| 110 |
+
7,
|
| 111 |
+
8,
|
| 112 |
+
9,
|
| 113 |
+
10,
|
| 114 |
+
11,
|
| 115 |
+
12,
|
| 116 |
+
13,
|
| 117 |
+
14,
|
| 118 |
+
15,
|
| 119 |
+
16,
|
| 120 |
+
17,
|
| 121 |
+
18,
|
| 122 |
+
19,
|
| 123 |
+
20,
|
| 124 |
+
21,
|
| 125 |
+
22,
|
| 126 |
+
23,
|
| 127 |
+
24,
|
| 128 |
+
25,
|
| 129 |
+
26,
|
| 130 |
+
27,
|
| 131 |
+
28,
|
| 132 |
+
29,
|
| 133 |
+
30,
|
| 134 |
+
31,
|
| 135 |
+
32,
|
| 136 |
+
33,
|
| 137 |
+
34,
|
| 138 |
+
35,
|
| 139 |
+
36,
|
| 140 |
+
37,
|
| 141 |
+
38,
|
| 142 |
+
39,
|
| 143 |
+
40,
|
| 144 |
+
41,
|
| 145 |
+
42,
|
| 146 |
+
43,
|
| 147 |
+
44,
|
| 148 |
+
45,
|
| 149 |
+
46,
|
| 150 |
+
47,
|
| 151 |
+
48,
|
| 152 |
+
49,
|
| 153 |
+
50,
|
| 154 |
+
51,
|
| 155 |
+
52,
|
| 156 |
+
53,
|
| 157 |
+
54,
|
| 158 |
+
55,
|
| 159 |
+
56,
|
| 160 |
+
57,
|
| 161 |
+
58,
|
| 162 |
+
59,
|
| 163 |
+
60,
|
| 164 |
+
61,
|
| 165 |
+
62,
|
| 166 |
+
63,
|
| 167 |
+
64,
|
| 168 |
+
65,
|
| 169 |
+
66,
|
| 170 |
+
67,
|
| 171 |
+
68,
|
| 172 |
+
69,
|
| 173 |
+
70,
|
| 174 |
+
71,
|
| 175 |
+
72,
|
| 176 |
+
73,
|
| 177 |
+
74,
|
| 178 |
+
75,
|
| 179 |
+
76,
|
| 180 |
+
77,
|
| 181 |
+
78,
|
| 182 |
+
79,
|
| 183 |
+
80,
|
| 184 |
+
81,
|
| 185 |
+
82,
|
| 186 |
+
83,
|
| 187 |
+
84,
|
| 188 |
+
85,
|
| 189 |
+
86,
|
| 190 |
+
87,
|
| 191 |
+
88,
|
| 192 |
+
89,
|
| 193 |
+
90,
|
| 194 |
+
91,
|
| 195 |
+
92,
|
| 196 |
+
93,
|
| 197 |
+
94,
|
| 198 |
+
95,
|
| 199 |
+
96,
|
| 200 |
+
97,
|
| 201 |
+
98,
|
| 202 |
+
99
|
| 203 |
+
],
|
| 204 |
+
"train_episodes": [
|
| 205 |
+
0,
|
| 206 |
+
1,
|
| 207 |
+
2,
|
| 208 |
+
3,
|
| 209 |
+
4,
|
| 210 |
+
5,
|
| 211 |
+
6,
|
| 212 |
+
7,
|
| 213 |
+
8,
|
| 214 |
+
9,
|
| 215 |
+
10,
|
| 216 |
+
11,
|
| 217 |
+
12,
|
| 218 |
+
13,
|
| 219 |
+
14,
|
| 220 |
+
15,
|
| 221 |
+
16,
|
| 222 |
+
17,
|
| 223 |
+
18,
|
| 224 |
+
19,
|
| 225 |
+
20,
|
| 226 |
+
21,
|
| 227 |
+
22,
|
| 228 |
+
23,
|
| 229 |
+
24,
|
| 230 |
+
25,
|
| 231 |
+
26,
|
| 232 |
+
27,
|
| 233 |
+
28,
|
| 234 |
+
29,
|
| 235 |
+
30,
|
| 236 |
+
31,
|
| 237 |
+
32,
|
| 238 |
+
33,
|
| 239 |
+
34,
|
| 240 |
+
35,
|
| 241 |
+
36,
|
| 242 |
+
37,
|
| 243 |
+
38,
|
| 244 |
+
39,
|
| 245 |
+
40,
|
| 246 |
+
41,
|
| 247 |
+
42,
|
| 248 |
+
43,
|
| 249 |
+
44,
|
| 250 |
+
45,
|
| 251 |
+
46,
|
| 252 |
+
47,
|
| 253 |
+
48,
|
| 254 |
+
49,
|
| 255 |
+
50,
|
| 256 |
+
51,
|
| 257 |
+
52,
|
| 258 |
+
53,
|
| 259 |
+
54,
|
| 260 |
+
55,
|
| 261 |
+
56,
|
| 262 |
+
57,
|
| 263 |
+
58,
|
| 264 |
+
59,
|
| 265 |
+
60,
|
| 266 |
+
61,
|
| 267 |
+
62,
|
| 268 |
+
63,
|
| 269 |
+
64,
|
| 270 |
+
65,
|
| 271 |
+
66,
|
| 272 |
+
67,
|
| 273 |
+
68,
|
| 274 |
+
69,
|
| 275 |
+
70,
|
| 276 |
+
71,
|
| 277 |
+
72,
|
| 278 |
+
73,
|
| 279 |
+
74,
|
| 280 |
+
75,
|
| 281 |
+
76,
|
| 282 |
+
77,
|
| 283 |
+
78,
|
| 284 |
+
79,
|
| 285 |
+
80,
|
| 286 |
+
81,
|
| 287 |
+
82,
|
| 288 |
+
83,
|
| 289 |
+
84,
|
| 290 |
+
85,
|
| 291 |
+
86,
|
| 292 |
+
87,
|
| 293 |
+
88,
|
| 294 |
+
89,
|
| 295 |
+
90,
|
| 296 |
+
91,
|
| 297 |
+
92,
|
| 298 |
+
93,
|
| 299 |
+
94,
|
| 300 |
+
95,
|
| 301 |
+
96,
|
| 302 |
+
97,
|
| 303 |
+
98,
|
| 304 |
+
99
|
| 305 |
+
],
|
| 306 |
+
"val_episodes": [],
|
| 307 |
+
"train_frames": 48286,
|
| 308 |
+
"git_commit": "69c6ae8351f490ff9ffb87a56e95b11c91bf2f55"
|
| 309 |
+
},
|
| 310 |
+
"training": {
|
| 311 |
+
"steps": 12000,
|
| 312 |
+
"batch_size": 512,
|
| 313 |
+
"lr": 0.0001,
|
| 314 |
+
"betas": [
|
| 315 |
+
0.95,
|
| 316 |
+
0.999
|
| 317 |
+
],
|
| 318 |
+
"weight_decay": 1e-06,
|
| 319 |
+
"warmup": 500,
|
| 320 |
+
"schedule": "diffusers_cosine",
|
| 321 |
+
"backbone_lr_scale": 1.0,
|
| 322 |
+
"ema": 0.9999,
|
| 323 |
+
"shift_px": 0,
|
| 324 |
+
"amp": true,
|
| 325 |
+
"seed": 42,
|
| 326 |
+
"augmentation": {
|
| 327 |
+
"spec": "docs/augmentation_v2.md",
|
| 328 |
+
"version": "hb-aug-v2-20261109",
|
| 329 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 330 |
+
"visual": {
|
| 331 |
+
"effects": [
|
| 332 |
+
"exposure",
|
| 333 |
+
"contrast",
|
| 334 |
+
"saturation",
|
| 335 |
+
"hue",
|
| 336 |
+
"gamma",
|
| 337 |
+
"temperature",
|
| 338 |
+
"rotation_crop",
|
| 339 |
+
"noise",
|
| 340 |
+
"gaussian_blur",
|
| 341 |
+
"jpeg",
|
| 342 |
+
"motion_blur",
|
| 343 |
+
"sharpen",
|
| 344 |
+
"defocus",
|
| 345 |
+
"light_shadow",
|
| 346 |
+
"wb_channel"
|
| 347 |
+
],
|
| 348 |
+
"boosted_per_sample": 1,
|
| 349 |
+
"boost": 1.5,
|
| 350 |
+
"pixel_scale": "H / 224",
|
| 351 |
+
"future_targets": "none (one observation frame)"
|
| 352 |
+
},
|
| 353 |
+
"proprio": {
|
| 354 |
+
"robot": "h2_sharpa",
|
| 355 |
+
"body_dims": 31,
|
| 356 |
+
"bias_deg": 2.0,
|
| 357 |
+
"bias_scope": "per_sample",
|
| 358 |
+
"noise_deg": 0.25,
|
| 359 |
+
"noise_clip_sigma": 3,
|
| 360 |
+
"delay_probability": 0.0,
|
| 361 |
+
"history_drop_probability": 0.0,
|
| 362 |
+
"velocity": false
|
| 363 |
+
},
|
| 364 |
+
"native_image_augmentation": "off",
|
| 365 |
+
"evaluation": "off"
|
| 366 |
+
},
|
| 367 |
+
"preflight": {
|
| 368 |
+
"samples": 64,
|
| 369 |
+
"state_dim": 78,
|
| 370 |
+
"body_dims": 31,
|
| 371 |
+
"images_changed": 64,
|
| 372 |
+
"body_values_moved": 1.0,
|
| 373 |
+
"max_body_offset_deg": 2.6427,
|
| 374 |
+
"actions_bit_identical": true,
|
| 375 |
+
"non_body_state_bit_identical": true,
|
| 376 |
+
"eval_items_deterministic": 8
|
| 377 |
+
},
|
| 378 |
+
"aug_seed": 42,
|
| 379 |
+
"layout": {
|
| 380 |
+
"nodes": 1,
|
| 381 |
+
"gpus": 1,
|
| 382 |
+
"per_gpu_batch": 512,
|
| 383 |
+
"global_batch": 512,
|
| 384 |
+
"gradient_accumulation": 1,
|
| 385 |
+
"num_workers": 40,
|
| 386 |
+
"prefetch": 2
|
| 387 |
+
},
|
| 388 |
+
"continuation": null,
|
| 389 |
+
"total_steps": 12000,
|
| 390 |
+
"save_steps": [
|
| 391 |
+
2000,
|
| 392 |
+
4000,
|
| 393 |
+
6000,
|
| 394 |
+
8000,
|
| 395 |
+
10000,
|
| 396 |
+
12000
|
| 397 |
+
],
|
| 398 |
+
"save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
|
| 399 |
+
"protocol_exceptions": [],
|
| 400 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 401 |
+
"inloop": {
|
| 402 |
+
"task": "a18cr4",
|
| 403 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 404 |
+
"every": 250,
|
| 405 |
+
"exception": null,
|
| 406 |
+
"code_sha256": {
|
| 407 |
+
"hb_inloop_core.py": "6c7c160f05cc624eeebd0721c5241b52d2b6b64ac25cd1e9fd72e0b8a6aca8e6",
|
| 408 |
+
"hb_eval_common.py": "c26efcb8e6c49be8b5883ec187e5b7292bd19d81c4442ba5ee1ba35e9bb8c8a6"
|
| 409 |
+
}
|
| 410 |
+
},
|
| 411 |
+
"protocol_recipe": {
|
| 412 |
+
"batch_size": 512,
|
| 413 |
+
"steps": 12000,
|
| 414 |
+
"warmup": 500,
|
| 415 |
+
"workers": 40,
|
| 416 |
+
"long_task_factor": 1
|
| 417 |
+
},
|
| 418 |
+
"protocol_deviations": [],
|
| 419 |
+
"environment": {
|
| 420 |
+
"python": "3.12.12",
|
| 421 |
+
"torch": "2.9.0+cu128",
|
| 422 |
+
"numpy": "2.2.6",
|
| 423 |
+
"cuda": "12.8",
|
| 424 |
+
"cudnn": 91002,
|
| 425 |
+
"torchvision": "0.24.0+cu128",
|
| 426 |
+
"pillow": "13.0.0",
|
| 427 |
+
"gpu": "NVIDIA A800-SXM4-80GB",
|
| 428 |
+
"driver": "570.133.20"
|
| 429 |
+
},
|
| 430 |
+
"code_dirty": null,
|
| 431 |
+
"allow_dirty_tree": false,
|
| 432 |
+
"augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
|
| 433 |
+
"order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
|
| 434 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490"
|
| 435 |
+
},
|
| 436 |
+
"stats": {
|
| 437 |
+
"state": {
|
| 438 |
+
"min": [
|
| 439 |
+
-0.12583781778812408,
|
| 440 |
+
-0.03233915567398071,
|
| 441 |
+
-0.12766100466251373,
|
| 442 |
+
0.12355858832597733,
|
| 443 |
+
-0.06983537971973419,
|
| 444 |
+
-0.25010767579078674,
|
| 445 |
+
-0.12295906990766525,
|
| 446 |
+
-0.13229477405548096,
|
| 447 |
+
-0.1533408761024475,
|
| 448 |
+
0.1465308964252472,
|
| 449 |
+
-0.03606459125876427,
|
| 450 |
+
-0.21855871379375458,
|
| 451 |
+
-0.05953621491789818,
|
| 452 |
+
-0.1087862029671669,
|
| 453 |
+
-0.01577889733016491,
|
| 454 |
+
0.05845891311764717,
|
| 455 |
+
0.025421474128961563,
|
| 456 |
+
-0.3774237632751465,
|
| 457 |
+
0.9427529573440552,
|
| 458 |
+
-0.193416565656662,
|
| 459 |
+
-0.12422491610050201,
|
| 460 |
+
0.00011441537935752422,
|
| 461 |
+
-0.740268349647522,
|
| 462 |
+
-0.3696679174900055,
|
| 463 |
+
-0.6199629902839661,
|
| 464 |
+
-0.4936543107032776,
|
| 465 |
+
-0.09027265757322311,
|
| 466 |
+
-0.1852821260690689,
|
| 467 |
+
-0.9950985908508301,
|
| 468 |
+
0.00010179156379308552,
|
| 469 |
+
-0.27579498291015625,
|
| 470 |
+
2.4212911853283003e-07,
|
| 471 |
+
1.991089675357216e-07,
|
| 472 |
+
-2.484825699866633e-06,
|
| 473 |
+
1.5511126605360914e-07,
|
| 474 |
+
-0.07711441069841385,
|
| 475 |
+
-0.0014401556691154838,
|
| 476 |
+
-0.001440082211047411,
|
| 477 |
+
1.1005147371179191e-07,
|
| 478 |
+
-0.0014395025791600347,
|
| 479 |
+
-0.15826088190078735,
|
| 480 |
+
4.014998822299276e-08,
|
| 481 |
+
3.3918841069180417e-08,
|
| 482 |
+
-0.0014388926792889833,
|
| 483 |
+
2.7533292978887403e-08,
|
| 484 |
+
-0.06904831528663635,
|
| 485 |
+
6.039757582954053e-09,
|
| 486 |
+
5.286712401186833e-09,
|
| 487 |
+
2.0993500271515586e-08,
|
| 488 |
+
4.5118535574317775e-09,
|
| 489 |
+
-0.04190514609217644,
|
| 490 |
+
3.7183456313982788e-09,
|
| 491 |
+
-0.00024513574317097664,
|
| 492 |
+
-0.0012902324087917805,
|
| 493 |
+
-0.011018202640116215,
|
| 494 |
+
-1.4729690747117274e-06,
|
| 495 |
+
-0.008869198150932789,
|
| 496 |
+
-0.0010071652941405773,
|
| 497 |
+
-0.07318796217441559,
|
| 498 |
+
-0.14104261994361877,
|
| 499 |
+
-0.006404141429811716,
|
| 500 |
+
-0.012594389729201794,
|
| 501 |
+
-0.2601270377635956,
|
| 502 |
+
-0.005105330143123865,
|
| 503 |
+
-0.0029860667418688536,
|
| 504 |
+
-0.000577878556214273,
|
| 505 |
+
-0.004302919376641512,
|
| 506 |
+
-0.003525838255882263,
|
| 507 |
+
-0.0016964594833552837,
|
| 508 |
+
-0.0017751255072653294,
|
| 509 |
+
-0.004758988507091999,
|
| 510 |
+
1.0182914067513593e-08,
|
| 511 |
+
-0.015183444134891033,
|
| 512 |
+
-0.0019727651961147785,
|
| 513 |
+
-0.0021971184760332108,
|
| 514 |
+
-0.08454640954732895,
|
| 515 |
+
-0.09825830906629562,
|
| 516 |
+
-1.0
|
| 517 |
+
],
|
| 518 |
+
"max": [
|
| 519 |
+
0.035650208592414856,
|
| 520 |
+
0.10629415512084961,
|
| 521 |
+
0.17557011544704437,
|
| 522 |
+
0.32769498229026794,
|
| 523 |
+
0.0809067115187645,
|
| 524 |
+
-0.03284743055701256,
|
| 525 |
+
0.04188062623143196,
|
| 526 |
+
-1.1926664228667505e-05,
|
| 527 |
+
0.22257640957832336,
|
| 528 |
+
0.31865113973617554,
|
| 529 |
+
0.03910355642437935,
|
| 530 |
+
-0.08754467964172363,
|
| 531 |
+
0.06784578412771225,
|
| 532 |
+
0.030363162979483604,
|
| 533 |
+
0.09902483224868774,
|
| 534 |
+
0.24996721744537354,
|
| 535 |
+
0.14023271203041077,
|
| 536 |
+
0.24500703811645508,
|
| 537 |
+
1.1965162754058838,
|
| 538 |
+
0.1962144374847412,
|
| 539 |
+
0.30692338943481445,
|
| 540 |
+
0.26775699853897095,
|
| 541 |
+
0.6624637246131897,
|
| 542 |
+
0.2637946307659149,
|
| 543 |
+
0.4765041768550873,
|
| 544 |
+
1.1365193128585815,
|
| 545 |
+
1.9407533407211304,
|
| 546 |
+
0.4451823830604553,
|
| 547 |
+
0.7307088375091553,
|
| 548 |
+
0.681303858757019,
|
| 549 |
+
0.12099187821149826,
|
| 550 |
+
0.001787454355508089,
|
| 551 |
+
0.0017886327113956213,
|
| 552 |
+
0.0001129926458816044,
|
| 553 |
+
0.00179005297832191,
|
| 554 |
+
0.07618467509746552,
|
| 555 |
+
-1.8496356233299593e-06,
|
| 556 |
+
-1.9247966065449873e-06,
|
| 557 |
+
0.0017915134085342288,
|
| 558 |
+
-1.7791824120649835e-06,
|
| 559 |
+
-0.00012538964801933616,
|
| 560 |
+
0.000348125264281407,
|
| 561 |
+
0.00034833172685466707,
|
| 562 |
+
-1.6332217001036042e-06,
|
| 563 |
+
0.0003485499764792621,
|
| 564 |
+
0.002921103499829769,
|
| 565 |
+
6.412907532649115e-05,
|
| 566 |
+
6.415732786990702e-05,
|
| 567 |
+
0.0003487732319626957,
|
| 568 |
+
6.418681005015969e-05,
|
| 569 |
+
0.04411711171269417,
|
| 570 |
+
6.421708530979231e-05,
|
| 571 |
+
0.00032537104561924934,
|
| 572 |
+
0.38441139459609985,
|
| 573 |
+
0.7239128351211548,
|
| 574 |
+
0.041639670729637146,
|
| 575 |
+
0.6621608734130859,
|
| 576 |
+
0.7537245750427246,
|
| 577 |
+
0.01115428563207388,
|
| 578 |
+
0.003058104310184717,
|
| 579 |
+
0.5719240307807922,
|
| 580 |
+
0.0017499510431662202,
|
| 581 |
+
-7.032280700514093e-05,
|
| 582 |
+
1.7278196811676025,
|
| 583 |
+
1.6268699169158936,
|
| 584 |
+
0.14201073348522186,
|
| 585 |
+
1.5546071529388428,
|
| 586 |
+
0.5080516338348389,
|
| 587 |
+
1.247752070426941,
|
| 588 |
+
1.182234525680542,
|
| 589 |
+
1.7132840156555176,
|
| 590 |
+
0.27388015389442444,
|
| 591 |
+
0.014602060429751873,
|
| 592 |
+
0.9894223809242249,
|
| 593 |
+
0.8894468545913696,
|
| 594 |
+
0.00796288251876831,
|
| 595 |
+
0.036943208426237106,
|
| 596 |
+
-0.9915630221366882
|
| 597 |
+
],
|
| 598 |
+
"mean": [
|
| 599 |
+
-0.017870823559336925,
|
| 600 |
+
0.041031219178313164,
|
| 601 |
+
0.035619848963763946,
|
| 602 |
+
0.15613457820089044,
|
| 603 |
+
0.039094521120493636,
|
| 604 |
+
-0.12065839865961846,
|
| 605 |
+
-0.012306749706583221,
|
| 606 |
+
-0.03308033095452969,
|
| 607 |
+
0.016875193942137795,
|
| 608 |
+
0.1986798640544707,
|
| 609 |
+
-0.0026646308537214202,
|
| 610 |
+
-0.14784664191848468,
|
| 611 |
+
0.009134329598924415,
|
| 612 |
+
-0.016333804361178046,
|
| 613 |
+
0.03733401711984319,
|
| 614 |
+
0.13416802161636474,
|
| 615 |
+
0.08077118681327977,
|
| 616 |
+
-0.064078520098801,
|
| 617 |
+
1.0518841787401834,
|
| 618 |
+
-0.0008684586223328951,
|
| 619 |
+
0.13442506939061388,
|
| 620 |
+
0.1362260574476888,
|
| 621 |
+
-0.28219068366654454,
|
| 622 |
+
-0.03911000141639166,
|
| 623 |
+
-0.06843089122289733,
|
| 624 |
+
0.12240113266681037,
|
| 625 |
+
1.030559225242821,
|
| 626 |
+
0.2221724631397724,
|
| 627 |
+
-0.25367483071452956,
|
| 628 |
+
0.6017187778066657,
|
| 629 |
+
-0.010696739509392377,
|
| 630 |
+
0.0013080899914675443,
|
| 631 |
+
0.0013077420319834716,
|
| 632 |
+
9.937161465077358e-06,
|
| 633 |
+
0.0013076217235972114,
|
| 634 |
+
0.004237707355884257,
|
| 635 |
+
-0.000983325367697211,
|
| 636 |
+
-0.0009834237453353336,
|
| 637 |
+
0.0013076450638284105,
|
| 638 |
+
-0.000982465877528148,
|
| 639 |
+
-0.09819623249681579,
|
| 640 |
+
0.0002612062345181264,
|
| 641 |
+
0.000261200869775934,
|
| 642 |
+
-0.000981452907775211,
|
| 643 |
+
0.00026119732485635987,
|
| 644 |
+
-0.012096458914903005,
|
| 645 |
+
4.926743216934513e-05,
|
| 646 |
+
4.926681146364981e-05,
|
| 647 |
+
0.0002611915666130027,
|
| 648 |
+
4.926628120721994e-05,
|
| 649 |
+
0.0006308781698833501,
|
| 650 |
+
4.92654816452331e-05,
|
| 651 |
+
2.3636314518457464e-05,
|
| 652 |
+
0.22700126331500672,
|
| 653 |
+
0.4494514004569012,
|
| 654 |
+
0.024862165112041788,
|
| 655 |
+
0.42881081802702375,
|
| 656 |
+
0.47224966007224567,
|
| 657 |
+
-0.03007185952147306,
|
| 658 |
+
-0.08696430302017988,
|
| 659 |
+
0.3590849460298851,
|
| 660 |
+
-0.005051063589313524,
|
| 661 |
+
-0.19058316154540442,
|
| 662 |
+
1.1061087376914576,
|
| 663 |
+
1.0612147311384132,
|
| 664 |
+
0.09869945729040477,
|
| 665 |
+
1.0222200140091404,
|
| 666 |
+
0.304400187754918,
|
| 667 |
+
0.8097907169380146,
|
| 668 |
+
0.769938909026595,
|
| 669 |
+
1.1199845079689352,
|
| 670 |
+
0.1804346505367566,
|
| 671 |
+
-0.004870191250264618,
|
| 672 |
+
0.6495057473873053,
|
| 673 |
+
0.546930065167339,
|
| 674 |
+
-0.02738236430891598,
|
| 675 |
+
-0.010844638281740645,
|
| 676 |
+
-0.9994528479437462
|
| 677 |
+
],
|
| 678 |
+
"std": [
|
| 679 |
+
0.02572073875091404,
|
| 680 |
+
0.013666794751529496,
|
| 681 |
+
0.039168856762038254,
|
| 682 |
+
0.01968742642650526,
|
| 683 |
+
0.02050116008443038,
|
| 684 |
+
0.012821669116424836,
|
| 685 |
+
0.017173063757637577,
|
| 686 |
+
0.014461353757188069,
|
| 687 |
+
0.05669133523575792,
|
| 688 |
+
0.022872372419375762,
|
| 689 |
+
0.012384129265156602,
|
| 690 |
+
0.016380888280571597,
|
| 691 |
+
0.020388385528938055,
|
| 692 |
+
0.01202242065946557,
|
| 693 |
+
0.01486018244316969,
|
| 694 |
+
0.0249388559549568,
|
| 695 |
+
0.018682932000097813,
|
| 696 |
+
0.13067485145904698,
|
| 697 |
+
0.04846903513578194,
|
| 698 |
+
0.05919671623517287,
|
| 699 |
+
0.09558757139594534,
|
| 700 |
+
0.057149714530577746,
|
| 701 |
+
0.3526741786013927,
|
| 702 |
+
0.1040203796491815,
|
| 703 |
+
0.265770103808944,
|
| 704 |
+
0.3663255019672244,
|
| 705 |
+
0.4823549278654788,
|
| 706 |
+
0.1693719164447291,
|
| 707 |
+
0.3751570938390035,
|
| 708 |
+
0.13050449858268,
|
| 709 |
+
0.11213739644727616,
|
| 710 |
+
0.00021114357107194245,
|
| 711 |
+
0.00021129769631667467,
|
| 712 |
+
1.8816352103336983e-05,
|
| 713 |
+
0.0002113053135802942,
|
| 714 |
+
0.024014904503632566,
|
| 715 |
+
0.0002901494011304027,
|
| 716 |
+
0.00028984862709993323,
|
| 717 |
+
0.00021128017304485484,
|
| 718 |
+
0.0002902694945750172,
|
| 719 |
+
0.01062661967495904,
|
| 720 |
+
4.4612509646587125e-05,
|
| 721 |
+
4.461084160076085e-05,
|
| 722 |
+
0.0002906654512569615,
|
| 723 |
+
4.461045257157183e-05,
|
| 724 |
+
0.01331260102544139,
|
| 725 |
+
9.000119911218345e-06,
|
| 726 |
+
8.999610257462908e-06,
|
| 727 |
+
4.460914173809214e-05,
|
| 728 |
+
8.999239348774898e-06,
|
| 729 |
+
0.009157859698091174,
|
| 730 |
+
8.998714152361053e-06,
|
| 731 |
+
4.0376940304132586e-05,
|
| 732 |
+
0.15122546182861188,
|
| 733 |
+
0.30512504187872613,
|
| 734 |
+
0.013020123624824492,
|
| 735 |
+
0.29205422158305644,
|
| 736 |
+
0.33914464999515603,
|
| 737 |
+
0.020761180951863276,
|
| 738 |
+
0.04957080503560786,
|
| 739 |
+
0.24475198970153633,
|
| 740 |
+
0.004006150403632658,
|
| 741 |
+
0.0709506911571617,
|
| 742 |
+
0.7183078028252496,
|
| 743 |
+
0.6810225196115942,
|
| 744 |
+
0.053831030878728196,
|
| 745 |
+
0.6787324555123242,
|
| 746 |
+
0.23236759025693646,
|
| 747 |
+
0.5300024032238984,
|
| 748 |
+
0.5029145481305155,
|
| 749 |
+
0.7372316212699845,
|
| 750 |
+
0.11913506497472569,
|
| 751 |
+
0.0046846649867722905,
|
| 752 |
+
0.42549333492119684,
|
| 753 |
+
0.41621768083770283,
|
| 754 |
+
0.011203879236885407,
|
| 755 |
+
0.010044764627707873,
|
| 756 |
+
0.0004249954850423655
|
| 757 |
+
]
|
| 758 |
+
},
|
| 759 |
+
"action": {
|
| 760 |
+
"min": [
|
| 761 |
+
-0.1784663051366806,
|
| 762 |
+
-0.13318756222724915,
|
| 763 |
+
-0.1307600885629654,
|
| 764 |
+
0.0,
|
| 765 |
+
-0.05743294209241867,
|
| 766 |
+
-0.3024138808250427,
|
| 767 |
+
-0.12985824048519135,
|
| 768 |
+
-0.266737699508667,
|
| 769 |
+
-0.15798582136631012,
|
| 770 |
+
0.0,
|
| 771 |
+
-0.0613182857632637,
|
| 772 |
+
-0.4162753224372864,
|
| 773 |
+
-0.06568841636180878,
|
| 774 |
+
-0.20634755492210388,
|
| 775 |
+
-0.046035848557949066,
|
| 776 |
+
0.0,
|
| 777 |
+
0.0,
|
| 778 |
+
-0.40408286452293396,
|
| 779 |
+
0.0,
|
| 780 |
+
-0.19912302494049072,
|
| 781 |
+
-0.156949982047081,
|
| 782 |
+
0.0,
|
| 783 |
+
-0.7415577173233032,
|
| 784 |
+
-0.37339621782302856,
|
| 785 |
+
-0.6357685327529907,
|
| 786 |
+
-0.4724564254283905,
|
| 787 |
+
-0.1029481366276741,
|
| 788 |
+
-0.1933467984199524,
|
| 789 |
+
-0.99897301197052,
|
| 790 |
+
0.0,
|
| 791 |
+
-0.2813774645328522,
|
| 792 |
+
0.0,
|
| 793 |
+
0.0,
|
| 794 |
+
0.0,
|
| 795 |
+
0.0,
|
| 796 |
+
0.0,
|
| 797 |
+
0.0,
|
| 798 |
+
0.0,
|
| 799 |
+
0.0,
|
| 800 |
+
0.0,
|
| 801 |
+
0.0,
|
| 802 |
+
0.0,
|
| 803 |
+
0.0,
|
| 804 |
+
0.0,
|
| 805 |
+
0.0,
|
| 806 |
+
0.0,
|
| 807 |
+
0.0,
|
| 808 |
+
0.0,
|
| 809 |
+
0.0,
|
| 810 |
+
0.0,
|
| 811 |
+
0.0,
|
| 812 |
+
0.0,
|
| 813 |
+
0.0,
|
| 814 |
+
0.0,
|
| 815 |
+
0.0,
|
| 816 |
+
0.0,
|
| 817 |
+
0.0,
|
| 818 |
+
0.0,
|
| 819 |
+
0.0,
|
| 820 |
+
-0.2870999872684479,
|
| 821 |
+
0.0,
|
| 822 |
+
-0.01590000092983246,
|
| 823 |
+
-0.17630000412464142,
|
| 824 |
+
0.0,
|
| 825 |
+
0.0,
|
| 826 |
+
0.0,
|
| 827 |
+
0.0,
|
| 828 |
+
0.0,
|
| 829 |
+
0.0,
|
| 830 |
+
0.0,
|
| 831 |
+
0.0,
|
| 832 |
+
0.0,
|
| 833 |
+
-0.006200000178068876,
|
| 834 |
+
0.0,
|
| 835 |
+
0.0
|
| 836 |
+
],
|
| 837 |
+
"max": [
|
| 838 |
+
0.041423577815294266,
|
| 839 |
+
0.24960044026374817,
|
| 840 |
+
0.17349489033222198,
|
| 841 |
+
0.3818897604942322,
|
| 842 |
+
0.09517528861761093,
|
| 843 |
+
0.33370673656463623,
|
| 844 |
+
0.08997327834367752,
|
| 845 |
+
0.1119127869606018,
|
| 846 |
+
0.2282232642173767,
|
| 847 |
+
0.3609016537666321,
|
| 848 |
+
0.020472919568419456,
|
| 849 |
+
0.19194680452346802,
|
| 850 |
+
0.0703074038028717,
|
| 851 |
+
0.03062274493277073,
|
| 852 |
+
0.16752633452415466,
|
| 853 |
+
0.2617945075035095,
|
| 854 |
+
0.21634480357170105,
|
| 855 |
+
0.2762379050254822,
|
| 856 |
+
1.1804041862487793,
|
| 857 |
+
0.20910896360874176,
|
| 858 |
+
0.33972981572151184,
|
| 859 |
+
0.28348755836486816,
|
| 860 |
+
0.5959668159484863,
|
| 861 |
+
0.2764294743537903,
|
| 862 |
+
0.4788244366645813,
|
| 863 |
+
1.1417303085327148,
|
| 864 |
+
1.9401861429214478,
|
| 865 |
+
0.4363322854042053,
|
| 866 |
+
0.737479031085968,
|
| 867 |
+
0.6173598170280457,
|
| 868 |
+
0.12206494063138962,
|
| 869 |
+
0.0,
|
| 870 |
+
0.0,
|
| 871 |
+
0.0,
|
| 872 |
+
0.0,
|
| 873 |
+
0.0,
|
| 874 |
+
0.0,
|
| 875 |
+
0.0,
|
| 876 |
+
0.0,
|
| 877 |
+
0.0,
|
| 878 |
+
0.0,
|
| 879 |
+
0.0,
|
| 880 |
+
0.0,
|
| 881 |
+
0.0,
|
| 882 |
+
0.0,
|
| 883 |
+
0.0,
|
| 884 |
+
0.0,
|
| 885 |
+
0.0,
|
| 886 |
+
0.0,
|
| 887 |
+
0.0,
|
| 888 |
+
0.0,
|
| 889 |
+
0.0,
|
| 890 |
+
0.0,
|
| 891 |
+
0.3626999855041504,
|
| 892 |
+
0.777400016784668,
|
| 893 |
+
0.04019999876618385,
|
| 894 |
+
0.6610000133514404,
|
| 895 |
+
0.7699999809265137,
|
| 896 |
+
0.07270000129938126,
|
| 897 |
+
0.0,
|
| 898 |
+
0.5733000040054321,
|
| 899 |
+
0.0,
|
| 900 |
+
0.0,
|
| 901 |
+
1.745300054550171,
|
| 902 |
+
1.745300054550171,
|
| 903 |
+
0.12300000339746475,
|
| 904 |
+
1.5556999444961548,
|
| 905 |
+
0.5410000085830688,
|
| 906 |
+
1.2592999935150146,
|
| 907 |
+
1.2130999565124512,
|
| 908 |
+
1.745300054550171,
|
| 909 |
+
0.27469998598098755,
|
| 910 |
+
0.0,
|
| 911 |
+
1.0023000240325928,
|
| 912 |
+
0.8996000289916992
|
| 913 |
+
],
|
| 914 |
+
"mean": [
|
| 915 |
+
-0.03005173645355719,
|
| 916 |
+
0.05024966035479469,
|
| 917 |
+
0.0357268685657241,
|
| 918 |
+
0.15010214792794804,
|
| 919 |
+
0.05894441959222812,
|
| 920 |
+
-0.14816357048706127,
|
| 921 |
+
0.0036108555933720998,
|
| 922 |
+
-0.02880789144036109,
|
| 923 |
+
0.01749564461620056,
|
| 924 |
+
0.2214762168198371,
|
| 925 |
+
-0.029654333556350235,
|
| 926 |
+
-0.012496863759105904,
|
| 927 |
+
0.010690085752273908,
|
| 928 |
+
-0.05698913409692613,
|
| 929 |
+
0.040228291442832895,
|
| 930 |
+
0.12802224172774468,
|
| 931 |
+
0.1187736263734513,
|
| 932 |
+
-0.061573318216413125,
|
| 933 |
+
0.9895417553776217,
|
| 934 |
+
0.0048449186983524385,
|
| 935 |
+
0.12069420563033935,
|
| 936 |
+
0.1439296545496889,
|
| 937 |
+
-0.28135345858990113,
|
| 938 |
+
-0.04147824378033711,
|
| 939 |
+
-0.06640540919172361,
|
| 940 |
+
0.12113336447693136,
|
| 941 |
+
1.029356115645545,
|
| 942 |
+
0.22341508751223668,
|
| 943 |
+
-0.25507492074022153,
|
| 944 |
+
0.559371247867398,
|
| 945 |
+
-0.010800927056760463,
|
| 946 |
+
0.0,
|
| 947 |
+
0.0,
|
| 948 |
+
0.0,
|
| 949 |
+
0.0,
|
| 950 |
+
0.0,
|
| 951 |
+
0.0,
|
| 952 |
+
0.0,
|
| 953 |
+
0.0,
|
| 954 |
+
0.0,
|
| 955 |
+
0.0,
|
| 956 |
+
0.0,
|
| 957 |
+
0.0,
|
| 958 |
+
0.0,
|
| 959 |
+
0.0,
|
| 960 |
+
0.0,
|
| 961 |
+
0.0,
|
| 962 |
+
0.0,
|
| 963 |
+
0.0,
|
| 964 |
+
0.0,
|
| 965 |
+
0.0,
|
| 966 |
+
0.0,
|
| 967 |
+
0.0,
|
| 968 |
+
0.23314248624803569,
|
| 969 |
+
0.5075337855574538,
|
| 970 |
+
0.027332930962164836,
|
| 971 |
+
0.43051347092666514,
|
| 972 |
+
0.479340661137629,
|
| 973 |
+
0.05344081583103477,
|
| 974 |
+
-0.2110434298929596,
|
| 975 |
+
0.3724851522972838,
|
| 976 |
+
-0.01168788174518308,
|
| 977 |
+
-0.12959581673955656,
|
| 978 |
+
1.157817454205077,
|
| 979 |
+
1.1606316162623056,
|
| 980 |
+
0.0904156864779174,
|
| 981 |
+
1.0232560288923012,
|
| 982 |
+
0.33384930002931873,
|
| 983 |
+
0.8339756909329621,
|
| 984 |
+
0.8034141647182123,
|
| 985 |
+
1.151556932798909,
|
| 986 |
+
0.18249937347554077,
|
| 987 |
+
-0.004557538669717596,
|
| 988 |
+
0.6639357888113315,
|
| 989 |
+
0.5582107756963598
|
| 990 |
+
],
|
| 991 |
+
"std": [
|
| 992 |
+
0.03770488745194172,
|
| 993 |
+
0.03721368604622193,
|
| 994 |
+
0.0396009436409749,
|
| 995 |
+
0.03442198134866964,
|
| 996 |
+
0.019632691254619156,
|
| 997 |
+
0.06224191027373757,
|
| 998 |
+
0.025996372494061986,
|
| 999 |
+
0.03456327651075318,
|
| 1000 |
+
0.05799118370735844,
|
| 1001 |
+
0.03259908012489038,
|
| 1002 |
+
0.009521991365308654,
|
| 1003 |
+
0.06179253236963095,
|
| 1004 |
+
0.0167586281598437,
|
| 1005 |
+
0.03276578344721597,
|
| 1006 |
+
0.030951759539595582,
|
| 1007 |
+
0.0326652878921254,
|
| 1008 |
+
0.018150986371344945,
|
| 1009 |
+
0.1363931437024222,
|
| 1010 |
+
0.07645108111920924,
|
| 1011 |
+
0.05958279494872307,
|
| 1012 |
+
0.10852839746681996,
|
| 1013 |
+
0.05891992134247989,
|
| 1014 |
+
0.34827742057291405,
|
| 1015 |
+
0.10472800785661075,
|
| 1016 |
+
0.2655667323193027,
|
| 1017 |
+
0.3591625425108581,
|
| 1018 |
+
0.4825767358792988,
|
| 1019 |
+
0.17287725663776285,
|
| 1020 |
+
0.37743680915610794,
|
| 1021 |
+
0.11730860885498721,
|
| 1022 |
+
0.11343656841986131,
|
| 1023 |
+
0.0,
|
| 1024 |
+
0.0,
|
| 1025 |
+
0.0,
|
| 1026 |
+
0.0,
|
| 1027 |
+
0.0,
|
| 1028 |
+
0.0,
|
| 1029 |
+
0.0,
|
| 1030 |
+
0.0,
|
| 1031 |
+
0.0,
|
| 1032 |
+
0.0,
|
| 1033 |
+
0.0,
|
| 1034 |
+
0.0,
|
| 1035 |
+
0.0,
|
| 1036 |
+
0.0,
|
| 1037 |
+
0.0,
|
| 1038 |
+
0.0,
|
| 1039 |
+
0.0,
|
| 1040 |
+
0.0,
|
| 1041 |
+
0.0,
|
| 1042 |
+
0.0,
|
| 1043 |
+
0.0,
|
| 1044 |
+
0.0,
|
| 1045 |
+
0.16117632222037495,
|
| 1046 |
+
0.34221113440349177,
|
| 1047 |
+
0.0171396051790633,
|
| 1048 |
+
0.29132911603892875,
|
| 1049 |
+
0.3674851291885632,
|
| 1050 |
+
0.030674257999573525,
|
| 1051 |
+
0.12113588627877322,
|
| 1052 |
+
0.2530146408934489,
|
| 1053 |
+
0.006708675679332569,
|
| 1054 |
+
0.07438613090070517,
|
| 1055 |
+
0.7616282631348937,
|
| 1056 |
+
0.7595940708982851,
|
| 1057 |
+
0.05189730084574777,
|
| 1058 |
+
0.6821854479624819,
|
| 1059 |
+
0.25715967584916055,
|
| 1060 |
+
0.55088589154003,
|
| 1061 |
+
0.5306495006718731,
|
| 1062 |
+
0.7645119604609097,
|
| 1063 |
+
0.11974228682365298,
|
| 1064 |
+
0.0026159615085428758,
|
| 1065 |
+
0.43834074667014794,
|
| 1066 |
+
0.4267351372230352
|
| 1067 |
+
]
|
| 1068 |
+
}
|
| 1069 |
+
},
|
| 1070 |
+
"code_commit": "36ded31d7790990f5ed318b818bd0e1278185c9c",
|
| 1071 |
+
"task": "a18cr4",
|
| 1072 |
+
"dataset_id": "a18-pour-water-cropped-v4@73fd522 (inferred from the directory name)",
|
| 1073 |
+
"step": 12000,
|
| 1074 |
+
"weights": "ema",
|
| 1075 |
+
"offline_eval": {
|
| 1076 |
+
"mse": 0.0038264100439846516,
|
| 1077 |
+
"mse_row0": 0.0036608048249036074,
|
| 1078 |
+
"mse_body_target": 0.00563316885381937,
|
| 1079 |
+
"mse_hands": 0.0025534662418067455,
|
| 1080 |
+
"samples": 256,
|
| 1081 |
+
"frames": "train"
|
| 1082 |
+
},
|
| 1083 |
+
"format": "hb_baselines/1"
|
| 1084 |
+
}
|
a18-pour-water/b512-trim3f/step-012000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73fa23a2b78549d50b4b145e0f767133d05f33349d4ed12afae36c9d20fbcd3d
|
| 3 |
+
size 170847485
|
a18-pour-water/b512-trim3f/step-012000/protocol.json
ADDED
|
@@ -0,0 +1,251 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "hb_baselines/1",
|
| 3 |
+
"step": 12000,
|
| 4 |
+
"policy": "flash",
|
| 5 |
+
"task": "a18cr4",
|
| 6 |
+
"dataset_id": "a18-pour-water-cropped-v4@73fd522 (inferred from the directory name)",
|
| 7 |
+
"episodes": 100,
|
| 8 |
+
"frames": 48286,
|
| 9 |
+
"fps": 30.0,
|
| 10 |
+
"steps": 12000,
|
| 11 |
+
"total_steps": 12000,
|
| 12 |
+
"save_steps": [
|
| 13 |
+
10000,
|
| 14 |
+
12000
|
| 15 |
+
],
|
| 16 |
+
"global_batch": 512,
|
| 17 |
+
"per_gpu_batch": 512,
|
| 18 |
+
"num_gpus": 1,
|
| 19 |
+
"gradient_accumulation_steps": 1,
|
| 20 |
+
"lr": 0.0001,
|
| 21 |
+
"warmup": 500,
|
| 22 |
+
"schedule": "diffusers_cosine",
|
| 23 |
+
"seed": 42,
|
| 24 |
+
"aug_seed": 42,
|
| 25 |
+
"code_commit": "36ded31d7790990f5ed318b818bd0e1278185c9c",
|
| 26 |
+
"code_dirty": null,
|
| 27 |
+
"environment": {
|
| 28 |
+
"python": "3.12.12",
|
| 29 |
+
"torch": "2.9.0+cu128",
|
| 30 |
+
"numpy": "2.2.6",
|
| 31 |
+
"cuda": "12.8",
|
| 32 |
+
"cudnn": 91002,
|
| 33 |
+
"torchvision": "0.24.0+cu128",
|
| 34 |
+
"pillow": "13.0.0",
|
| 35 |
+
"gpu": "NVIDIA A800-SXM4-80GB",
|
| 36 |
+
"driver": "570.133.20"
|
| 37 |
+
},
|
| 38 |
+
"continuation": null,
|
| 39 |
+
"protocol_deviations": [],
|
| 40 |
+
"protocol_exceptions": [],
|
| 41 |
+
"files": {
|
| 42 |
+
"config.json": {
|
| 43 |
+
"bytes": 20931,
|
| 44 |
+
"sha256": "eb58f675b4197675fa516024433ba0cf8884829e625988b9865f5963ac2e8865"
|
| 45 |
+
},
|
| 46 |
+
"model.pt": {
|
| 47 |
+
"bytes": 170847485,
|
| 48 |
+
"sha256": "73fa23a2b78549d50b4b145e0f767133d05f33349d4ed12afae36c9d20fbcd3d"
|
| 49 |
+
},
|
| 50 |
+
"training_records/code_36ded31d/evaluation/augmentation/hb_aug_v2.py": {
|
| 51 |
+
"bytes": 7475,
|
| 52 |
+
"sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde"
|
| 53 |
+
},
|
| 54 |
+
"training_records/code_36ded31d/evaluation/baselines/__init__.py": {
|
| 55 |
+
"bytes": 1060,
|
| 56 |
+
"sha256": "bfbb52f85ac5d91e37f3cfc24bb8671de447b5b566760bfe091204ae69e1f7f6"
|
| 57 |
+
},
|
| 58 |
+
"training_records/code_36ded31d/evaluation/baselines/act_nets.py": {
|
| 59 |
+
"bytes": 22435,
|
| 60 |
+
"sha256": "3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19"
|
| 61 |
+
},
|
| 62 |
+
"training_records/code_36ded31d/evaluation/baselines/adapters.py": {
|
| 63 |
+
"bytes": 3479,
|
| 64 |
+
"sha256": "87e47332381fcb34e75d08cb258475c200519cb5cf17fd0e218bf2a1b21fa890"
|
| 65 |
+
},
|
| 66 |
+
"training_records/code_36ded31d/evaluation/baselines/check_flash_adapter.py": {
|
| 67 |
+
"bytes": 6003,
|
| 68 |
+
"sha256": "aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81"
|
| 69 |
+
},
|
| 70 |
+
"training_records/code_36ded31d/evaluation/baselines/check_flash_parity.py": {
|
| 71 |
+
"bytes": 7900,
|
| 72 |
+
"sha256": "91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f"
|
| 73 |
+
},
|
| 74 |
+
"training_records/code_36ded31d/evaluation/baselines/data.py": {
|
| 75 |
+
"bytes": 21493,
|
| 76 |
+
"sha256": "c8b0817f7fe3bdec71b13e94a2e2fea231e0c6c05bd16614b564419ff024e8e2"
|
| 77 |
+
},
|
| 78 |
+
"training_records/code_36ded31d/evaluation/baselines/flash.py": {
|
| 79 |
+
"bytes": 24032,
|
| 80 |
+
"sha256": "35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53"
|
| 81 |
+
},
|
| 82 |
+
"training_records/code_36ded31d/evaluation/baselines/fm_dit_v2.py": {
|
| 83 |
+
"bytes": 6013,
|
| 84 |
+
"sha256": "c987d9e641f5e5266703a8154b708d9ccab203b06d5ab82774d39a1cba602d62"
|
| 85 |
+
},
|
| 86 |
+
"training_records/code_36ded31d/evaluation/baselines/inloop.py": {
|
| 87 |
+
"bytes": 6993,
|
| 88 |
+
"sha256": "0e6343d7d28893c4107864b943193eb4a402cf97b1625e94eb2acb1d163ca85c"
|
| 89 |
+
},
|
| 90 |
+
"training_records/code_36ded31d/evaluation/baselines/nets.py": {
|
| 91 |
+
"bytes": 10478,
|
| 92 |
+
"sha256": "2d72e3c455d5e376a6f5954886fd4c7a6478eb516380c6a05515fa043c62fbce"
|
| 93 |
+
},
|
| 94 |
+
"training_records/code_36ded31d/evaluation/baselines/ode_nets.py": {
|
| 95 |
+
"bytes": 9148,
|
| 96 |
+
"sha256": "38f2ea6050fa45e6c0d5e3f19caf21f1a72a50f80e356044dddcf76da22b144a"
|
| 97 |
+
},
|
| 98 |
+
"training_records/code_36ded31d/evaluation/baselines/policies.py": {
|
| 99 |
+
"bytes": 25760,
|
| 100 |
+
"sha256": "74ca169fe453f64bf6ffc3f3a85a4208aed2961d0abd9eb3e92b96457f86daf1"
|
| 101 |
+
},
|
| 102 |
+
"training_records/code_36ded31d/evaluation/baselines/requirements.lock.txt": {
|
| 103 |
+
"bytes": 1481,
|
| 104 |
+
"sha256": "4b79b9dcc98f05bfe7bc9e64e3492f4565728f6d1f75cbdecc1c817d03ff32a5"
|
| 105 |
+
},
|
| 106 |
+
"training_records/code_36ded31d/evaluation/baselines/requirements.txt": {
|
| 107 |
+
"bytes": 850,
|
| 108 |
+
"sha256": "56a8db94a98c5256028b475d9a0293cdee4cf475e415df763b3a0232433663ba"
|
| 109 |
+
},
|
| 110 |
+
"training_records/code_36ded31d/evaluation/baselines/runtime.py": {
|
| 111 |
+
"bytes": 11034,
|
| 112 |
+
"sha256": "8cd8963bb87cdc453293a369658c97a97aadbef77281538d8a4c484925af00c5"
|
| 113 |
+
},
|
| 114 |
+
"training_records/code_36ded31d/evaluation/baselines/train.py": {
|
| 115 |
+
"bytes": 60284,
|
| 116 |
+
"sha256": "ba867030063ec6245529df0432bcc18ad92f6c6bdcb130239fea4779bc5679a8"
|
| 117 |
+
},
|
| 118 |
+
"training_records/code_36ded31d/evaluation/policy/FLASH/model.py": {
|
| 119 |
+
"bytes": 647,
|
| 120 |
+
"sha256": "823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159"
|
| 121 |
+
},
|
| 122 |
+
"training_records/code_commit.txt": {
|
| 123 |
+
"bytes": 163,
|
| 124 |
+
"sha256": "d03bab044170e492a7de5bc4af0ed77b14dc3a74016241928917c00d83dc41a5"
|
| 125 |
+
},
|
| 126 |
+
"training_records/inloop-mse.jsonl": {
|
| 127 |
+
"bytes": 89241,
|
| 128 |
+
"sha256": "82cad03c952ce30171bb6edc03b72d7b62136359e8121f1357be270fe5b87563"
|
| 129 |
+
},
|
| 130 |
+
"training_records/pip_freeze_hb-baselines.txt": {
|
| 131 |
+
"bytes": 1185,
|
| 132 |
+
"sha256": "72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2"
|
| 133 |
+
},
|
| 134 |
+
"training_records/run.json": {
|
| 135 |
+
"bytes": 21604,
|
| 136 |
+
"sha256": "51e85d09289388154e36b5996b6423d22c3e9641d111314b694f9bf89945fd7f"
|
| 137 |
+
},
|
| 138 |
+
"training_records/small_pool.sh": {
|
| 139 |
+
"bytes": 6227,
|
| 140 |
+
"sha256": "304383751d48404793e4b849bddeef9754a97cc9a39893fdc2ae9062cdf5b227"
|
| 141 |
+
},
|
| 142 |
+
"training_records/train.log": {
|
| 143 |
+
"bytes": 68372,
|
| 144 |
+
"sha256": "4922095e4676b642c7dfe211c5ad476e466e42400dc4055415da90249de37031"
|
| 145 |
+
},
|
| 146 |
+
"training_records/train_log.jsonl": {
|
| 147 |
+
"bytes": 61811,
|
| 148 |
+
"sha256": "2f58b7ad058f9fb2b35458ca11476616257f155a2417bcd3f108ad5f4d5339f6"
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"task_dir": "a18-pour-water",
|
| 152 |
+
"training_data": "a18-pour-water @73fd5225, all episodes (A800 small-model pool 2026-11-27, newest A29 three-frame trim)",
|
| 153 |
+
"lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
|
| 154 |
+
"ema": 0.9999,
|
| 155 |
+
"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",
|
| 156 |
+
"state_dim": 78,
|
| 157 |
+
"action_dim": 75,
|
| 158 |
+
"cameras": [
|
| 159 |
+
"head",
|
| 160 |
+
"chest"
|
| 161 |
+
],
|
| 162 |
+
"contract": "h2_sharpa",
|
| 163 |
+
"image_hw": [
|
| 164 |
+
168,
|
| 165 |
+
224
|
| 166 |
+
],
|
| 167 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 168 |
+
"inloop_mse": {
|
| 169 |
+
"task": "a18cr4",
|
| 170 |
+
"split": "train10",
|
| 171 |
+
"every": 250,
|
| 172 |
+
"seed": 1234,
|
| 173 |
+
"weights": "ema",
|
| 174 |
+
"nmse_at_this_step": 0.1344,
|
| 175 |
+
"curve": {
|
| 176 |
+
"250": 0.4546,
|
| 177 |
+
"500": 0.3455,
|
| 178 |
+
"750": 0.2926,
|
| 179 |
+
"1000": 0.2504,
|
| 180 |
+
"1250": 0.2262,
|
| 181 |
+
"1500": 0.21,
|
| 182 |
+
"1750": 0.199,
|
| 183 |
+
"2000": 0.1906,
|
| 184 |
+
"2250": 0.184,
|
| 185 |
+
"2500": 0.1789,
|
| 186 |
+
"2750": 0.1743,
|
| 187 |
+
"3000": 0.1702,
|
| 188 |
+
"3250": 0.1666,
|
| 189 |
+
"3500": 0.1631,
|
| 190 |
+
"3750": 0.1599,
|
| 191 |
+
"4000": 0.156,
|
| 192 |
+
"4250": 0.1529,
|
| 193 |
+
"4500": 0.1509,
|
| 194 |
+
"4750": 0.15,
|
| 195 |
+
"5000": 0.1493,
|
| 196 |
+
"5250": 0.1488,
|
| 197 |
+
"5500": 0.148,
|
| 198 |
+
"5750": 0.1471,
|
| 199 |
+
"6000": 0.1464,
|
| 200 |
+
"6250": 0.1456,
|
| 201 |
+
"6500": 0.1448,
|
| 202 |
+
"6750": 0.1442,
|
| 203 |
+
"7000": 0.1436,
|
| 204 |
+
"7250": 0.1429,
|
| 205 |
+
"7500": 0.1421,
|
| 206 |
+
"7750": 0.1411,
|
| 207 |
+
"8000": 0.1404,
|
| 208 |
+
"8250": 0.1397,
|
| 209 |
+
"8500": 0.1391,
|
| 210 |
+
"8750": 0.1385,
|
| 211 |
+
"9000": 0.138,
|
| 212 |
+
"9250": 0.1373,
|
| 213 |
+
"9500": 0.1369,
|
| 214 |
+
"9750": 0.1365,
|
| 215 |
+
"10000": 0.1361,
|
| 216 |
+
"10250": 0.1357,
|
| 217 |
+
"10500": 0.1354,
|
| 218 |
+
"10750": 0.1352,
|
| 219 |
+
"11000": 0.135,
|
| 220 |
+
"11250": 0.1348,
|
| 221 |
+
"11500": 0.1347,
|
| 222 |
+
"11750": 0.1345,
|
| 223 |
+
"12000": 0.1344
|
| 224 |
+
}
|
| 225 |
+
},
|
| 226 |
+
"reproducibility": {
|
| 227 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 228 |
+
"protocol_commit": "bd45ed20",
|
| 229 |
+
"training_seed": 42,
|
| 230 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 231 |
+
"training_seed_verified_from_run_files": true,
|
| 232 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 233 |
+
"inloop_mse_seed": 1234,
|
| 234 |
+
"layout": {
|
| 235 |
+
"nodes": 1,
|
| 236 |
+
"gpus_per_node": 1,
|
| 237 |
+
"per_gpu_batch": 512,
|
| 238 |
+
"global_batch": 512,
|
| 239 |
+
"gradient_accumulation": 1,
|
| 240 |
+
"num_workers": 40,
|
| 241 |
+
"prefetch": 2
|
| 242 |
+
},
|
| 243 |
+
"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",
|
| 244 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 245 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 36ded31d7790990f5ed318b818bd0e1278185c9c (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 246 |
+
"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",
|
| 247 |
+
"exceptions": []
|
| 248 |
+
},
|
| 249 |
+
"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",
|
| 250 |
+
"resume_state_included": false
|
| 251 |
+
}
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/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)
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FM-DiT, DP (Diffusion Policy, DDPM-DiT), ACT, FLASH, ODE-MLP and ODE-DiT visuomotor baselines of the Humanoid
|
| 2 |
+
Benchmark.
|
| 3 |
+
|
| 4 |
+
FM-DiT, DP and ACT are ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/
|
| 5 |
+
{fm_dit,ddpm_dit,act}.py` and their networks), FLASH and FM-DiT v2 (FLASH-Policy's own FM-DiT; `fm_dit_v2.py`, a separate entry from the
|
| 6 |
+
DextraVerse FM-DiT) from NTUMARS/FLASH-Policy @ f47e490 (`flash.py`), ODE-MLP and
|
| 7 |
+
ODE-DiT after ODE Policy's G1 port (github.com/NTUMARS/ODE-POLICY real-g1; networks in ode_nets.py), each in its
|
| 8 |
+
authors' own configuration; torch only. `train.py` trains one on a task's LeRobot v2.1 expert dataset through a robot
|
| 9 |
+
contract (`data.CONTRACTS`: G1 state44/action76 or H2 state78/action75); `runtime.BaselinePolicy` serves a checkpoint
|
| 10 |
+
to the G1 evaluation adapters (`evaluation/policy/{FMDiT,FMDiT_v2,DP,ACT,FLASH,ODEMLP,ODEDiT}/model.py`, via `adapters.py`) and
|
| 11 |
+
to the H2 adapter
|
| 12 |
+
(`debug/newton/h2_policy_adapters/baseline.py`). Usage and the environment: evaluation/README.md#baselines.
|
| 13 |
+
"""
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/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()
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/adapters.py
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, ODEMLP, ODEDiT).
|
| 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 and the ODE policies also read the interface's
|
| 6 |
+
executed rows before the query (`past_actions`, `history_valid`: the token sent and the INSPIRE opening measured at
|
| 7 |
+
each earlier frame): FLASH for its polynomial history, the ODE policies the last one (frame t-1) as their start.
|
| 8 |
+
Output: the checkpoint's whole chunk (16 rows of action76, row 0 executed at the request's frame), `execution_steps`
|
| 9 |
+
rows of it executed before the next query (deploy.yml `config: execution_steps`, default the whole chunk; the runners
|
| 10 |
+
re-query after at most 12 rows), the request's seed for the sampling noise (FM-DiT, DP).
|
| 11 |
+
"""
|
| 12 |
+
from __future__ import annotations
|
| 13 |
+
|
| 14 |
+
from .runtime import BaselinePolicy
|
| 15 |
+
|
| 16 |
+
WIDTH = {'sonic_dfx6': 76}
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
def require(condition, message):
|
| 20 |
+
if not condition:
|
| 21 |
+
raise RuntimeError(message)
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def make_model(policy_name: str):
|
| 25 |
+
class Model:
|
| 26 |
+
history_length = 1 # the current head and chest frames only
|
| 27 |
+
video_frames = 0
|
| 28 |
+
|
| 29 |
+
def __init__(self, cfg):
|
| 30 |
+
self.policy = BaselinePolicy(cfg['checkpoint_path'], device=cfg.get('device', 'cuda:0'),
|
| 31 |
+
policy=policy_name, robot='g1')
|
| 32 |
+
contract = self.policy.contract
|
| 33 |
+
require(cfg['action_space'] in WIDTH and contract['action_space'] == cfg['action_space']
|
| 34 |
+
and self.policy.action_dim == WIDTH[cfg['action_space']] and self.policy.state_dim == 44
|
| 35 |
+
and list(self.policy.cameras) == ['ego_view', 'chest'],
|
| 36 |
+
f"checkpoint contract {contract['name']} does not serve {cfg['action_space']}")
|
| 37 |
+
extra = cfg.get('config') or {}
|
| 38 |
+
if extra.get('check_task', True):
|
| 39 |
+
require(cfg['task'].strip() == (self.policy.task_text or '').strip(),
|
| 40 |
+
f'task text {cfg["task"]!r} is not the training task {self.policy.task_text!r}')
|
| 41 |
+
self.execution_steps = int(extra.get('execution_steps') or self.policy.horizon)
|
| 42 |
+
require(1 <= self.execution_steps <= self.policy.horizon, f'execution_steps {self.execution_steps}')
|
| 43 |
+
self.uses_history = self.policy.name == 'flash' or self.policy.uses_previous
|
| 44 |
+
self.info = dict(self.policy.info(), execution_steps=self.execution_steps,
|
| 45 |
+
inputs='current frames + state44' + (' + executed-action history' if self.uses_history
|
| 46 |
+
else ''))
|
| 47 |
+
|
| 48 |
+
def get_action(self, obs):
|
| 49 |
+
if self.uses_history:
|
| 50 |
+
action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'],
|
| 51 |
+
past_actions=obs['past_actions'], history_valid=obs['history_valid'])
|
| 52 |
+
else:
|
| 53 |
+
action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'])
|
| 54 |
+
return dict(action=action, execution_steps=self.execution_steps,
|
| 55 |
+
sampling_steps=self.policy.sampling_steps)
|
| 56 |
+
|
| 57 |
+
Model.__name__ = Model.__qualname__ = f'Model_{policy_name}'
|
| 58 |
+
return Model
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/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()
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/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()
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/data.py
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, quantiles: bool = False) -> dict:
|
| 186 |
+
"""min / max / mean / std of state and action over `rows`; with `quantiles` also their q01 / q99 (the ODE
|
| 187 |
+
policies' normalization bounds, as ODE Policy's G1 port fits them)."""
|
| 188 |
+
out = {}
|
| 189 |
+
for key in ('state', 'action'):
|
| 190 |
+
x = lowdim[key][rows].astype(np.float64)
|
| 191 |
+
out[key] = dict(min=x.min(0).tolist(), max=x.max(0).tolist(), mean=x.mean(0).tolist(), std=x.std(0).tolist())
|
| 192 |
+
if quantiles:
|
| 193 |
+
q01, q99 = np.quantile(x, [0.01, 0.99], axis=0)
|
| 194 |
+
out[key].update(q01=q01.tolist(), q99=q99.tolist())
|
| 195 |
+
return out
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
# Columns recorded in physical [0, 1] (the INSPIRE DFX6 openings): the ODE policies normalize them with these fixed
|
| 199 |
+
# bounds instead of the data's, as ODE Policy's G1 port does.
|
| 200 |
+
UNIT_RANGE_COLUMNS = ('observation.inspire_left_hand_state', 'observation.inspire_right_hand_state')
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
def unit_range_dims(contract: Contract) -> dict:
|
| 204 |
+
"""{'state': [...], 'action': [...]}: the positions of the UNIT_RANGE_COLUMNS values in the contract's layouts."""
|
| 205 |
+
out = {}
|
| 206 |
+
for key, spec in (('state', contract.state), ('action', contract.action)):
|
| 207 |
+
dims, offset = [], 0
|
| 208 |
+
for column, start, end in spec:
|
| 209 |
+
if column in UNIT_RANGE_COLUMNS:
|
| 210 |
+
dims.extend(range(offset, offset + end - start))
|
| 211 |
+
offset += end - start
|
| 212 |
+
out[key] = dims
|
| 213 |
+
return out
|
| 214 |
+
|
| 215 |
+
|
| 216 |
+
# -- frame cache --------------------------------------------------------------------------------------------------
|
| 217 |
+
def _decode_into(job):
|
| 218 |
+
path, out_path, total, start, length, hw = job
|
| 219 |
+
import av
|
| 220 |
+
frames = np.memmap(out_path, dtype=np.uint8, mode='r+', shape=(total, hw[0], hw[1], 3))
|
| 221 |
+
count = 0
|
| 222 |
+
with av.open(str(path)) as container:
|
| 223 |
+
stream = container.streams.video[0]
|
| 224 |
+
stream.thread_type = 'AUTO'
|
| 225 |
+
for frame in container.decode(stream):
|
| 226 |
+
if count < length:
|
| 227 |
+
frames[start + count] = resize_frame(frame.to_ndarray(format='rgb24'), hw)
|
| 228 |
+
count += 1
|
| 229 |
+
frames.flush()
|
| 230 |
+
del frames
|
| 231 |
+
if count != length:
|
| 232 |
+
raise ValueError(f'{path}: {count} video frames, {length} data rows')
|
| 233 |
+
return length
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
def frame_cache(dataset: LeRobotDataset, lowdim: dict, cameras, hw, cache_root, workers=8) -> dict:
|
| 237 |
+
"""{camera: path of the (N, h, w, 3) uint8 memory map} for the episodes of `lowdim`, decoded once and reused."""
|
| 238 |
+
from multiprocessing import get_context
|
| 239 |
+
total = int(lowdim['lengths'].sum())
|
| 240 |
+
paths = {}
|
| 241 |
+
for camera in cameras:
|
| 242 |
+
key = json.dumps(dict(version=CACHE_VERSION, root=str(dataset.root), episodes=lowdim['episodes'],
|
| 243 |
+
lengths=lowdim['lengths'].tolist(), camera=camera, hw=list(hw)), sort_keys=True)
|
| 244 |
+
digest = hashlib.sha256(key.encode()).hexdigest()[:16]
|
| 245 |
+
folder = Path(cache_root).expanduser() / f'{dataset.name}_{camera}_{hw[0]}x{hw[1]}_{digest}'
|
| 246 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 247 |
+
out, meta = folder / 'frames.u8', folder / 'meta.json'
|
| 248 |
+
if meta.exists() and json.loads(meta.read_text()).get('complete'):
|
| 249 |
+
paths[camera] = out
|
| 250 |
+
continue
|
| 251 |
+
np.memmap(out, dtype=np.uint8, mode='w+', shape=(total, hw[0], hw[1], 3)).flush()
|
| 252 |
+
jobs = [(dataset.video(e, camera), out, total, int(s), int(n), tuple(hw))
|
| 253 |
+
for e, s, n in zip(lowdim['episodes'], lowdim['starts'], lowdim['lengths'])]
|
| 254 |
+
with get_context('spawn').Pool(max(1, int(workers))) as pool: # the caller may hold torch threads
|
| 255 |
+
for done, _ in enumerate(pool.imap_unordered(_decode_into, jobs), 1):
|
| 256 |
+
if done % 20 == 0 or done == len(jobs):
|
| 257 |
+
print(json.dumps(dict(event='frame_cache', camera=camera, episodes=done, of=len(jobs))),
|
| 258 |
+
flush=True)
|
| 259 |
+
meta.write_text(json.dumps(dict(json.loads(key), frames=total, complete=True), indent=1))
|
| 260 |
+
paths[camera] = out
|
| 261 |
+
return paths
|
| 262 |
+
|
| 263 |
+
|
| 264 |
+
class ChunkDataset:
|
| 265 |
+
"""torch-style dataset of (images (n_cameras, h, w, 3) uint8, state (state_dim,), action (horizon, action_dim))
|
| 266 |
+
over the frames of the selected episodes (positions into lowdim['episodes']). Memory maps open lazily per
|
| 267 |
+
process (DataLoader workers).
|
| 268 |
+
|
| 269 |
+
`body_dims` > 0 turns on the training augmentation (docs/augmentation_v2.md, evaluation/augmentation): per item,
|
| 270 |
+
the cached frames of all cameras get one hb_aug_v2.augment call (one time step, no future targets) and the first
|
| 271 |
+
`body_dims` state values the per-sample joint bias + noise; the action rows are never touched. 0 (evaluation,
|
| 272 |
+
offline checks) returns the cached frames and the recorded state unchanged, deterministically.
|
| 273 |
+
|
| 274 |
+
`lead` > 0 prepends that many rows before t to the action rows (lead + horizon rows, t-lead..t+horizon-1) and
|
| 275 |
+
adds a fourth item, the rows' validity (lead + horizon,) float: 0 for a row before the episode's first or past its
|
| 276 |
+
last (whose values repeat the nearest row); the ODE policies start from the row before t, or from their BOS where
|
| 277 |
+
it is invalid, and leave invalid future rows out of the loss (policies.ODEPolicy).
|
| 278 |
+
|
| 279 |
+
aug_seed (HumanWAM hb_training/REPRODUCIBILITY.md section 3; the training seed, `HB_AUG_SEED`): an item asked for
|
| 280 |
+
as (k, draw) (train.EpochSampler, 2026-11-27) is augmented with numpy default_rng([aug_seed, draw]), draw being its
|
| 281 |
+
position in the run's sample stream: the same seed and step give the same augmentations whatever the worker count
|
| 282 |
+
and across an interrupted run's --resume. A plain index k (the preflight) uses the per-worker stream
|
| 283 |
+
default_rng([aug_seed, torch.initial_seed(), worker id]) of the runs trained before; None the shared worker_rng
|
| 284 |
+
(pid + urandom: not reproducible)."""
|
| 285 |
+
|
| 286 |
+
def __init__(self, lowdim: dict, frames: dict, cameras, hw, horizon: int, positions, body_dims: int = 0,
|
| 287 |
+
lead: int = 0, aug_seed=None):
|
| 288 |
+
self.lowdim, self.paths, self.cameras, self.hw, self.horizon = lowdim, frames, list(cameras), tuple(hw), horizon
|
| 289 |
+
self.positions, self.body_dims, self.lead = list(positions), int(body_dims), int(lead)
|
| 290 |
+
self.aug_seed = aug_seed
|
| 291 |
+
self._rng_key, self._rng_obj = None, None
|
| 292 |
+
if self.body_dims:
|
| 293 |
+
augmentation_module() # asserts the spec version before any worker starts
|
| 294 |
+
self.total = int(lowdim['lengths'].sum())
|
| 295 |
+
index, begin, end = [], np.zeros(self.total, np.int64), np.zeros(self.total, np.int64)
|
| 296 |
+
for p in positions:
|
| 297 |
+
s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
|
| 298 |
+
index.append(np.arange(s, s + n))
|
| 299 |
+
begin[s:s + n] = s
|
| 300 |
+
end[s:s + n] = s + n
|
| 301 |
+
self.index, self.begin, self.end = np.concatenate(index), begin, end
|
| 302 |
+
self._maps, self._pid = None, None
|
| 303 |
+
|
| 304 |
+
def __len__(self):
|
| 305 |
+
return len(self.index)
|
| 306 |
+
|
| 307 |
+
def _frames(self):
|
| 308 |
+
if self._maps is None or self._pid != os.getpid():
|
| 309 |
+
self._maps = {c: np.memmap(self.paths[c], dtype=np.uint8, mode='r', shape=(self.total, *self.hw, 3))
|
| 310 |
+
for c in self.cameras}
|
| 311 |
+
self._pid = os.getpid()
|
| 312 |
+
return self._maps
|
| 313 |
+
|
| 314 |
+
def rows(self, i: int) -> np.ndarray:
|
| 315 |
+
return np.clip(np.arange(i - self.lead, i + self.horizon), self.begin[i], self.end[i] - 1)
|
| 316 |
+
|
| 317 |
+
def valid(self, i: int) -> np.ndarray:
|
| 318 |
+
rows = np.arange(i - self.lead, i + self.horizon)
|
| 319 |
+
return ((rows >= self.begin[i]) & (rows < self.end[i])).astype(np.float32)
|
| 320 |
+
|
| 321 |
+
def plain(self):
|
| 322 |
+
"""The same items without augmentation (the preflight's reference read)."""
|
| 323 |
+
return ChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.horizon, self.positions,
|
| 324 |
+
lead=self.lead)
|
| 325 |
+
|
| 326 |
+
def _rng(self):
|
| 327 |
+
if self.aug_seed is None or not self.body_dims:
|
| 328 |
+
return None
|
| 329 |
+
import torch
|
| 330 |
+
info = torch.utils.data.get_worker_info()
|
| 331 |
+
wid = info.id if info is not None else 0
|
| 332 |
+
key = (os.getpid(), wid)
|
| 333 |
+
if self._rng_key != key:
|
| 334 |
+
self._rng_obj = np.random.default_rng([int(self.aug_seed), int(torch.initial_seed()), int(wid)])
|
| 335 |
+
self._rng_key = key
|
| 336 |
+
return self._rng_obj
|
| 337 |
+
|
| 338 |
+
def _key(self, k):
|
| 339 |
+
"""(item index, augmentation rng) of a sampler key: (k, draw) or a plain k (class docstring)."""
|
| 340 |
+
if isinstance(k, (tuple, list)):
|
| 341 |
+
k, draw = k
|
| 342 |
+
if self.aug_seed is not None and self.body_dims:
|
| 343 |
+
return int(k), np.random.default_rng([int(self.aug_seed), int(draw)])
|
| 344 |
+
return int(k), self._rng()
|
| 345 |
+
|
| 346 |
+
def _observation(self, i: int, rng=None):
|
| 347 |
+
"""The cameras (n_cameras, h, w, 3) uint8 and the state of frame i, augmented when body_dims > 0."""
|
| 348 |
+
import torch
|
| 349 |
+
maps = self._frames()
|
| 350 |
+
images = torch.from_numpy(np.stack([maps[c][i] for c in self.cameras]))
|
| 351 |
+
state = self.lowdim['state'][i]
|
| 352 |
+
if self.body_dims:
|
| 353 |
+
augmentation = augmentation_module()
|
| 354 |
+
images, _ = augmentation.augment_frames_uint8(images, rng=rng)
|
| 355 |
+
state = augmentation.perturb_body(state, self.body_dims, rng=rng)
|
| 356 |
+
return images, torch.from_numpy(np.asarray(state, dtype=np.float32))
|
| 357 |
+
|
| 358 |
+
def __getitem__(self, k):
|
| 359 |
+
import torch
|
| 360 |
+
k, rng = self._key(k)
|
| 361 |
+
i = int(self.index[k])
|
| 362 |
+
images, state = self._observation(i, rng=rng)
|
| 363 |
+
item = images, state, torch.from_numpy(self.lowdim['action'][self.rows(i)])
|
| 364 |
+
return (*item, torch.from_numpy(self.valid(i))) if self.lead else item
|
| 365 |
+
|
| 366 |
+
|
| 367 |
+
class FlashChunkDataset(ChunkDataset):
|
| 368 |
+
"""FLASH training items (evaluation/baselines/flash.py) over every frame of the selected episodes as the anchor:
|
| 369 |
+
(images, state, poly, history, has_history[, dense, dense_valid]).
|
| 370 |
+
|
| 371 |
+
- images, state: the anchor frame's cameras and state44, augmented as ChunkDataset (spec v2) when body_dims > 0;
|
| 372 |
+
- poly (H_ext, action_dim): the action rows at `offsets` frames from the anchor (the polynomial's extended grid,
|
| 373 |
+
`stride` frames apart), clamped to the episode (FLASH's edge padding);
|
| 374 |
+
- history (n_history, action_dim), has_history: flash.history_rows over the `span` executed rows before the anchor
|
| 375 |
+
(rows before the episode start invalid), the same function the adapter applies to past_actions;
|
| 376 |
+
- dense (rows, action_dim), dense_valid: the recorded 30 Hz rows from the anchor (offline check only).
|
| 377 |
+
|
| 378 |
+
aug_seed: as ChunkDataset (the same seeded stream)."""
|
| 379 |
+
|
| 380 |
+
def __init__(self, lowdim, frames, cameras, hw, positions, *, offsets, stride, n_history, rows, body_dims=0,
|
| 381 |
+
aug_seed=None, with_dense=False):
|
| 382 |
+
super().__init__(lowdim, frames, cameras, hw, rows, positions, body_dims=body_dims)
|
| 383 |
+
self.offsets = np.asarray(offsets, dtype=np.int64)
|
| 384 |
+
self.stride, self.n_history, self.n_rows = int(stride), int(n_history), int(rows)
|
| 385 |
+
self.span = (self.n_history - 1) * self.stride + 1
|
| 386 |
+
self.aug_seed, self.with_dense = aug_seed, bool(with_dense)
|
| 387 |
+
start = np.zeros(self.total, np.int64)
|
| 388 |
+
for p in positions:
|
| 389 |
+
s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
|
| 390 |
+
start[s:s + n] = s
|
| 391 |
+
self.start = start
|
| 392 |
+
|
| 393 |
+
def plain(self):
|
| 394 |
+
return FlashChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.positions, offsets=self.offsets,
|
| 395 |
+
stride=self.stride, n_history=self.n_history, rows=self.n_rows,
|
| 396 |
+
with_dense=self.with_dense)
|
| 397 |
+
|
| 398 |
+
def __getitem__(self, k):
|
| 399 |
+
import torch
|
| 400 |
+
from .flash import history_rows
|
| 401 |
+
k, rng = self._key(k)
|
| 402 |
+
i = int(self.index[k])
|
| 403 |
+
s0, e1 = int(self.start[i]), int(self.end[i])
|
| 404 |
+
images, state = self._observation(i, rng=rng)
|
| 405 |
+
action = self.lowdim['action']
|
| 406 |
+
poly = action[np.clip(i + self.offsets, s0, e1 - 1)]
|
| 407 |
+
past = i - self.span + np.arange(self.span)
|
| 408 |
+
history, has = history_rows(action[np.maximum(past, s0)], past >= s0, self.stride, self.n_history)
|
| 409 |
+
out = [images, state, torch.from_numpy(np.ascontiguousarray(poly)), torch.from_numpy(history),
|
| 410 |
+
torch.tensor(bool(has))]
|
| 411 |
+
if self.with_dense:
|
| 412 |
+
idx = i + np.arange(self.n_rows)
|
| 413 |
+
out += [torch.from_numpy(np.ascontiguousarray(action[np.minimum(idx, e1 - 1)])),
|
| 414 |
+
torch.from_numpy(idx < e1)]
|
| 415 |
+
return tuple(out)
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/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
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/fm_dit_v2.py
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FM-DiT v2: the flow-matching DiT of NTUMARS/FLASH-Policy @ f47e490 behind the baselines contract (owner 2026-11-25).
|
| 2 |
+
|
| 3 |
+
Not the `fm_dit` baseline of policies.py (FM-DiT v1, ported from DextraVerse's IL core), which stays unchanged for the
|
| 4 |
+
checkpoints trained with it. The owner asked for this second implementation after the v1 checkpoints reached 1 success
|
| 5 |
+
in all their closed-loop evaluations; if v2 scores higher under the same training and evaluation, v1 is retired.
|
| 6 |
+
|
| 7 |
+
Ported from `roboverse_learn/il/policies/fm/fm_dit_image_policy.py` (`FlowMatchingDiTImagePolicy`) with
|
| 8 |
+
`configs/policy_config/fm_dit.yaml` and `configs/train_config/default_train.yaml`, FLASH-Policy's own FM-DiT baseline.
|
| 9 |
+
Its network is FLASH's (flow_net.FlowTransformer with the torchtune RoPE, MultiImageObsEncoder), so this module
|
| 10 |
+
reuses flash.py's port of them; only the flow and the sampler differ from FLASH:
|
| 11 |
+
|
| 12 |
+
- loss: x_t = (1 - t) noise + t a with t ~ U(0, 1) and noise ~ N(0, I) over the whole normalized chunk; MSE of the
|
| 13 |
+
DiT's output against a - noise (obs_as_global_cond: no inpainting mask, every element counts);
|
| 14 |
+
- sampling: num_inference_steps 10 midpoint steps from noise (20 DiT calls), t = 0 -> 1;
|
| 15 |
+
- fm_dit.yaml: DiT 512 wide, 4 blocks, 8 heads, mlp ratio 4, dropout 0.1, time embedding 256; one ResNet18 per camera
|
| 16 |
+
from scratch with GroupNorm, ImageNet normalization of the range-normalized image; the state joins the image
|
| 17 |
+
features as the low-dim input (agent_pos), as in FLASH's encoder;
|
| 18 |
+
- default_train.yaml: seed 42, AdamW lr 1e-4 (betas 0.95 / 0.999, weight decay 1e-6), 500 warm-up steps then
|
| 19 |
+
diffusers' cosine, Diffusion Policy's EMAModel (power 0.75, max 0.9999), the encoder at the full learning rate
|
| 20 |
+
(train.py FM_DIT_V2_TRAINING).
|
| 21 |
+
|
| 22 |
+
What the humanoid interface changes, as for FLASH (flash.py, owner 2026-11-24/25: aligned with FLASH's port):
|
| 23 |
+
one observation frame (the current ego_view and chest frames and state44; the runners render no 8-frame history),
|
| 24 |
+
16 rows of action76 at 30 Hz from the query frame (row 0 = the query frame, the LeRobot rows t..t+15, as every
|
| 25 |
+
baseline), the augmentation spec v2 in place of the native random_crop (inert upstream without crop_shape), the
|
| 26 |
+
benchmark's batch 512 on one GPU. The runners re-query after at most 12 rows (FLASH-Policy executes 8 of 16).
|
| 27 |
+
"""
|
| 28 |
+
from __future__ import annotations
|
| 29 |
+
|
| 30 |
+
import torch
|
| 31 |
+
import torch.nn as nn
|
| 32 |
+
import torch.nn.functional as F
|
| 33 |
+
|
| 34 |
+
from .flash import FlashFlowTransformer, FlashObsEncoder
|
| 35 |
+
|
| 36 |
+
# fm_dit.yaml: the PolicyConfig fields of an FM-DiT v2 run
|
| 37 |
+
FM_DIT_V2_POLICY_FIELDS = dict(hidden_dim=512, num_layers=4, num_heads=8, mlp_ratio=4.0, dropout=0.1,
|
| 38 |
+
time_embed_dim=256, num_inference_steps=10, backbone='resnet18',
|
| 39 |
+
backbone_weights=None, backbone_norm='group')
|
| 40 |
+
UPSTREAM = 'NTUMARS/FLASH-Policy@f47e490 roboverse_learn/il/policies/fm/fm_dit_image_policy.py (fm_dit.yaml)'
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
class FMDiTv2Policy(nn.Module):
|
| 44 |
+
"""FLASH-Policy's FlowMatchingDiTImagePolicy on the baselines contract (module docstring). The policies.BasePolicy
|
| 45 |
+
contract (an nn.Module, as flash.FlashPolicy, so that policies.py can register it without an import cycle)."""
|
| 46 |
+
name = 'fm_dit_v2'
|
| 47 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 48 |
+
lead_rows = 0
|
| 49 |
+
|
| 50 |
+
def __init__(self, cfg, init_weights=None):
|
| 51 |
+
super().__init__()
|
| 52 |
+
from .policies import Normalizer
|
| 53 |
+
self.cfg = cfg
|
| 54 |
+
self.state_norm = Normalizer(cfg.state_dim)
|
| 55 |
+
self.action_norm = Normalizer(cfg.action_dim)
|
| 56 |
+
self.obs_encoder = FlashObsEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone, weights=init_weights)
|
| 57 |
+
# fm_dit_image_policy.py: max_seq_len = horizon (the RoPE cache covers the action tokens)
|
| 58 |
+
self.model = FlashFlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
|
| 59 |
+
hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim,
|
| 60 |
+
num_layers=cfg.num_layers, num_heads=cfg.num_heads,
|
| 61 |
+
mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
|
| 62 |
+
time_embed_dim=cfg.time_embed_dim, max_seq_len=cfg.horizon)
|
| 63 |
+
|
| 64 |
+
def fit_normalizers(self, stats: dict):
|
| 65 |
+
"""LinearNormalizer 'limits' (upstream's default): state and action min / max to [-1, 1]."""
|
| 66 |
+
self.state_norm.fit(stats['state']['min'], stats['state']['max'])
|
| 67 |
+
self.action_norm.fit(stats['action']['min'], stats['action']['max'])
|
| 68 |
+
|
| 69 |
+
@property
|
| 70 |
+
def sampling_steps(self) -> int:
|
| 71 |
+
return int(self.cfg.num_inference_steps or 10)
|
| 72 |
+
|
| 73 |
+
def condition(self, images, state):
|
| 74 |
+
return self.obs_encoder(images, self.state_norm.normalize(state))
|
| 75 |
+
|
| 76 |
+
def compute_loss(self, images, state, action):
|
| 77 |
+
cond = self.condition(images, state)
|
| 78 |
+
target = self.action_norm.normalize(action.float())
|
| 79 |
+
noise = torch.randn_like(target)
|
| 80 |
+
t = torch.rand(target.shape[0], device=target.device)
|
| 81 |
+
te = t.view(-1, 1, 1)
|
| 82 |
+
x_t = (1 - te) * noise + te * target
|
| 83 |
+
loss = F.mse_loss(self.model(x_t, t, cond).float(), target - noise)
|
| 84 |
+
return loss, dict(fm=float(loss.detach()))
|
| 85 |
+
|
| 86 |
+
@torch.no_grad()
|
| 87 |
+
def predict(self, images, state, generator=None):
|
| 88 |
+
cond = self.condition(images, state)
|
| 89 |
+
B, steps = images.shape[0], self.sampling_steps
|
| 90 |
+
x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=images.device, dtype=torch.float32,
|
| 91 |
+
generator=generator)
|
| 92 |
+
times = torch.linspace(0, 1.0, steps + 1)
|
| 93 |
+
for i in range(steps): # conditional_sample: the midpoint rule
|
| 94 |
+
t0 = times[i].view(1).expand(B).to(images.device)
|
| 95 |
+
t1 = times[i + 1].view(1).expand(B).to(images.device)
|
| 96 |
+
dt = (t1 - t0).view(-1, 1, 1)
|
| 97 |
+
x_mid = x + self.model(x, t0, cond).float() * dt / 2
|
| 98 |
+
x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond).float()
|
| 99 |
+
return self.action_norm.unnormalize(x), x
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/inloop.py
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
kwargs = {}
|
| 101 |
+
if getattr(model, 'lead_rows', 0): # the ODE policies start from the executed row before (BOS without one)
|
| 102 |
+
prev = [np.asarray(q.get('past_action', ()), np.float32).reshape(-1, contract.action_dim) for q in batch]
|
| 103 |
+
kwargs = dict(previous=torch.from_numpy(np.stack([p[-1] if len(p) else np.zeros(contract.action_dim,
|
| 104 |
+
np.float32)
|
| 105 |
+
for p in prev])).to(device),
|
| 106 |
+
has_previous=torch.tensor([len(p) > 0 for p in prev], device=device))
|
| 107 |
+
pred, _ = model.predict(images, state, *extra, generator=generator, **kwargs)
|
| 108 |
+
return pred.float().cpu().numpy()
|
| 109 |
+
|
| 110 |
+
info = dict(weights='ema', policy=policy_name, cache_checked_episodes=checked,
|
| 111 |
+
inloop_code=str(code_dir), cache=str(E.split_dir(task, split)))
|
| 112 |
+
loop = core.InLoop(policy_name, task, split, Path(run_dir) / 'logs' / 'inloop-mse.jsonl', predict,
|
| 113 |
+
cams=list(cameras), info=info)
|
| 114 |
+
loop.every = core.EVERY
|
| 115 |
+
loop.say(f'{policy_name} installed: task {task} split {split}, every {core.EVERY} steps, cache checked on '
|
| 116 |
+
f'episodes {checked}, code {code_dir}, G={os.environ.get("G", "<default>")}')
|
| 117 |
+
return loop
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/nets.py
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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. shared=False gives every camera its own
|
| 192 |
+
ResNet (share_rgb_model False, the ODE policy's encoder; `rgb` is then a ModuleList in camera order).
|
| 193 |
+
Output (B, n_cameras * 512 + state_dim)."""
|
| 194 |
+
|
| 195 |
+
def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None, norm='group', shared=True):
|
| 196 |
+
super().__init__()
|
| 197 |
+
self.n_cameras, self.state_dim, self.shared = int(n_cameras), int(state_dim), bool(shared)
|
| 198 |
+
self.rgb = (get_resnet(backbone, weights=weights, norm=norm) if self.shared else
|
| 199 |
+
nn.ModuleList([get_resnet(backbone, weights=weights, norm=norm) for _ in range(self.n_cameras)]))
|
| 200 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
|
| 201 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
|
| 202 |
+
self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
|
| 203 |
+
|
| 204 |
+
def forward(self, images, state):
|
| 205 |
+
"""images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
|
| 206 |
+
B = images.shape[0]
|
| 207 |
+
if self.shared:
|
| 208 |
+
x = (images.flatten(0, 1) - self.mean) / self.std
|
| 209 |
+
features = self.rgb(x).reshape(B, -1) # camera features side by side, in camera order
|
| 210 |
+
else:
|
| 211 |
+
features = torch.cat([net((images[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)], dim=-1)
|
| 212 |
+
return torch.cat([features, state], dim=-1)
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/ode_nets.py
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Vector fields of the ODE policy baselines (ODE-MLP, ODE-DiT).
|
| 2 |
+
|
| 3 |
+
Ported from ODE Policy (Jindou Jia et al., https://github.com/NTUMARS/ODE-POLICY, branch main @cea26d94, Apache-2.0):
|
| 4 |
+
`ode_policy/policies/ode/ode_image_policy.py` (`_FiLMLayer`, `VectorField`, `DiTVectorField`) and the DiT parts it
|
| 5 |
+
uses, `ode_policy/utils/models/flow_net.py` (`Attention`, `AdaLNBlock`), `ode_policy/utils/models/layers.py` (`Mlp`)
|
| 6 |
+
and `ode_policy/policies/dp/models/diffusion/positional_embedding.py` (`RotaryPosEmb`, torchtune's interleaved RoPE
|
| 7 |
+
over the full width, which differs from the DextraVerse RoPE of nets.py). Architectures and initializations are
|
| 8 |
+
unchanged. Left out: the gripper-only dropout pass (`drop_first`; the benchmark's actions have no binary gripper).
|
| 9 |
+
|
| 10 |
+
Both fields are autonomous (no time input): f(a, s | c) depends only on where the action state `a` is, the
|
| 11 |
+
proprioception `s` (when the field reads it) and the per-chunk condition `c`; the output layer starts at zero, so an
|
| 12 |
+
untrained policy holds its start action.
|
| 13 |
+
"""
|
| 14 |
+
from __future__ import annotations
|
| 15 |
+
|
| 16 |
+
import torch
|
| 17 |
+
import torch.nn as nn
|
| 18 |
+
import torch.nn.functional as F
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class FiLMLayer(nn.Module):
|
| 22 |
+
def __init__(self, dim, cond_dim):
|
| 23 |
+
super().__init__()
|
| 24 |
+
self.lin = nn.Linear(dim, dim)
|
| 25 |
+
self.film = nn.Linear(cond_dim, 2 * dim)
|
| 26 |
+
|
| 27 |
+
def forward(self, h, c=None, gb=None):
|
| 28 |
+
g, b = gb if gb is not None else self.film(c).chunk(2, dim=-1)
|
| 29 |
+
return h + F.silu(self.lin(h) * (1 + g) + b)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
class VectorField(nn.Module):
|
| 33 |
+
"""ODE-MLP: f(a, s | c), a FiLM-modulated residual MLP. Training-only dropout on the hidden units keeps one mask
|
| 34 |
+
per sample for every field call until reset_dropout(), so a whole integrated chunk sees one thinned field."""
|
| 35 |
+
|
| 36 |
+
def __init__(self, cond_dim, state_dim, hidden_dim, num_layers, out_dim, pose_dim, dropout=0.0):
|
| 37 |
+
super().__init__()
|
| 38 |
+
self.dropout, self._masks = float(dropout), None
|
| 39 |
+
self.inp = nn.Linear(pose_dim + state_dim, hidden_dim)
|
| 40 |
+
self.layers = nn.ModuleList([FiLMLayer(hidden_dim, cond_dim) for _ in range(num_layers)])
|
| 41 |
+
self.out = nn.Linear(hidden_dim, out_dim)
|
| 42 |
+
self.feat_dim = hidden_dim
|
| 43 |
+
nn.init.zeros_(self.out.weight)
|
| 44 |
+
nn.init.zeros_(self.out.bias)
|
| 45 |
+
|
| 46 |
+
def precompute(self, c):
|
| 47 |
+
"""FiLM scale/shift depend on c only; computed once per integration."""
|
| 48 |
+
return [layer.film(c).chunk(2, dim=-1) for layer in self.layers]
|
| 49 |
+
|
| 50 |
+
def reset_dropout(self):
|
| 51 |
+
self._masks = None
|
| 52 |
+
|
| 53 |
+
def forward(self, a, s, c, film=None):
|
| 54 |
+
drop = self.training and self.dropout > 0
|
| 55 |
+
h = self.inp(torch.cat([a, s], dim=-1))
|
| 56 |
+
if drop and (self._masks is None or self._masks[0].shape != h.shape):
|
| 57 |
+
keep = 1.0 - self.dropout
|
| 58 |
+
self._masks = [torch.bernoulli(torch.full_like(h, keep)) / keep for _ in self.layers]
|
| 59 |
+
for i, layer in enumerate(self.layers):
|
| 60 |
+
h = layer(h, c, None if film is None else film[i])
|
| 61 |
+
if drop:
|
| 62 |
+
h = h * self._masks[i]
|
| 63 |
+
return self.out(h)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
class RotaryPosEmb(nn.Module):
|
| 67 |
+
"""Rotary positional embedding (torchtune), built over the full width `dim` and applied to the heads' slices."""
|
| 68 |
+
|
| 69 |
+
def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
|
| 70 |
+
super().__init__()
|
| 71 |
+
self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
|
| 72 |
+
theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
|
| 73 |
+
self.register_buffer('theta', theta, persistent=False)
|
| 74 |
+
seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
|
| 75 |
+
idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
|
| 76 |
+
self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
|
| 77 |
+
persistent=False)
|
| 78 |
+
|
| 79 |
+
def forward(self, x):
|
| 80 |
+
"""x (B, num_heads, S, head_dim) -> the same shape."""
|
| 81 |
+
x = x.permute(0, 2, 1, 3) # (B, S, num_heads, head_dim)
|
| 82 |
+
B, S, num_heads, head_dim = x.size()
|
| 83 |
+
rope_cache = self.cache[:S]
|
| 84 |
+
xshaped = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
|
| 85 |
+
rope_cache = rope_cache.view(1, S, num_heads, head_dim // 2, 2)
|
| 86 |
+
x_out = torch.stack([xshaped[..., 0] * rope_cache[..., 0] - xshaped[..., 1] * rope_cache[..., 1],
|
| 87 |
+
xshaped[..., 1] * rope_cache[..., 0] + xshaped[..., 0] * rope_cache[..., 1]], -1)
|
| 88 |
+
return x_out.flatten(3).permute(0, 2, 1, 3).type_as(x)
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
class Attention(nn.Module):
|
| 92 |
+
def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0., proj_drop=0., max_seq_len=64, qk_norm=True):
|
| 93 |
+
super().__init__()
|
| 94 |
+
assert dim % num_heads == 0, 'dim should be divisible by num_heads'
|
| 95 |
+
self.num_heads = num_heads
|
| 96 |
+
self.head_dim = dim // num_heads
|
| 97 |
+
self.attn_drop = attn_drop
|
| 98 |
+
self.proj_drop = nn.Dropout(proj_drop)
|
| 99 |
+
self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
|
| 100 |
+
self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 101 |
+
self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 102 |
+
self.proj = nn.Linear(dim, dim)
|
| 103 |
+
self.rope = RotaryPosEmb(dim, max_seq_len=max_seq_len)
|
| 104 |
+
|
| 105 |
+
def forward(self, x, mask=None):
|
| 106 |
+
B, S, C = x.shape
|
| 107 |
+
qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
|
| 108 |
+
q, k, v = qkv.unbind(0)
|
| 109 |
+
q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
|
| 110 |
+
if self.training:
|
| 111 |
+
x = F.scaled_dot_product_attention(q, k, v, attn_mask=mask, dropout_p=self.attn_drop)
|
| 112 |
+
else:
|
| 113 |
+
x = F.scaled_dot_product_attention(q, k, v)
|
| 114 |
+
return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
class Mlp(nn.Module):
|
| 118 |
+
"""The ViT MLP (timm.layers.Mlp) as ODE Policy's utils/models/layers.py, linear layers only."""
|
| 119 |
+
|
| 120 |
+
def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.):
|
| 121 |
+
super().__init__()
|
| 122 |
+
out_features = out_features or in_features
|
| 123 |
+
hidden_features = hidden_features or in_features
|
| 124 |
+
self.fc1 = nn.Linear(in_features, hidden_features)
|
| 125 |
+
self.act = act_layer()
|
| 126 |
+
self.drop1 = nn.Dropout(drop)
|
| 127 |
+
self.norm = nn.Identity()
|
| 128 |
+
self.fc2 = nn.Linear(hidden_features, out_features)
|
| 129 |
+
self.drop2 = nn.Dropout(drop)
|
| 130 |
+
|
| 131 |
+
def forward(self, x):
|
| 132 |
+
return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
class AdaLNBlock(nn.Module):
|
| 136 |
+
"""Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022); ada_ln starts at zero (adaLN-zero)."""
|
| 137 |
+
|
| 138 |
+
def __init__(self, dim, num_heads, mlp_ratio=4., dropout=0.):
|
| 139 |
+
super().__init__()
|
| 140 |
+
self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 141 |
+
self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
|
| 142 |
+
self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 143 |
+
self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
|
| 144 |
+
act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
|
| 145 |
+
self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
|
| 146 |
+
self.dim = dim
|
| 147 |
+
nn.init.constant_(self.ada_ln[-1].weight, 0)
|
| 148 |
+
nn.init.constant_(self.ada_ln[-1].bias, 0)
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
class DiTVectorField(nn.Module):
|
| 152 |
+
"""ODE-DiT: the vector field built from DiT blocks. [a, s] is projected to n_tokens tokens; every block's
|
| 153 |
+
LayerNorm scales/shifts/gates are regressed from the condition c (no time input: the field is autonomous); the
|
| 154 |
+
tokens are pooled for the output. Same interface and zero-initialized output as VectorField."""
|
| 155 |
+
|
| 156 |
+
def __init__(self, cond_dim, state_dim, hidden_dim, num_layers, out_dim, pose_dim, num_heads=8, n_tokens=4,
|
| 157 |
+
mlp_ratio=4.0):
|
| 158 |
+
super().__init__()
|
| 159 |
+
self.n_tokens, self.hidden_dim, self.feat_dim = n_tokens, hidden_dim, hidden_dim
|
| 160 |
+
self.inp = nn.Linear(pose_dim + state_dim, n_tokens * hidden_dim)
|
| 161 |
+
self.pos = nn.Parameter(torch.zeros(1, n_tokens, hidden_dim))
|
| 162 |
+
self.cond = nn.Linear(cond_dim, hidden_dim)
|
| 163 |
+
self.blocks = nn.ModuleList([AdaLNBlock(hidden_dim, num_heads, mlp_ratio) for _ in range(num_layers)])
|
| 164 |
+
self.norm = nn.LayerNorm(hidden_dim)
|
| 165 |
+
self.out = nn.Linear(hidden_dim, out_dim)
|
| 166 |
+
nn.init.zeros_(self.out.weight)
|
| 167 |
+
nn.init.zeros_(self.out.bias)
|
| 168 |
+
|
| 169 |
+
def precompute(self, c):
|
| 170 |
+
"""The adaLN scales/shifts/gates depend on c only: computed once per integration."""
|
| 171 |
+
cc = F.silu(self.cond(c))
|
| 172 |
+
return [blk.ada_ln(cc).view(c.shape[0], 6, 1, self.hidden_dim).unbind(1) for blk in self.blocks]
|
| 173 |
+
|
| 174 |
+
def forward(self, a, s, c, film=None):
|
| 175 |
+
B = a.shape[0]
|
| 176 |
+
x = self.inp(torch.cat([a, s], dim=-1)).view(B, self.n_tokens, self.hidden_dim) + self.pos
|
| 177 |
+
mods = self.precompute(c) if film is None else film
|
| 178 |
+
for blk, (g1, g2, sc1, sc2, sh1, sh2) in zip(self.blocks, mods):
|
| 179 |
+
x = x + blk.attn(blk.norm1(x) * (1 + sc1) + sh1) * g1
|
| 180 |
+
x = x + blk.mlp(blk.norm2(x) * (1 + sc2) + sh2) * g2
|
| 181 |
+
return self.out(self.norm(x).mean(dim=1))
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/policies.py
ADDED
|
@@ -0,0 +1,459 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
- `fm_dit_v2`, `fm_dit_v2.FMDiTv2Policy` (FLASH-Policy @ f47e490's own FM-DiT, owner 2026-11-25): flow matching from
|
| 11 |
+
noise as `fm_dit`, on FLASH's networks (DiT 512, one from-scratch GroupNorm ResNet18 per camera) and recipe; a
|
| 12 |
+
separate entry: `fm_dit` (v1) keeps its checkpoints and behaviour (fm_dit_v2.py's docstring).
|
| 13 |
+
|
| 14 |
+
Two follow ODE Policy's G1 port (Jia et al., github.com/NTUMARS/ODE-POLICY branch real-g1 @fd8bec47, maintained in
|
| 15 |
+
HumanWAM as packages/ode_g1: model.py `SonicLatentODE`, data.py), with its GR00T backbone replaced by ODE Policy's own
|
| 16 |
+
image encoder (ode_policy main @cea26d94, ode.yaml), each in its authors' configuration (not aligned with the others):
|
| 17 |
+
|
| 18 |
+
- `ode_mlp`, `ODEPolicy`: the body part of the action (G1: the SONIC motion token) is an ODE state, db/dt =
|
| 19 |
+
f(b, s | c) with a FiLM residual MLP field, integrated with Euler one row per step from the body row executed at t-1;
|
| 20 |
+
the hands are decoded from c; masked MSE of the integrated path and the hands;
|
| 21 |
+
- `ode_dit`, `ODEDiTPolicy`: the same with ODE Policy's DiT (adaLN) field (ode_dit.yaml).
|
| 22 |
+
|
| 23 |
+
Contract (every policy): `compute_loss(images, state, action) -> (loss, metrics)` and
|
| 24 |
+
`predict(images, state, generator) -> (action, normalized action)`; images (B, n_cameras, 3, H, W) float in [0, 1],
|
| 25 |
+
state (B, state_dim) and action (B, lead_rows + horizon, action_dim) in physical units. Each policy owns its
|
| 26 |
+
`Normalizer` (DextraVerse's LinearNormalizer 'limits' mode: state and action to [-1, 1] per dimension, constant
|
| 27 |
+
dimensions shifted to 0), saved in its state dict. One observation frame (n_obs_steps 1: the current images and
|
| 28 |
+
state); the chunk's row 0 is the action of the observation's own frame (the LeRobot rows t..t+horizon-1). A policy
|
| 29 |
+
with `lead_rows` 1 (the ODE policies) also reads the row before, t-1, and the rows' validity (ChunkDataset `lead`),
|
| 30 |
+
and its `predict` takes `previous`, the action row executed at t-1. The ODE policies normalize with their own bounds
|
| 31 |
+
(q01 / q99, the DFX6 hands fixed at [0, 1], clipped to [-5, 5]). The configuration that builds a policy is a plain
|
| 32 |
+
dict (`PolicyConfig` fields), stored in the checkpoint.
|
| 33 |
+
|
| 34 |
+
The ResNet18 of FM-DiT, DP and ACT starts from torchvision's ImageNet-1k weights (`backbone_weights` 'IMAGENET1K_V1',
|
| 35 |
+
the default since 2026-11-16) and is fine-tuned with the policy, its BatchNorm frozen at the pretrained statistics
|
| 36 |
+
(`backbone_norm` 'frozen_bn', as ACT always does); `backbone_weights` None trains from scratch with DextraVerse's
|
| 37 |
+
GroupNorm encoder (FM-DiT, DP) or ACT's frozen-BatchNorm one. The ODE policies default to ODE Policy's encoder: one
|
| 38 |
+
ResNet18 per camera, from scratch, GroupNorm. A checkpoint load builds the structure without fetching any weights.
|
| 39 |
+
"""
|
| 40 |
+
from __future__ import annotations
|
| 41 |
+
|
| 42 |
+
from dataclasses import asdict, dataclass, field, replace
|
| 43 |
+
|
| 44 |
+
import torch
|
| 45 |
+
import torch.nn as nn
|
| 46 |
+
import torch.nn.functional as F
|
| 47 |
+
|
| 48 |
+
from .act_nets import DETRVAE, Transformer, build_backbone, build_style_encoder, kl_divergence
|
| 49 |
+
from .nets import IMAGENET_MEAN, IMAGENET_STD, FlowTransformer, ImageStateEncoder
|
| 50 |
+
from .ode_nets import DiTVectorField, VectorField
|
| 51 |
+
|
| 52 |
+
ODE_POLICIES = ('ode_mlp', 'ode_dit')
|
| 53 |
+
# Defaults that differ by policy. horizon and backbone_weights resolve in PolicyConfig; backbone_lr_scale (and amp)
|
| 54 |
+
# are the training script's. The ODE policies: 16-row chunks (the G1 port's H16; its deployment re-plans about 4 rows
|
| 55 |
+
# before a chunk ends, as the benchmark clients' query every 12 rows), ODE Policy's encoder from scratch at the full
|
| 56 |
+
# learning rate (ode.yaml, default_train.yaml). Mixed precision as the G1 port: the encoder under bf16 autocast, the
|
| 57 |
+
# ODE head in FP32.
|
| 58 |
+
# The training recipe of ODE Policy's default_train.yaml (the same NTUMARS trainer as FLASH's): seed 42, lr 1e-4 at
|
| 59 |
+
# the benchmark's batch 512 without batch scaling (as every model of the protocol, HumanWAM REPRODUCIBILITY.md
|
| 60 |
+
# section 4), 500-step warm-up then diffusers' cosine, Diffusion Policy's EMAModel as upstream counts it.
|
| 61 |
+
POLICY_DEFAULTS = {name: dict(horizon=16, backbone_weights=None, backbone_lr_scale=1.0, seed=42,
|
| 62 |
+
schedule='diffusers_cosine', ema_schedule='diffusion_policy_emamodel')
|
| 63 |
+
for name in ODE_POLICIES}
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
@dataclass
|
| 67 |
+
class PolicyConfig:
|
| 68 |
+
"""Everything that builds a policy (stored in the checkpoint's config.json). Model defaults are DextraVerse's
|
| 69 |
+
configs/algorithm/il/model/{fm_dit,ddpm_dit,act}.yaml and, for the ODE policies (`ode_*` fields), ODE Policy's G1
|
| 70 |
+
port (HumanWAM packages/ode_g1 configs/g1.yaml `head`) and ode_dit.yaml for the DiT field."""
|
| 71 |
+
policy: str
|
| 72 |
+
n_cameras: int
|
| 73 |
+
state_dim: int
|
| 74 |
+
action_dim: int
|
| 75 |
+
horizon: int | None = None # None: the policy's default (POLICY_DEFAULTS, else 16)
|
| 76 |
+
backbone: str = 'resnet18'
|
| 77 |
+
# torchvision weights to initialize from; None = from scratch; 'default': IMAGENET1K_V1, the ODE policies None
|
| 78 |
+
backbone_weights: str | None = 'default'
|
| 79 |
+
backbone_norm: str | None = None # 'frozen_bn' or 'group'; None: frozen_bn when pretrained or ACT, else group
|
| 80 |
+
# FM-DiT / DP (DiT backbone)
|
| 81 |
+
hidden_dim: int = 384
|
| 82 |
+
num_layers: int = 4
|
| 83 |
+
num_heads: int = 8
|
| 84 |
+
mlp_ratio: float = 4.0
|
| 85 |
+
dropout: float = 0.1
|
| 86 |
+
time_embed_dim: int = 128
|
| 87 |
+
num_inference_steps: int | None = None # None: FM-DiT 10 midpoint steps, DP every training timestep (100)
|
| 88 |
+
# DP noise schedule (diffusers DDPMScheduler)
|
| 89 |
+
num_train_timesteps: int = 100
|
| 90 |
+
beta_schedule: str = 'squaredcos_cap_v2'
|
| 91 |
+
prediction_type: str = 'epsilon'
|
| 92 |
+
clip_sample: bool = True
|
| 93 |
+
# ACT
|
| 94 |
+
act_hidden_dim: int = 512
|
| 95 |
+
dim_feedforward: int = 3200
|
| 96 |
+
enc_layers: int = 4
|
| 97 |
+
dec_layers: int = 7
|
| 98 |
+
nheads: int = 8
|
| 99 |
+
latent_dim: int = 32
|
| 100 |
+
kl_weight: float = 10.0
|
| 101 |
+
# ODE policies (G1 port, configs/g1.yaml head: width 512, 4 FiLM layers, cond 512, field_scale 1). ode_body_dim:
|
| 102 |
+
# the leading action columns integrated as the ODE state, the rest decoded from the condition (G1: the token 64 and
|
| 103 |
+
# the DFX6 12; train.py sets it to the contract's first action group, H2: body_target 31). ODE-DiT: ODE Policy's
|
| 104 |
+
# DiT field, 512 wide, 4 blocks, 8 heads, 4 tokens (ode_dit.yaml).
|
| 105 |
+
ode_body_dim: int | None = None
|
| 106 |
+
ode_width: int = 512
|
| 107 |
+
ode_layers: int = 4
|
| 108 |
+
ode_cond_dim: int = 512
|
| 109 |
+
ode_field_scale: float = 1.0
|
| 110 |
+
ode_dit_hidden: int = 512
|
| 111 |
+
ode_dit_layers: int = 4
|
| 112 |
+
ode_dit_heads: int = 8
|
| 113 |
+
ode_dit_tokens: int = 4
|
| 114 |
+
extra: dict = field(default_factory=dict)
|
| 115 |
+
|
| 116 |
+
def __post_init__(self):
|
| 117 |
+
defaults = POLICY_DEFAULTS.get(self.policy, {})
|
| 118 |
+
if self.horizon is None:
|
| 119 |
+
self.horizon = int(defaults.get('horizon', 16))
|
| 120 |
+
if self.backbone_weights == 'default':
|
| 121 |
+
self.backbone_weights = defaults.get('backbone_weights', 'IMAGENET1K_V1')
|
| 122 |
+
if self.backbone_norm is None:
|
| 123 |
+
self.backbone_norm = 'frozen_bn' if self.backbone_weights or self.policy == 'act' else 'group'
|
| 124 |
+
if self.policy == 'act' and self.backbone_norm != 'frozen_bn':
|
| 125 |
+
raise ValueError("ACT's backbone keeps frozen BatchNorm (backbone_norm 'frozen_bn')")
|
| 126 |
+
|
| 127 |
+
@classmethod
|
| 128 |
+
def from_dict(cls, data: dict) -> PolicyConfig:
|
| 129 |
+
known = {k: v for k, v in data.items() if k in cls.__dataclass_fields__}
|
| 130 |
+
return cls(**known)
|
| 131 |
+
|
| 132 |
+
def to_dict(self) -> dict:
|
| 133 |
+
return asdict(self)
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
class Normalizer(nn.Module):
|
| 137 |
+
"""Per-dimension affine map to [-1, 1] from the training data's min/max (DextraVerse LinearNormalizer, mode
|
| 138 |
+
'limits', fit_offset, range_eps 1e-4): x_n = x * scale + offset; a dimension whose range is below range_eps gets
|
| 139 |
+
scale 1 and maps its value to 0."""
|
| 140 |
+
|
| 141 |
+
def __init__(self, dim: int):
|
| 142 |
+
super().__init__()
|
| 143 |
+
self.register_buffer('scale', torch.ones(dim))
|
| 144 |
+
self.register_buffer('offset', torch.zeros(dim))
|
| 145 |
+
|
| 146 |
+
@torch.no_grad()
|
| 147 |
+
def fit(self, minimum, maximum, range_eps=1e-4):
|
| 148 |
+
lo = torch.as_tensor(minimum, dtype=torch.float32)
|
| 149 |
+
hi = torch.as_tensor(maximum, dtype=torch.float32)
|
| 150 |
+
span = hi - lo
|
| 151 |
+
ignore = span < range_eps
|
| 152 |
+
span[ignore] = 2.0
|
| 153 |
+
scale = 2.0 / span
|
| 154 |
+
offset = -1.0 - scale * lo
|
| 155 |
+
offset[ignore] = -lo[ignore]
|
| 156 |
+
self.scale.copy_(scale)
|
| 157 |
+
self.offset.copy_(offset)
|
| 158 |
+
|
| 159 |
+
def normalize(self, x):
|
| 160 |
+
return x * self.scale + self.offset
|
| 161 |
+
|
| 162 |
+
def unnormalize(self, x):
|
| 163 |
+
return (x - self.offset) / self.scale
|
| 164 |
+
|
| 165 |
+
|
| 166 |
+
class BasePolicy(nn.Module):
|
| 167 |
+
name = ''
|
| 168 |
+
backbone_prefix = '' # state-dict prefix of the image backbone (its own learning rate in training)
|
| 169 |
+
lead_rows = 0 # action rows before the observation's frame that a training item carries (ODE: 1, the start)
|
| 170 |
+
|
| 171 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 172 |
+
super().__init__()
|
| 173 |
+
self.cfg = cfg
|
| 174 |
+
self.state_norm = Normalizer(cfg.state_dim)
|
| 175 |
+
self.action_norm = Normalizer(cfg.action_dim)
|
| 176 |
+
|
| 177 |
+
def fit_normalizers(self, stats: dict):
|
| 178 |
+
self.state_norm.fit(stats['state']['min'], stats['state']['max'])
|
| 179 |
+
self.action_norm.fit(stats['action']['min'], stats['action']['max'])
|
| 180 |
+
|
| 181 |
+
@property
|
| 182 |
+
def sampling_steps(self) -> int:
|
| 183 |
+
return 1
|
| 184 |
+
|
| 185 |
+
def compute_loss(self, images, state, action):
|
| 186 |
+
raise NotImplementedError
|
| 187 |
+
|
| 188 |
+
def predict(self, images, state, generator=None):
|
| 189 |
+
raise NotImplementedError
|
| 190 |
+
|
| 191 |
+
|
| 192 |
+
class DiTPolicy(BasePolicy):
|
| 193 |
+
"""Shared by FM-DiT and DP: the shared-ResNet image + state encoder and the AdaLN DiT over the action chunk
|
| 194 |
+
(global observation conditioning, DextraVerse obs_as_global_cond)."""
|
| 195 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 196 |
+
|
| 197 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 198 |
+
super().__init__(cfg)
|
| 199 |
+
self.obs_encoder = ImageStateEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone,
|
| 200 |
+
weights=init_weights, norm=cfg.backbone_norm)
|
| 201 |
+
self.model = FlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
|
| 202 |
+
hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim, num_layers=cfg.num_layers,
|
| 203 |
+
num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
|
| 204 |
+
time_embed_dim=cfg.time_embed_dim)
|
| 205 |
+
|
| 206 |
+
def condition(self, images, state):
|
| 207 |
+
return self.obs_encoder(images, self.state_norm.normalize(state))
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
class FMDiTPolicy(DiTPolicy):
|
| 211 |
+
"""Flow-matching DiT (DextraVerse FlowMatchingDiTImagePolicy): x_t = (1 - t) noise + t a, t ~ U(0, 1), the DiT
|
| 212 |
+
regresses the velocity a - noise; sampling integrates t = 0 -> 1 with the midpoint rule."""
|
| 213 |
+
name = 'fm_dit'
|
| 214 |
+
|
| 215 |
+
@property
|
| 216 |
+
def sampling_steps(self) -> int:
|
| 217 |
+
return int(self.cfg.num_inference_steps or 10)
|
| 218 |
+
|
| 219 |
+
def compute_loss(self, images, state, action):
|
| 220 |
+
cond = self.condition(images, state)
|
| 221 |
+
target = self.action_norm.normalize(action)
|
| 222 |
+
noise = torch.randn_like(target)
|
| 223 |
+
t = torch.rand(target.shape[0], device=target.device)
|
| 224 |
+
te = t.view(-1, 1, 1)
|
| 225 |
+
x_t = (1 - te) * noise + te * target
|
| 226 |
+
loss = F.mse_loss(self.model(x_t, t, cond), target - noise)
|
| 227 |
+
return loss, dict(fm=float(loss.detach()))
|
| 228 |
+
|
| 229 |
+
@torch.no_grad()
|
| 230 |
+
def predict(self, images, state, generator=None):
|
| 231 |
+
cond = self.condition(images, state)
|
| 232 |
+
B, steps = images.shape[0], self.sampling_steps
|
| 233 |
+
x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=cond.device, dtype=cond.dtype,
|
| 234 |
+
generator=generator)
|
| 235 |
+
times = torch.linspace(0, 1.0, steps + 1, device=cond.device)
|
| 236 |
+
for i in range(steps):
|
| 237 |
+
t0 = times[i].view(1).expand(B)
|
| 238 |
+
t1 = times[i + 1].view(1).expand(B)
|
| 239 |
+
dt = (t1 - t0).view(-1, 1, 1)
|
| 240 |
+
x_mid = x + self.model(x, t0, cond) * dt / 2
|
| 241 |
+
x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond)
|
| 242 |
+
return self.action_norm.unnormalize(x), x
|
| 243 |
+
|
| 244 |
+
|
| 245 |
+
class DPPolicy(DiTPolicy):
|
| 246 |
+
"""Diffusion Policy with the DiT backbone (DextraVerse DiffusionDiTImagePolicy, ddpm_dit.yaml): DDPM with 100
|
| 247 |
+
training steps, squaredcos_cap_v2 betas, fixed_small variance, clipped samples, epsilon prediction; sampled with
|
| 248 |
+
every training step (100 DiT calls)."""
|
| 249 |
+
name = 'dp'
|
| 250 |
+
|
| 251 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 252 |
+
super().__init__(cfg, init_weights)
|
| 253 |
+
from diffusers.schedulers.scheduling_ddpm import DDPMScheduler
|
| 254 |
+
self.noise_scheduler = DDPMScheduler(num_train_timesteps=cfg.num_train_timesteps, beta_start=0.0001,
|
| 255 |
+
beta_end=0.02, beta_schedule=cfg.beta_schedule,
|
| 256 |
+
variance_type='fixed_small', clip_sample=cfg.clip_sample,
|
| 257 |
+
prediction_type=cfg.prediction_type)
|
| 258 |
+
|
| 259 |
+
@property
|
| 260 |
+
def sampling_steps(self) -> int:
|
| 261 |
+
return int(self.cfg.num_inference_steps or self.cfg.num_train_timesteps)
|
| 262 |
+
|
| 263 |
+
def compute_loss(self, images, state, action):
|
| 264 |
+
cond = self.condition(images, state)
|
| 265 |
+
target = self.action_norm.normalize(action)
|
| 266 |
+
noise = torch.randn_like(target)
|
| 267 |
+
t = torch.randint(0, self.noise_scheduler.config.num_train_timesteps, (target.shape[0],),
|
| 268 |
+
device=target.device).long()
|
| 269 |
+
noisy = self.noise_scheduler.add_noise(target, noise, t)
|
| 270 |
+
pred = self.model(noisy, t, cond)
|
| 271 |
+
goal = noise if self.cfg.prediction_type == 'epsilon' else target
|
| 272 |
+
loss = F.mse_loss(pred, goal)
|
| 273 |
+
return loss, dict(ddpm=float(loss.detach()))
|
| 274 |
+
|
| 275 |
+
@torch.no_grad()
|
| 276 |
+
def predict(self, images, state, generator=None):
|
| 277 |
+
cond = self.condition(images, state)
|
| 278 |
+
scheduler = self.noise_scheduler
|
| 279 |
+
x = torch.randn((images.shape[0], self.cfg.horizon, self.cfg.action_dim), device=cond.device,
|
| 280 |
+
dtype=cond.dtype, generator=generator)
|
| 281 |
+
scheduler.set_timesteps(self.sampling_steps, device=cond.device)
|
| 282 |
+
for t in scheduler.timesteps:
|
| 283 |
+
x = scheduler.step(self.model(x, t.to(cond.device), cond), t, x, generator=generator).prev_sample
|
| 284 |
+
return self.action_norm.unnormalize(x), x
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
class ACTPolicy(BasePolicy):
|
| 288 |
+
"""ACT (DextraVerse ACTImagePolicy, act.yaml): ImageNet-normalized cameras through one ResNet with frozen
|
| 289 |
+
BatchNorm (spatial tokens, no pooling), the normalized state as qpos, a CVAE style encoder over the action chunk in
|
| 290 |
+
training, the DETR decoder with `horizon` queries; loss L1 + kl_weight x KL; inference decodes from the zero
|
| 291 |
+
latent (deterministic)."""
|
| 292 |
+
name = 'act'
|
| 293 |
+
backbone_prefix = 'model.backbone.'
|
| 294 |
+
|
| 295 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 296 |
+
super().__init__(cfg)
|
| 297 |
+
transformer = Transformer(d_model=cfg.act_hidden_dim, nhead=cfg.nheads, num_encoder_layers=cfg.enc_layers,
|
| 298 |
+
num_decoder_layers=cfg.dec_layers, dim_feedforward=cfg.dim_feedforward,
|
| 299 |
+
dropout=cfg.dropout, return_intermediate_dec=False)
|
| 300 |
+
self.model = DETRVAE(build_backbone(cfg.backbone, hidden_dim=cfg.act_hidden_dim, weights=init_weights),
|
| 301 |
+
transformer,
|
| 302 |
+
build_style_encoder(cfg.act_hidden_dim, cfg.nheads, cfg.dim_feedforward, cfg.enc_layers,
|
| 303 |
+
cfg.dropout),
|
| 304 |
+
qpos_dim=cfg.state_dim, action_dim=cfg.action_dim, num_queries=cfg.horizon,
|
| 305 |
+
latent_dim=cfg.latent_dim)
|
| 306 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 1, 3, 1, 1), persistent=False)
|
| 307 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 1, 3, 1, 1), persistent=False)
|
| 308 |
+
|
| 309 |
+
def compute_loss(self, images, state, action):
|
| 310 |
+
target = self.action_norm.normalize(action)
|
| 311 |
+
a_hat, (mu, logvar) = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std,
|
| 312 |
+
actions=target)
|
| 313 |
+
l1 = F.l1_loss(a_hat, target)
|
| 314 |
+
kl = kl_divergence(mu, logvar)
|
| 315 |
+
return l1 + self.cfg.kl_weight * kl, dict(l1=float(l1.detach()), kl=float(kl.detach()))
|
| 316 |
+
|
| 317 |
+
@torch.no_grad()
|
| 318 |
+
def predict(self, images, state, generator=None): # noqa: ARG002 - deterministic (zero latent)
|
| 319 |
+
a_hat, _ = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std)
|
| 320 |
+
return self.action_norm.unnormalize(a_hat), a_hat
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
class ODEPolicy(BasePolicy):
|
| 324 |
+
"""ODE policy as ODE Policy's G1 port (`SonicLatentODE`): the body part b of the action row (the first
|
| 325 |
+
ode_body_dim columns; G1 the SONIC motion token 64) is integrated with Euler, one row per unit of time,
|
| 326 |
+
b_{k+1} = b_k + field_scale * f(b_k, s | c), from b_0 = the body row before the chunk; the remaining columns (G1:
|
| 327 |
+
the measured DFX6 12) are decoded from c for every row (linear, SiLU, linear; continuous, no sigmoid). c =
|
| 328 |
+
Linear(LayerNorm(image features)): one ResNet18 per view (ODE Policy's encoder, in place of the G1 port's GR00T
|
| 329 |
+
reader); the state enters the field only, never the condition or the hands.
|
| 330 |
+
|
| 331 |
+
Normalization (the G1 port's): per-dimension q01 / q99 of the training rows to [-1, 1], the UNIT_RANGE columns
|
| 332 |
+
(DFX6) fixed at [0, 1], constant dimensions shifted to 0, clipped to [-5, 5]; the executed body row at inference is
|
| 333 |
+
not clipped (a carried endpoint may leave the interval). Start: training teacher-forces b_0 = the recorded body row
|
| 334 |
+
t-1, the normalized-zero BOS at an episode's first frame; execution starts from the body part of the row executed
|
| 335 |
+
at t-1 (the interface's past_actions[-1]), BOS without one. Loss: masked MSE in normalized units (rows past the
|
| 336 |
+
episode's end left out), body and hands weighted by their widths. The ODE head runs in FP32 (the encoder under the
|
| 337 |
+
caller's autocast). Deterministic; no start perturbation (the G1 port's)."""
|
| 338 |
+
name = 'ode_mlp'
|
| 339 |
+
field_arch = 'mlp'
|
| 340 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 341 |
+
lead_rows = 1
|
| 342 |
+
CLIP = 5.0
|
| 343 |
+
|
| 344 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 345 |
+
super().__init__(cfg)
|
| 346 |
+
if cfg.ode_body_dim is None or not 0 < cfg.ode_body_dim <= cfg.action_dim:
|
| 347 |
+
raise ValueError(f'ode_body_dim must be in 1..{cfg.action_dim}, got {cfg.ode_body_dim}')
|
| 348 |
+
body, hands = cfg.ode_body_dim, cfg.action_dim - cfg.ode_body_dim
|
| 349 |
+
self.obs_encoder = ImageStateEncoder(cfg.n_cameras, 0, backbone=cfg.backbone, weights=init_weights,
|
| 350 |
+
norm=cfg.backbone_norm, shared=False) # images only
|
| 351 |
+
self.context_norm = nn.LayerNorm(self.obs_encoder.feature_dim)
|
| 352 |
+
self.context_proj = nn.Linear(self.obs_encoder.feature_dim, cfg.ode_cond_dim)
|
| 353 |
+
if self.field_arch == 'dit':
|
| 354 |
+
self.field = DiTVectorField(cfg.ode_cond_dim, cfg.state_dim, cfg.ode_dit_hidden, cfg.ode_dit_layers, body,
|
| 355 |
+
body, num_heads=cfg.ode_dit_heads, n_tokens=cfg.ode_dit_tokens)
|
| 356 |
+
else:
|
| 357 |
+
self.field = VectorField(cfg.ode_cond_dim, cfg.state_dim, cfg.ode_width, cfg.ode_layers, body, body)
|
| 358 |
+
self.hand_hidden = nn.Linear(cfg.ode_cond_dim, cfg.ode_cond_dim)
|
| 359 |
+
self.hand_output = nn.Linear(cfg.ode_cond_dim, cfg.horizon * hands) if hands else None
|
| 360 |
+
|
| 361 |
+
def fit_normalizers(self, stats: dict):
|
| 362 |
+
"""The G1 port's bounds: q01 / q99 (from stats, else min / max), the stats' unit_dims fixed at [0, 1]."""
|
| 363 |
+
for key, norm in (('state', self.state_norm), ('action', self.action_norm)):
|
| 364 |
+
entry = stats[key]
|
| 365 |
+
lo = torch.as_tensor(entry.get('q01', entry['min']), dtype=torch.float64).clone()
|
| 366 |
+
hi = torch.as_tensor(entry.get('q99', entry['max']), dtype=torch.float64).clone()
|
| 367 |
+
unit = torch.as_tensor(entry.get('unit_dims', []), dtype=torch.long)
|
| 368 |
+
lo[unit], hi[unit] = 0.0, 1.0
|
| 369 |
+
norm.fit(lo, hi)
|
| 370 |
+
|
| 371 |
+
@property
|
| 372 |
+
def sampling_steps(self) -> int:
|
| 373 |
+
"""Euler steps (field calls) per query."""
|
| 374 |
+
return int(self.cfg.horizon)
|
| 375 |
+
|
| 376 |
+
def features(self, images):
|
| 377 |
+
return self.obs_encoder(images, images.new_zeros(images.shape[0], 0))
|
| 378 |
+
|
| 379 |
+
def head(self, features, s, b0, n_steps):
|
| 380 |
+
"""FP32: (body path (B, n_steps, body), hands (B, n_steps, hands)) in normalized units."""
|
| 381 |
+
cfg = self.cfg
|
| 382 |
+
c = self.context_proj(self.context_norm(features.float()))
|
| 383 |
+
film = self.field.precompute(c) # c is fixed over the chunk
|
| 384 |
+
b, path = b0, []
|
| 385 |
+
for _ in range(n_steps): # Euler, dt = one row
|
| 386 |
+
b = b + cfg.ode_field_scale * self.field(b, s, c, film)
|
| 387 |
+
path.append(b)
|
| 388 |
+
path = torch.stack(path, dim=1)
|
| 389 |
+
hands = cfg.action_dim - cfg.ode_body_dim
|
| 390 |
+
if not hands:
|
| 391 |
+
return path, path[..., :0]
|
| 392 |
+
out = self.hand_output(F.silu(self.hand_hidden(c))).view(c.shape[0], cfg.horizon, hands)
|
| 393 |
+
return path, out[:, :n_steps]
|
| 394 |
+
|
| 395 |
+
def compute_loss(self, images, state, action, valid=None):
|
| 396 |
+
cfg = self.cfg
|
| 397 |
+
H, body = cfg.horizon, cfg.ode_body_dim
|
| 398 |
+
if action.shape[1] != H + 1:
|
| 399 |
+
raise ValueError(f'the ODE policy trains on the row before + {H} rows, got {action.shape[1]} rows')
|
| 400 |
+
valid = torch.ones(action.shape[:2], device=action.device) if valid is None else valid.to(action.device)
|
| 401 |
+
features = self.features(images)
|
| 402 |
+
with torch.autocast(device_type=images.device.type, enabled=False):
|
| 403 |
+
s = self.state_norm.normalize(state.float()).clamp(-self.CLIP, self.CLIP)
|
| 404 |
+
nact = self.action_norm.normalize(action.float()).clamp(-self.CLIP, self.CLIP)
|
| 405 |
+
b0 = nact[:, 0, :body] * valid[:, :1].float() # BOS (normalized zero) at an episode's first frame
|
| 406 |
+
path, hands = self.head(features, s, b0, H)
|
| 407 |
+
target, mask = nact[:, 1:], valid[:, 1:, None].float()
|
| 408 |
+
|
| 409 |
+
def masked(pred, goal):
|
| 410 |
+
m = mask.expand_as(goal)
|
| 411 |
+
return ((pred - goal).square() * m).sum() / m.sum().clamp_min(1)
|
| 412 |
+
|
| 413 |
+
body_loss = masked(path, target[..., :body])
|
| 414 |
+
hand_loss = masked(hands, target[..., body:]) if hands.shape[-1] else body_loss.new_zeros(())
|
| 415 |
+
loss = (body * body_loss + (cfg.action_dim - body) * hand_loss) / cfg.action_dim
|
| 416 |
+
return loss, dict(body=float(body_loss.detach()), hand=float(hand_loss.detach()))
|
| 417 |
+
|
| 418 |
+
@torch.no_grad()
|
| 419 |
+
def predict(self, images, state, generator=None, previous=None, has_previous=None): # noqa: ARG002
|
| 420 |
+
"""previous: (B, action_dim) physical, the row executed at t-1 (its body part is the start); None, or a False
|
| 421 |
+
in has_previous (B,), starts from the BOS."""
|
| 422 |
+
cfg = self.cfg
|
| 423 |
+
features = self.features(images)
|
| 424 |
+
with torch.autocast(device_type=images.device.type, enabled=False):
|
| 425 |
+
s = self.state_norm.normalize(state.float()).clamp(-self.CLIP, self.CLIP)
|
| 426 |
+
b0 = features.new_zeros(images.shape[0], cfg.ode_body_dim, dtype=torch.float32)
|
| 427 |
+
if previous is not None:
|
| 428 |
+
start = self.action_norm.normalize(previous.to(device=images.device, dtype=torch.float32))
|
| 429 |
+
keep = (torch.ones(images.shape[0], device=images.device) if has_previous is None else
|
| 430 |
+
has_previous.to(images.device).float())
|
| 431 |
+
b0 = start[:, :cfg.ode_body_dim] * keep[:, None] # unclipped carry
|
| 432 |
+
path, hands = self.head(features, s, b0, cfg.horizon)
|
| 433 |
+
raw = torch.cat([path, hands], dim=-1)
|
| 434 |
+
return self.action_norm.unnormalize(raw), raw
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
class ODEDiTPolicy(ODEPolicy):
|
| 438 |
+
"""ODE-DiT: the ODE policy with ODE Policy's DiT (adaLN) vector field (ode_dit.yaml) over [b, s]."""
|
| 439 |
+
name = 'ode_dit'
|
| 440 |
+
field_arch = 'dit'
|
| 441 |
+
|
| 442 |
+
|
| 443 |
+
from .flash import FlashPolicy # noqa: E402 - FLASH (flash.py) builds on this module's Normalizer and nets.py
|
| 444 |
+
from .fm_dit_v2 import FMDiTv2Policy # noqa: E402 - FM-DiT v2 (FLASH-Policy's FM-DiT) builds on flash.py's networks
|
| 445 |
+
|
| 446 |
+
POLICIES = {cls.name: cls for cls in (FMDiTPolicy, DPPolicy, ACTPolicy, FlashPolicy, ODEPolicy, ODEDiTPolicy,
|
| 447 |
+
FMDiTv2Policy)}
|
| 448 |
+
LABELS = {'fm_dit': 'FM-DiT', 'dp': 'DP (DDPM-DiT)', 'act': 'ACT', 'flash': 'FLASH', 'ode_mlp': 'ODE-MLP',
|
| 449 |
+
'ode_dit': 'ODE-DiT', 'fm_dit_v2': 'FM-DiT v2'}
|
| 450 |
+
|
| 451 |
+
|
| 452 |
+
def build_policy(cfg: PolicyConfig | dict, pretrained: bool = True) -> BasePolicy:
|
| 453 |
+
"""The policy of `cfg`; pretrained=True initializes the backbone from cfg.backbone_weights (training),
|
| 454 |
+
False builds the same structure with random weights (a checkpoint load, which must not download anything)."""
|
| 455 |
+
cfg = cfg if isinstance(cfg, PolicyConfig) else PolicyConfig.from_dict(cfg)
|
| 456 |
+
if cfg.policy not in POLICIES:
|
| 457 |
+
raise KeyError(f'unknown baseline {cfg.policy!r}; one of {sorted(POLICIES)}')
|
| 458 |
+
cfg = replace(cfg) # a copy (resolved backbone_norm)
|
| 459 |
+
return POLICIES[cfg.policy](cfg, init_weights=cfg.backbone_weights if pretrained else None)
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/requirements.lock.txt
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# pip freeze of the hb-baselines training environment (2026-11-27, Python 3.12.12, NAS
|
| 2 |
+
# preflight-20261104T1648Z/policies-20261109/envs/hb-baselines, used by the A800 trainings). The Aliyun DSW copy
|
| 3 |
+
# /root/.venvs/hb-baselines (Python 3.12.1, pillow 12.3.0) trained the 2026-11-24..26 DSW runs.
|
| 4 |
+
anyio==4.16.0
|
| 5 |
+
av==15.1.0
|
| 6 |
+
certifi==2026.11.20
|
| 7 |
+
charset-normalizer==3.5.3
|
| 8 |
+
click==8.5.1
|
| 9 |
+
diffusers==0.35.1
|
| 10 |
+
filelock==4.3.1
|
| 11 |
+
fsspec==2026.9.0
|
| 12 |
+
h11==0.16.0
|
| 13 |
+
hf-xet==1.8.0
|
| 14 |
+
httpcore2==2.16.2
|
| 15 |
+
httpx2==2.16.2
|
| 16 |
+
huggingface_hub==2.4.0
|
| 17 |
+
idna==3.20
|
| 18 |
+
importlib_metadata==10.2.0
|
| 19 |
+
iniconfig==2.3.1
|
| 20 |
+
Jinja2==3.1.6
|
| 21 |
+
lazy-importer==0.1.0
|
| 22 |
+
MarkupSafe==3.0.4
|
| 23 |
+
mpmath==1.3.0
|
| 24 |
+
networkx==3.7
|
| 25 |
+
numpy==2.2.6
|
| 26 |
+
nvidia-cublas-cu12==12.8.4.1
|
| 27 |
+
nvidia-cuda-cupti-cu12==12.8.90
|
| 28 |
+
nvidia-cuda-nvrtc-cu12==12.8.93
|
| 29 |
+
nvidia-cuda-runtime-cu12==12.8.90
|
| 30 |
+
nvidia-cudnn-cu12==9.10.2.21
|
| 31 |
+
nvidia-cufft-cu12==11.3.3.83
|
| 32 |
+
nvidia-cufile-cu12==1.13.1.3
|
| 33 |
+
nvidia-curand-cu12==10.3.9.90
|
| 34 |
+
nvidia-cusolver-cu12==11.7.3.90
|
| 35 |
+
nvidia-cusparse-cu12==12.5.8.93
|
| 36 |
+
nvidia-cusparselt-cu12==0.7.1
|
| 37 |
+
nvidia-nccl-cu12==2.27.5
|
| 38 |
+
nvidia-nvjitlink-cu12==12.8.93
|
| 39 |
+
nvidia-nvshmem-cu12==3.3.20
|
| 40 |
+
nvidia-nvtx-cu12==12.8.90
|
| 41 |
+
opencv-python-headless==4.11.0.86
|
| 42 |
+
packaging==26.4
|
| 43 |
+
pillow==13.0.0
|
| 44 |
+
pluggy==1.7.0
|
| 45 |
+
pyarrow==23.0.1
|
| 46 |
+
Pygments==2.21.0
|
| 47 |
+
pytest==8.4.2
|
| 48 |
+
PyYAML==6.0.4
|
| 49 |
+
regex==2026.11.19
|
| 50 |
+
requests==2.34.2
|
| 51 |
+
safetensors==0.8.0
|
| 52 |
+
setuptools==84.2.1
|
| 53 |
+
sympy==1.14.0
|
| 54 |
+
torch==2.9.0+cu128
|
| 55 |
+
torchvision==0.24.0+cu128
|
| 56 |
+
tqdm==4.70.1
|
| 57 |
+
triton==3.5.0
|
| 58 |
+
truststore==0.10.5
|
| 59 |
+
typing_extensions==4.16.0
|
| 60 |
+
urllib3==2.8.0
|
| 61 |
+
zipp==4.1.2
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/requirements.txt
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# The full pinned set of the training environment (the A800 / NAS env, Python 3.12.12): requirements.lock.txt
|
| 6 |
+
# (HumanWAM hb_training/envs/hb-baselines.txt). Each run records its versions in config.json training.environment.
|
| 7 |
+
torch==2.9.0+cu128
|
| 8 |
+
torchvision==0.24.0+cu128
|
| 9 |
+
diffusers==0.35.1
|
| 10 |
+
av==15.1.0
|
| 11 |
+
pyarrow==23.0.1
|
| 12 |
+
numpy==2.2.6
|
| 13 |
+
opencv-python-headless==4.11.0.86
|
| 14 |
+
pytest==8.4.2
|
| 15 |
+
pillow==13.0.0 # the JPEG effect of the augmentation spec v2 depends on it (owner 2026-11-27: pin every version that changes the numerics)
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/runtime.py
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, a seed and, for a policy that starts from it (the ODE
|
| 13 |
+
policies, `uses_previous`), the action row executed at the frame before; it returns the physical (horizon,
|
| 14 |
+
action_dim) chunk with its normalized form; row 0 is the action of the observation's frame.
|
| 15 |
+
"""
|
| 16 |
+
from __future__ import annotations
|
| 17 |
+
|
| 18 |
+
import hashlib
|
| 19 |
+
import json
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
|
| 22 |
+
import numpy as np
|
| 23 |
+
|
| 24 |
+
FORMAT = 'hb_baselines/1'
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def sha256(path) -> str:
|
| 28 |
+
digest = hashlib.sha256()
|
| 29 |
+
with Path(path).open('rb') as stream:
|
| 30 |
+
for block in iter(lambda: stream.read(16 << 20), b''):
|
| 31 |
+
digest.update(block)
|
| 32 |
+
return digest.hexdigest()
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def save_checkpoint(folder, policy, config: dict):
|
| 36 |
+
"""Write model.pt, config.json and protocol.json of `policy` (an nn.Module) into `folder`."""
|
| 37 |
+
import torch
|
| 38 |
+
folder = Path(folder)
|
| 39 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 40 |
+
text = json.dumps(dict(config, format=FORMAT), indent=1)
|
| 41 |
+
state = {k: v.detach().cpu().contiguous() for k, v in policy.state_dict().items()}
|
| 42 |
+
torch.save(dict(format=FORMAT, config=text, state_dict=state), folder / 'model.pt.tmp')
|
| 43 |
+
(folder / 'model.pt.tmp').replace(folder / 'model.pt')
|
| 44 |
+
(folder / 'config.json').write_text(text)
|
| 45 |
+
tr, ds = config.get('training') or {}, config.get('dataset') or {}
|
| 46 |
+
# HumanWAM hb_training/REPRODUCIBILITY.md section 8 (2026-11-27): what the checkpoint is, beside config.json
|
| 47 |
+
summary = dict(task=config.get('task'), dataset_id=config.get('dataset_id'),
|
| 48 |
+
episodes=len(ds.get('train_episodes') or []), frames=ds.get('train_frames'), fps=ds.get('fps'),
|
| 49 |
+
steps=tr.get('steps'), total_steps=tr.get('total_steps'), save_steps=tr.get('save_steps'),
|
| 50 |
+
global_batch=tr.get('batch_size'), per_gpu_batch=tr.get('batch_size'), num_gpus=1,
|
| 51 |
+
gradient_accumulation_steps=1, lr=tr.get('lr'), warmup=tr.get('warmup'),
|
| 52 |
+
schedule=tr.get('schedule'), seed=tr.get('seed'), aug_seed=tr.get('aug_seed'),
|
| 53 |
+
code_commit=config.get('code_commit'), code_dirty=tr.get('code_dirty'),
|
| 54 |
+
environment=tr.get('environment'), continuation=tr.get('continuation'),
|
| 55 |
+
protocol_deviations=tr.get('protocol_deviations'), protocol_exceptions=tr.get('protocol_exceptions'))
|
| 56 |
+
(folder / 'protocol.json').write_text(json.dumps(dict(
|
| 57 |
+
format=FORMAT, step=config.get('step'), policy=config['policy']['policy'], **summary,
|
| 58 |
+
files={'model.pt': dict(bytes=(folder / 'model.pt').stat().st_size, sha256=sha256(folder / 'model.pt'))}),
|
| 59 |
+
indent=1, default=str))
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
def load_checkpoint(folder, device='cpu', verify=True):
|
| 63 |
+
"""(policy in eval mode on `device`, config dict) of a checkpoint directory."""
|
| 64 |
+
import torch
|
| 65 |
+
from .policies import build_policy
|
| 66 |
+
folder = Path(folder)
|
| 67 |
+
if verify:
|
| 68 |
+
protocol = json.loads((folder / 'protocol.json').read_text())
|
| 69 |
+
entry = protocol['files']['model.pt']
|
| 70 |
+
if (folder / 'model.pt').stat().st_size != entry['bytes']:
|
| 71 |
+
raise ValueError(f'{folder}/model.pt differs from protocol.json')
|
| 72 |
+
payload = torch.load(folder / 'model.pt', map_location='cpu', weights_only=True)
|
| 73 |
+
if payload.get('format') != FORMAT:
|
| 74 |
+
raise ValueError(f"{folder}: format {payload.get('format')!r}, expected {FORMAT}")
|
| 75 |
+
config = json.loads(payload['config'])
|
| 76 |
+
if json.loads((folder / 'config.json').read_text()) != config:
|
| 77 |
+
raise ValueError(f'{folder}: config.json differs from the one inside model.pt')
|
| 78 |
+
policy = build_policy(config['policy'], pretrained=False) # every weight comes from model.pt
|
| 79 |
+
policy.load_state_dict(payload['state_dict'], strict=True)
|
| 80 |
+
return policy.to(device).eval(), config
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
class BaselinePolicy:
|
| 84 |
+
"""A loaded checkpoint for closed-loop inference (one request at a time)."""
|
| 85 |
+
|
| 86 |
+
def __init__(self, checkpoint, device='cuda:0', policy: str | None = None, robot: str | None = None):
|
| 87 |
+
import torch
|
| 88 |
+
self.torch = torch
|
| 89 |
+
self.device = torch.device(device)
|
| 90 |
+
self.model, self.config = load_checkpoint(checkpoint, device=self.device)
|
| 91 |
+
self.checkpoint = str(Path(checkpoint).resolve())
|
| 92 |
+
name, contract = self.config['policy']['policy'], self.config['contract']
|
| 93 |
+
if policy is not None and name != policy:
|
| 94 |
+
raise ValueError(f'{checkpoint} is a {name!r} checkpoint, not {policy!r}')
|
| 95 |
+
if robot is not None and contract['robot'] != robot:
|
| 96 |
+
raise ValueError(f"{checkpoint} was trained for {contract['robot']!r} ({contract['name']}), not {robot!r}")
|
| 97 |
+
self.name, self.contract = name, contract
|
| 98 |
+
self.cameras = tuple(contract['cameras'])
|
| 99 |
+
self.image_hw = tuple(self.config['image_hw'])
|
| 100 |
+
self.horizon = int(self.config['policy']['horizon'])
|
| 101 |
+
self.state_dim, self.action_dim = int(contract['state_dim']), int(contract['action_dim'])
|
| 102 |
+
self.sampling_steps = int(self.model.sampling_steps)
|
| 103 |
+
self.task_text = self.config.get('task_text')
|
| 104 |
+
self.uses_previous = bool(getattr(self.model, 'lead_rows', 0))
|
| 105 |
+
|
| 106 |
+
def info(self) -> dict:
|
| 107 |
+
out = dict(model=self.name, checkpoint=self.checkpoint, step=self.config.get('step'),
|
| 108 |
+
contract=self.contract['name'], views=list(self.cameras), image_hw=list(self.image_hw),
|
| 109 |
+
action_chunk=self.horizon, action_dim=self.action_dim, state_dim=self.state_dim,
|
| 110 |
+
sampling_steps=self.sampling_steps, task_text=self.task_text,
|
| 111 |
+
training_data=self.config.get('dataset', {}).get('name'))
|
| 112 |
+
if self.name == 'flash':
|
| 113 |
+
out['flash'] = dict(self.model.flash, history_rows=self.model.history_span)
|
| 114 |
+
if self.uses_previous:
|
| 115 |
+
out['starts_from'] = 'the body part of the row executed at t-1, else the normalized-zero BOS'
|
| 116 |
+
return out
|
| 117 |
+
|
| 118 |
+
def history(self, past_actions, history_valid):
|
| 119 |
+
"""FLASH: (history (1, n_history, Da), has_history (1,)) tensors from the executed rows before the query
|
| 120 |
+
(past_actions (N, Da) oldest first, row N-1 = frame t-1; history_valid (N,) a contiguous valid suffix)."""
|
| 121 |
+
from .flash import history_rows
|
| 122 |
+
torch, span = self.torch, self.model.history_span
|
| 123 |
+
rows = np.asarray(past_actions, np.float32)
|
| 124 |
+
valid = np.asarray(history_valid, np.float32).reshape(-1) > 0.5
|
| 125 |
+
if rows.ndim != 2 or rows.shape[1] != self.action_dim or len(valid) != len(rows):
|
| 126 |
+
raise ValueError(f'past_actions {rows.shape} / history_valid {valid.shape}: '
|
| 127 |
+
f'expected (N, {self.action_dim})')
|
| 128 |
+
if len(rows) < span: # fewer rows than the history reaches back: the missing older rows are invalid
|
| 129 |
+
pad = span - len(rows)
|
| 130 |
+
rows = np.concatenate([np.zeros((pad, rows.shape[1]), np.float32), rows])
|
| 131 |
+
valid = np.concatenate([np.zeros(pad, bool), valid])
|
| 132 |
+
hist, has = history_rows(rows[-span:], valid[-span:], self.model.stride, self.model.n_history)
|
| 133 |
+
return (torch.from_numpy(hist)[None].to(self.device),
|
| 134 |
+
torch.tensor([bool(has)], device=self.device))
|
| 135 |
+
|
| 136 |
+
def images_tensor(self, images: dict):
|
| 137 |
+
from .data import resize_frame
|
| 138 |
+
missing = [c for c in self.cameras if c not in images]
|
| 139 |
+
if missing:
|
| 140 |
+
raise KeyError(f'missing cameras {missing}; the checkpoint reads {list(self.cameras)}')
|
| 141 |
+
frames = np.stack([resize_frame(np.asarray(images[c]), self.image_hw) for c in self.cameras])
|
| 142 |
+
x = self.torch.from_numpy(frames).to(self.device).permute(0, 3, 1, 2).float().div_(255.)
|
| 143 |
+
return x.unsqueeze(0) # (1, n_cameras, 3, h, w)
|
| 144 |
+
|
| 145 |
+
def predict(self, images: dict, state, seed: int = 0, previous=None, past_actions=None, history_valid=None):
|
| 146 |
+
"""(action (horizon, action_dim) float32 physical, normalized form (FLASH: the polynomial coefficients)).
|
| 147 |
+
The ODE policies (`uses_previous`) start from `previous`, the physical action row executed at the frame before
|
| 148 |
+
(else the last row of past_actions when history_valid marks it; with neither, their BOS). FLASH needs
|
| 149 |
+
past_actions / history_valid (the interface's executed rows before the query). The others ignore all three."""
|
| 150 |
+
torch = self.torch
|
| 151 |
+
state = np.asarray(state, np.float32).reshape(-1)
|
| 152 |
+
if state.shape != (self.state_dim,) or not np.isfinite(state).all():
|
| 153 |
+
raise ValueError(f'expected a finite state of {self.state_dim} values, got {state.shape}')
|
| 154 |
+
args, kwargs = (), {}
|
| 155 |
+
if self.uses_previous:
|
| 156 |
+
if previous is None and past_actions is not None and history_valid is not None:
|
| 157 |
+
valid = np.asarray(history_valid, np.float32).reshape(-1)
|
| 158 |
+
if len(valid) and valid[-1] > 0.5:
|
| 159 |
+
previous = np.asarray(past_actions, np.float32)[-1]
|
| 160 |
+
if previous is not None:
|
| 161 |
+
previous = np.asarray(previous, np.float32).reshape(-1)
|
| 162 |
+
if previous.shape != (self.action_dim,) or not np.isfinite(previous).all():
|
| 163 |
+
raise ValueError(f'expected a finite previous action row of {self.action_dim} values, '
|
| 164 |
+
f'got {previous.shape}')
|
| 165 |
+
kwargs['previous'] = torch.from_numpy(previous)[None].to(self.device)
|
| 166 |
+
if self.name == 'flash':
|
| 167 |
+
if past_actions is None or history_valid is None:
|
| 168 |
+
raise ValueError('FLASH needs past_actions and history_valid (the executed rows before the query)')
|
| 169 |
+
args = self.history(past_actions, history_valid)
|
| 170 |
+
generator = torch.Generator(device=self.device)
|
| 171 |
+
generator.manual_seed(int(seed) % (2 ** 63 - 1))
|
| 172 |
+
with torch.inference_mode():
|
| 173 |
+
action, raw = self.model.predict(self.images_tensor(images),
|
| 174 |
+
torch.from_numpy(state)[None].to(self.device), *args,
|
| 175 |
+
generator=generator, **kwargs)
|
| 176 |
+
action = action[0].float().cpu().numpy()
|
| 177 |
+
if action.shape != (self.horizon, self.action_dim) or not np.isfinite(action).all():
|
| 178 |
+
raise ValueError(f'invalid prediction {action.shape}')
|
| 179 |
+
return np.ascontiguousarray(action, np.float32), raw[0].float().cpu().numpy().astype(np.float32)
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/evaluation/baselines/train.py
ADDED
|
@@ -0,0 +1,923 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Train an FM-DiT, DP (DDPM-DiT), ACT, FLASH, ODE-MLP or ODE-DiT 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 |
+
FM-DiT v2 (--policy fm_dit_v2, evaluation/baselines/fm_dit_v2.py; owner 2026-11-25) is FLASH-Policy's own FM-DiT:
|
| 13 |
+
fm_dit.yaml's networks and the FLASH recipe below (FM_DIT_V2_TRAINING), on the plain 16-row chunks of every baseline;
|
| 14 |
+
it requires the in-training MSE as FLASH does. `--policy fm_dit` (v1, DextraVerse's) is unchanged.
|
| 15 |
+
|
| 16 |
+
FLASH (--policy flash, evaluation/baselines/flash.py) keeps its upstream recipe (FLASH-Policy f47e490,
|
| 17 |
+
default_train.yaml + flash.yaml) where the defaults differ: seed 42 (upstream's; the protocol keeps each model's
|
| 18 |
+
official seed), ResNet18 from scratch with GroupNorm trained at the full learning rate (--backbone-weights none,
|
| 19 |
+
--backbone-lr-scale 1), diffusers' cosine schedule with a 500-step warm-up, Diffusion Policy's EMAModel decay as
|
| 20 |
+
upstream counts it, and its own items (FlashChunkDataset: the polynomial targets at the sampling stride, the executed
|
| 21 |
+
history). --flash KEY=VALUE changes a FLASH setting (flash.FLASH_DEFAULTS: stride, n_history, ...). Its augmentation
|
| 22 |
+
stream is seeded from the training seed, as every model's (ChunkDataset aug_seed; logged as HB_AUG_SEED=<seed>).
|
| 23 |
+
|
| 24 |
+
ODE-MLP / ODE-DiT (--policy ode_mlp / ode_dit, policies.ODEPolicy) keep their G1 port's choices
|
| 25 |
+
(policies.POLICY_DEFAULTS): 16-row chunks, the ODE head in FP32, their own normalization bounds (q01 / q99 of the
|
| 26 |
+
training rows, the DFX6 hands fixed at [0, 1]: stats q01 / q99 / unit_dims), the body part = the contract's first
|
| 27 |
+
action group, the encoder from scratch at the full learning rate, seed 42 (ODE Policy's default_train.yaml, whose
|
| 28 |
+
optimizer, schedule and EMA are the recipe above). Their items carry the row before t and the rows' validity
|
| 29 |
+
(ChunkDataset lead 1).
|
| 30 |
+
|
| 31 |
+
Augmentation (2026-11-16): the Humanoid Benchmark spec v2 (docs/augmentation_v2.md, evaluation/augmentation), the
|
| 32 |
+
same for every model of the benchmark, is on by default (--augmentation hb-v2): per training item one hb_aug_v2 call
|
| 33 |
+
on the cached 168x224 frames of all cameras (colour shared, geometry / light patches / white balance per camera, one
|
| 34 |
+
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
|
| 35 |
+
body joint angles of the raw state (G1 29, H2 31), before the policy's normalizers; actions untouched. The native
|
| 36 |
+
random shift is off (--shift 0; a shift with hb-v2 is refused). Before the first step a preflight reads training items
|
| 37 |
+
through the augmented and the plain path and checks the state width (G1 44 / H2 78, no velocity), that only the body
|
| 38 |
+
joints move and by at most 2.75 deg, that the action rows (and FLASH's history) are bit-identical, that the images
|
| 39 |
+
change, and that the offline-check items are deterministic; it is stored in run.json (--preflight-only stops after it).
|
| 40 |
+
--augmentation none is an explicit exception to the spec, recorded in run.json and the checkpoints. The ResNet18
|
| 41 |
+
starts from torchvision's ImageNet-1k weights (--backbone-weights IMAGENET1K_V1, downloaded once to the torch hub
|
| 42 |
+
cache) and is fine-tuned at 0.1 x the learning rate (--backbone-lr-scale, the DETR practice) with its BatchNorm
|
| 43 |
+
frozen; --backbone-weights none trains it from scratch (DextraVerse's GroupNorm encoder for FM-DiT and DP).
|
| 44 |
+
|
| 45 |
+
In-training MSE (owner 2026-11-22, HumanWAM hb_training/REPRODUCIBILITY.md section 6): --inloop-task <key> with
|
| 46 |
+
--inloop-code <HumanWAM hb_training/eval-action-mse> evaluates the saved (EMA) weights every HB_INLOOP_EVERY (250)
|
| 47 |
+
steps on the protocol's cached episodes (inloop.py) into <out>/logs/inloop-mse.jsonl. FLASH refuses to train without
|
| 48 |
+
it unless --allow-no-inloop (an exception to the protocol, recorded in run.json); so do the ODE policies.
|
| 49 |
+
|
| 50 |
+
Writes into --out: run.json (arguments), train_log.jsonl, checkpoints/step-NNNNNN/ at the save points (runtime.py
|
| 51 |
+
format; owner 2026-11-27, every small model: 6 checkpoints spread evenly over the run's steps, each rounded to the
|
| 52 |
+
in-training MSE's 250-step grid, the last one at the end; save_points()), checkpoints/final -> the last one, and
|
| 53 |
+
train_state.pt (optimizer, schedule, EMA, step) that
|
| 54 |
+
--resume continues from (an interrupted run: the same schedule, not a continuation). Each save also measures the EMA
|
| 55 |
+
policy offline on fixed frames (held-out episodes with --val-episodes, else training frames): normalized-action MSE
|
| 56 |
+
overall and per action group.
|
| 57 |
+
|
| 58 |
+
Protocol and reproducibility (owner 2026-11-27, aligned with HumanWAM hb_training/protocol.yaml): the batch, steps
|
| 59 |
+
(long tasks x2), warm-up, workers and seed default to the protocol recipe of the policy (PROTOCOL_RECIPES); another
|
| 60 |
+
value, --save-every, a dataset not at 30 Hz or training without the in-training MSE (now required for every model) is
|
| 61 |
+
refused unless --protocol-exception / --allow-no-inloop records the owner's decision; uncommitted changes under
|
| 62 |
+
evaluation/ are refused unless --allow-dirty-tree. The order is EpochSampler's (epoch e: default_rng([seed, 1, e])),
|
| 63 |
+
each item augmented with default_rng([aug_seed, draw]) (its position in the run's stream), so worker count and an
|
| 64 |
+
interruption change nothing: train_state.pt keeps the torch / CUDA / numpy / python random states and --resume
|
| 65 |
+
continues bit-exactly. config.json and each protocol.json record the task, the dataset id (--dataset-id REPO@COMMIT
|
| 66 |
+
or inferred from <name>-<commit>/data), the save points, the environment (Python, torch, torchvision, numpy, Pillow,
|
| 67 |
+
CUDA, cuDNN, GPU, driver), the sha256 of hb_aug_v2.py and of the in-training MSE code, and the deviations.
|
| 68 |
+
|
| 69 |
+
Continuation (owner 2026-11-27, HumanWAM hb_training/protocol.yaml interface.continuation, as FastWAM's
|
| 70 |
+
hb_fastwam_cont.py): --init-from <run>/checkpoints/step-NNNNNN into a new --out loads that run's weights only (raw policy
|
| 71 |
+
and EMA from its train_state.pt when written at that step, else the saved EMA weights for both), then trains --steps
|
| 72 |
+
more steps with a fresh AdamW and schedule: peak --lr = 0.3 x the original peak (a peak equal to or above it is
|
| 73 |
+
refused), --warmup = 5 % of --steps, then the policy's cosine. Same policy configuration, data, augmentation and seed
|
| 74 |
+
(checked). Checkpoints are named by the total step (e.g. a 12000-step run continued 2000 steps saves step-014000);
|
| 75 |
+
train_log, in-training MSE and the EMA decay also count the total steps; config.json training.continuation records
|
| 76 |
+
the source checkpoint (path, step, model.pt sha256, code commit) and the continuation's learning rate.
|
| 77 |
+
"""
|
| 78 |
+
from __future__ import annotations
|
| 79 |
+
|
| 80 |
+
import argparse
|
| 81 |
+
import copy
|
| 82 |
+
from datetime import datetime, timezone
|
| 83 |
+
import json
|
| 84 |
+
import math
|
| 85 |
+
import os
|
| 86 |
+
from pathlib import Path
|
| 87 |
+
import subprocess
|
| 88 |
+
import sys
|
| 89 |
+
import time
|
| 90 |
+
|
| 91 |
+
import numpy as np
|
| 92 |
+
|
| 93 |
+
HERE = Path(__file__).resolve().parent
|
| 94 |
+
REPO = HERE.parents[1]
|
| 95 |
+
if str(HERE.parent) not in sys.path:
|
| 96 |
+
sys.path.insert(0, str(HERE.parent))
|
| 97 |
+
|
| 98 |
+
from baselines.data import (CONTRACTS, ChunkDataset, FlashChunkDataset, LeRobotDataset, # noqa: E402
|
| 99 |
+
augmentation_module, frame_cache, load_lowdim, parse_episodes, statistics,
|
| 100 |
+
unit_range_dims)
|
| 101 |
+
from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS # noqa: E402
|
| 102 |
+
from baselines.fm_dit_v2 import FM_DIT_V2_POLICY_FIELDS, UPSTREAM as FM_DIT_V2_UPSTREAM # noqa: E402
|
| 103 |
+
from baselines.policies import ODE_POLICIES, POLICIES, POLICY_DEFAULTS, PolicyConfig, build_policy # noqa: E402
|
| 104 |
+
from baselines.runtime import save_checkpoint # noqa: E402
|
| 105 |
+
|
| 106 |
+
DEFAULTS = dict(lr=1e-4, betas=(0.95, 0.999), weight_decay=1e-6, warmup=500, ema=0.9999, batch_size=64,
|
| 107 |
+
horizon=16, backbone_weights='IMAGENET1K_V1', backbone_lr_scale=0.1, seed=0, amp=True)
|
| 108 |
+
# FLASH-Policy f47e490 default_train.yaml / flash.yaml where they differ from DEFAULTS
|
| 109 |
+
FLASH_TRAINING = dict(seed=42, backbone_weights=None, backbone_lr_scale=1.0, schedule='diffusers_cosine',
|
| 110 |
+
ema_schedule='diffusion_policy_emamodel')
|
| 111 |
+
# FM-DiT v2 (fm_dit_v2.py): FLASH-Policy's FM-DiT trains with the same default_train.yaml
|
| 112 |
+
FM_DIT_V2_TRAINING = dict(FLASH_TRAINING)
|
| 113 |
+
# HumanWAM hb_training/protocol.yaml models.* (owner 2026-11-27: hb_baselines trains exactly the protocol's recipe; any
|
| 114 |
+
# other value is refused unless --protocol-exception records the owner's decision): the global batch (1 GPU), the
|
| 115 |
+
# steps of a training from scratch (long tasks x LONG_TASKS), the warm-up and the DataLoader workers. FM-DiT v1 and DP
|
| 116 |
+
# have no registered recipe (the collaborator's; FM-DiT v1 is superseded by v2): only the batch is checked for them.
|
| 117 |
+
PROTOCOL_RECIPES = {
|
| 118 |
+
'act': dict(batch_size=512, steps=4000, warmup=200, workers=32),
|
| 119 |
+
'flash': dict(batch_size=512, steps=12000, warmup=500, workers=40),
|
| 120 |
+
'fm_dit_v2': dict(batch_size=512, steps=12000, warmup=500, workers=32),
|
| 121 |
+
'ode_mlp': dict(batch_size=512, steps=5000, warmup=500, workers=32),
|
| 122 |
+
'ode_dit': dict(batch_size=512, steps=5000, warmup=500, workers=32),
|
| 123 |
+
'fm_dit': dict(batch_size=512),
|
| 124 |
+
'dp': dict(batch_size=512),
|
| 125 |
+
}
|
| 126 |
+
LONG_TASKS = {'c6': 2} # protocol.yaml interface.long_task_step_factor (A14 is not doubled)
|
| 127 |
+
DATASET_FPS = 30 # every dataset, training and evaluation (owner 2026-11-26)
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
def training_defaults(policy: str) -> dict:
|
| 131 |
+
"""DEFAULTS with the policy's own: FLASH_TRAINING (flash), FM_DIT_V2_TRAINING (fm_dit_v2),
|
| 132 |
+
policies.POLICY_DEFAULTS (the ODE policies)."""
|
| 133 |
+
# FM-DiT v1: seed 42 for every training from 2026-11-27 (owner: one seed per model, kept on every training;
|
| 134 |
+
# FM-DiT uses 42 as fm_dit_v2 / FLASH; its published seed-0 folders stay as recorded)
|
| 135 |
+
own = {'flash': FLASH_TRAINING, 'fm_dit_v2': FM_DIT_V2_TRAINING, 'fm_dit': dict(seed=42)}.get(policy, {})
|
| 136 |
+
return dict(DEFAULTS, **own, **POLICY_DEFAULTS.get(policy, {}))
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def policy_default(policy: str, key: str):
|
| 140 |
+
"""The training default of `key` for `policy`."""
|
| 141 |
+
return training_defaults(policy)[key]
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
def same_policy_config(saved: dict, current: dict) -> bool:
|
| 145 |
+
"""A saved policy configuration matches the current one; a field added to PolicyConfig after the save (absent
|
| 146 |
+
from it) matches when the current value is that field's default (e.g. the ode_* fields for an older FM-DiT run)."""
|
| 147 |
+
from dataclasses import MISSING, fields
|
| 148 |
+
defaults = {f.name: f.default for f in fields(PolicyConfig) if f.default is not MISSING}
|
| 149 |
+
return all(saved[k] == v if k in saved else (k in defaults and defaults[k] == v) for k, v in current.items()) \
|
| 150 |
+
and set(saved) <= set(current)
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
def git_commit():
|
| 154 |
+
"""The code's commit: git HEAD, or outside a checkout (a tree copied file by file, e.g. onto the A800 NAS, which
|
| 155 |
+
cannot reach the private repository) the commit in <repo>/HB_CODE_COMMIT that the copier wrote and checked."""
|
| 156 |
+
try:
|
| 157 |
+
return subprocess.run(['git', '-C', str(REPO), 'rev-parse', 'HEAD'], capture_output=True, text=True,
|
| 158 |
+
check=True).stdout.strip()
|
| 159 |
+
except Exception: # noqa: BLE001 - outside a checkout
|
| 160 |
+
import re
|
| 161 |
+
try:
|
| 162 |
+
m = re.search(r'\b[0-9a-f]{7,40}\b', (REPO / 'HB_CODE_COMMIT').read_text())
|
| 163 |
+
except OSError:
|
| 164 |
+
return None
|
| 165 |
+
return m.group(0) if m else None
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
def git_dirty():
|
| 169 |
+
"""The uncommitted changes of the code a run trains with (evaluation/), [] when clean, None outside a checkout:
|
| 170 |
+
the recorded code_commit is that code only when the tree is clean."""
|
| 171 |
+
try:
|
| 172 |
+
out = subprocess.run(['git', '-C', str(REPO), 'status', '--porcelain', '--', 'evaluation'],
|
| 173 |
+
capture_output=True, text=True, check=True).stdout
|
| 174 |
+
except Exception: # noqa: BLE001 - outside a checkout
|
| 175 |
+
return None
|
| 176 |
+
return [line[3:] for line in out.splitlines() if line.strip()]
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
def file_sha256(path):
|
| 180 |
+
import hashlib
|
| 181 |
+
try:
|
| 182 |
+
return hashlib.sha256(Path(path).read_bytes()).hexdigest()
|
| 183 |
+
except OSError:
|
| 184 |
+
return None
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
def environment(device):
|
| 188 |
+
"""The versions that change the numerics (REPRODUCIBILITY.md principle 5): Python, torch, torchvision, numpy,
|
| 189 |
+
Pillow (the JPEG effect of the augmentation), CUDA, cuDNN, the GPU and its driver."""
|
| 190 |
+
import platform
|
| 191 |
+
import torch
|
| 192 |
+
env = dict(python=platform.python_version(), torch=torch.__version__, numpy=np.__version__,
|
| 193 |
+
cuda=torch.version.cuda,
|
| 194 |
+
cudnn=torch.backends.cudnn.version() if torch.backends.cudnn.is_available() else None)
|
| 195 |
+
for name, module in (('torchvision', 'torchvision'), ('pillow', 'PIL')):
|
| 196 |
+
try:
|
| 197 |
+
env[name] = __import__(module).__version__
|
| 198 |
+
except Exception: # noqa: BLE001
|
| 199 |
+
env[name] = None
|
| 200 |
+
if device.type == 'cuda':
|
| 201 |
+
env['gpu'] = torch.cuda.get_device_name(device)
|
| 202 |
+
try:
|
| 203 |
+
env['driver'] = subprocess.run(['nvidia-smi', '--query-gpu=driver_version', '--format=csv,noheader',
|
| 204 |
+
'-i', str(device.index or 0)], capture_output=True, text=True,
|
| 205 |
+
timeout=20).stdout.strip() or None
|
| 206 |
+
except Exception: # noqa: BLE001
|
| 207 |
+
env['driver'] = None
|
| 208 |
+
return env
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
class EpochSampler:
|
| 212 |
+
"""The training order (owner 2026-11-27, aligned with HumanWAM's resumable runs): epoch e is the permutation
|
| 213 |
+
numpy default_rng([seed, 1, e]) of the items, cut to whole batches (drop_last); each item comes with its draw
|
| 214 |
+
number (its position in the whole run's stream, e * batches_per_epoch * batch + j), which seeds its augmentation
|
| 215 |
+
(ChunkDataset: default_rng([aug_seed, draw])). Order and augmentations are thus a function of the seed and the
|
| 216 |
+
step only (not of the worker count or of an interruption): start_step skips the batches already trained."""
|
| 217 |
+
|
| 218 |
+
def __init__(self, n, batch_size, seed, start_step=0):
|
| 219 |
+
self.n, self.batch, self.seed = int(n), int(batch_size), int(seed)
|
| 220 |
+
self.per_epoch = self.n // self.batch
|
| 221 |
+
if self.per_epoch < 1:
|
| 222 |
+
raise SystemExit(f'{n} training items: fewer than one batch of {batch_size}')
|
| 223 |
+
self.epoch, self.offset = divmod(int(start_step), self.per_epoch)
|
| 224 |
+
|
| 225 |
+
def __len__(self):
|
| 226 |
+
return (self.per_epoch - self.offset) * self.batch
|
| 227 |
+
|
| 228 |
+
def __iter__(self):
|
| 229 |
+
perm = np.random.default_rng([self.seed, 1, self.epoch]).permutation(self.n)
|
| 230 |
+
base = self.epoch * self.per_epoch * self.batch
|
| 231 |
+
start = self.offset * self.batch
|
| 232 |
+
self.epoch, self.offset = self.epoch + 1, 0
|
| 233 |
+
for j in range(start, self.per_epoch * self.batch):
|
| 234 |
+
yield int(perm[j]), base + j
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
def rng_state():
|
| 238 |
+
import random
|
| 239 |
+
import torch
|
| 240 |
+
return dict(torch=torch.get_rng_state(), cuda=torch.cuda.get_rng_state_all() if torch.cuda.is_available() else None,
|
| 241 |
+
numpy=np.random.get_state(), python=random.getstate())
|
| 242 |
+
|
| 243 |
+
|
| 244 |
+
def set_rng_state(state):
|
| 245 |
+
import random
|
| 246 |
+
import torch
|
| 247 |
+
torch.set_rng_state(state['torch'])
|
| 248 |
+
if state.get('cuda') is not None and torch.cuda.is_available():
|
| 249 |
+
torch.cuda.set_rng_state_all(state['cuda'])
|
| 250 |
+
np.random.set_state(state['numpy'])
|
| 251 |
+
random.setstate(state['python'])
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
def parse_hw(text):
|
| 255 |
+
h, w = text.lower().split('x')
|
| 256 |
+
return int(h), int(w)
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
def random_shift(images, pad):
|
| 260 |
+
"""DrQ random shift: replicate-pad by `pad` pixels and crop back at a random offset per sample.
|
| 261 |
+
images (B, N, 3, H, W) float."""
|
| 262 |
+
import torch
|
| 263 |
+
import torch.nn.functional as F
|
| 264 |
+
if pad <= 0:
|
| 265 |
+
return images
|
| 266 |
+
B, N, C, H, W = images.shape
|
| 267 |
+
x = F.pad(images.reshape(B * N, C, H, W), (pad,) * 4, mode='replicate')
|
| 268 |
+
oy = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
|
| 269 |
+
ox = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
|
| 270 |
+
rows = (oy[:, None] + torch.arange(H, device=images.device)[None])[:, None, :, None].expand(-1, C, -1, W + 2 * pad)
|
| 271 |
+
x = x.gather(2, rows)
|
| 272 |
+
cols = (ox[:, None] + torch.arange(W, device=images.device)[None])[:, None, None, :].expand(-1, C, H, -1)
|
| 273 |
+
return x.gather(3, cols).reshape(B, N, C, H, W)
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
class EMA:
|
| 277 |
+
"""Diffusion Policy's EMAModel schedule: decay = min(max_decay, 1 - (1 + step) ** -0.75), parameters averaged,
|
| 278 |
+
buffers (normalizers) copied. schedule 'diffusion_policy_emamodel' counts the steps as upstream's EMAModel does
|
| 279 |
+
(decay 0 for the first two updates, then 1 - (step - 1) ** -0.75; FLASH)."""
|
| 280 |
+
|
| 281 |
+
def __init__(self, model, max_decay, schedule='hb'):
|
| 282 |
+
self.model = copy.deepcopy(model).eval().requires_grad_(False)
|
| 283 |
+
self.max_decay = float(max_decay)
|
| 284 |
+
self.schedule = schedule
|
| 285 |
+
|
| 286 |
+
def decay(self, step):
|
| 287 |
+
if self.schedule == 'diffusion_policy_emamodel':
|
| 288 |
+
return 0.0 if step <= 2 else min(self.max_decay, max(0.0, 1 - (step - 1) ** -0.75))
|
| 289 |
+
return 0.0 if step <= 0 else min(self.max_decay, max(0.0, 1 - (1 + step) ** -0.75))
|
| 290 |
+
|
| 291 |
+
def update(self, model, step):
|
| 292 |
+
import torch
|
| 293 |
+
decay = self.decay(step)
|
| 294 |
+
with torch.no_grad():
|
| 295 |
+
for e, p in zip(self.model.parameters(), model.parameters()):
|
| 296 |
+
e.mul_(decay).add_(p.detach(), alpha=1 - decay)
|
| 297 |
+
for e, b in zip(self.model.buffers(), model.buffers()):
|
| 298 |
+
e.copy_(b)
|
| 299 |
+
return decay
|
| 300 |
+
|
| 301 |
+
|
| 302 |
+
def preflight(train_set, eval_set, contract, samples=64, seed=0) -> dict:
|
| 303 |
+
"""Training items of `train_set` (augmented unless its body_dims is 0) against the same frames read without
|
| 304 |
+
augmentation, and two reads of the offline-check items; raises on any violation of docs/augmentation_v2.md.
|
| 305 |
+
Items are (images, state, *labels): every label (action rows; FLASH's polynomial rows and history) must be
|
| 306 |
+
bit-identical to the plain read."""
|
| 307 |
+
import torch
|
| 308 |
+
plain = train_set.plain() # the same frames without augmentation
|
| 309 |
+
picks = np.random.default_rng(seed).choice(len(plain), size=min(samples, len(plain)), replace=False)
|
| 310 |
+
nb, sd = train_set.body_dims, contract.state_dim
|
| 311 |
+
limit = augmentation_module().max_body_offset_rad() * (1 + 1e-5)
|
| 312 |
+
images_changed = body_moved = 0
|
| 313 |
+
worst = 0.0
|
| 314 |
+
for k in picks:
|
| 315 |
+
(im, st, *lab), (im0, st0, *lab0) = train_set[int(k)], plain[int(k)]
|
| 316 |
+
if st.shape != (sd,) or st0.shape != (sd,) or [x.shape for x in lab] != [x.shape for x in lab0]:
|
| 317 |
+
raise SystemExit(f'preflight: state {tuple(st.shape)} / labels {[tuple(x.shape) for x in lab]}, '
|
| 318 |
+
f'expected ({sd},)')
|
| 319 |
+
if not all(torch.equal(a, b) for a, b in zip(lab, lab0)):
|
| 320 |
+
raise SystemExit('preflight: an action label differs from the recorded data')
|
| 321 |
+
if not torch.equal(st[nb:], st0[nb:]):
|
| 322 |
+
raise SystemExit(f'preflight: a state value past the {nb} body joints changed')
|
| 323 |
+
delta = (st[:nb].double() - st0[:nb].double()).abs()
|
| 324 |
+
if nb:
|
| 325 |
+
worst = max(worst, float(delta.max()))
|
| 326 |
+
if worst > limit:
|
| 327 |
+
raise SystemExit(f'preflight: a body joint moved {math.degrees(worst):.3f} deg (> 2.75)')
|
| 328 |
+
body_moved += int((delta > 0).sum())
|
| 329 |
+
images_changed += int(not torch.equal(im, im0))
|
| 330 |
+
n = len(picks)
|
| 331 |
+
moved = body_moved / max(1, n * nb)
|
| 332 |
+
if nb and (images_changed < 0.9 * n or moved < 0.95):
|
| 333 |
+
raise SystemExit(f'preflight: augmentation inactive ({images_changed}/{n} images changed, {moved:.3f} of the '
|
| 334 |
+
'body joint values moved)')
|
| 335 |
+
if not nb and (images_changed or worst):
|
| 336 |
+
raise SystemExit('preflight: items changed with the augmentation off')
|
| 337 |
+
eval_picks = np.random.default_rng(seed + 1).choice(len(eval_set), size=min(8, len(eval_set)), replace=False)
|
| 338 |
+
for k in eval_picks:
|
| 339 |
+
a, b = eval_set[int(k)], eval_set[int(k)]
|
| 340 |
+
if eval_set.body_dims or not all(torch.equal(x, y) for x, y in zip(a, b)):
|
| 341 |
+
raise SystemExit('preflight: the offline-check items are not deterministic')
|
| 342 |
+
return dict(samples=n, state_dim=sd, body_dims=nb, images_changed=images_changed,
|
| 343 |
+
body_values_moved=round(moved, 4),
|
| 344 |
+
max_body_offset_deg=round(math.degrees(worst), 4), actions_bit_identical=True,
|
| 345 |
+
non_body_state_bit_identical=True, eval_items_deterministic=len(eval_picks))
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def offline_eval(policy, dataset, samples, device, groups):
|
| 349 |
+
"""Normalized-action MSE of policy.predict on fixed dataset items (seeded), overall and per action group. FLASH:
|
| 350 |
+
its 30 Hz output rows against the recorded rows from the anchor (rows past the episode's end left out). A policy
|
| 351 |
+
with lead rows (ODE) starts from the recorded row before the frame (its BOS at an episode's first frame), as from
|
| 352 |
+
the executed row in closed loop, and is scored on the valid rows."""
|
| 353 |
+
import torch
|
| 354 |
+
policy.eval()
|
| 355 |
+
errs, masks = [], []
|
| 356 |
+
generator = torch.Generator(device=device)
|
| 357 |
+
generator.manual_seed(0)
|
| 358 |
+
lead = int(getattr(policy, 'lead_rows', 0))
|
| 359 |
+
for start in range(0, len(samples), 32):
|
| 360 |
+
batch = [dataset[int(k)] for k in samples[start:start + 32]]
|
| 361 |
+
images = torch.stack([b[0] for b in batch]).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 362 |
+
state = torch.stack([b[1] for b in batch]).to(device)
|
| 363 |
+
if policy.name == 'flash':
|
| 364 |
+
hist = torch.stack([b[3] for b in batch]).to(device)
|
| 365 |
+
has = torch.stack([b[4] for b in batch]).to(device)
|
| 366 |
+
target = torch.stack([b[5] for b in batch]).to(device)
|
| 367 |
+
valid = torch.stack([b[6] for b in batch]).numpy()
|
| 368 |
+
pred, _ = policy.predict(images, state, hist, has, generator=generator)
|
| 369 |
+
raw = policy.action_norm.normalize(pred.float())
|
| 370 |
+
elif lead:
|
| 371 |
+
rows = torch.stack([b[2] for b in batch]).to(device)
|
| 372 |
+
row_valid = torch.stack([b[3] for b in batch])
|
| 373 |
+
previous, target = rows[:, lead - 1], rows[:, lead:]
|
| 374 |
+
valid = (row_valid[:, lead:] > 0).numpy()
|
| 375 |
+
_, raw = policy.predict(images, state, generator=generator, previous=previous,
|
| 376 |
+
has_previous=(row_valid[:, lead - 1] > 0).to(device))
|
| 377 |
+
else:
|
| 378 |
+
target = torch.stack([b[2] for b in batch]).to(device)
|
| 379 |
+
valid = np.ones(target.shape[:2], bool)
|
| 380 |
+
_, raw = policy.predict(images, state, generator=generator)
|
| 381 |
+
errs.append((raw.float() - policy.action_norm.normalize(target)).pow(2).cpu().numpy())
|
| 382 |
+
masks.append(valid)
|
| 383 |
+
err, mask = np.concatenate(errs), np.concatenate(masks) # (S, horizon, action_dim), (S, horizon)
|
| 384 |
+
rows = err[mask]
|
| 385 |
+
out = dict(mse=float(rows.mean()), mse_row0=float(err[:, 0][mask[:, 0]].mean()))
|
| 386 |
+
offset = 0
|
| 387 |
+
for column, start, end in groups:
|
| 388 |
+
out[f'mse_{column.split(".")[-1]}'] = float(rows[:, offset:offset + end - start].mean())
|
| 389 |
+
offset += end - start
|
| 390 |
+
return out
|
| 391 |
+
|
| 392 |
+
|
| 393 |
+
SAVE_COUNT = 6 # owner 2026-11-27: small models keep 6 checkpoints per training, spread evenly over its steps
|
| 394 |
+
SAVE_GRID = 250 # the in-training MSE's interval: every save point has its nMSE
|
| 395 |
+
|
| 396 |
+
|
| 397 |
+
def save_points(steps: int, every=None) -> list:
|
| 398 |
+
"""The run's own steps (1..steps) at which it saves: k * steps / 6 for k = 1..6 rounded to the 250-step grid
|
| 399 |
+
(the last one is always `steps`); with `every` (a recorded deviation) every multiple of it and the end."""
|
| 400 |
+
if every:
|
| 401 |
+
return sorted({*range(every, steps + 1, every), steps})
|
| 402 |
+
if steps < SAVE_COUNT * SAVE_GRID:
|
| 403 |
+
return sorted({max(1, round(k * steps / SAVE_COUNT)) for k in range(1, SAVE_COUNT + 1)})
|
| 404 |
+
return sorted({min(steps, max(SAVE_GRID, SAVE_GRID * round(k * steps / SAVE_COUNT / SAVE_GRID)))
|
| 405 |
+
for k in range(1, SAVE_COUNT)} | {steps})
|
| 406 |
+
|
| 407 |
+
|
| 408 |
+
def init_continuation(args, policy, ema, pcfg, contract, cameras, hw, augmentation, train_episodes, out):
|
| 409 |
+
"""--init-from (owner 2026-11-27: aligned with HumanWAM's continuation, hb_training/protocol.yaml
|
| 410 |
+
interface.continuation and fastwam_tools/hb_fastwam_cont.py): load only the weights of a finished run's checkpoint
|
| 411 |
+
into the freshly built policy (and EMA) before training; the optimizer and the schedule start new. The run it
|
| 412 |
+
continues must have the same policy configuration, contract, cameras, image size, augmentation and training
|
| 413 |
+
episodes, and the continuation's peak learning rate must be below the original one (REPRODUCIBILITY.md: a
|
| 414 |
+
continuation never reuses the original peak). Returns (record for config.training.continuation, original steps)."""
|
| 415 |
+
import torch
|
| 416 |
+
from baselines.runtime import sha256 as file_sha256
|
| 417 |
+
src = args.init_from.expanduser().resolve()
|
| 418 |
+
if not (src / 'model.pt').is_file() or not (src / 'config.json').is_file():
|
| 419 |
+
raise SystemExit(f'--init-from {src}: not a checkpoint folder (model.pt, config.json)')
|
| 420 |
+
if src.parent.parent == out:
|
| 421 |
+
raise SystemExit('--init-from: give the continuation its own --out (the original run stays as it is)')
|
| 422 |
+
before = json.loads((src / 'config.json').read_text())
|
| 423 |
+
problems = []
|
| 424 |
+
if not same_policy_config(before['policy'], pcfg.to_dict()):
|
| 425 |
+
problems.append('policy configuration')
|
| 426 |
+
if before['contract'] != contract.to_dict(cameras):
|
| 427 |
+
problems.append('contract / cameras')
|
| 428 |
+
if list(before['image_hw']) != list(hw):
|
| 429 |
+
problems.append('image size')
|
| 430 |
+
if (before['training'].get('augmentation') or {}).get('version') != augmentation.get('version') \
|
| 431 |
+
or before['training'].get('shift_px') != args.shift:
|
| 432 |
+
problems.append('augmentation')
|
| 433 |
+
if list(before['dataset']['train_episodes']) != list(train_episodes):
|
| 434 |
+
problems.append('training episodes')
|
| 435 |
+
if problems:
|
| 436 |
+
raise SystemExit(f'--init-from {src}: the run differs in {", ".join(problems)}; a continuation trains the '
|
| 437 |
+
'same model on the same data')
|
| 438 |
+
original_lr = float(before['training']['lr'])
|
| 439 |
+
if not args.lr < original_lr:
|
| 440 |
+
raise SystemExit(f'--init-from: --lr {args.lr} must be below the original peak {original_lr} (the protocol: '
|
| 441 |
+
f'0.3 x, i.e. {0.3 * original_lr:g})')
|
| 442 |
+
step0 = int(before['step'])
|
| 443 |
+
state_file = src.parent.parent / 'train_state.pt'
|
| 444 |
+
saved = torch.load(state_file, map_location='cpu', weights_only=False) if state_file.is_file() else None
|
| 445 |
+
total_saved = None # the total step train_state.pt was written at (its 'step' counts the run's own steps)
|
| 446 |
+
if saved is not None:
|
| 447 |
+
c = (saved['config'].get('training') or {}).get('continuation') or {}
|
| 448 |
+
total_saved = int(c.get('init_step', 0)) + int(saved['step'])
|
| 449 |
+
if saved is not None and total_saved == step0:
|
| 450 |
+
policy.load_state_dict(saved['policy'], strict=True)
|
| 451 |
+
if ema is not None:
|
| 452 |
+
if saved.get('ema') is None:
|
| 453 |
+
raise SystemExit(f'--init-from: {state_file} has no EMA weights')
|
| 454 |
+
ema.model.load_state_dict(saved['ema'], strict=True)
|
| 455 |
+
weights = f'raw policy and EMA from {state_file} (written at step {step0})'
|
| 456 |
+
else:
|
| 457 |
+
payload = torch.load(src / 'model.pt', map_location='cpu', weights_only=True)
|
| 458 |
+
policy.load_state_dict(payload['state_dict'], strict=True)
|
| 459 |
+
if ema is not None:
|
| 460 |
+
ema.model.load_state_dict(payload['state_dict'], strict=True)
|
| 461 |
+
weights = (f'the saved {before.get("weights", "ema")} weights of {src.name} for the policy and its EMA '
|
| 462 |
+
f'(no train_state.pt written at step {step0})')
|
| 463 |
+
policy.to(next(policy.parameters()).device)
|
| 464 |
+
record = dict(init_from=str(src), init_step=step0, init_weights=weights, init_model_sha256=file_sha256(src / 'model.pt'),
|
| 465 |
+
init_code_commit=before.get('code_commit'), original_peak_lr=original_lr, peak_lr=args.lr,
|
| 466 |
+
peak_lr_factor=round(args.lr / original_lr, 6), warmup_steps=args.warmup,
|
| 467 |
+
warmup_ratio=round(args.warmup / max(1, args.steps), 6), more_steps=args.steps,
|
| 468 |
+
total_steps=step0 + args.steps, optimizer='fresh AdamW (same groups, betas, weight decay)',
|
| 469 |
+
schedule='fresh: warm-up then the policy\'s cosine over the continuation steps',
|
| 470 |
+
ema_decay_steps='total steps (the EMA keeps averaging as in the original run)')
|
| 471 |
+
print(json.dumps(dict(event='continuation', **record)), flush=True)
|
| 472 |
+
return record, step0
|
| 473 |
+
|
| 474 |
+
|
| 475 |
+
def main():
|
| 476 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 477 |
+
p.add_argument('--policy', choices=sorted(POLICIES), required=True)
|
| 478 |
+
p.add_argument('--dataset', type=Path, required=True, help='LeRobot v2.1 dataset directory')
|
| 479 |
+
p.add_argument('--contract', choices=sorted(CONTRACTS), required=True)
|
| 480 |
+
p.add_argument('--cameras', help='comma-separated cameras (default: the contract\'s)')
|
| 481 |
+
p.add_argument('--episodes', help="episodes to use, e.g. '0:100' (default: all)")
|
| 482 |
+
p.add_argument('--val-episodes', type=int, default=0, help='hold out the last N of them for the offline check')
|
| 483 |
+
p.add_argument('--out', type=Path, required=True)
|
| 484 |
+
p.add_argument('--steps', type=int, default=None,
|
| 485 |
+
help="training steps (default: the protocol recipe's, long tasks x2; with --init-from 2000)")
|
| 486 |
+
p.add_argument('--batch-size', type=int, default=None, help="batch (default: the protocol recipe's, 512)")
|
| 487 |
+
p.add_argument('--dataset-id', metavar='REPO@COMMIT',
|
| 488 |
+
help='the HF dataset and revision the --dataset directory holds (recorded; default: inferred from '
|
| 489 |
+
'a directory named <name>-<commit>/data)')
|
| 490 |
+
p.add_argument('--allow-dirty-tree', action='store_true',
|
| 491 |
+
help='train with uncommitted changes under evaluation/ (recorded; otherwise refused)')
|
| 492 |
+
p.add_argument('--lr', type=float, default=None,
|
| 493 |
+
help=f"peak learning rate (default {DEFAULTS['lr']}; with --init-from 0.3 x the original peak)")
|
| 494 |
+
p.add_argument('--weight-decay', type=float, default=DEFAULTS['weight_decay'])
|
| 495 |
+
p.add_argument('--warmup', type=int, default=None,
|
| 496 |
+
help=f"warm-up steps (default {DEFAULTS['warmup']}; with --init-from 5 %% of --steps)")
|
| 497 |
+
p.add_argument('--ema', type=float, default=DEFAULTS['ema'], help='max EMA decay; 0 saves the raw weights')
|
| 498 |
+
p.add_argument('--horizon', type=int, default=None,
|
| 499 |
+
help="action rows per chunk (default: the policy's; 16; FLASH: --flash rows)")
|
| 500 |
+
p.add_argument('--image-size', default='168x224', help='HxW of the policy images')
|
| 501 |
+
p.add_argument('--augmentation', choices=['hb-v2', 'none'], default='hb-v2',
|
| 502 |
+
help='training augmentation: the benchmark spec v2 (default; docs/augmentation_v2.md) or none '
|
| 503 |
+
'(an explicit exception, recorded in run.json)')
|
| 504 |
+
p.add_argument('--shift', type=int, default=0,
|
| 505 |
+
help='native random-shift augmentation in pixels (default 0: off; only with --augmentation none)')
|
| 506 |
+
p.add_argument('--preflight-only', action='store_true', help='run the data preflight, write run.json and stop')
|
| 507 |
+
p.add_argument('--backbone-weights', default=None,
|
| 508 |
+
help="torchvision weights the ResNet18 starts from (default IMAGENET1K_V1; FLASH, ODE: none); "
|
| 509 |
+
"'none': from scratch")
|
| 510 |
+
p.add_argument('--backbone-lr-scale', type=float, default=None,
|
| 511 |
+
help='learning rate of the image backbone relative to --lr (default 0.1; FLASH, ODE: 1)')
|
| 512 |
+
p.add_argument('--model', action='append', default=[], metavar='KEY=VALUE',
|
| 513 |
+
help='override a PolicyConfig field (JSON value), e.g. num_layers=6; repeatable')
|
| 514 |
+
p.add_argument('--flash', action='append', default=[], metavar='KEY=VALUE',
|
| 515 |
+
help='FLASH setting (JSON value), e.g. stride=2; repeatable (flash.FLASH_DEFAULTS)')
|
| 516 |
+
p.add_argument('--cache-dir', type=Path, default=Path('~/hb_models/baselines/cache'))
|
| 517 |
+
p.add_argument('--workers', type=int, default=None,
|
| 518 |
+
help='DataLoader workers (and frame-cache decoders); the v2 augmentation costs ~17 ms of one CPU '
|
| 519 |
+
"core per item, so 8 workers feed only ~6 steps/s at batch 64 (default: the protocol "
|
| 520 |
+
"recipe's)")
|
| 521 |
+
p.add_argument('--prefetch', type=int, default=2, help='batches prefetched per worker')
|
| 522 |
+
p.add_argument('--save-every', type=int, default=None,
|
| 523 |
+
help="save every N steps instead of the protocol's 6 even save points (owner 2026-11-27); a "
|
| 524 |
+
'deviation: needs --protocol-exception')
|
| 525 |
+
p.add_argument('--log-every', type=int, default=100)
|
| 526 |
+
p.add_argument('--eval-samples', type=int, default=256)
|
| 527 |
+
p.add_argument('--seed', type=int, default=None,
|
| 528 |
+
help='training seed (default: the model\'s one fixed seed: ACT, DP 0; FM-DiT v1 / v2, FLASH, ODE 42; '
|
| 529 |
+
'another value needs --protocol-exception)')
|
| 530 |
+
p.add_argument('--device', default='cuda:0')
|
| 531 |
+
p.add_argument('--no-amp', action='store_true')
|
| 532 |
+
p.add_argument('--resume', action='store_true', help='continue from <out>/train_state.pt')
|
| 533 |
+
p.add_argument('--init-from', type=Path, metavar='CHECKPOINT',
|
| 534 |
+
help='continuation of a finished run (HumanWAM hb_training/protocol.yaml interface.continuation: '
|
| 535 |
+
'weights only): its checkpoint folder <run>/checkpoints/step-NNNNNN. Loads the raw policy and '
|
| 536 |
+
'its EMA from <run>/train_state.pt when that was written at the same step (else the saved '
|
| 537 |
+
'EMA weights for both); a fresh AdamW and schedule run --steps MORE steps with peak --lr '
|
| 538 |
+
'(the protocol: 0.3 x the original peak) and --warmup (5 %% of --steps). Checkpoints, logs, '
|
| 539 |
+
'the in-training MSE and the EMA decay count the total steps (original + continuation). '
|
| 540 |
+
'Use a new --out.')
|
| 541 |
+
p.add_argument('--protocol-exception', metavar='TEXT', action='append', default=[],
|
| 542 |
+
help="a setting other than the protocol's (e.g. --save-every): the owner's decision, recorded "
|
| 543 |
+
'verbatim in run.json and config.json (repeatable)')
|
| 544 |
+
p.add_argument('--continuation-exception', metavar='TEXT',
|
| 545 |
+
help='--init-from with a peak learning rate, warm-up or step count other than the protocol\'s '
|
| 546 |
+
'(0.3 x, 5 %%, 2000 or, long tasks, 4000 steps): the owner\'s decision, recorded verbatim')
|
| 547 |
+
p.add_argument('--inloop-task', help='in-training MSE: the task key of HumanWAM eval-action-mse hb_eval_common')
|
| 548 |
+
p.add_argument('--inloop-code', type=Path, help='in-training MSE: HumanWAM hb_training/eval-action-mse')
|
| 549 |
+
p.add_argument('--allow-no-inloop', action='store_true',
|
| 550 |
+
help='train without the in-training MSE (every model needs it, owner 2026-11-22/27; an exception '
|
| 551 |
+
'to the protocol, recorded)')
|
| 552 |
+
args = p.parse_args()
|
| 553 |
+
recipe = PROTOCOL_RECIPES.get(args.policy, {})
|
| 554 |
+
factor = LONG_TASKS.get(args.inloop_task, 1)
|
| 555 |
+
given = dict(warmup=args.warmup, seed=args.seed)
|
| 556 |
+
args.batch_size = recipe.get('batch_size', DEFAULTS['batch_size']) if args.batch_size is None else args.batch_size
|
| 557 |
+
args.workers = recipe.get('workers', 32) if args.workers is None else args.workers
|
| 558 |
+
if args.steps is None:
|
| 559 |
+
args.steps = (2000 * factor if args.init_from else
|
| 560 |
+
recipe['steps'] * factor if 'steps' in recipe else 60000)
|
| 561 |
+
if args.warmup is None and not args.init_from and 'warmup' in recipe:
|
| 562 |
+
args.warmup = recipe['warmup']
|
| 563 |
+
want_seed = training_defaults(args.policy)['seed']
|
| 564 |
+
deviations = [f'{k} {v} (protocol {w})' for k, v, w in (
|
| 565 |
+
('batch_size', args.batch_size, recipe.get('batch_size')),
|
| 566 |
+
('steps', args.steps, None if args.init_from or 'steps' not in recipe else recipe['steps'] * factor),
|
| 567 |
+
('warmup', given['warmup'], None if args.init_from else recipe.get('warmup')),
|
| 568 |
+
('workers', args.workers, recipe.get('workers')),
|
| 569 |
+
('seed', given['seed'], want_seed)) if w is not None and v is not None and v != w]
|
| 570 |
+
if args.save_every:
|
| 571 |
+
deviations.append(f'save_every {args.save_every} (protocol: 6 even save points)')
|
| 572 |
+
if deviations and not args.protocol_exception:
|
| 573 |
+
raise SystemExit(f"{args.policy}: {', '.join(deviations)} differ from the protocol (HumanWAM "
|
| 574 |
+
"hb_training/protocol.yaml); pass --protocol-exception with the owner's decision")
|
| 575 |
+
continuation_protocol = None
|
| 576 |
+
if args.init_from: # HumanWAM protocol.yaml interface.continuation
|
| 577 |
+
original_lr = float(json.loads((args.init_from.expanduser() / 'config.json').read_text())['training']['lr'])
|
| 578 |
+
want = dict(lr=0.3 * original_lr, warmup=round(0.05 * args.steps), steps=(2000, 4000))
|
| 579 |
+
args.lr = want['lr'] if args.lr is None else args.lr
|
| 580 |
+
args.warmup = want['warmup'] if args.warmup is None else args.warmup
|
| 581 |
+
off = [f'{k} {v}' for k, v, ok in (('lr', args.lr, math.isclose(args.lr, want['lr'], rel_tol=1e-6)),
|
| 582 |
+
('warmup', args.warmup, args.warmup == want['warmup']),
|
| 583 |
+
('steps', args.steps, args.steps in want['steps'])) if not ok]
|
| 584 |
+
if off and not args.continuation_exception:
|
| 585 |
+
raise SystemExit(f"--init-from: {', '.join(off)} differ from the protocol's continuation (lr "
|
| 586 |
+
f"{want['lr']:g} = 0.3 x {original_lr:g}, warm-up {want['warmup']} = 5 % of --steps, "
|
| 587 |
+
'2000 steps, long tasks 4000); pass --continuation-exception with the owner\'s decision')
|
| 588 |
+
continuation_protocol = dict(peak_lr_factor=0.3, warmup_ratio=0.05, steps=list(want['steps']),
|
| 589 |
+
deviations=off, exception=args.continuation_exception)
|
| 590 |
+
elif args.continuation_exception:
|
| 591 |
+
raise SystemExit('--continuation-exception goes with --init-from')
|
| 592 |
+
args.lr = DEFAULTS['lr'] if args.lr is None else args.lr
|
| 593 |
+
args.warmup = DEFAULTS['warmup'] if args.warmup is None else args.warmup
|
| 594 |
+
|
| 595 |
+
flash = args.policy == 'flash'
|
| 596 |
+
ode = args.policy in ODE_POLICIES
|
| 597 |
+
fm2 = args.policy == 'fm_dit_v2'
|
| 598 |
+
defaults = training_defaults(args.policy)
|
| 599 |
+
horizon = defaults['horizon'] if args.horizon is None else args.horizon
|
| 600 |
+
lead = int(getattr(POLICIES[args.policy], 'lead_rows', 0)) # FlashPolicy has none (no lead rows)
|
| 601 |
+
seed = defaults['seed'] if args.seed is None else args.seed
|
| 602 |
+
backbone_weights = defaults['backbone_weights'] if args.backbone_weights is None else args.backbone_weights
|
| 603 |
+
backbone_lr_scale = defaults['backbone_lr_scale'] if args.backbone_lr_scale is None else args.backbone_lr_scale
|
| 604 |
+
if not args.inloop_task and not args.allow_no_inloop:
|
| 605 |
+
raise SystemExit(f'{args.policy}: the protocol requires the in-training MSE for every model (--inloop-task, '
|
| 606 |
+
'--inloop-code), or --allow-no-inloop as a recorded exception')
|
| 607 |
+
dirty = git_dirty()
|
| 608 |
+
if dirty and not args.allow_dirty_tree:
|
| 609 |
+
raise SystemExit(f'uncommitted changes under evaluation/ ({", ".join(dirty[:5])}): the recorded code_commit '
|
| 610 |
+
'would not be the code trained; commit them or pass --allow-dirty-tree (recorded)')
|
| 611 |
+
if bool(args.inloop_task) != bool(args.inloop_code):
|
| 612 |
+
raise SystemExit('--inloop-task and --inloop-code go together')
|
| 613 |
+
|
| 614 |
+
out = args.out.expanduser().resolve()
|
| 615 |
+
out.mkdir(parents=True, exist_ok=True)
|
| 616 |
+
contract = CONTRACTS[args.contract]
|
| 617 |
+
aug = augmentation_module()
|
| 618 |
+
aug.check_state_layout(contract.robot, contract.state_dim, [column for column, _, _ in contract.state])
|
| 619 |
+
hb_aug = args.augmentation == 'hb-v2'
|
| 620 |
+
if hb_aug and args.shift:
|
| 621 |
+
raise SystemExit('--shift is the native random shift, which the augmentation spec v2 turns off '
|
| 622 |
+
'(docs/augmentation_v2.md); use it only with --augmentation none')
|
| 623 |
+
if contract.body_dims != aug.BODY_JOINTS[contract.robot]:
|
| 624 |
+
raise SystemExit(f'contract {contract.name}: body_dims {contract.body_dims}, the spec perturbs '
|
| 625 |
+
f'{aug.BODY_JOINTS[contract.robot]} body joints')
|
| 626 |
+
augmentation = (aug.describe(contract.robot, contract.body_dims) if hb_aug else
|
| 627 |
+
dict(version=None, exception='--augmentation none (not the benchmark default)'))
|
| 628 |
+
cameras = tuple(args.cameras.split(',')) if args.cameras else contract.cameras
|
| 629 |
+
hw = parse_hw(args.image_size)
|
| 630 |
+
dataset = LeRobotDataset(args.dataset)
|
| 631 |
+
dataset.check_contract(contract, cameras)
|
| 632 |
+
if dataset.fps != DATASET_FPS and not args.protocol_exception:
|
| 633 |
+
raise SystemExit(f'{dataset.root}: {dataset.fps} Hz; every dataset, training and evaluation is {DATASET_FPS} '
|
| 634 |
+
"Hz (owner 2026-11-26); pass --protocol-exception with the owner's decision")
|
| 635 |
+
dataset_id = args.dataset_id
|
| 636 |
+
if dataset_id is None:
|
| 637 |
+
import re
|
| 638 |
+
root = Path(dataset.root)
|
| 639 |
+
m = re.fullmatch(r'(.+)-([0-9a-f]{7,40})', (root.parent if root.name == 'data' else root).name)
|
| 640 |
+
dataset_id = f'{m.group(1)}@{m.group(2)} (inferred from the directory name)' if m else None
|
| 641 |
+
if dataset_id is None:
|
| 642 |
+
raise SystemExit(f'{dataset.root}: give --dataset-id REPO@COMMIT (the HF dataset and revision it holds)')
|
| 643 |
+
episodes = parse_episodes(args.episodes, dataset.lengths)
|
| 644 |
+
if not 0 <= args.val_episodes < len(episodes):
|
| 645 |
+
raise SystemExit('--val-episodes must leave training episodes')
|
| 646 |
+
lowdim = load_lowdim(dataset, contract, episodes)
|
| 647 |
+
if len(lowdim['tasks']) != 1:
|
| 648 |
+
raise SystemExit(f"the baselines take no language: one task per dataset, found {lowdim['tasks']}")
|
| 649 |
+
n_train = len(episodes) - args.val_episodes
|
| 650 |
+
train_pos, val_pos = list(range(n_train)), list(range(n_train, len(episodes)))
|
| 651 |
+
train_rows = np.concatenate([np.arange(s, s + n) for s, n in
|
| 652 |
+
zip(lowdim['starts'][:n_train], lowdim['lengths'][:n_train])])
|
| 653 |
+
stats = statistics(lowdim, train_rows, quantiles=ode)
|
| 654 |
+
if ode: # the G1 port's normalization: the DFX6 values fixed at [0, 1]
|
| 655 |
+
for key, dims in unit_range_dims(contract).items():
|
| 656 |
+
stats[key]['unit_dims'] = dims
|
| 657 |
+
frames = frame_cache(dataset, lowdim, cameras, hw, args.cache_dir, workers=args.workers)
|
| 658 |
+
|
| 659 |
+
overrides = {k: json.loads(v) for k, v in (item.split('=', 1) for item in args.model)}
|
| 660 |
+
base = dict(policy=args.policy, n_cameras=len(cameras), state_dim=contract.state_dim,
|
| 661 |
+
action_dim=contract.action_dim, horizon=horizon)
|
| 662 |
+
if ode: # the body part integrated as the ODE state: the contract's first action group (G1 token 64, H2 body 31)
|
| 663 |
+
_, first, last = contract.action[0]
|
| 664 |
+
overrides.setdefault('ode_body_dim', last - first)
|
| 665 |
+
if flash:
|
| 666 |
+
settings = dict(FLASH_DEFAULTS, **{k: json.loads(v) for k, v in (i.split('=', 1) for i in args.flash)})
|
| 667 |
+
if args.horizon is not None and args.horizon != settings['rows']:
|
| 668 |
+
raise SystemExit('FLASH: the output rows are --flash rows=N, not --horizon')
|
| 669 |
+
base.update(FLASH_POLICY_FIELDS, horizon=int(settings['rows']), extra=dict(flash=settings))
|
| 670 |
+
elif args.flash:
|
| 671 |
+
raise SystemExit('--flash applies to --policy flash only')
|
| 672 |
+
if fm2:
|
| 673 |
+
base.update(FM_DIT_V2_POLICY_FIELDS)
|
| 674 |
+
weights = None if str(backbone_weights).lower() in ('none', '') else backbone_weights
|
| 675 |
+
pcfg = PolicyConfig.from_dict({**base, 'backbone_weights': weights, **overrides})
|
| 676 |
+
aug_seed = seed if hb_aug else None # every model: the seeded augmentation stream (REPRODUCIBILITY.md section 3)
|
| 677 |
+
if flash:
|
| 678 |
+
from baselines.flash import FlashPolicy, flash_settings
|
| 679 |
+
fs = flash_settings(pcfg)
|
| 680 |
+
H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
|
| 681 |
+
offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
|
| 682 |
+
kw = dict(offsets=offsets, stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'])
|
| 683 |
+
train_set = FlashChunkDataset(lowdim, frames, cameras, hw, train_pos,
|
| 684 |
+
body_dims=contract.body_dims if hb_aug else 0, aug_seed=aug_seed, **kw)
|
| 685 |
+
eval_set = FlashChunkDataset(lowdim, frames, cameras, hw, val_pos or train_pos, with_dense=True, **kw)
|
| 686 |
+
assert FlashPolicy.name == 'flash'
|
| 687 |
+
else:
|
| 688 |
+
train_set = ChunkDataset(lowdim, frames, cameras, hw, horizon, train_pos,
|
| 689 |
+
body_dims=contract.body_dims if hb_aug else 0, lead=lead, aug_seed=aug_seed)
|
| 690 |
+
eval_set = ChunkDataset(lowdim, frames, cameras, hw, horizon, val_pos or train_pos,
|
| 691 |
+
lead=lead) # never augmented
|
| 692 |
+
print(f'HB_AUG_SEED={aug_seed}', file=sys.stderr, flush=True)
|
| 693 |
+
checks = preflight(train_set, eval_set, contract, seed=seed)
|
| 694 |
+
print(json.dumps(dict(event='preflight', augmentation=augmentation.get('version'), **checks)), flush=True)
|
| 695 |
+
if args.save_every and not args.protocol_exception:
|
| 696 |
+
raise SystemExit('--save-every: the protocol saves 6 checkpoints spread evenly over the steps (owner '
|
| 697 |
+
"2026-11-27); pass --protocol-exception with the owner's decision to save otherwise")
|
| 698 |
+
save_at = set(save_points(args.steps, args.save_every))
|
| 699 |
+
print(json.dumps(dict(event='save_points', steps=sorted(save_at))), flush=True)
|
| 700 |
+
layout = dict(nodes=1, gpus=1, per_gpu_batch=args.batch_size, global_batch=args.batch_size,
|
| 701 |
+
gradient_accumulation=1, num_workers=args.workers, prefetch=args.prefetch)
|
| 702 |
+
if args.preflight_only:
|
| 703 |
+
(out / 'run.json').write_text(json.dumps(dict(
|
| 704 |
+
argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
|
| 705 |
+
contract=contract.to_dict(cameras), image_hw=list(hw), augmentation=augmentation, preflight=checks,
|
| 706 |
+
shift_px=args.shift, seed=seed, aug_seed=aug_seed, layout=layout, policy=pcfg.to_dict(),
|
| 707 |
+
code_commit=git_commit()), indent=1, default=str))
|
| 708 |
+
return
|
| 709 |
+
|
| 710 |
+
import torch
|
| 711 |
+
torch.manual_seed(seed)
|
| 712 |
+
np.random.seed(seed)
|
| 713 |
+
device = torch.device(args.device)
|
| 714 |
+
policy = build_policy(pcfg)
|
| 715 |
+
policy.fit_normalizers(stats)
|
| 716 |
+
policy.to(device)
|
| 717 |
+
ema = EMA(policy, args.ema, defaults.get('ema_schedule', 'hb')) if args.ema > 0 else None
|
| 718 |
+
named = list(policy.named_parameters())
|
| 719 |
+
backbone = [p for n, p in named if n.startswith(policy.backbone_prefix)]
|
| 720 |
+
rest = [p for n, p in named if not n.startswith(policy.backbone_prefix)]
|
| 721 |
+
if not backbone:
|
| 722 |
+
raise SystemExit(f'no backbone parameters under {policy.backbone_prefix!r}')
|
| 723 |
+
optimizer = torch.optim.AdamW([dict(params=rest), dict(params=backbone, lr=args.lr * backbone_lr_scale)],
|
| 724 |
+
lr=args.lr, betas=DEFAULTS['betas'], weight_decay=args.weight_decay)
|
| 725 |
+
schedule = defaults.get('schedule', 'hb')
|
| 726 |
+
|
| 727 |
+
def lr_lambda(step):
|
| 728 |
+
if schedule == 'diffusers_cosine': # diffusers get_cosine_schedule_with_warmup (FLASH's lr_scheduler)
|
| 729 |
+
if step < args.warmup:
|
| 730 |
+
return step / max(1, args.warmup)
|
| 731 |
+
progress = (step - args.warmup) / max(1, args.steps - args.warmup)
|
| 732 |
+
return max(0.0, 0.5 * (1.0 + math.cos(math.pi * progress)))
|
| 733 |
+
if step < args.warmup:
|
| 734 |
+
return (step + 1) / max(1, args.warmup)
|
| 735 |
+
return 0.5 * (1 + math.cos(math.pi * min(1.0, (step - args.warmup) / max(1, args.steps - args.warmup))))
|
| 736 |
+
|
| 737 |
+
scheduler = torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda)
|
| 738 |
+
step = 0
|
| 739 |
+
step0 = 0 # continuation: the steps of the run it starts from (0 for a training from scratch)
|
| 740 |
+
continuation = None
|
| 741 |
+
state_path = out / 'train_state.pt'
|
| 742 |
+
resuming = args.resume and state_path.exists()
|
| 743 |
+
resume_rng = None
|
| 744 |
+
if args.init_from and not resuming:
|
| 745 |
+
continuation, step0 = init_continuation(args, policy, ema, pcfg, contract, cameras, hw, augmentation,
|
| 746 |
+
episodes[:n_train], out)
|
| 747 |
+
continuation['protocol'] = continuation_protocol
|
| 748 |
+
if resuming:
|
| 749 |
+
saved = torch.load(state_path, map_location='cpu', weights_only=False)
|
| 750 |
+
if not same_policy_config(saved['config']['policy'], pcfg.to_dict()):
|
| 751 |
+
raise SystemExit('train_state.pt was written for another policy configuration')
|
| 752 |
+
before = saved['config'].get('training', {})
|
| 753 |
+
if (before.get('augmentation') or {}).get('version') != augmentation.get('version') \
|
| 754 |
+
or before.get('shift_px') != args.shift:
|
| 755 |
+
raise SystemExit('train_state.pt was trained with another augmentation (version / --shift); resuming '
|
| 756 |
+
'would change it mid-run')
|
| 757 |
+
policy.load_state_dict(saved['policy'])
|
| 758 |
+
optimizer.load_state_dict(saved['optimizer'])
|
| 759 |
+
scheduler.load_state_dict(saved['scheduler'])
|
| 760 |
+
if ema is not None:
|
| 761 |
+
ema.model.load_state_dict(saved['ema'])
|
| 762 |
+
step = int(saved['step'])
|
| 763 |
+
continuation = before.get('continuation')
|
| 764 |
+
if bool(continuation) != bool(args.init_from) or (
|
| 765 |
+
continuation and Path(continuation['init_from']) != args.init_from.expanduser().resolve()):
|
| 766 |
+
raise SystemExit('--resume: give the same --init-from as the interrupted run (none for a run from '
|
| 767 |
+
'scratch)')
|
| 768 |
+
step0 = int(continuation['init_step']) if continuation else 0
|
| 769 |
+
resume_rng = saved.get('rng')
|
| 770 |
+
if resume_rng is None:
|
| 771 |
+
print('HB_RESUME no random state in train_state.pt (written before 2026-11-27): the streams restart',
|
| 772 |
+
flush=True)
|
| 773 |
+
print(json.dumps(dict(event='resumed', step=step0 + step, local_step=step)), flush=True)
|
| 774 |
+
|
| 775 |
+
inloop = None
|
| 776 |
+
if args.inloop_task:
|
| 777 |
+
# one GPU: hb_inloop_core shards by RANK / WORLD_SIZE, which a DLC node sets for its own launcher
|
| 778 |
+
for key, value in (('RANK', '0'), ('WORLD_SIZE', '1'), ('LOCAL_RANK', '0')):
|
| 779 |
+
if os.environ.get(key, value) != value:
|
| 780 |
+
print(f'HB_INLOOP {key}={os.environ[key]} -> {value} (one-GPU training)', flush=True)
|
| 781 |
+
os.environ[key] = value
|
| 782 |
+
from baselines import inloop as inloop_mod
|
| 783 |
+
inloop = inloop_mod.install(args.inloop_code, args.inloop_task, out,
|
| 784 |
+
lambda: ema.model if ema is not None else policy, contract, cameras, hw, lowdim,
|
| 785 |
+
args.policy, lowdim_loader=lambda eps: load_lowdim(dataset, contract, eps))
|
| 786 |
+
else:
|
| 787 |
+
print(f'HB_INLOOP {args.policy} disabled: no --inloop-task', flush=True)
|
| 788 |
+
|
| 789 |
+
samples = np.random.default_rng(1).choice(len(eval_set), size=min(args.eval_samples, len(eval_set)), replace=False)
|
| 790 |
+
training = dict(steps=args.steps, batch_size=args.batch_size, lr=args.lr, betas=list(DEFAULTS['betas']),
|
| 791 |
+
weight_decay=args.weight_decay, warmup=args.warmup,
|
| 792 |
+
schedule='linear warm-up + cosine' if schedule == 'hb' else schedule,
|
| 793 |
+
backbone_lr_scale=backbone_lr_scale,
|
| 794 |
+
ema=args.ema, shift_px=args.shift, amp=(not args.no_amp) and bool(defaults['amp']), seed=seed,
|
| 795 |
+
augmentation=augmentation, preflight=checks, aug_seed=aug_seed, layout=layout,
|
| 796 |
+
continuation=continuation, total_steps=step0 + args.steps,
|
| 797 |
+
save_steps=[step0 + k for k in sorted(save_at)],
|
| 798 |
+
save_rule=(f'every {args.save_every} steps (exception)' if args.save_every else
|
| 799 |
+
f'{SAVE_COUNT} checkpoints spread evenly over the steps on the {SAVE_GRID}-step grid '
|
| 800 |
+
'(owner 2026-11-27)'),
|
| 801 |
+
protocol_exceptions=args.protocol_exception)
|
| 802 |
+
training.update(ema_schedule=defaults.get('ema_schedule', 'hb'),
|
| 803 |
+
inloop=dict(task=args.inloop_task, code=str(args.inloop_code) if args.inloop_code else None,
|
| 804 |
+
every=int(os.environ.get('HB_INLOOP_EVERY', '250')) if args.inloop_task else 0,
|
| 805 |
+
exception=None if args.inloop_task else '--allow-no-inloop',
|
| 806 |
+
code_sha256={f: file_sha256(Path(args.inloop_code) / f) for f in
|
| 807 |
+
('hb_inloop_core.py', 'hb_eval_common.py')} if args.inloop_code else None))
|
| 808 |
+
training.update(protocol_recipe=dict(recipe, long_task_factor=factor), protocol_deviations=deviations,
|
| 809 |
+
environment=environment(device), code_dirty=dirty, allow_dirty_tree=args.allow_dirty_tree,
|
| 810 |
+
augmentation_sha256=file_sha256(HERE.parent / 'augmentation' / 'hb_aug_v2.py'),
|
| 811 |
+
order='EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, '
|
| 812 |
+
'draw])')
|
| 813 |
+
if flash:
|
| 814 |
+
training.update(upstream='NTUMARS/FLASH-Policy@f47e490')
|
| 815 |
+
if fm2:
|
| 816 |
+
training.update(upstream=FM_DIT_V2_UPSTREAM)
|
| 817 |
+
if ode:
|
| 818 |
+
training.update(upstream='NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + '
|
| 819 |
+
'main@cea26d94 (encoder, ode_dit field, default_train.yaml)')
|
| 820 |
+
config = dict(
|
| 821 |
+
policy=pcfg.to_dict(), contract=contract.to_dict(cameras), image_hw=list(hw), task_text=lowdim['tasks'][0],
|
| 822 |
+
dataset=dict(name=dataset.name,
|
| 823 |
+
root=str(dataset.root), robot_type=dataset.info.get('robot_type'), fps=dataset.fps,
|
| 824 |
+
episodes=episodes, train_episodes=episodes[:n_train], val_episodes=episodes[n_train:],
|
| 825 |
+
train_frames=int(len(train_set)),
|
| 826 |
+
git_commit=dataset.info.get('script_config', {}).get('git_commit')),
|
| 827 |
+
training=training, stats=stats, code_commit=git_commit(), task=args.inloop_task, dataset_id=dataset_id)
|
| 828 |
+
run = dict(argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
|
| 829 |
+
torch=torch.__version__, **config)
|
| 830 |
+
(out / 'run.json').write_text(json.dumps(run, indent=1, default=str))
|
| 831 |
+
sampler = EpochSampler(len(train_set), args.batch_size, seed, start_step=step)
|
| 832 |
+
# its own generator: creating the iterator (here and after a --resume) must not draw from the global stream that
|
| 833 |
+
# the model's noise and dropout use, or a resumed run would be one draw off
|
| 834 |
+
loader = torch.utils.data.DataLoader(train_set, batch_size=args.batch_size, sampler=sampler, drop_last=True,
|
| 835 |
+
generator=torch.Generator().manual_seed(seed),
|
| 836 |
+
num_workers=args.workers, pin_memory=True, persistent_workers=True,
|
| 837 |
+
prefetch_factor=args.prefetch)
|
| 838 |
+
params = sum(x.numel() for x in policy.parameters())
|
| 839 |
+
print(json.dumps(dict(event='start', policy=args.policy, params=params,
|
| 840 |
+
backbone_params=sum(x.numel() for x in backbone), backbone_weights=pcfg.backbone_weights,
|
| 841 |
+
backbone_norm=pcfg.backbone_norm, train_frames=len(train_set), steps=args.steps,
|
| 842 |
+
from_step=step0 + step, total_steps=step0 + args.steps, cameras=list(cameras), hw=list(hw),
|
| 843 |
+
seed=seed)), flush=True)
|
| 844 |
+
log = (out / 'train_log.jsonl').open('a')
|
| 845 |
+
amp = (not args.no_amp) and device.type == 'cuda' and bool(defaults['amp'])
|
| 846 |
+
|
| 847 |
+
def save(step): # step: this run's own steps; checkpoints are named and stamped with the total
|
| 848 |
+
total = step0 + step
|
| 849 |
+
folder = out / f'checkpoints/step-{total:06d}'
|
| 850 |
+
model = ema.model if ema is not None else policy
|
| 851 |
+
metrics = offline_eval(model, eval_set, samples, device, contract.action)
|
| 852 |
+
save_checkpoint(folder, model, dict(config, step=total, weights='ema' if ema is not None else 'raw',
|
| 853 |
+
offline_eval=dict(metrics, samples=len(samples),
|
| 854 |
+
frames='val' if val_pos else 'train')))
|
| 855 |
+
final = out / 'checkpoints/final'
|
| 856 |
+
if final.is_symlink() or final.exists():
|
| 857 |
+
final.unlink()
|
| 858 |
+
final.symlink_to(folder.name)
|
| 859 |
+
torch.save(dict(policy=policy.state_dict(), optimizer=optimizer.state_dict(), scheduler=scheduler.state_dict(),
|
| 860 |
+
ema=None if ema is None else ema.model.state_dict(), step=step, config=config,
|
| 861 |
+
rng=rng_state()),
|
| 862 |
+
out / 'train_state.pt.tmp')
|
| 863 |
+
(out / 'train_state.pt.tmp').replace(state_path)
|
| 864 |
+
record = dict(event='save', step=total, checkpoint=str(folder), **metrics)
|
| 865 |
+
print(json.dumps(record), flush=True)
|
| 866 |
+
log.write(json.dumps(record) + '\n')
|
| 867 |
+
log.flush()
|
| 868 |
+
policy.train()
|
| 869 |
+
|
| 870 |
+
if resume_rng is not None: # the interrupted run's random streams (model noise, dropout) at its last save
|
| 871 |
+
set_rng_state(resume_rng)
|
| 872 |
+
policy.train()
|
| 873 |
+
t0, data_s, acc = time.monotonic(), 0.0, {}
|
| 874 |
+
while step < args.steps:
|
| 875 |
+
tick = time.monotonic()
|
| 876 |
+
for images, *labels in loader:
|
| 877 |
+
data_s += time.monotonic() - tick
|
| 878 |
+
images = images.to(device, non_blocking=True).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 879 |
+
images = random_shift(images, args.shift)
|
| 880 |
+
labels = [x.to(device, non_blocking=True) for x in labels]
|
| 881 |
+
with torch.autocast(device.type, dtype=torch.bfloat16, enabled=amp):
|
| 882 |
+
loss, metrics = policy.compute_loss(images, *labels)
|
| 883 |
+
optimizer.zero_grad(set_to_none=True)
|
| 884 |
+
loss.backward()
|
| 885 |
+
optimizer.step()
|
| 886 |
+
scheduler.step()
|
| 887 |
+
step += 1
|
| 888 |
+
decay = ema.update(policy, step0 + step) if ema is not None else 0.0
|
| 889 |
+
for k, v in dict(metrics, loss=float(loss.detach())).items():
|
| 890 |
+
acc[k] = acc.get(k, 0.0) + v
|
| 891 |
+
if step % args.log_every == 0:
|
| 892 |
+
elapsed = time.monotonic() - t0
|
| 893 |
+
record = dict(event='train', step=step0 + step, lr=scheduler.get_last_lr()[0],
|
| 894 |
+
backbone_lr=scheduler.get_last_lr()[1], ema_decay=round(decay, 6),
|
| 895 |
+
it_s=round(args.log_every / elapsed, 2), data_frac=round(data_s / elapsed, 3),
|
| 896 |
+
**{k: v / args.log_every for k, v in acc.items()})
|
| 897 |
+
print(json.dumps(record), flush=True)
|
| 898 |
+
log.write(json.dumps(record) + '\n')
|
| 899 |
+
log.flush()
|
| 900 |
+
t0, data_s, acc = time.monotonic(), 0.0, {}
|
| 901 |
+
if inloop is not None and (step0 + step) % inloop.every == 0:
|
| 902 |
+
inloop.evaluate(step0 + step, ema.model if ema is not None else policy)
|
| 903 |
+
policy.train()
|
| 904 |
+
if step in save_at:
|
| 905 |
+
save(step)
|
| 906 |
+
if step >= args.steps:
|
| 907 |
+
break
|
| 908 |
+
tick = time.monotonic()
|
| 909 |
+
log.close()
|
| 910 |
+
if step >= args.steps: # as HumanWAM's launchers (e.g. fastwam_cont.sh): what the finished run is
|
| 911 |
+
c = continuation or {}
|
| 912 |
+
(out / 'complete.json').write_text(json.dumps(dict(
|
| 913 |
+
run=out.name, policy=args.policy, contract=contract.name, steps=args.steps, total_steps_after=step0 + step,
|
| 914 |
+
per_gpu_batch=args.batch_size, global_batch=args.batch_size, gradient_accumulation_steps=1,
|
| 915 |
+
save_steps=[step0 + k for k in sorted(save_at)], seed=seed, aug_seed=aug_seed, peak_lr=args.lr, warmup=args.warmup,
|
| 916 |
+
continued_from=c.get('init_from'), continued_from_step=c.get('init_step'),
|
| 917 |
+
continuation=continuation, code_commit=config['code_commit'],
|
| 918 |
+
finished_utc=datetime.now(timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ')), indent=1))
|
| 919 |
+
print(json.dumps(dict(event='done', step=step0 + step, checkpoint=str(out / 'checkpoints/final'))), flush=True)
|
| 920 |
+
|
| 921 |
+
|
| 922 |
+
if __name__ == '__main__':
|
| 923 |
+
main()
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_36ded31d/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')
|
a18-pour-water/b512-trim3f/step-012000/training_records/code_commit.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
36ded31d7790990f5ed318b818bd0e1278185c9c
|
| 2 |
+
Humanoid_benchmark bai FLASH lead_rows fix (train.py); data, runtime and requirements as in the protocol alignment commit
|
a18-pour-water/b512-trim3f/step-012000/training_records/inloop-mse.jsonl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"step": 250, "utc": "2026-11-27T07:22:20Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 12.4, "infer_s_per_query": 0.0185, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.019818456528356225, "mae_raw": 0.05333906674172339, "nmse": 0.4545961559820822, "groups": {"body_target": {"mse_raw": 0.011157546843899519, "nmse": 0.6417927678862393}, "hands": {"mse_raw": 0.03202246562918158, "nmse": 0.19081911193531548}}, "nmse_by_step": [0.475219975931224, 0.43766249707613725, 0.40159369507019194, 0.42613768962960863, 0.41372692027970515, 0.46167205077904383, 0.4529292427160472, 0.40902931681149884, 0.40712726616438366, 0.4382979242018277, 0.44561016796440867, 0.43219250485611227, 0.4732441501306635, 0.4965379656807459, 0.5418184883046641, 0.5643509379861069], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0017904129352119477, "rms_raw": 0.042313271383951724, "mae_raw": 0.03248608797728661}, "nmse_per_episode": {"0": 0.4271448506338179, "11": 0.4669068351272838, "22": 0.4485391329247267, "33": 0.46471629396182207, "44": 0.4391272481771408, "55": 0.43522825139583426, "66": 0.43757326108012656, "77": 0.5196888612275925, "88": 0.44662049435317236, "99": 0.45840109569394294}, "nmse_episode_sem": 0.008342099654741931}
|
| 2 |
+
{"step": 500, "utc": "2026-11-27T07:34:12Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 6.7, "infer_s_per_query": 0.0212, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.012607220962536034, "mae_raw": 0.050807591177930496, "nmse": 0.3454946402318627, "groups": {"body_target": {"mse_raw": 0.006813132460056715, "nmse": 0.5045556004779471}, "hands": {"mse_raw": 0.020771618397847805, "nmse": 0.12136328715783458}}, "nmse_by_step": [0.3172108754184694, 0.2948074859080986, 0.2595868264893946, 0.27495289298891, 0.2645200370110202, 0.29974062613525787, 0.30655710057462776, 0.2847118439801435, 0.2871364998429703, 0.3283536054231012, 0.38947248714432486, 0.43950204390224656, 0.4753066616746166, 0.4388986094480112, 0.4182475393984177, 0.4566486434510748], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.004485423254824196, "rms_raw": 0.06697330255276499, "mae_raw": 0.05156345066038043}, "nmse_per_episode": {"0": 0.3161415447439239, "11": 0.3517855626218462, "22": 0.33845462918145286, "33": 0.3352290534239909, "44": 0.33400876085985975, "55": 0.32346666522037804, "66": 0.33261108784565196, "77": 0.4197252682714218, "88": 0.3385229229656045, "99": 0.36280954655040426}, "nmse_episode_sem": 0.009248053088172276}
|
| 3 |
+
{"step": 750, "utc": "2026-11-27T07:43:58Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.4, "infer_s_per_query": 0.0236, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.009411148597122231, "mae_raw": 0.046587021698663085, "nmse": 0.2926015994483376, "groups": {"body_target": {"mse_raw": 0.005220536581730202, "nmse": 0.4358028975672079}, "hands": {"mse_raw": 0.01531610189153827, "nmse": 0.0908179520990202}}, "nmse_by_step": [0.2932998504906071, 0.2674194701356771, 0.2348300034468666, 0.25124835703012705, 0.2422139311259709, 0.25674690491584196, 0.25290379452814654, 0.2348189393422118, 0.23085684506596285, 0.25883311001900167, 0.317451094939543, 0.37129608013048765, 0.4070178359849612, 0.3639140076732781, 0.32985697076422976, 0.37388663406827366], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0026250321843953855, "rms_raw": 0.051235067916373306, "mae_raw": 0.03932728586330732}, "nmse_per_episode": {"0": 0.26537332110939926, "11": 0.29553920950223106, "22": 0.27701885350368294, "33": 0.2808296395932704, "44": 0.2825054363611273, "55": 0.2734822342992762, "66": 0.28364663063818296, "77": 0.37272196882535485, "88": 0.27966000032048166, "99": 0.31284772529704724}, "nmse_episode_sem": 0.009817884087572327}
|
| 4 |
+
{"step": 1000, "utc": "2026-11-27T07:55:00Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 10.7, "infer_s_per_query": 0.0343, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.007906082031081793, "mae_raw": 0.04204113952934238, "nmse": 0.2503934759553887, "groups": {"body_target": {"mse_raw": 0.004204495531854771, "nmse": 0.37146781509790533}, "hands": {"mse_raw": 0.013121953916356233, "nmse": 0.07978872534547879}}, "nmse_by_step": [0.2546467624023257, 0.2372288694557383, 0.2159803418119176, 0.2390416824952384, 0.22914446075207293, 0.22835756967345228, 0.21697660832707558, 0.20576352164257963, 0.2067798362070791, 0.22784676796039013, 0.2724459157201799, 0.30749041618303813, 0.3286016690828119, 0.28915419523950114, 0.25853533182154426, 0.29082427580235204], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0015732020612693682, "rms_raw": 0.039663611298889165, "mae_raw": 0.029858594310521906}, "nmse_per_episode": {"0": 0.22907244263172696, "11": 0.24983576442108357, "22": 0.234333177792512, "33": 0.2515523163127002, "44": 0.2397964017482847, "55": 0.23328120821473727, "66": 0.24005428274445917, "77": 0.32855217177219315, "88": 0.2269148088167127, "99": 0.26802292148472984}, "nmse_episode_sem": 0.00954311410889107}
|
| 5 |
+
{"step": 1250, "utc": "2026-11-27T08:06:04Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 9.1, "infer_s_per_query": 0.0291, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0071491916535520545, "mae_raw": 0.03830145744305744, "nmse": 0.22618267906642509, "groups": {"body_target": {"mse_raw": 0.003664036565998929, "nmse": 0.3343391514660688}, "hands": {"mse_raw": 0.012060092004195097, "nmse": 0.07378037704874532}}, "nmse_by_step": [0.2253798800707041, 0.211494390873182, 0.19644168074413737, 0.22495287485926224, 0.21794183186612695, 0.21527434264422024, 0.20243972075264172, 0.19403409975963354, 0.19556961507473714, 0.20876801208552906, 0.2403026105897541, 0.26356945723276104, 0.2821933645796882, 0.2544715155726004, 0.23185046473187435, 0.25604441103317743], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001112920426246581, "rms_raw": 0.03336046202088006, "mae_raw": 0.025170676081730882}, "nmse_per_episode": {"0": 0.20798174867944208, "11": 0.22456889904780686, "22": 0.2121729564369303, "33": 0.2322506155476716, "44": 0.21477023721592645, "55": 0.20855541814838993, "66": 0.21426771483315127, "77": 0.30181631546291715, "88": 0.20334051183602445, "99": 0.23964846165677453}, "nmse_episode_sem": 0.009172929711406815}
|
| 6 |
+
{"step": 1500, "utc": "2026-11-27T08:16:07Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.8, "infer_s_per_query": 0.0246, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0065640883241815644, "mae_raw": 0.035487990132669414, "nmse": 0.20996916412551692, "groups": {"body_target": {"mse_raw": 0.003346357569143134, "nmse": 0.31089139956016143}, "hands": {"mse_raw": 0.011098163479008443, "nmse": 0.06776055964942691}}, "nmse_by_step": [0.20733501817716143, 0.19440535138325418, 0.18253888731257495, 0.214360696884562, 0.2096755579005339, 0.20782571817130846, 0.1940136098189556, 0.185932693230897, 0.18628087275684455, 0.19334632666654605, 0.2159431736429161, 0.23256764069097563, 0.2516863871975787, 0.23237514273777388, 0.2158743194523959, 0.23672353053348916], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0008735365305556065, "rms_raw": 0.02955565141484123, "mae_raw": 0.02236620956468309}, "nmse_per_episode": {"0": 0.1929225680677314, "11": 0.20699543526330325, "22": 0.1973930082343496, "33": 0.21642951149502032, "44": 0.19778916701253835, "55": 0.19399963613537996, "66": 0.19890104038294537, "77": 0.2819337490826111, "88": 0.18862261744592637, "99": 0.22240175404364362}, "nmse_episode_sem": 0.008701099666200387}
|
| 7 |
+
{"step": 1750, "utc": "2026-11-27T08:27:23Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 5.2, "infer_s_per_query": 0.0166, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.006146253756896605, "mae_raw": 0.03331684265362222, "nmse": 0.1990039798393689, "groups": {"body_target": {"mse_raw": 0.003145847159446563, "nmse": 0.2954077203464674}, "hands": {"mse_raw": 0.010374099416939845, "nmse": 0.06316234548845738}}, "nmse_by_step": [0.19592613395983333, 0.18339870739311137, 0.17361184642586688, 0.20800255172861123, 0.20456860853749034, 0.2033436115044943, 0.18882992105389446, 0.18062948256219258, 0.17998324175481095, 0.18232582059346197, 0.19829225729990338, 0.21035554863863906, 0.23030250838995073, 0.21654353249954592, 0.20510109999974047, 0.2238823375444881], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0007253249084318756, "rms_raw": 0.026931856757971138, "mae_raw": 0.020389267945645526}, "nmse_per_episode": {"0": 0.18288225519876694, "11": 0.19547224845050115, "22": 0.18695556894369372, "33": 0.20566047552251038, "44": 0.18702391177469296, "55": 0.18430978546092472, "66": 0.18862476717298068, "77": 0.2668359412965467, "88": 0.17897130925926166, "99": 0.2111272638973547}, "nmse_episode_sem": 0.008217872793858143}
|
| 8 |
+
{"step": 2000, "utc": "2026-11-27T08:38:30Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 9.3, "infer_s_per_query": 0.0294, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0058006555210315626, "mae_raw": 0.031489256795494386, "nmse": 0.19058268013117077, "groups": {"body_target": {"mse_raw": 0.002996870854351338, "nmse": 0.2838331167428742}, "hands": {"mse_raw": 0.009751443005899153, "nmse": 0.05918433763286143}}, "nmse_by_step": [0.18737362373659355, 0.17490861709674974, 0.16672882567230524, 0.20330728749516003, 0.20078495480060002, 0.1997552071594492, 0.18490070198448577, 0.17653122800974091, 0.17510113078163383, 0.1736435730451895, 0.18466898847510743, 0.19347453966744219, 0.21379833353773606, 0.20418211317104523, 0.19659413858981165, 0.2143343591297696], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0006213773697071867, "rms_raw": 0.024927442101170084, "mae_raw": 0.018854952193756512}, "nmse_per_episode": {"0": 0.17510915848174669, "11": 0.18706864757823746, "22": 0.1786972713847903, "33": 0.19711843342210356, "44": 0.17927422374269295, "55": 0.17715825092514045, "66": 0.1811583383712739, "77": 0.2547044805077479, "88": 0.1720286090388486, "99": 0.20146956723976095}, "nmse_episode_sem": 0.007750726900608691}
|
| 9 |
+
{"step": 2250, "utc": "2026-11-27T08:47:58Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 6.9, "infer_s_per_query": 0.022, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0055278024325470364, "mae_raw": 0.029997551873923795, "nmse": 0.18399337606117225, "groups": {"body_target": {"mse_raw": 0.0028817925314542393, "nmse": 0.2747831422371412}, "hands": {"mse_raw": 0.009256270929541434, "nmse": 0.05606234190412508}}, "nmse_by_step": [0.18127312783777694, 0.16834201129628912, 0.16116289128305672, 0.19929474617993592, 0.19768588815906277, 0.19684198001283446, 0.1817603125066695, 0.1733311117830088, 0.17137071011417343, 0.16681577841123285, 0.1742511532377152, 0.1806838077742654, 0.20120781029258616, 0.1944744091657622, 0.18952617713018877, 0.20641597156479125], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0005438171251772473, "rms_raw": 0.023319886903183026, "mae_raw": 0.017633019787009516}, "nmse_per_episode": {"0": 0.16862913792058204, "11": 0.18054640291302534, "22": 0.17205074637985868, "33": 0.1901588462098509, "44": 0.17332045854990646, "55": 0.17165949598555466, "66": 0.17599861592294594, "77": 0.24491252192185162, "88": 0.16697653774948124, "99": 0.1937690714050477}, "nmse_episode_sem": 0.007344269580942803}
|
| 10 |
+
{"step": 2500, "utc": "2026-11-27T08:59:02Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.3, "infer_s_per_query": 0.0234, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.005327105444550329, "mae_raw": 0.028806342014968227, "nmse": 0.17887337260783553, "groups": {"body_target": {"mse_raw": 0.002796547322000059, "nmse": 0.2676888930821363}, "hands": {"mse_raw": 0.008892891889962075, "nmse": 0.05372423012132076}}, "nmse_by_step": [0.17643759768079997, 0.16315892207476734, 0.15682312948682323, 0.19622814343917266, 0.19534729693513986, 0.19442116737438023, 0.17901094483049235, 0.17071548901436295, 0.1684380098180321, 0.16127599616433522, 0.1662057095872954, 0.17098351907121156, 0.19144050985787422, 0.1872660322648566, 0.1842169200962585, 0.20038852333755658], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00048262870335497786, "rms_raw": 0.021968812060623073, "mae_raw": 0.01658599923410565}, "nmse_per_episode": {"0": 0.1636189695194048, "11": 0.17532025215350877, "22": 0.16691253531112318, "33": 0.1851021002340846, "44": 0.1687021916863514, "55": 0.16703152639636945, "66": 0.17235011782256923, "77": 0.2373994326470753, "88": 0.16289898173191097, "99": 0.1875795616937713}, "nmse_episode_sem": 0.007046956249289225}
|
| 11 |
+
{"step": 2750, "utc": "2026-11-27T09:10:17Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 11.3, "infer_s_per_query": 0.0358, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.005146292605694766, "mae_raw": 0.027790576934392054, "nmse": 0.17428536897362898, "groups": {"body_target": {"mse_raw": 0.002731492151597835, "nmse": 0.2614415542489258}, "hands": {"mse_raw": 0.008548965972831349, "nmse": 0.051474380631165335}}, "nmse_by_step": [0.17222644670510895, 0.15828300703455614, 0.15237578579738362, 0.19277408890175105, 0.19261038132202993, 0.1923035712211924, 0.17672916633643318, 0.16828052864883913, 0.1655532902643368, 0.1563458438938775, 0.15914452544136795, 0.16253071111715683, 0.18332738821042144, 0.1810695171558905, 0.17994551059351394, 0.19533907933145095], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00043363575844295127, "rms_raw": 0.020823922743876844, "mae_raw": 0.015709095645971283}, "nmse_per_episode": {"0": 0.15902931043934912, "11": 0.17059496428879095, "22": 0.1622242620344526, "33": 0.17971363219993153, "44": 0.16457477697690434, "55": 0.16304562152073304, "66": 0.16906750612259286, "77": 0.23083514259121302, "88": 0.15968151491736, "99": 0.1823590545315359}, "nmse_episode_sem": 0.006786581242240475}
|
| 12 |
+
{"step": 3000, "utc": "2026-11-27T09:19:48Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 10.6, "infer_s_per_query": 0.0338, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004996204100380803, "mae_raw": 0.026966936320853244, "nmse": 0.17020454802338617, "groups": {"body_target": {"mse_raw": 0.0026788567846341574, "nmse": 0.25578938840331517}, "hands": {"mse_raw": 0.00826155713620562, "nmse": 0.04960772748803165}}, "nmse_by_step": [0.16793092158256345, 0.15341890371229844, 0.14800673355022503, 0.18923492920562004, 0.18994238292823037, 0.1905464480376696, 0.17492992963598583, 0.1662930672679026, 0.16305515459758796, 0.1518478469129313, 0.15290139118271553, 0.15533486896620724, 0.17620810012071159, 0.17603099604890934, 0.17636470014411654, 0.19143936321836527], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0003908924335858955, "rms_raw": 0.019770999812500516, "mae_raw": 0.01490783469557732}, "nmse_per_episode": {"0": 0.1549219342988882, "11": 0.1664158658752715, "22": 0.15843857859785565, "33": 0.17497604864409189, "44": 0.1608491844108341, "55": 0.15961063611320112, "66": 0.16627071020387735, "77": 0.22492983921257417, "88": 0.15658220739604714, "99": 0.17741448191249976}, "nmse_episode_sem": 0.006545980689060664}
|
| 13 |
+
{"step": 3250, "utc": "2026-11-27T09:31:18Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.1, "infer_s_per_query": 0.0225, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004874367369973952, "mae_raw": 0.026238419152206014, "nmse": 0.16657707071976754, "groups": {"body_target": {"mse_raw": 0.0026311175739470874, "nmse": 0.2506304157026068}, "hands": {"mse_raw": 0.008035310264375439, "nmse": 0.04813826642576693}}, "nmse_by_step": [0.16379310765304705, 0.14900841959258498, 0.144125837177195, 0.1860205427771175, 0.1874550579976333, 0.18919464329055655, 0.17352320583633501, 0.16456255945674192, 0.16071509504312462, 0.14792491350963535, 0.14729050088432166, 0.14865916747856114, 0.16986919952000645, 0.17149172178254274, 0.17361787662301895, 0.188151120849076], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00035291978199829645, "rms_raw": 0.018786159320049865, "mae_raw": 0.014137877879740744}, "nmse_per_episode": {"0": 0.15154835366323421, "11": 0.162801882606275, "22": 0.15502469448509706, "33": 0.1709269455987695, "44": 0.157364024776819, "55": 0.15673301679104157, "66": 0.16355002839310326, "77": 0.2195508878100465, "88": 0.15370098253199918, "99": 0.1730148243697105}, "nmse_episode_sem": 0.006321623896019281}
|
| 14 |
+
{"step": 3500, "utc": "2026-11-27T09:40:37Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.4, "infer_s_per_query": 0.0234, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004758798509850719, "mae_raw": 0.02560946712511845, "nmse": 0.1631205920616581, "groups": {"body_target": {"mse_raw": 0.0025855241557818957, "nmse": 0.2457248216771304}, "hands": {"mse_raw": 0.007821139645129514, "nmse": 0.0467237230580382}}, "nmse_by_step": [0.1598619980287065, 0.14462357136355844, 0.1400591575282529, 0.18256329750769845, 0.18467463405869725, 0.18790022284138527, 0.17226359285401532, 0.16287944810157148, 0.15835154130599208, 0.14415865969685465, 0.14202617096549647, 0.14257441948930064, 0.16401377991986657, 0.16761051719956385, 0.1711619796955035, 0.1853591406582974], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00032316381677756443, "rms_raw": 0.01797675768256235, "mae_raw": 0.013497265265763449}, "nmse_per_episode": {"0": 0.14819321127626925, "11": 0.15936711576648682, "22": 0.15187771515972978, "33": 0.16682723728363036, "44": 0.15401464504830187, "55": 0.15392300241285228, "66": 0.1610166832563392, "77": 0.21471709189585222, "88": 0.15116034597893754, "99": 0.16863372434393606}, "nmse_episode_sem": 0.006132264800675635}
|
| 15 |
+
{"step": 3750, "utc": "2026-11-27T09:48:07Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 5.9, "infer_s_per_query": 0.0187, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004640132711322073, "mae_raw": 0.02499631021637632, "nmse": 0.15985578159673355, "groups": {"body_target": {"mse_raw": 0.002544066111789221, "nmse": 0.24120563397400022}, "hands": {"mse_raw": 0.007593681101572912, "nmse": 0.045226444156039616}}, "nmse_by_step": [0.15605307852103517, 0.1403441143707219, 0.13601016344199746, 0.17911289599803723, 0.18199401189893635, 0.1867194587637505, 0.17117221845963976, 0.16126385314156222, 0.15592970938439843, 0.14056496307644792, 0.13699165841373329, 0.13693251382691438, 0.15865394260893897, 0.16409183834662044, 0.16889485200689494, 0.18311400627856725], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0003043482523947404, "rms_raw": 0.017445579737994963, "mae_raw": 0.013034779461674586}, "nmse_per_episode": {"0": 0.14470738163092425, "11": 0.15616296759687506, "22": 0.14886105427028729, "33": 0.16265006772444088, "44": 0.15086728791999046, "55": 0.15109522865074074, "66": 0.15869674000561124, "77": 0.21034427654644408, "88": 0.14881338386339388, "99": 0.16494984480341096}, "nmse_episode_sem": 0.005988377727032311}
|
| 16 |
+
{"step": 4000, "utc": "2026-11-27T09:57:05Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 3.3, "infer_s_per_query": 0.0105, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004483705117469032, "mae_raw": 0.02427585548103561, "nmse": 0.15600480560469698, "groups": {"body_target": {"mse_raw": 0.0024851005737115428, "nmse": 0.2359650846567888}, "hands": {"mse_raw": 0.0072999206109454935, "nmse": 0.04333350330402229}}, "nmse_by_step": [0.1517678384397953, 0.13513091679564196, 0.13092686482455318, 0.17490863203850798, 0.17878053432847937, 0.18582350526545224, 0.17046818522176463, 0.15962872345620854, 0.15288977626963726, 0.1360523661230856, 0.13068350600055673, 0.12993382576672868, 0.15210089919506797, 0.15977557786800864, 0.16655092683620745, 0.18080296420281028], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00028909018186883064, "rms_raw": 0.017002652201019423, "mae_raw": 0.012609297984367074}, "nmse_per_episode": {"0": 0.14076519653522204, "11": 0.15241187845104037, "22": 0.14525230465656744, "33": 0.1577639739903925, "44": 0.1471715440420185, "55": 0.14775992706302876, "66": 0.1556976616643474, "77": 0.2053354777734596, "88": 0.145798268023464, "99": 0.16074826861715347}, "nmse_episode_sem": 0.005840446313687778}
|
| 17 |
+
{"step": 4250, "utc": "2026-11-27T10:06:52Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.6, "infer_s_per_query": 0.0241, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004373541914413457, "mae_raw": 0.023645474373678425, "nmse": 0.15294596211429165, "groups": {"body_target": {"mse_raw": 0.0024286633496283534, "nmse": 0.2315673094764412}, "hands": {"mse_raw": 0.007114052619337926, "nmse": 0.042161336285808114}}, "nmse_by_step": [0.14774816894194315, 0.13104850319663658, 0.12735457689168106, 0.17200094958007495, 0.17650445698297532, 0.18487956096185196, 0.16947513927881191, 0.15813329611743868, 0.15036905343208273, 0.1326277013460017, 0.12609174948965898, 0.12482842913370182, 0.1469375243127442, 0.15626335521520132, 0.16452366345826958, 0.1784914343600872], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0002720232822136392, "rms_raw": 0.016493128333146482, "mae_raw": 0.01215813222934332}, "nmse_per_episode": {"0": 0.138114149626885, "11": 0.14952714231442316, "22": 0.14257346049125344, "33": 0.15426634798476116, "44": 0.14418236640039786, "55": 0.14513181340943174, "66": 0.15286195437526692, "77": 0.20098283588713683, "88": 0.14299057739893256, "99": 0.15753231095527728}, "nmse_episode_sem": 0.005682711769969373}
|
| 18 |
+
{"step": 4500, "utc": "2026-11-27T10:16:33Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 4.9, "infer_s_per_query": 0.0157, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004319155927517595, "mae_raw": 0.023148700723925948, "nmse": 0.15090421638058682, "groups": {"body_target": {"mse_raw": 0.002395059999592197, "nmse": 0.22845140397302624}, "hands": {"mse_raw": 0.007030382007776113, "nmse": 0.04163317931851329}}, "nmse_by_step": [0.14485670655750732, 0.12863788194957135, 0.12554952422694832, 0.17034811597671962, 0.1748153071675745, 0.1835925824230865, 0.16802000428884192, 0.15654564900028256, 0.14848018967490015, 0.13073343689287542, 0.12364530623812554, 0.12210632714947606, 0.14394133304114287, 0.15422668557586974, 0.16278231042104077, 0.17632205905274387], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0002570922592831263, "rms_raw": 0.01603409677166526, "mae_raw": 0.011749725264650002}, "nmse_per_episode": {"0": 0.13656918090143777, "11": 0.14767108058435227, "22": 0.14118011423186738, "33": 0.15152727253354753, "44": 0.14231210734902122, "55": 0.1435972876043083, "66": 0.1509362451573104, "77": 0.19772965745306031, "88": 0.14108537550520772, "99": 0.1551900463734485}, "nmse_episode_sem": 0.005523037153642913}
|
| 19 |
+
{"step": 4750, "utc": "2026-11-27T10:27:22Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 3.1, "infer_s_per_query": 0.0099, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004319359710104901, "mae_raw": 0.022764552119891476, "nmse": 0.1499950323377407, "groups": {"body_target": {"mse_raw": 0.002385110195485814, "nmse": 0.22683665983493723}, "hands": {"mse_raw": 0.007044893117068159, "nmse": 0.041718193591691134}}, "nmse_by_step": [0.14343991793861618, 0.1281195395754869, 0.12546774938034033, 0.16990660349450842, 0.17373298993548958, 0.18244987944172072, 0.16648887978601531, 0.15522068764377653, 0.14750193227660793, 0.1303453082565856, 0.12316982576231064, 0.12152865509799232, 0.14288315069214572, 0.15381201338801903, 0.16141126831296232, 0.17456469607652447], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.000242495752161208, "rms_raw": 0.015572275111916306, "mae_raw": 0.011337783151018462}, "nmse_per_episode": {"0": 0.1360489071373379, "11": 0.14673264650088283, "22": 0.14082693752773087, "33": 0.15026430462973636, "44": 0.14137180259473844, "55": 0.14294510810397043, "66": 0.15040689543916616, "77": 0.19584069975073604, "88": 0.1403402374674269, "99": 0.15397199753907953}, "nmse_episode_sem": 0.0053998019937566335}
|
| 20 |
+
{"step": 5000, "utc": "2026-11-27T10:37:42Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.7, "infer_s_per_query": 0.0246, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004327092499847613, "mae_raw": 0.02241779662187775, "nmse": 0.14931896579264015, "groups": {"body_target": {"mse_raw": 0.0023852613847358487, "nmse": 0.22561046859104766}, "hands": {"mse_raw": 0.007063309071141467, "nmse": 0.041817302758520566}}, "nmse_by_step": [0.14248086629165174, 0.12805835896505938, 0.1257579443593282, 0.1698631198015443, 0.17295112369684187, 0.1814319245712724, 0.1649649742714675, 0.1540318898537579, 0.14681908829633952, 0.1302719719013302, 0.12299695516078668, 0.12118605451514582, 0.14208932795851, 0.15341633734243032, 0.16018504471322564, 0.1726931352363801], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00022734308553958507, "rms_raw": 0.015077900568036156, "mae_raw": 0.01093549616537702}, "nmse_per_episode": {"0": 0.1356333505822152, "11": 0.14610396298644593, "22": 0.14061164178300145, "33": 0.1496731570052753, "44": 0.14076912895561908, "55": 0.14252639483828128, "66": 0.14981294952211222, "77": 0.19395370223375305, "88": 0.13992803413189345, "99": 0.15301555285658922}, "nmse_episode_sem": 0.0052567808866843336}
|
| 21 |
+
{"step": 5250, "utc": "2026-11-27T10:46:26Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 8.4, "infer_s_per_query": 0.027, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0043384265001348895, "mae_raw": 0.02211602716406539, "nmse": 0.14879153708000878, "groups": {"body_target": {"mse_raw": 0.0023918004966446108, "nmse": 0.2246465909080068}, "hands": {"mse_raw": 0.007081399505053009, "nmse": 0.04190487032237522}}, "nmse_by_step": [0.14165161815708088, 0.1281467294611856, 0.12614485374346066, 0.1699082602223675, 0.17208145706750547, 0.18034316921250496, 0.16347175302795927, 0.15276597799434155, 0.1460727474032719, 0.13037621178578038, 0.12308212008276552, 0.12120135441867391, 0.14165464281022092, 0.1534318624039791, 0.15915737962362334, 0.17125527992530573], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00021498371989645332, "rms_raw": 0.014662323141182414, "mae_raw": 0.010627765851012534}, "nmse_per_episode": {"0": 0.1353320895272661, "11": 0.14564786814845576, "22": 0.1406134514447947, "33": 0.14900904247453878, "44": 0.1403258467836213, "55": 0.1423159697375883, "66": 0.14955192861003566, "77": 0.19221337819766002, "88": 0.13973629822670763, "99": 0.15205599100415917}, "nmse_episode_sem": 0.005110048012781804}
|
| 22 |
+
{"step": 5500, "utc": "2026-11-27T10:59:57Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 9.3, "infer_s_per_query": 0.0299, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004328375273751108, "mae_raw": 0.02181056062518165, "nmse": 0.14801935664995833, "groups": {"body_target": {"mse_raw": 0.002389325406715596, "nmse": 0.22341527117450655}, "hands": {"mse_raw": 0.0070606728136647845, "nmse": 0.04177965891082217}}, "nmse_by_step": [0.1406015442644435, 0.1278250360887305, 0.12604609260023475, 0.1695217553457382, 0.17107137973474762, 0.17925260935182646, 0.162118126171661, 0.1514845027325369, 0.14504735545725234, 0.13003351203498334, 0.12266009077430168, 0.12069508506446894, 0.1407569833140266, 0.15308322751613782, 0.15817710175006483, 0.1700085607069919], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020198088840740983, "rms_raw": 0.014211998044167113, "mae_raw": 0.010311865417340117}, "nmse_per_episode": {"0": 0.13477177462053244, "11": 0.14496237992140962, "22": 0.14028985064538022, "33": 0.1478534862888253, "44": 0.1396245830788398, "55": 0.14182869784884206, "66": 0.14896693645969633, "77": 0.19037340275607087, "88": 0.13933655422551225, "99": 0.1511140967429073}, "nmse_episode_sem": 0.00498110822003818}
|
| 23 |
+
{"step": 5750, "utc": "2026-11-27T11:12:08Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 11.4, "infer_s_per_query": 0.0361, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004313606303739137, "mae_raw": 0.02149876363287404, "nmse": 0.14714711280008982, "groups": {"body_target": {"mse_raw": 0.0023816576851969635, "nmse": 0.22200570725324684}, "hands": {"mse_raw": 0.007035897538957655, "nmse": 0.04166454788882312}}, "nmse_by_step": [0.13923331334919734, 0.1272489541098419, 0.12580928961386625, 0.1690730487822336, 0.17017626268255356, 0.17822348307432337, 0.16084023870406045, 0.15023819719987486, 0.14389441733317593, 0.12941461420310826, 0.12193085039268796, 0.11994531318770633, 0.13983393086585263, 0.15255014252377197, 0.1572195318055084, 0.16879078965916264], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019026102491079242, "rms_raw": 0.013793513871047958, "mae_raw": 0.010038470813164262}, "nmse_per_episode": {"0": 0.1339780626926838, "11": 0.14424062899302711, "22": 0.13988117517001605, "33": 0.14663659729972686, "44": 0.13879380539185865, "55": 0.14131253108453135, "66": 0.14823498336870133, "77": 0.1885887307519364, "88": 0.13864479644466676, "99": 0.15012515110338798}, "nmse_episode_sem": 0.004874409703404072}
|
| 24 |
+
{"step": 6000, "utc": "2026-11-27T11:22:21Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 8.2, "infer_s_per_query": 0.0262, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004297373666223349, "mae_raw": 0.02121730690380127, "nmse": 0.14639176601326756, "groups": {"body_target": {"mse_raw": 0.002372570676682628, "nmse": 0.2208052690969868}, "hands": {"mse_raw": 0.007009596060576184, "nmse": 0.04153637530439046}}, "nmse_by_step": [0.1378401940780529, 0.12667310544187974, 0.1256357505217869, 0.1687019642575782, 0.16947612809232593, 0.1772256433059869, 0.15972882537871128, 0.14921968043081996, 0.14299854826590924, 0.12895701077602348, 0.12141346183029264, 0.11937972059992018, 0.13893688174619162, 0.15208083641227915, 0.15633939153894277, 0.16772924930360955], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00017983091170547616, "rms_raw": 0.01341010483573772, "mae_raw": 0.009791272305661718}, "nmse_per_episode": {"0": 0.1332857831798845, "11": 0.143564396537084, "22": 0.1395630322123023, "33": 0.1457723291754209, "44": 0.13807757072768706, "55": 0.14084517048219214, "66": 0.14756828934496363, "77": 0.18695577179598497, "88": 0.13800739720601937, "99": 0.1492745158995486}, "nmse_episode_sem": 0.004774930661924546}
|
| 25 |
+
{"step": 6250, "utc": "2026-11-27T11:34:55Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 10.0, "infer_s_per_query": 0.0318, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004276716275045838, "mae_raw": 0.020960439219032644, "nmse": 0.1456028789807659, "groups": {"body_target": {"mse_raw": 0.0023635434790703303, "nmse": 0.21961110190672942}, "hands": {"mse_raw": 0.0069725506693749635, "nmse": 0.041318564857817305}}, "nmse_by_step": [0.13627802885297474, 0.12593439272086887, 0.1253176558247013, 0.16823226375656714, 0.16869606473088353, 0.1763112752120056, 0.15868893204018056, 0.14825683157850142, 0.14215116603949418, 0.12855171627359194, 0.12091919058571983, 0.11882043337283223, 0.1379837470824061, 0.15152217756408243, 0.1555132632782507, 0.16654023318890276], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00017153626309835562, "rms_raw": 0.013097185312056772, "mae_raw": 0.009602812032158257}, "nmse_per_episode": {"0": 0.13280407725138266, "11": 0.1429266550309207, "22": 0.13910981930185665, "33": 0.1449667978073865, "44": 0.13727702694103663, "55": 0.14043739322776266, "66": 0.14674648743648663, "77": 0.18527394260253396, "88": 0.13714834189796865, "99": 0.14836291444070981}, "nmse_episode_sem": 0.0046709991477364545}
|
| 26 |
+
{"step": 6500, "utc": "2026-11-27T11:46:27Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.8, "infer_s_per_query": 0.025, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00426086995258493, "mae_raw": 0.02073283408160288, "nmse": 0.14483120816011444, "groups": {"body_target": {"mse_raw": 0.0023557480563376216, "nmse": 0.21838942112606477}, "hands": {"mse_raw": 0.00694535989729705, "nmse": 0.04118099898082081}}, "nmse_by_step": [0.13484480129787696, 0.12531525578331862, 0.12505426113077212, 0.16779601898150237, 0.167957253410561, 0.17564613789538194, 0.15782402157335954, 0.14735939652287697, 0.14129594297496317, 0.1281034551833204, 0.12031981240317094, 0.11809073465108111, 0.13697822184379208, 0.15077090557849782, 0.1546622831861608, 0.16534504667592603], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00016408122355485584, "rms_raw": 0.012809419329339478, "mae_raw": 0.009426247794833746}, "nmse_per_episode": {"0": 0.1323441263995692, "11": 0.14230406688008645, "22": 0.13871165719628026, "33": 0.14404869965496783, "44": 0.13669906639542115, "55": 0.14004481703419383, "66": 0.14593662321360357, "77": 0.18346986603450433, "88": 0.13633547585025524, "99": 0.14747484157900617}, "nmse_episode_sem": 0.004549311720982253}
|
| 27 |
+
{"step": 6750, "utc": "2026-11-27T11:58:00Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.0, "infer_s_per_query": 0.0222, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00424870685148998, "mae_raw": 0.020527594734272875, "nmse": 0.14422044956468055, "groups": {"body_target": {"mse_raw": 0.00234892574917494, "nmse": 0.21741598451531788}, "hands": {"mse_raw": 0.006925671132024809, "nmse": 0.041081286679691575}}, "nmse_by_step": [0.1334650206378593, 0.1248315823466961, 0.1249088576865354, 0.1674964755769732, 0.16731626666009622, 0.1749837646740517, 0.15695384586641078, 0.14644661589362457, 0.14042024239161288, 0.12777938143389367, 0.11992847312424901, 0.11769829519503656, 0.1361905156838711, 0.15042289089459893, 0.1540372514449159, 0.16471931010565052], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00015697142581053898, "rms_raw": 0.012528823799963786, "mae_raw": 0.009245764780638786}, "nmse_per_episode": {"0": 0.13207077158341282, "11": 0.14183528288855068, "22": 0.13856195167459012, "33": 0.14310036108547933, "44": 0.13614725059627827, "55": 0.13968985181007254, "66": 0.14545726601001108, "77": 0.1818866626412432, "88": 0.13583511555802422, "99": 0.14671281477597872}, "nmse_episode_sem": 0.004433454243075074}
|
| 28 |
+
{"step": 7000, "utc": "2026-11-27T12:12:22Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 9.5, "infer_s_per_query": 0.03, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004231637992694902, "mae_raw": 0.02032555752316663, "nmse": 0.14357093736862192, "groups": {"body_target": {"mse_raw": 0.0023387990783248136, "nmse": 0.21641103956186505}, "hands": {"mse_raw": 0.006898820099307298, "nmse": 0.04093261155087014}}, "nmse_by_step": [0.13212910458921648, 0.12421631127264797, 0.12461739689422341, 0.16709929518257832, 0.1666466485306762, 0.17427567655658208, 0.15621050537329784, 0.14573392849517353, 0.1397682221113923, 0.12736176117169642, 0.11946235587057236, 0.11721190609164846, 0.13543348474608483, 0.14982100329744596, 0.15334726895442302, 0.1638754870796389], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00015113598337155885, "rms_raw": 0.012293737567215222, "mae_raw": 0.009089551652656097}, "nmse_per_episode": {"0": 0.1315955055274526, "11": 0.14131788125238412, "22": 0.13825312312276178, "33": 0.1425061361323255, "44": 0.13544142604380016, "55": 0.139337879097607, "66": 0.14478504278836735, "77": 0.18044477771711537, "88": 0.13507200389916182, "99": 0.14607033702916236}, "nmse_episode_sem": 0.004348004102086494}
|
| 29 |
+
{"step": 7250, "utc": "2026-11-27T12:24:55Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 6.0, "infer_s_per_query": 0.0191, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004211922423810638, "mae_raw": 0.020136186727719656, "nmse": 0.14292286225435383, "groups": {"body_target": {"mse_raw": 0.0023288414135074205, "nmse": 0.2154329096716921}, "hands": {"mse_raw": 0.006865354756510626, "nmse": 0.04074961362083164}}, "nmse_by_step": [0.130858703404134, 0.12354415879413738, 0.12423786518588321, 0.16665238239596666, 0.16611106752424729, 0.1736273183729864, 0.15547775084786994, 0.14502404853736686, 0.13906207178211616, 0.12678928394535435, 0.11883782832286693, 0.11658082646848661, 0.1345821737359391, 0.14924363959246595, 0.15285704640203276, 0.16336358639108042], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0001456450569505502, "rms_raw": 0.012068349387987995, "mae_raw": 0.00893070744799656}, "nmse_per_episode": {"0": 0.13113910378736574, "11": 0.14086882727607566, "22": 0.13786903458155175, "33": 0.14175771670834808, "44": 0.13471988844459204, "55": 0.13893743833362218, "66": 0.14434482287948952, "77": 0.17896615830207113, "88": 0.13451718615750294, "99": 0.14525234182921903}, "nmse_episode_sem": 0.004256102652573315}
|
| 30 |
+
{"step": 7500, "utc": "2026-11-27T12:36:56Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 15.3, "infer_s_per_query": 0.0487, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004184664312040848, "mae_raw": 0.01994300578281225, "nmse": 0.14213558408209853, "groups": {"body_target": {"mse_raw": 0.002316520378395582, "nmse": 0.21428227149005916}, "hands": {"mse_raw": 0.006817048945813723, "nmse": 0.04047434273451773}}, "nmse_by_step": [0.1295655689430138, 0.1227185120721793, 0.12366461746786496, 0.16603971017716643, 0.16549690882247545, 0.1729828272064546, 0.15484301523318067, 0.14431760817151243, 0.13824462368922313, 0.12610458201219907, 0.11800167513424557, 0.11569198410392922, 0.13339450716678747, 0.1483838748067868, 0.15221470205982887, 0.16258892174018705], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00014060428058388987, "rms_raw": 0.011857667586160858, "mae_raw": 0.00879056731206244}, "nmse_per_episode": {"0": 0.1304166726494424, "11": 0.14038185109721252, "22": 0.1372890388690137, "33": 0.14078741622717714, "44": 0.13388619645060798, "55": 0.13847966518858273, "66": 0.14370228270580732, "77": 0.1774399784086639, "88": 0.1337276877647756, "99": 0.14441472263836885}, "nmse_episode_sem": 0.004179056529165297}
|
| 31 |
+
{"step": 7750, "utc": "2026-11-27T12:50:14Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.1, "infer_s_per_query": 0.0228, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0041430838252252, "mae_raw": 0.019752636655949105, "nmse": 0.14112694306919105, "groups": {"body_target": {"mse_raw": 0.002296498507995327, "nmse": 0.21285832579406927}, "hands": {"mse_raw": 0.006745090408594567, "nmse": 0.04005090377504446}}, "nmse_by_step": [0.1278248194678277, 0.12121864930177742, 0.12247141723002747, 0.1649827993110645, 0.16484089830527573, 0.17236416010684574, 0.15429609323240132, 0.1437103905237047, 0.13734982796963194, 0.12497117997097251, 0.11667229429659105, 0.1143801382570896, 0.13186012469143013, 0.14739105538592642, 0.1516841940628408, 0.16211699935098461], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00013677269898068205, "rms_raw": 0.011694986061585625, "mae_raw": 0.008687725054838778}, "nmse_per_episode": {"0": 0.12954931496893612, "11": 0.13954665658864343, "22": 0.1365296977143989, "33": 0.13969015068436033, "44": 0.13272494586239383, "55": 0.1377190323270033, "66": 0.1428934489725162, "77": 0.17586323229200765, "88": 0.1326026682166559, "99": 0.14334058532173802}, "nmse_episode_sem": 0.004121991795378857}
|
| 32 |
+
{"step": 8000, "utc": "2026-11-27T12:59:30Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.6, "infer_s_per_query": 0.0241, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004120870739595487, "mae_raw": 0.019575979103901554, "nmse": 0.1404268714782842, "groups": {"body_target": {"mse_raw": 0.00228475522633779, "nmse": 0.21181075435845384}, "hands": {"mse_raw": 0.006708124417367699, "nmse": 0.03984049105622689}}, "nmse_by_step": [0.12660650143760566, 0.12033823415073641, 0.12182211402433428, 0.16440143439240934, 0.16434945042371432, 0.17179559938776082, 0.15363284995941415, 0.14307151397771137, 0.13663807132318195, 0.12432411460125413, 0.11589575071673126, 0.11360243484807975, 0.13078020508203872, 0.1467875456461394, 0.15120309603855345, 0.16169559837617453], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0001326066672727149, "rms_raw": 0.01151549683134492, "mae_raw": 0.008559893149274918}, "nmse_per_episode": {"0": 0.1291551554324957, "11": 0.1389545774141035, "22": 0.1360537887615464, "33": 0.13882976860387528, "44": 0.1319141401535137, "55": 0.13722931177577485, "66": 0.14242136777303208, "77": 0.17452036982036262, "88": 0.13192747434908378, "99": 0.1424776580370519}, "nmse_episode_sem": 0.004050121106896525}
|
| 33 |
+
{"step": 8250, "utc": "2026-11-27T13:07:54Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 5.3, "infer_s_per_query": 0.017, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0040944561424833366, "mae_raw": 0.019403526282175083, "nmse": 0.13965201182206682, "groups": {"body_target": {"mse_raw": 0.0022712546754507495, "nmse": 0.21066494026206112}, "hands": {"mse_raw": 0.006663512755120163, "nmse": 0.039588339929347675}}, "nmse_by_step": [0.12549363112472814, 0.11937659009088665, 0.12101213476039237, 0.1637082912380355, 0.16385535025584372, 0.1712488671561043, 0.15310531984011716, 0.14252951485837553, 0.13591292995636378, 0.12348291893724689, 0.11489483840981947, 0.11260409055591558, 0.12955859425934713, 0.14594752075685416, 0.15065509501187493, 0.1611648098846275], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00012905268134954606, "rms_raw": 0.01136013562196975, "mae_raw": 0.00845421197334651}, "nmse_per_episode": {"0": 0.12859245760509475, "11": 0.13831586713421937, "22": 0.13545583096952882, "33": 0.13801451268938492, "44": 0.13105985196687805, "55": 0.1366640854563978, "66": 0.1417857684487926, "77": 0.17308245800155025, "88": 0.1312347365262199, "99": 0.14155208006570483}, "nmse_episode_sem": 0.003977284905967745}
|
| 34 |
+
{"step": 8500, "utc": "2026-11-27T13:17:26Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 10.0, "infer_s_per_query": 0.0319, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0040779892527144125, "mae_raw": 0.019255581424600213, "nmse": 0.13908085946470997, "groups": {"body_target": {"mse_raw": 0.0022617539479050327, "nmse": 0.20978898681499045}, "hands": {"mse_raw": 0.006637229909491266, "nmse": 0.039446680016587486}}, "nmse_by_step": [0.12457234337377569, 0.11866556703241718, 0.12044497258561256, 0.16313157952072505, 0.1633534920208912, 0.1707000911953247, 0.1526135674642627, 0.14200123097234005, 0.13531545133562362, 0.1228807614239676, 0.11423996859490622, 0.11199498739843723, 0.12881841159868443, 0.1454625048495652, 0.1503238424120903, 0.16090587812577023], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0001256138956657429, "rms_raw": 0.011207760510723938, "mae_raw": 0.008354552916515864}, "nmse_per_episode": {"0": 0.12805695100874626, "11": 0.13786136527019233, "22": 0.13499209917540764, "33": 0.13747269594431852, "44": 0.13029138660782363, "55": 0.13621513801279436, "66": 0.14145004677184933, "77": 0.17192204577408024, "88": 0.13090687817077437, "99": 0.140897207490979}, "nmse_episode_sem": 0.003918615900294248}
|
| 35 |
+
{"step": 8750, "utc": "2026-11-27T13:26:31Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 11.4, "infer_s_per_query": 0.0365, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004061084404277292, "mae_raw": 0.01912269838752353, "nmse": 0.13853447451703274, "groups": {"body_target": {"mse_raw": 0.002254357637262812, "nmse": 0.20897908095420145}, "hands": {"mse_raw": 0.0066069266668886024, "nmse": 0.03927161999193145}}, "nmse_by_step": [0.12377210276242269, 0.1181194158856768, 0.12000565573106566, 0.16268930151203623, 0.1629301488486338, 0.17004341489628916, 0.15206131618980848, 0.14142876593084938, 0.1346926627290892, 0.12243429772498536, 0.11371591352867508, 0.11142347297722993, 0.1280558771022681, 0.14476393467748935, 0.14997133954864333, 0.16057990683771461], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00012289458760824382, "rms_raw": 0.011085783130128599, "mae_raw": 0.008271486310120363}, "nmse_per_episode": {"0": 0.1275482035160661, "11": 0.13744612240715068, "22": 0.13455283976446672, "33": 0.136913168456219, "44": 0.12964504161129578, "55": 0.1358398996459515, "66": 0.14111246339587386, "77": 0.17072567362832253, "88": 0.1304956191849142, "99": 0.14034264471346705}, "nmse_episode_sem": 0.003854877399874006}
|
| 36 |
+
{"step": 9000, "utc": "2026-11-27T13:32:52Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 5.2, "infer_s_per_query": 0.0167, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004041726070761818, "mae_raw": 0.018998667852267035, "nmse": 0.1379640456316171, "groups": {"body_target": {"mse_raw": 0.002244666818699727, "nmse": 0.2081355196754695}, "hands": {"mse_raw": 0.006573945925940217, "nmse": 0.03908605947891603}}, "nmse_by_step": [0.12302897829975015, 0.11749776744381528, 0.11945535381457827, 0.16214174153116984, 0.16247522600148404, 0.16954157412200704, 0.15162606026686476, 0.1409309895964395, 0.13408544898785751, 0.12189244113073062, 0.11308871125799526, 0.11073644182568075, 0.12713804247306978, 0.1440532947133962, 0.1496161361367204, 0.16025576782711315], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00012059193288985068, "rms_raw": 0.010981435830065696, "mae_raw": 0.008198521108142598}, "nmse_per_episode": {"0": 0.12704021603246, "11": 0.13696721760603367, "22": 0.13411940055609425, "33": 0.13634906540261982, "44": 0.12899986422102716, "55": 0.13546825414639152, "66": 0.1406400744720793, "77": 0.1696256395804774, "88": 0.1300546515495728, "99": 0.13967153341812263}, "nmse_episode_sem": 0.0037996209651273796}
|
| 37 |
+
{"step": 9250, "utc": "2026-11-27T13:41:04Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 5.0, "infer_s_per_query": 0.0159, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004019756253172136, "mae_raw": 0.018867678551460258, "nmse": 0.1373447135247142, "groups": {"body_target": {"mse_raw": 0.002234140900560852, "nmse": 0.2072332453684701}, "hands": {"mse_raw": 0.006535850613669855, "nmse": 0.03886541865396722}}, "nmse_by_step": [0.1222672615172875, 0.11678725076497803, 0.11879473925864796, 0.16147743457574834, 0.1619543677947531, 0.16911812640470705, 0.15125930217493447, 0.1404870667140239, 0.1335101592906677, 0.12127648007051889, 0.11235610162117186, 0.10996802372226451, 0.12619206795971613, 0.1432222740212281, 0.14918501613423918, 0.1597998691491625], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00011848715725733574, "rms_raw": 0.010885180625847958, "mae_raw": 0.008133098180894818}, "nmse_per_episode": {"0": 0.12650655971305436, "11": 0.13641597888657783, "22": 0.13356380875985754, "33": 0.1357493664450945, "44": 0.12830526430404254, "55": 0.13504601510117598, "66": 0.14005126854047362, "77": 0.1685834068304347, "88": 0.12949108387120145, "99": 0.139042525653521}, "nmse_episode_sem": 0.0037562684697347672}
|
| 38 |
+
{"step": 9500, "utc": "2026-11-27T13:49:33Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 9.9, "infer_s_per_query": 0.0314, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004006346394426221, "mae_raw": 0.018764209465280474, "nmse": 0.1368844306242612, "groups": {"body_target": {"mse_raw": 0.002227762192048833, "nmse": 0.20653731537385497}, "hands": {"mse_raw": 0.006512533225048904, "nmse": 0.03873718393165174}}, "nmse_by_step": [0.12182131960427296, 0.11641545388830457, 0.11842536351472804, 0.16104332993312617, 0.16151162546674444, 0.16873142635558402, 0.15092233886254575, 0.14005761069990402, 0.13303492889992422, 0.12090349213607568, 0.1118632307322237, 0.10939306326729169, 0.12548201436023454, 0.14265886090997926, 0.14875457634099942, 0.15926553390893744], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00011675373602248283, "rms_raw": 0.01080526427360677, "mae_raw": 0.008077078870375136}, "nmse_per_episode": {"0": 0.12609996649445843, "11": 0.13607962642885604, "22": 0.13317894651766482, "33": 0.13527536307264026, "44": 0.12783085556655388, "55": 0.13478573559510015, "66": 0.13965414737272125, "77": 0.16769297784377113, "88": 0.12906697505749817, "99": 0.13850249170494328}, "nmse_episode_sem": 0.0037120922708103535}
|
| 39 |
+
{"step": 9750, "utc": "2026-11-27T13:56:52Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 4.2, "infer_s_per_query": 0.0136, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003996351081725372, "mae_raw": 0.018672767325015435, "nmse": 0.13651010358270058, "groups": {"body_target": {"mse_raw": 0.0022231080957735537, "nmse": 0.20596497311100614}, "hands": {"mse_raw": 0.006495011652839295, "nmse": 0.038641878338269965}}, "nmse_by_step": [0.12149695078414006, 0.11617360656265904, 0.11817893513195142, 0.16073340301195235, 0.16115732407318906, 0.16831266486163585, 0.150603166854648, 0.1396814670454511, 0.1326301427759475, 0.12059657734876515, 0.1114880589625423, 0.1089465865319782, 0.1248699112236695, 0.14212960329542912, 0.14841800227255122, 0.15887201071842708], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00011547760729051412, "rms_raw": 0.010746050776471984, "mae_raw": 0.008033118231770735}, "nmse_per_episode": {"0": 0.12578916974001284, "11": 0.1358032369982453, "22": 0.13279919060929443, "33": 0.13489991560022654, "44": 0.12745439090505153, "55": 0.1345571680609542, "66": 0.13932881227165647, "77": 0.16694633793005098, "88": 0.12881825148245518, "99": 0.1380395444143823}, "nmse_episode_sem": 0.0036718003237212397}
|
| 40 |
+
{"step": 10000, "utc": "2026-11-27T14:04:53Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 7.2, "infer_s_per_query": 0.023, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003983263749556022, "mae_raw": 0.018581899443899604, "nmse": 0.136069486406007, "groups": {"body_target": {"mse_raw": 0.0022149189882230587, "nmse": 0.20529116730047095}, "hands": {"mse_raw": 0.006475022276888834, "nmse": 0.03852984514562591}}, "nmse_by_step": [0.12100397084759125, 0.11571930897917275, 0.11773298343202547, 0.1602812413476749, 0.16079084428674015, 0.16790894312838975, 0.15032319797771526, 0.13935749477552184, 0.13220217800194, 0.12017134363353561, 0.11097497761299095, 0.10837245155028213, 0.12410125051424324, 0.1416091419323524, 0.14809848628315161, 0.15859103050625242], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00011398074508818955, "rms_raw": 0.010676176520093209, "mae_raw": 0.007989872053188978}, "nmse_per_episode": {"0": 0.12539419950336422, "11": 0.13543483779660886, "22": 0.13244578560381576, "33": 0.13451325811566342, "44": 0.12697482209243824, "55": 0.13424482730132434, "66": 0.13897434587641364, "77": 0.16615476243294872, "88": 0.12846552640233452, "99": 0.13744084673489473}, "nmse_episode_sem": 0.0036349847884774014}
|
| 41 |
+
{"step": 10250, "utc": "2026-11-27T14:13:31Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 8.4, "infer_s_per_query": 0.0268, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003972352069011356, "mae_raw": 0.0184972368719734, "nmse": 0.1357258287938797, "groups": {"body_target": {"mse_raw": 0.002209559352006534, "nmse": 0.2047728452908028}, "hands": {"mse_raw": 0.006456287261154514, "nmse": 0.03843230554821545}}, "nmse_by_step": [0.12072433390836848, 0.115467448315544, 0.11746538852039357, 0.1599667806547038, 0.16044506426124955, 0.16749233542352615, 0.15003012501561197, 0.13901804467836829, 0.13183207327039204, 0.11988239676771288, 0.11063723203265592, 0.10795871377762986, 0.12351665663932583, 0.1411552839930256, 0.14783359016010622, 0.15831183143773905], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00011283022584191939, "rms_raw": 0.010622157306400587, "mae_raw": 0.007952693857946247}, "nmse_per_episode": {"0": 0.12512930178934498, "11": 0.13518925672742374, "22": 0.1321478447357857, "33": 0.1341745279597427, "44": 0.12655259456473114, "55": 0.13403851720528753, "66": 0.1387261290076795, "77": 0.1654762382289584, "88": 0.1282556502969473, "99": 0.13693029990817818}, "nmse_episode_sem": 0.0035995066485649237}
|
| 42 |
+
{"step": 10500, "utc": "2026-11-27T14:20:45Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 4.6, "infer_s_per_query": 0.0147, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0039635512810946615, "mae_raw": 0.018429231291302722, "nmse": 0.13543099924129737, "groups": {"body_target": {"mse_raw": 0.0022058828071348825, "nmse": 0.20433134347959128}, "hands": {"mse_raw": 0.006440265948947076, "nmse": 0.03834415054188329}}, "nmse_by_step": [0.12051847395014748, 0.11528416306790981, 0.11724762414735566, 0.15969936873425802, 0.16013563647559054, 0.1671243649833166, 0.14976561916795117, 0.1387328229085138, 0.13155103084677888, 0.11962775187758157, 0.11034106560866565, 0.10759451882964474, 0.12297938345250492, 0.14075423712804047, 0.14760150009274178, 0.15805859826430946], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0001115818579775395, "rms_raw": 0.010563231417399673, "mae_raw": 0.007910492254103382}, "nmse_per_episode": {"0": 0.1248944753348072, "11": 0.13497859872017712, "22": 0.1318935317425816, "33": 0.13394378329178142, "44": 0.12619855597327254, "55": 0.13387208550493612, "66": 0.1384872276729386, "77": 0.1648327473424394, "88": 0.1280666354918561, "99": 0.13651621189087718}, "nmse_episode_sem": 0.0035633822402018783}
|
| 43 |
+
{"step": 10750, "utc": "2026-11-27T14:28:56Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 8.3, "infer_s_per_query": 0.0265, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003956478850585637, "mae_raw": 0.018369505899034622, "nmse": 0.13519739206314832, "groups": {"body_target": {"mse_raw": 0.0022031375125516504, "nmse": 0.20398394858450056}, "hands": {"mse_raw": 0.006427096190542618, "nmse": 0.038270880601242875}}, "nmse_by_step": [0.12030511331839366, 0.11512502099971916, 0.11708623779927504, 0.15951603823192256, 0.15992878827086024, 0.16683398737998426, 0.14949795032085017, 0.1384721670981078, 0.1312939032436328, 0.11939469718347923, 0.11008531058642872, 0.10733011789256705, 0.12258713296928678, 0.14052350970366118, 0.14740310016310257, 0.1578940151087479], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00011050119763202544, "rms_raw": 0.010511954986206202, "mae_raw": 0.007873210391704888}, "nmse_per_episode": {"0": 0.12473919170604136, "11": 0.13481696756498798, "22": 0.13169917048766996, "33": 0.1337278073760257, "44": 0.12592758629709827, "55": 0.13374751700373322, "66": 0.13830858972823698, "77": 0.16432051286994467, "88": 0.12792109347668984, "99": 0.13614999082866347}, "nmse_episode_sem": 0.003533328846297053}
|
| 44 |
+
{"step": 11000, "utc": "2026-11-27T14:37:24Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 10.1, "infer_s_per_query": 0.0322, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003951564109321586, "mae_raw": 0.018323983100059362, "nmse": 0.1350027842177119, "groups": {"body_target": {"mse_raw": 0.0022006528847543336, "nmse": 0.20368324961104695}, "hands": {"mse_raw": 0.006418757198484532, "nmse": 0.03822576479983061}}, "nmse_by_step": [0.12013221800664099, 0.11499017149643524, 0.11694167304379113, 0.1593415072127139, 0.15975519751443318, 0.1666076647725444, 0.14927516054570536, 0.13826406457067048, 0.1310808091540136, 0.11920469284099665, 0.10987397945506198, 0.10710911271376991, 0.12222069584487236, 0.1403078640524715, 0.14727111562302425, 0.157786869973869], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.000110045820215293, "rms_raw": 0.010490272647328715, "mae_raw": 0.007859710935228201}, "nmse_per_episode": {"0": 0.12463857572207244, "11": 0.13466807365925346, "22": 0.13153206143836912, "33": 0.13355980532060513, "44": 0.12572100382448595, "55": 0.1336223957326867, "66": 0.13816956573402, "77": 0.16386992027008296, "88": 0.12779537008400763, "99": 0.1358443491722707}, "nmse_episode_sem": 0.003505031559989533}
|
| 45 |
+
{"step": 11250, "utc": "2026-11-27T14:44:53Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 3.5, "infer_s_per_query": 0.0113, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003945179448968846, "mae_raw": 0.018282820888122973, "nmse": 0.13481649121601286, "groups": {"body_target": {"mse_raw": 0.0021982524764494666, "nmse": 0.20341399656111323}, "hands": {"mse_raw": 0.006406758364791608, "nmse": 0.03815637004791709}}, "nmse_by_step": [0.11994625771478122, 0.11481348399840977, 0.11676052804331333, 0.15916135811709425, 0.15959964689947825, 0.16642114419607068, 0.1490958877885751, 0.13808138150451837, 0.13088058521160853, 0.11900056142158029, 0.1096407319449266, 0.10687321304546035, 0.12187891482206596, 0.14008467514741338, 0.1471844893676428, 0.15776083906229074], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0001096704205505736, "rms_raw": 0.010472364611231487, "mae_raw": 0.007848818540302017}, "nmse_per_episode": {"0": 0.12447099004610956, "11": 0.13450147307494964, "22": 0.1313512712063857, "33": 0.1333859510002597, "44": 0.12550652676182547, "55": 0.13352221180229423, "66": 0.13810181238711772, "77": 0.1634503474738212, "88": 0.1277158157808346, "99": 0.1355612584000512}, "nmse_episode_sem": 0.003481958390797219}
|
| 46 |
+
{"step": 11500, "utc": "2026-11-27T14:52:52Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 5.2, "infer_s_per_query": 0.0167, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003939800525923565, "mae_raw": 0.018248433643339355, "nmse": 0.1346660257204585, "groups": {"body_target": {"mse_raw": 0.0021961214738633974, "nmse": 0.20320007878314694}, "hands": {"mse_raw": 0.006396802826553802, "nmse": 0.038095314586670107}}, "nmse_by_step": [0.11981598145766367, 0.11466636105606456, 0.11660344379455298, 0.15900620032483884, 0.15944359782541223, 0.16625354079713983, 0.1489667837999053, 0.13791567468403187, 0.13068090627823736, 0.11881663909232924, 0.10942140075468848, 0.10665375500233251, 0.12159963999564269, 0.13993300847619497, 0.14715523009254897, 0.1578475763095258], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00010946499404185852, "rms_raw": 0.010462551985144853, "mae_raw": 0.007842595561235687}, "nmse_per_episode": {"0": 0.12434566334312298, "11": 0.13435162287035612, "22": 0.1311944512965113, "33": 0.1332137079678545, "44": 0.12532896988493963, "55": 0.13340362837187414, "66": 0.13805932161236942, "77": 0.16311026904683962, "88": 0.12774810460778158, "99": 0.13531563965338317}, "nmse_episode_sem": 0.0034615000469247633}
|
| 47 |
+
{"step": 11750, "utc": "2026-11-27T14:59:05Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 2.3, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003935357731706399, "mae_raw": 0.018222319718597113, "nmse": 0.1345303358154711, "groups": {"body_target": {"mse_raw": 0.002194062377391133, "nmse": 0.20300150400165454}, "hands": {"mse_raw": 0.006389001185514275, "nmse": 0.03804823518948537}}, "nmse_by_step": [0.11967847033129184, 0.11454396384757999, 0.11648463251422346, 0.15891305299334635, 0.15938293135233103, 0.16611238764908004, 0.14886259222288908, 0.13782963669350462, 0.13058277004903976, 0.11866699919806045, 0.10925086823357774, 0.10646656886063759, 0.12133644117443707, 0.13969999973014605, 0.1470521349544125, 0.15774312301587917], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0001092634514842032, "rms_raw": 0.010452915932131244, "mae_raw": 0.007835877188100214}, "nmse_per_episode": {"0": 0.12425091960152707, "11": 0.1342377052117042, "22": 0.13103585154648295, "33": 0.1331392829372616, "44": 0.12520309240377636, "55": 0.13331320151645318, "66": 0.13792431740094963, "77": 0.16282982208446684, "88": 0.1276574480644141, "99": 0.13512657189137664}, "nmse_episode_sem": 0.003445311213828776}
|
| 48 |
+
{"step": 12000, "utc": "2026-11-27T15:04:44Z", "model": "flash", "task": "a18cr4", "split": "train10", "queries": 308, "ranks": 1, "wall_s": 3.7, "infer_s_per_query": 0.0118, "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/a18cr4/train10", "rows": 4860, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003931833655061789, "mae_raw": 0.01820035095934414, "nmse": 0.13444443605735412, "groups": {"body_target": {"mse_raw": 0.0021927547067389567, "nmse": 0.20288309382634523}, "hands": {"mse_raw": 0.00638235399133487, "nmse": 0.03800814556468474}}, "nmse_by_step": [0.11957008898661774, 0.11445769734877063, 0.11640600330209609, 0.15886379028463501, 0.15935882000496718, 0.16598394542379047, 0.14873703691303528, 0.13774425863945, 0.1304957659050218, 0.11854431009107956, 0.10913048151579982, 0.10636519923270515, 0.12116705518052481, 0.13959990305199957, 0.14702744986381872, 0.1577822191408781], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.000109129110827048, "rms_raw": 0.01044648796615628, "mae_raw": 0.007832076064058344}, "nmse_per_episode": {"0": 0.12419037112733684, "11": 0.13414479019990602, "22": 0.13093314289756308, "33": 0.1330760104753454, "44": 0.12509579631436915, "55": 0.1332508885680019, "66": 0.13789195136013474, "77": 0.16264102889696577, "88": 0.12765628971759335, "99": 0.13498300714640854}, "nmse_episode_sem": 0.003434348486389902}
|
a18-pour-water/b512-trim3f/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
|
a18-pour-water/b512-trim3f/step-012000/training_records/run.json
ADDED
|
@@ -0,0 +1,1101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"argv": [
|
| 3 |
+
"evaluation/baselines/train.py",
|
| 4 |
+
"--policy",
|
| 5 |
+
"flash",
|
| 6 |
+
"--contract",
|
| 7 |
+
"h2_sharpa",
|
| 8 |
+
"--dataset",
|
| 9 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v4-73fd522/data",
|
| 10 |
+
"--out",
|
| 11 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000",
|
| 12 |
+
"--steps",
|
| 13 |
+
"12000",
|
| 14 |
+
"--batch-size",
|
| 15 |
+
"512",
|
| 16 |
+
"--workers",
|
| 17 |
+
"40",
|
| 18 |
+
"--log-every",
|
| 19 |
+
"50",
|
| 20 |
+
"--cache-dir",
|
| 21 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/flash-cache/a18cr4",
|
| 22 |
+
"--inloop-task",
|
| 23 |
+
"a18cr4",
|
| 24 |
+
"--inloop-code",
|
| 25 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse"
|
| 26 |
+
],
|
| 27 |
+
"started": "2026-11-27T15:08:23",
|
| 28 |
+
"host": "dlc19te5fv9wtn5t-worker-1",
|
| 29 |
+
"torch": "2.9.0+cu128",
|
| 30 |
+
"policy": {
|
| 31 |
+
"policy": "flash",
|
| 32 |
+
"n_cameras": 2,
|
| 33 |
+
"state_dim": 78,
|
| 34 |
+
"action_dim": 75,
|
| 35 |
+
"horizon": 16,
|
| 36 |
+
"backbone": "resnet18",
|
| 37 |
+
"backbone_weights": null,
|
| 38 |
+
"backbone_norm": "group",
|
| 39 |
+
"hidden_dim": 512,
|
| 40 |
+
"num_layers": 4,
|
| 41 |
+
"num_heads": 8,
|
| 42 |
+
"mlp_ratio": 4.0,
|
| 43 |
+
"dropout": 0.0,
|
| 44 |
+
"time_embed_dim": 256,
|
| 45 |
+
"num_inference_steps": 1,
|
| 46 |
+
"num_train_timesteps": 100,
|
| 47 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 48 |
+
"prediction_type": "epsilon",
|
| 49 |
+
"clip_sample": true,
|
| 50 |
+
"act_hidden_dim": 512,
|
| 51 |
+
"dim_feedforward": 3200,
|
| 52 |
+
"enc_layers": 4,
|
| 53 |
+
"dec_layers": 7,
|
| 54 |
+
"nheads": 8,
|
| 55 |
+
"latent_dim": 32,
|
| 56 |
+
"kl_weight": 10.0,
|
| 57 |
+
"ode_body_dim": null,
|
| 58 |
+
"ode_width": 512,
|
| 59 |
+
"ode_layers": 4,
|
| 60 |
+
"ode_cond_dim": 512,
|
| 61 |
+
"ode_field_scale": 1.0,
|
| 62 |
+
"ode_dit_hidden": 512,
|
| 63 |
+
"ode_dit_layers": 4,
|
| 64 |
+
"ode_dit_heads": 8,
|
| 65 |
+
"ode_dit_tokens": 4,
|
| 66 |
+
"extra": {
|
| 67 |
+
"flash": {
|
| 68 |
+
"stride": 2,
|
| 69 |
+
"n_history": 8,
|
| 70 |
+
"n_action": 8,
|
| 71 |
+
"rows": 16,
|
| 72 |
+
"poly_order": 6,
|
| 73 |
+
"fit_pad": 1,
|
| 74 |
+
"boundary_constraint": true,
|
| 75 |
+
"poly_prefix": 1,
|
| 76 |
+
"poly_suffix": 1,
|
| 77 |
+
"history_noise_std": 0.5,
|
| 78 |
+
"history_reg_lambda": 0.1,
|
| 79 |
+
"consistency_weight": 1.0,
|
| 80 |
+
"solver": "euler"
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
"contract": {
|
| 85 |
+
"name": "h2_sharpa",
|
| 86 |
+
"robot": "h2_sharpa",
|
| 87 |
+
"cameras": [
|
| 88 |
+
"head",
|
| 89 |
+
"chest"
|
| 90 |
+
],
|
| 91 |
+
"state": [
|
| 92 |
+
[
|
| 93 |
+
"observation.state",
|
| 94 |
+
0,
|
| 95 |
+
75
|
| 96 |
+
],
|
| 97 |
+
[
|
| 98 |
+
"observation.projected_gravity",
|
| 99 |
+
0,
|
| 100 |
+
3
|
| 101 |
+
]
|
| 102 |
+
],
|
| 103 |
+
"action": [
|
| 104 |
+
[
|
| 105 |
+
"action.body_target",
|
| 106 |
+
0,
|
| 107 |
+
31
|
| 108 |
+
],
|
| 109 |
+
[
|
| 110 |
+
"action.hands",
|
| 111 |
+
0,
|
| 112 |
+
44
|
| 113 |
+
]
|
| 114 |
+
],
|
| 115 |
+
"state_dim": 78,
|
| 116 |
+
"action_dim": 75,
|
| 117 |
+
"action_space": null,
|
| 118 |
+
"body_dims": 31
|
| 119 |
+
},
|
| 120 |
+
"image_hw": [
|
| 121 |
+
168,
|
| 122 |
+
224
|
| 123 |
+
],
|
| 124 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 125 |
+
"dataset": {
|
| 126 |
+
"name": "data",
|
| 127 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v4-73fd522/data",
|
| 128 |
+
"robot_type": "h2_sharpa",
|
| 129 |
+
"fps": 30.0,
|
| 130 |
+
"episodes": [
|
| 131 |
+
0,
|
| 132 |
+
1,
|
| 133 |
+
2,
|
| 134 |
+
3,
|
| 135 |
+
4,
|
| 136 |
+
5,
|
| 137 |
+
6,
|
| 138 |
+
7,
|
| 139 |
+
8,
|
| 140 |
+
9,
|
| 141 |
+
10,
|
| 142 |
+
11,
|
| 143 |
+
12,
|
| 144 |
+
13,
|
| 145 |
+
14,
|
| 146 |
+
15,
|
| 147 |
+
16,
|
| 148 |
+
17,
|
| 149 |
+
18,
|
| 150 |
+
19,
|
| 151 |
+
20,
|
| 152 |
+
21,
|
| 153 |
+
22,
|
| 154 |
+
23,
|
| 155 |
+
24,
|
| 156 |
+
25,
|
| 157 |
+
26,
|
| 158 |
+
27,
|
| 159 |
+
28,
|
| 160 |
+
29,
|
| 161 |
+
30,
|
| 162 |
+
31,
|
| 163 |
+
32,
|
| 164 |
+
33,
|
| 165 |
+
34,
|
| 166 |
+
35,
|
| 167 |
+
36,
|
| 168 |
+
37,
|
| 169 |
+
38,
|
| 170 |
+
39,
|
| 171 |
+
40,
|
| 172 |
+
41,
|
| 173 |
+
42,
|
| 174 |
+
43,
|
| 175 |
+
44,
|
| 176 |
+
45,
|
| 177 |
+
46,
|
| 178 |
+
47,
|
| 179 |
+
48,
|
| 180 |
+
49,
|
| 181 |
+
50,
|
| 182 |
+
51,
|
| 183 |
+
52,
|
| 184 |
+
53,
|
| 185 |
+
54,
|
| 186 |
+
55,
|
| 187 |
+
56,
|
| 188 |
+
57,
|
| 189 |
+
58,
|
| 190 |
+
59,
|
| 191 |
+
60,
|
| 192 |
+
61,
|
| 193 |
+
62,
|
| 194 |
+
63,
|
| 195 |
+
64,
|
| 196 |
+
65,
|
| 197 |
+
66,
|
| 198 |
+
67,
|
| 199 |
+
68,
|
| 200 |
+
69,
|
| 201 |
+
70,
|
| 202 |
+
71,
|
| 203 |
+
72,
|
| 204 |
+
73,
|
| 205 |
+
74,
|
| 206 |
+
75,
|
| 207 |
+
76,
|
| 208 |
+
77,
|
| 209 |
+
78,
|
| 210 |
+
79,
|
| 211 |
+
80,
|
| 212 |
+
81,
|
| 213 |
+
82,
|
| 214 |
+
83,
|
| 215 |
+
84,
|
| 216 |
+
85,
|
| 217 |
+
86,
|
| 218 |
+
87,
|
| 219 |
+
88,
|
| 220 |
+
89,
|
| 221 |
+
90,
|
| 222 |
+
91,
|
| 223 |
+
92,
|
| 224 |
+
93,
|
| 225 |
+
94,
|
| 226 |
+
95,
|
| 227 |
+
96,
|
| 228 |
+
97,
|
| 229 |
+
98,
|
| 230 |
+
99
|
| 231 |
+
],
|
| 232 |
+
"train_episodes": [
|
| 233 |
+
0,
|
| 234 |
+
1,
|
| 235 |
+
2,
|
| 236 |
+
3,
|
| 237 |
+
4,
|
| 238 |
+
5,
|
| 239 |
+
6,
|
| 240 |
+
7,
|
| 241 |
+
8,
|
| 242 |
+
9,
|
| 243 |
+
10,
|
| 244 |
+
11,
|
| 245 |
+
12,
|
| 246 |
+
13,
|
| 247 |
+
14,
|
| 248 |
+
15,
|
| 249 |
+
16,
|
| 250 |
+
17,
|
| 251 |
+
18,
|
| 252 |
+
19,
|
| 253 |
+
20,
|
| 254 |
+
21,
|
| 255 |
+
22,
|
| 256 |
+
23,
|
| 257 |
+
24,
|
| 258 |
+
25,
|
| 259 |
+
26,
|
| 260 |
+
27,
|
| 261 |
+
28,
|
| 262 |
+
29,
|
| 263 |
+
30,
|
| 264 |
+
31,
|
| 265 |
+
32,
|
| 266 |
+
33,
|
| 267 |
+
34,
|
| 268 |
+
35,
|
| 269 |
+
36,
|
| 270 |
+
37,
|
| 271 |
+
38,
|
| 272 |
+
39,
|
| 273 |
+
40,
|
| 274 |
+
41,
|
| 275 |
+
42,
|
| 276 |
+
43,
|
| 277 |
+
44,
|
| 278 |
+
45,
|
| 279 |
+
46,
|
| 280 |
+
47,
|
| 281 |
+
48,
|
| 282 |
+
49,
|
| 283 |
+
50,
|
| 284 |
+
51,
|
| 285 |
+
52,
|
| 286 |
+
53,
|
| 287 |
+
54,
|
| 288 |
+
55,
|
| 289 |
+
56,
|
| 290 |
+
57,
|
| 291 |
+
58,
|
| 292 |
+
59,
|
| 293 |
+
60,
|
| 294 |
+
61,
|
| 295 |
+
62,
|
| 296 |
+
63,
|
| 297 |
+
64,
|
| 298 |
+
65,
|
| 299 |
+
66,
|
| 300 |
+
67,
|
| 301 |
+
68,
|
| 302 |
+
69,
|
| 303 |
+
70,
|
| 304 |
+
71,
|
| 305 |
+
72,
|
| 306 |
+
73,
|
| 307 |
+
74,
|
| 308 |
+
75,
|
| 309 |
+
76,
|
| 310 |
+
77,
|
| 311 |
+
78,
|
| 312 |
+
79,
|
| 313 |
+
80,
|
| 314 |
+
81,
|
| 315 |
+
82,
|
| 316 |
+
83,
|
| 317 |
+
84,
|
| 318 |
+
85,
|
| 319 |
+
86,
|
| 320 |
+
87,
|
| 321 |
+
88,
|
| 322 |
+
89,
|
| 323 |
+
90,
|
| 324 |
+
91,
|
| 325 |
+
92,
|
| 326 |
+
93,
|
| 327 |
+
94,
|
| 328 |
+
95,
|
| 329 |
+
96,
|
| 330 |
+
97,
|
| 331 |
+
98,
|
| 332 |
+
99
|
| 333 |
+
],
|
| 334 |
+
"val_episodes": [],
|
| 335 |
+
"train_frames": 48286,
|
| 336 |
+
"git_commit": "69c6ae8351f490ff9ffb87a56e95b11c91bf2f55"
|
| 337 |
+
},
|
| 338 |
+
"training": {
|
| 339 |
+
"steps": 12000,
|
| 340 |
+
"batch_size": 512,
|
| 341 |
+
"lr": 0.0001,
|
| 342 |
+
"betas": [
|
| 343 |
+
0.95,
|
| 344 |
+
0.999
|
| 345 |
+
],
|
| 346 |
+
"weight_decay": 1e-06,
|
| 347 |
+
"warmup": 500,
|
| 348 |
+
"schedule": "diffusers_cosine",
|
| 349 |
+
"backbone_lr_scale": 1.0,
|
| 350 |
+
"ema": 0.9999,
|
| 351 |
+
"shift_px": 0,
|
| 352 |
+
"amp": true,
|
| 353 |
+
"seed": 42,
|
| 354 |
+
"augmentation": {
|
| 355 |
+
"spec": "docs/augmentation_v2.md",
|
| 356 |
+
"version": "hb-aug-v2-20261109",
|
| 357 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 358 |
+
"visual": {
|
| 359 |
+
"effects": [
|
| 360 |
+
"exposure",
|
| 361 |
+
"contrast",
|
| 362 |
+
"saturation",
|
| 363 |
+
"hue",
|
| 364 |
+
"gamma",
|
| 365 |
+
"temperature",
|
| 366 |
+
"rotation_crop",
|
| 367 |
+
"noise",
|
| 368 |
+
"gaussian_blur",
|
| 369 |
+
"jpeg",
|
| 370 |
+
"motion_blur",
|
| 371 |
+
"sharpen",
|
| 372 |
+
"defocus",
|
| 373 |
+
"light_shadow",
|
| 374 |
+
"wb_channel"
|
| 375 |
+
],
|
| 376 |
+
"boosted_per_sample": 1,
|
| 377 |
+
"boost": 1.5,
|
| 378 |
+
"pixel_scale": "H / 224",
|
| 379 |
+
"future_targets": "none (one observation frame)"
|
| 380 |
+
},
|
| 381 |
+
"proprio": {
|
| 382 |
+
"robot": "h2_sharpa",
|
| 383 |
+
"body_dims": 31,
|
| 384 |
+
"bias_deg": 2.0,
|
| 385 |
+
"bias_scope": "per_sample",
|
| 386 |
+
"noise_deg": 0.25,
|
| 387 |
+
"noise_clip_sigma": 3,
|
| 388 |
+
"delay_probability": 0.0,
|
| 389 |
+
"history_drop_probability": 0.0,
|
| 390 |
+
"velocity": false
|
| 391 |
+
},
|
| 392 |
+
"native_image_augmentation": "off",
|
| 393 |
+
"evaluation": "off"
|
| 394 |
+
},
|
| 395 |
+
"preflight": {
|
| 396 |
+
"samples": 64,
|
| 397 |
+
"state_dim": 78,
|
| 398 |
+
"body_dims": 31,
|
| 399 |
+
"images_changed": 64,
|
| 400 |
+
"body_values_moved": 1.0,
|
| 401 |
+
"max_body_offset_deg": 2.6427,
|
| 402 |
+
"actions_bit_identical": true,
|
| 403 |
+
"non_body_state_bit_identical": true,
|
| 404 |
+
"eval_items_deterministic": 8
|
| 405 |
+
},
|
| 406 |
+
"aug_seed": 42,
|
| 407 |
+
"layout": {
|
| 408 |
+
"nodes": 1,
|
| 409 |
+
"gpus": 1,
|
| 410 |
+
"per_gpu_batch": 512,
|
| 411 |
+
"global_batch": 512,
|
| 412 |
+
"gradient_accumulation": 1,
|
| 413 |
+
"num_workers": 40,
|
| 414 |
+
"prefetch": 2
|
| 415 |
+
},
|
| 416 |
+
"continuation": null,
|
| 417 |
+
"total_steps": 12000,
|
| 418 |
+
"save_steps": [
|
| 419 |
+
2000,
|
| 420 |
+
4000,
|
| 421 |
+
6000,
|
| 422 |
+
8000,
|
| 423 |
+
10000,
|
| 424 |
+
12000
|
| 425 |
+
],
|
| 426 |
+
"save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
|
| 427 |
+
"protocol_exceptions": [],
|
| 428 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 429 |
+
"inloop": {
|
| 430 |
+
"task": "a18cr4",
|
| 431 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 432 |
+
"every": 250,
|
| 433 |
+
"exception": null,
|
| 434 |
+
"code_sha256": {
|
| 435 |
+
"hb_inloop_core.py": "6c7c160f05cc624eeebd0721c5241b52d2b6b64ac25cd1e9fd72e0b8a6aca8e6",
|
| 436 |
+
"hb_eval_common.py": "c26efcb8e6c49be8b5883ec187e5b7292bd19d81c4442ba5ee1ba35e9bb8c8a6"
|
| 437 |
+
}
|
| 438 |
+
},
|
| 439 |
+
"protocol_recipe": {
|
| 440 |
+
"batch_size": 512,
|
| 441 |
+
"steps": 12000,
|
| 442 |
+
"warmup": 500,
|
| 443 |
+
"workers": 40,
|
| 444 |
+
"long_task_factor": 1
|
| 445 |
+
},
|
| 446 |
+
"protocol_deviations": [],
|
| 447 |
+
"environment": {
|
| 448 |
+
"python": "3.12.12",
|
| 449 |
+
"torch": "2.9.0+cu128",
|
| 450 |
+
"numpy": "2.2.6",
|
| 451 |
+
"cuda": "12.8",
|
| 452 |
+
"cudnn": 91002,
|
| 453 |
+
"torchvision": "0.24.0+cu128",
|
| 454 |
+
"pillow": "13.0.0",
|
| 455 |
+
"gpu": "NVIDIA A800-SXM4-80GB",
|
| 456 |
+
"driver": "570.133.20"
|
| 457 |
+
},
|
| 458 |
+
"code_dirty": null,
|
| 459 |
+
"allow_dirty_tree": false,
|
| 460 |
+
"augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
|
| 461 |
+
"order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
|
| 462 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490"
|
| 463 |
+
},
|
| 464 |
+
"stats": {
|
| 465 |
+
"state": {
|
| 466 |
+
"min": [
|
| 467 |
+
-0.12583781778812408,
|
| 468 |
+
-0.03233915567398071,
|
| 469 |
+
-0.12766100466251373,
|
| 470 |
+
0.12355858832597733,
|
| 471 |
+
-0.06983537971973419,
|
| 472 |
+
-0.25010767579078674,
|
| 473 |
+
-0.12295906990766525,
|
| 474 |
+
-0.13229477405548096,
|
| 475 |
+
-0.1533408761024475,
|
| 476 |
+
0.1465308964252472,
|
| 477 |
+
-0.03606459125876427,
|
| 478 |
+
-0.21855871379375458,
|
| 479 |
+
-0.05953621491789818,
|
| 480 |
+
-0.1087862029671669,
|
| 481 |
+
-0.01577889733016491,
|
| 482 |
+
0.05845891311764717,
|
| 483 |
+
0.025421474128961563,
|
| 484 |
+
-0.3774237632751465,
|
| 485 |
+
0.9427529573440552,
|
| 486 |
+
-0.193416565656662,
|
| 487 |
+
-0.12422491610050201,
|
| 488 |
+
0.00011441537935752422,
|
| 489 |
+
-0.740268349647522,
|
| 490 |
+
-0.3696679174900055,
|
| 491 |
+
-0.6199629902839661,
|
| 492 |
+
-0.4936543107032776,
|
| 493 |
+
-0.09027265757322311,
|
| 494 |
+
-0.1852821260690689,
|
| 495 |
+
-0.9950985908508301,
|
| 496 |
+
0.00010179156379308552,
|
| 497 |
+
-0.27579498291015625,
|
| 498 |
+
2.4212911853283003e-07,
|
| 499 |
+
1.991089675357216e-07,
|
| 500 |
+
-2.484825699866633e-06,
|
| 501 |
+
1.5511126605360914e-07,
|
| 502 |
+
-0.07711441069841385,
|
| 503 |
+
-0.0014401556691154838,
|
| 504 |
+
-0.001440082211047411,
|
| 505 |
+
1.1005147371179191e-07,
|
| 506 |
+
-0.0014395025791600347,
|
| 507 |
+
-0.15826088190078735,
|
| 508 |
+
4.014998822299276e-08,
|
| 509 |
+
3.3918841069180417e-08,
|
| 510 |
+
-0.0014388926792889833,
|
| 511 |
+
2.7533292978887403e-08,
|
| 512 |
+
-0.06904831528663635,
|
| 513 |
+
6.039757582954053e-09,
|
| 514 |
+
5.286712401186833e-09,
|
| 515 |
+
2.0993500271515586e-08,
|
| 516 |
+
4.5118535574317775e-09,
|
| 517 |
+
-0.04190514609217644,
|
| 518 |
+
3.7183456313982788e-09,
|
| 519 |
+
-0.00024513574317097664,
|
| 520 |
+
-0.0012902324087917805,
|
| 521 |
+
-0.011018202640116215,
|
| 522 |
+
-1.4729690747117274e-06,
|
| 523 |
+
-0.008869198150932789,
|
| 524 |
+
-0.0010071652941405773,
|
| 525 |
+
-0.07318796217441559,
|
| 526 |
+
-0.14104261994361877,
|
| 527 |
+
-0.006404141429811716,
|
| 528 |
+
-0.012594389729201794,
|
| 529 |
+
-0.2601270377635956,
|
| 530 |
+
-0.005105330143123865,
|
| 531 |
+
-0.0029860667418688536,
|
| 532 |
+
-0.000577878556214273,
|
| 533 |
+
-0.004302919376641512,
|
| 534 |
+
-0.003525838255882263,
|
| 535 |
+
-0.0016964594833552837,
|
| 536 |
+
-0.0017751255072653294,
|
| 537 |
+
-0.004758988507091999,
|
| 538 |
+
1.0182914067513593e-08,
|
| 539 |
+
-0.015183444134891033,
|
| 540 |
+
-0.0019727651961147785,
|
| 541 |
+
-0.0021971184760332108,
|
| 542 |
+
-0.08454640954732895,
|
| 543 |
+
-0.09825830906629562,
|
| 544 |
+
-1.0
|
| 545 |
+
],
|
| 546 |
+
"max": [
|
| 547 |
+
0.035650208592414856,
|
| 548 |
+
0.10629415512084961,
|
| 549 |
+
0.17557011544704437,
|
| 550 |
+
0.32769498229026794,
|
| 551 |
+
0.0809067115187645,
|
| 552 |
+
-0.03284743055701256,
|
| 553 |
+
0.04188062623143196,
|
| 554 |
+
-1.1926664228667505e-05,
|
| 555 |
+
0.22257640957832336,
|
| 556 |
+
0.31865113973617554,
|
| 557 |
+
0.03910355642437935,
|
| 558 |
+
-0.08754467964172363,
|
| 559 |
+
0.06784578412771225,
|
| 560 |
+
0.030363162979483604,
|
| 561 |
+
0.09902483224868774,
|
| 562 |
+
0.24996721744537354,
|
| 563 |
+
0.14023271203041077,
|
| 564 |
+
0.24500703811645508,
|
| 565 |
+
1.1965162754058838,
|
| 566 |
+
0.1962144374847412,
|
| 567 |
+
0.30692338943481445,
|
| 568 |
+
0.26775699853897095,
|
| 569 |
+
0.6624637246131897,
|
| 570 |
+
0.2637946307659149,
|
| 571 |
+
0.4765041768550873,
|
| 572 |
+
1.1365193128585815,
|
| 573 |
+
1.9407533407211304,
|
| 574 |
+
0.4451823830604553,
|
| 575 |
+
0.7307088375091553,
|
| 576 |
+
0.681303858757019,
|
| 577 |
+
0.12099187821149826,
|
| 578 |
+
0.001787454355508089,
|
| 579 |
+
0.0017886327113956213,
|
| 580 |
+
0.0001129926458816044,
|
| 581 |
+
0.00179005297832191,
|
| 582 |
+
0.07618467509746552,
|
| 583 |
+
-1.8496356233299593e-06,
|
| 584 |
+
-1.9247966065449873e-06,
|
| 585 |
+
0.0017915134085342288,
|
| 586 |
+
-1.7791824120649835e-06,
|
| 587 |
+
-0.00012538964801933616,
|
| 588 |
+
0.000348125264281407,
|
| 589 |
+
0.00034833172685466707,
|
| 590 |
+
-1.6332217001036042e-06,
|
| 591 |
+
0.0003485499764792621,
|
| 592 |
+
0.002921103499829769,
|
| 593 |
+
6.412907532649115e-05,
|
| 594 |
+
6.415732786990702e-05,
|
| 595 |
+
0.0003487732319626957,
|
| 596 |
+
6.418681005015969e-05,
|
| 597 |
+
0.04411711171269417,
|
| 598 |
+
6.421708530979231e-05,
|
| 599 |
+
0.00032537104561924934,
|
| 600 |
+
0.38441139459609985,
|
| 601 |
+
0.7239128351211548,
|
| 602 |
+
0.041639670729637146,
|
| 603 |
+
0.6621608734130859,
|
| 604 |
+
0.7537245750427246,
|
| 605 |
+
0.01115428563207388,
|
| 606 |
+
0.003058104310184717,
|
| 607 |
+
0.5719240307807922,
|
| 608 |
+
0.0017499510431662202,
|
| 609 |
+
-7.032280700514093e-05,
|
| 610 |
+
1.7278196811676025,
|
| 611 |
+
1.6268699169158936,
|
| 612 |
+
0.14201073348522186,
|
| 613 |
+
1.5546071529388428,
|
| 614 |
+
0.5080516338348389,
|
| 615 |
+
1.247752070426941,
|
| 616 |
+
1.182234525680542,
|
| 617 |
+
1.7132840156555176,
|
| 618 |
+
0.27388015389442444,
|
| 619 |
+
0.014602060429751873,
|
| 620 |
+
0.9894223809242249,
|
| 621 |
+
0.8894468545913696,
|
| 622 |
+
0.00796288251876831,
|
| 623 |
+
0.036943208426237106,
|
| 624 |
+
-0.9915630221366882
|
| 625 |
+
],
|
| 626 |
+
"mean": [
|
| 627 |
+
-0.017870823559336925,
|
| 628 |
+
0.041031219178313164,
|
| 629 |
+
0.035619848963763946,
|
| 630 |
+
0.15613457820089044,
|
| 631 |
+
0.039094521120493636,
|
| 632 |
+
-0.12065839865961846,
|
| 633 |
+
-0.012306749706583221,
|
| 634 |
+
-0.03308033095452969,
|
| 635 |
+
0.016875193942137795,
|
| 636 |
+
0.1986798640544707,
|
| 637 |
+
-0.0026646308537214202,
|
| 638 |
+
-0.14784664191848468,
|
| 639 |
+
0.009134329598924415,
|
| 640 |
+
-0.016333804361178046,
|
| 641 |
+
0.03733401711984319,
|
| 642 |
+
0.13416802161636474,
|
| 643 |
+
0.08077118681327977,
|
| 644 |
+
-0.064078520098801,
|
| 645 |
+
1.0518841787401834,
|
| 646 |
+
-0.0008684586223328951,
|
| 647 |
+
0.13442506939061388,
|
| 648 |
+
0.1362260574476888,
|
| 649 |
+
-0.28219068366654454,
|
| 650 |
+
-0.03911000141639166,
|
| 651 |
+
-0.06843089122289733,
|
| 652 |
+
0.12240113266681037,
|
| 653 |
+
1.030559225242821,
|
| 654 |
+
0.2221724631397724,
|
| 655 |
+
-0.25367483071452956,
|
| 656 |
+
0.6017187778066657,
|
| 657 |
+
-0.010696739509392377,
|
| 658 |
+
0.0013080899914675443,
|
| 659 |
+
0.0013077420319834716,
|
| 660 |
+
9.937161465077358e-06,
|
| 661 |
+
0.0013076217235972114,
|
| 662 |
+
0.004237707355884257,
|
| 663 |
+
-0.000983325367697211,
|
| 664 |
+
-0.0009834237453353336,
|
| 665 |
+
0.0013076450638284105,
|
| 666 |
+
-0.000982465877528148,
|
| 667 |
+
-0.09819623249681579,
|
| 668 |
+
0.0002612062345181264,
|
| 669 |
+
0.000261200869775934,
|
| 670 |
+
-0.000981452907775211,
|
| 671 |
+
0.00026119732485635987,
|
| 672 |
+
-0.012096458914903005,
|
| 673 |
+
4.926743216934513e-05,
|
| 674 |
+
4.926681146364981e-05,
|
| 675 |
+
0.0002611915666130027,
|
| 676 |
+
4.926628120721994e-05,
|
| 677 |
+
0.0006308781698833501,
|
| 678 |
+
4.92654816452331e-05,
|
| 679 |
+
2.3636314518457464e-05,
|
| 680 |
+
0.22700126331500672,
|
| 681 |
+
0.4494514004569012,
|
| 682 |
+
0.024862165112041788,
|
| 683 |
+
0.42881081802702375,
|
| 684 |
+
0.47224966007224567,
|
| 685 |
+
-0.03007185952147306,
|
| 686 |
+
-0.08696430302017988,
|
| 687 |
+
0.3590849460298851,
|
| 688 |
+
-0.005051063589313524,
|
| 689 |
+
-0.19058316154540442,
|
| 690 |
+
1.1061087376914576,
|
| 691 |
+
1.0612147311384132,
|
| 692 |
+
0.09869945729040477,
|
| 693 |
+
1.0222200140091404,
|
| 694 |
+
0.304400187754918,
|
| 695 |
+
0.8097907169380146,
|
| 696 |
+
0.769938909026595,
|
| 697 |
+
1.1199845079689352,
|
| 698 |
+
0.1804346505367566,
|
| 699 |
+
-0.004870191250264618,
|
| 700 |
+
0.6495057473873053,
|
| 701 |
+
0.546930065167339,
|
| 702 |
+
-0.02738236430891598,
|
| 703 |
+
-0.010844638281740645,
|
| 704 |
+
-0.9994528479437462
|
| 705 |
+
],
|
| 706 |
+
"std": [
|
| 707 |
+
0.02572073875091404,
|
| 708 |
+
0.013666794751529496,
|
| 709 |
+
0.039168856762038254,
|
| 710 |
+
0.01968742642650526,
|
| 711 |
+
0.02050116008443038,
|
| 712 |
+
0.012821669116424836,
|
| 713 |
+
0.017173063757637577,
|
| 714 |
+
0.014461353757188069,
|
| 715 |
+
0.05669133523575792,
|
| 716 |
+
0.022872372419375762,
|
| 717 |
+
0.012384129265156602,
|
| 718 |
+
0.016380888280571597,
|
| 719 |
+
0.020388385528938055,
|
| 720 |
+
0.01202242065946557,
|
| 721 |
+
0.01486018244316969,
|
| 722 |
+
0.0249388559549568,
|
| 723 |
+
0.018682932000097813,
|
| 724 |
+
0.13067485145904698,
|
| 725 |
+
0.04846903513578194,
|
| 726 |
+
0.05919671623517287,
|
| 727 |
+
0.09558757139594534,
|
| 728 |
+
0.057149714530577746,
|
| 729 |
+
0.3526741786013927,
|
| 730 |
+
0.1040203796491815,
|
| 731 |
+
0.265770103808944,
|
| 732 |
+
0.3663255019672244,
|
| 733 |
+
0.4823549278654788,
|
| 734 |
+
0.1693719164447291,
|
| 735 |
+
0.3751570938390035,
|
| 736 |
+
0.13050449858268,
|
| 737 |
+
0.11213739644727616,
|
| 738 |
+
0.00021114357107194245,
|
| 739 |
+
0.00021129769631667467,
|
| 740 |
+
1.8816352103336983e-05,
|
| 741 |
+
0.0002113053135802942,
|
| 742 |
+
0.024014904503632566,
|
| 743 |
+
0.0002901494011304027,
|
| 744 |
+
0.00028984862709993323,
|
| 745 |
+
0.00021128017304485484,
|
| 746 |
+
0.0002902694945750172,
|
| 747 |
+
0.01062661967495904,
|
| 748 |
+
4.4612509646587125e-05,
|
| 749 |
+
4.461084160076085e-05,
|
| 750 |
+
0.0002906654512569615,
|
| 751 |
+
4.461045257157183e-05,
|
| 752 |
+
0.01331260102544139,
|
| 753 |
+
9.000119911218345e-06,
|
| 754 |
+
8.999610257462908e-06,
|
| 755 |
+
4.460914173809214e-05,
|
| 756 |
+
8.999239348774898e-06,
|
| 757 |
+
0.009157859698091174,
|
| 758 |
+
8.998714152361053e-06,
|
| 759 |
+
4.0376940304132586e-05,
|
| 760 |
+
0.15122546182861188,
|
| 761 |
+
0.30512504187872613,
|
| 762 |
+
0.013020123624824492,
|
| 763 |
+
0.29205422158305644,
|
| 764 |
+
0.33914464999515603,
|
| 765 |
+
0.020761180951863276,
|
| 766 |
+
0.04957080503560786,
|
| 767 |
+
0.24475198970153633,
|
| 768 |
+
0.004006150403632658,
|
| 769 |
+
0.0709506911571617,
|
| 770 |
+
0.7183078028252496,
|
| 771 |
+
0.6810225196115942,
|
| 772 |
+
0.053831030878728196,
|
| 773 |
+
0.6787324555123242,
|
| 774 |
+
0.23236759025693646,
|
| 775 |
+
0.5300024032238984,
|
| 776 |
+
0.5029145481305155,
|
| 777 |
+
0.7372316212699845,
|
| 778 |
+
0.11913506497472569,
|
| 779 |
+
0.0046846649867722905,
|
| 780 |
+
0.42549333492119684,
|
| 781 |
+
0.41621768083770283,
|
| 782 |
+
0.011203879236885407,
|
| 783 |
+
0.010044764627707873,
|
| 784 |
+
0.0004249954850423655
|
| 785 |
+
]
|
| 786 |
+
},
|
| 787 |
+
"action": {
|
| 788 |
+
"min": [
|
| 789 |
+
-0.1784663051366806,
|
| 790 |
+
-0.13318756222724915,
|
| 791 |
+
-0.1307600885629654,
|
| 792 |
+
0.0,
|
| 793 |
+
-0.05743294209241867,
|
| 794 |
+
-0.3024138808250427,
|
| 795 |
+
-0.12985824048519135,
|
| 796 |
+
-0.266737699508667,
|
| 797 |
+
-0.15798582136631012,
|
| 798 |
+
0.0,
|
| 799 |
+
-0.0613182857632637,
|
| 800 |
+
-0.4162753224372864,
|
| 801 |
+
-0.06568841636180878,
|
| 802 |
+
-0.20634755492210388,
|
| 803 |
+
-0.046035848557949066,
|
| 804 |
+
0.0,
|
| 805 |
+
0.0,
|
| 806 |
+
-0.40408286452293396,
|
| 807 |
+
0.0,
|
| 808 |
+
-0.19912302494049072,
|
| 809 |
+
-0.156949982047081,
|
| 810 |
+
0.0,
|
| 811 |
+
-0.7415577173233032,
|
| 812 |
+
-0.37339621782302856,
|
| 813 |
+
-0.6357685327529907,
|
| 814 |
+
-0.4724564254283905,
|
| 815 |
+
-0.1029481366276741,
|
| 816 |
+
-0.1933467984199524,
|
| 817 |
+
-0.99897301197052,
|
| 818 |
+
0.0,
|
| 819 |
+
-0.2813774645328522,
|
| 820 |
+
0.0,
|
| 821 |
+
0.0,
|
| 822 |
+
0.0,
|
| 823 |
+
0.0,
|
| 824 |
+
0.0,
|
| 825 |
+
0.0,
|
| 826 |
+
0.0,
|
| 827 |
+
0.0,
|
| 828 |
+
0.0,
|
| 829 |
+
0.0,
|
| 830 |
+
0.0,
|
| 831 |
+
0.0,
|
| 832 |
+
0.0,
|
| 833 |
+
0.0,
|
| 834 |
+
0.0,
|
| 835 |
+
0.0,
|
| 836 |
+
0.0,
|
| 837 |
+
0.0,
|
| 838 |
+
0.0,
|
| 839 |
+
0.0,
|
| 840 |
+
0.0,
|
| 841 |
+
0.0,
|
| 842 |
+
0.0,
|
| 843 |
+
0.0,
|
| 844 |
+
0.0,
|
| 845 |
+
0.0,
|
| 846 |
+
0.0,
|
| 847 |
+
0.0,
|
| 848 |
+
-0.2870999872684479,
|
| 849 |
+
0.0,
|
| 850 |
+
-0.01590000092983246,
|
| 851 |
+
-0.17630000412464142,
|
| 852 |
+
0.0,
|
| 853 |
+
0.0,
|
| 854 |
+
0.0,
|
| 855 |
+
0.0,
|
| 856 |
+
0.0,
|
| 857 |
+
0.0,
|
| 858 |
+
0.0,
|
| 859 |
+
0.0,
|
| 860 |
+
0.0,
|
| 861 |
+
-0.006200000178068876,
|
| 862 |
+
0.0,
|
| 863 |
+
0.0
|
| 864 |
+
],
|
| 865 |
+
"max": [
|
| 866 |
+
0.041423577815294266,
|
| 867 |
+
0.24960044026374817,
|
| 868 |
+
0.17349489033222198,
|
| 869 |
+
0.3818897604942322,
|
| 870 |
+
0.09517528861761093,
|
| 871 |
+
0.33370673656463623,
|
| 872 |
+
0.08997327834367752,
|
| 873 |
+
0.1119127869606018,
|
| 874 |
+
0.2282232642173767,
|
| 875 |
+
0.3609016537666321,
|
| 876 |
+
0.020472919568419456,
|
| 877 |
+
0.19194680452346802,
|
| 878 |
+
0.0703074038028717,
|
| 879 |
+
0.03062274493277073,
|
| 880 |
+
0.16752633452415466,
|
| 881 |
+
0.2617945075035095,
|
| 882 |
+
0.21634480357170105,
|
| 883 |
+
0.2762379050254822,
|
| 884 |
+
1.1804041862487793,
|
| 885 |
+
0.20910896360874176,
|
| 886 |
+
0.33972981572151184,
|
| 887 |
+
0.28348755836486816,
|
| 888 |
+
0.5959668159484863,
|
| 889 |
+
0.2764294743537903,
|
| 890 |
+
0.4788244366645813,
|
| 891 |
+
1.1417303085327148,
|
| 892 |
+
1.9401861429214478,
|
| 893 |
+
0.4363322854042053,
|
| 894 |
+
0.737479031085968,
|
| 895 |
+
0.6173598170280457,
|
| 896 |
+
0.12206494063138962,
|
| 897 |
+
0.0,
|
| 898 |
+
0.0,
|
| 899 |
+
0.0,
|
| 900 |
+
0.0,
|
| 901 |
+
0.0,
|
| 902 |
+
0.0,
|
| 903 |
+
0.0,
|
| 904 |
+
0.0,
|
| 905 |
+
0.0,
|
| 906 |
+
0.0,
|
| 907 |
+
0.0,
|
| 908 |
+
0.0,
|
| 909 |
+
0.0,
|
| 910 |
+
0.0,
|
| 911 |
+
0.0,
|
| 912 |
+
0.0,
|
| 913 |
+
0.0,
|
| 914 |
+
0.0,
|
| 915 |
+
0.0,
|
| 916 |
+
0.0,
|
| 917 |
+
0.0,
|
| 918 |
+
0.0,
|
| 919 |
+
0.3626999855041504,
|
| 920 |
+
0.777400016784668,
|
| 921 |
+
0.04019999876618385,
|
| 922 |
+
0.6610000133514404,
|
| 923 |
+
0.7699999809265137,
|
| 924 |
+
0.07270000129938126,
|
| 925 |
+
0.0,
|
| 926 |
+
0.5733000040054321,
|
| 927 |
+
0.0,
|
| 928 |
+
0.0,
|
| 929 |
+
1.745300054550171,
|
| 930 |
+
1.745300054550171,
|
| 931 |
+
0.12300000339746475,
|
| 932 |
+
1.5556999444961548,
|
| 933 |
+
0.5410000085830688,
|
| 934 |
+
1.2592999935150146,
|
| 935 |
+
1.2130999565124512,
|
| 936 |
+
1.745300054550171,
|
| 937 |
+
0.27469998598098755,
|
| 938 |
+
0.0,
|
| 939 |
+
1.0023000240325928,
|
| 940 |
+
0.8996000289916992
|
| 941 |
+
],
|
| 942 |
+
"mean": [
|
| 943 |
+
-0.03005173645355719,
|
| 944 |
+
0.05024966035479469,
|
| 945 |
+
0.0357268685657241,
|
| 946 |
+
0.15010214792794804,
|
| 947 |
+
0.05894441959222812,
|
| 948 |
+
-0.14816357048706127,
|
| 949 |
+
0.0036108555933720998,
|
| 950 |
+
-0.02880789144036109,
|
| 951 |
+
0.01749564461620056,
|
| 952 |
+
0.2214762168198371,
|
| 953 |
+
-0.029654333556350235,
|
| 954 |
+
-0.012496863759105904,
|
| 955 |
+
0.010690085752273908,
|
| 956 |
+
-0.05698913409692613,
|
| 957 |
+
0.040228291442832895,
|
| 958 |
+
0.12802224172774468,
|
| 959 |
+
0.1187736263734513,
|
| 960 |
+
-0.061573318216413125,
|
| 961 |
+
0.9895417553776217,
|
| 962 |
+
0.0048449186983524385,
|
| 963 |
+
0.12069420563033935,
|
| 964 |
+
0.1439296545496889,
|
| 965 |
+
-0.28135345858990113,
|
| 966 |
+
-0.04147824378033711,
|
| 967 |
+
-0.06640540919172361,
|
| 968 |
+
0.12113336447693136,
|
| 969 |
+
1.029356115645545,
|
| 970 |
+
0.22341508751223668,
|
| 971 |
+
-0.25507492074022153,
|
| 972 |
+
0.559371247867398,
|
| 973 |
+
-0.010800927056760463,
|
| 974 |
+
0.0,
|
| 975 |
+
0.0,
|
| 976 |
+
0.0,
|
| 977 |
+
0.0,
|
| 978 |
+
0.0,
|
| 979 |
+
0.0,
|
| 980 |
+
0.0,
|
| 981 |
+
0.0,
|
| 982 |
+
0.0,
|
| 983 |
+
0.0,
|
| 984 |
+
0.0,
|
| 985 |
+
0.0,
|
| 986 |
+
0.0,
|
| 987 |
+
0.0,
|
| 988 |
+
0.0,
|
| 989 |
+
0.0,
|
| 990 |
+
0.0,
|
| 991 |
+
0.0,
|
| 992 |
+
0.0,
|
| 993 |
+
0.0,
|
| 994 |
+
0.0,
|
| 995 |
+
0.0,
|
| 996 |
+
0.23314248624803569,
|
| 997 |
+
0.5075337855574538,
|
| 998 |
+
0.027332930962164836,
|
| 999 |
+
0.43051347092666514,
|
| 1000 |
+
0.479340661137629,
|
| 1001 |
+
0.05344081583103477,
|
| 1002 |
+
-0.2110434298929596,
|
| 1003 |
+
0.3724851522972838,
|
| 1004 |
+
-0.01168788174518308,
|
| 1005 |
+
-0.12959581673955656,
|
| 1006 |
+
1.157817454205077,
|
| 1007 |
+
1.1606316162623056,
|
| 1008 |
+
0.0904156864779174,
|
| 1009 |
+
1.0232560288923012,
|
| 1010 |
+
0.33384930002931873,
|
| 1011 |
+
0.8339756909329621,
|
| 1012 |
+
0.8034141647182123,
|
| 1013 |
+
1.151556932798909,
|
| 1014 |
+
0.18249937347554077,
|
| 1015 |
+
-0.004557538669717596,
|
| 1016 |
+
0.6639357888113315,
|
| 1017 |
+
0.5582107756963598
|
| 1018 |
+
],
|
| 1019 |
+
"std": [
|
| 1020 |
+
0.03770488745194172,
|
| 1021 |
+
0.03721368604622193,
|
| 1022 |
+
0.0396009436409749,
|
| 1023 |
+
0.03442198134866964,
|
| 1024 |
+
0.019632691254619156,
|
| 1025 |
+
0.06224191027373757,
|
| 1026 |
+
0.025996372494061986,
|
| 1027 |
+
0.03456327651075318,
|
| 1028 |
+
0.05799118370735844,
|
| 1029 |
+
0.03259908012489038,
|
| 1030 |
+
0.009521991365308654,
|
| 1031 |
+
0.06179253236963095,
|
| 1032 |
+
0.0167586281598437,
|
| 1033 |
+
0.03276578344721597,
|
| 1034 |
+
0.030951759539595582,
|
| 1035 |
+
0.0326652878921254,
|
| 1036 |
+
0.018150986371344945,
|
| 1037 |
+
0.1363931437024222,
|
| 1038 |
+
0.07645108111920924,
|
| 1039 |
+
0.05958279494872307,
|
| 1040 |
+
0.10852839746681996,
|
| 1041 |
+
0.05891992134247989,
|
| 1042 |
+
0.34827742057291405,
|
| 1043 |
+
0.10472800785661075,
|
| 1044 |
+
0.2655667323193027,
|
| 1045 |
+
0.3591625425108581,
|
| 1046 |
+
0.4825767358792988,
|
| 1047 |
+
0.17287725663776285,
|
| 1048 |
+
0.37743680915610794,
|
| 1049 |
+
0.11730860885498721,
|
| 1050 |
+
0.11343656841986131,
|
| 1051 |
+
0.0,
|
| 1052 |
+
0.0,
|
| 1053 |
+
0.0,
|
| 1054 |
+
0.0,
|
| 1055 |
+
0.0,
|
| 1056 |
+
0.0,
|
| 1057 |
+
0.0,
|
| 1058 |
+
0.0,
|
| 1059 |
+
0.0,
|
| 1060 |
+
0.0,
|
| 1061 |
+
0.0,
|
| 1062 |
+
0.0,
|
| 1063 |
+
0.0,
|
| 1064 |
+
0.0,
|
| 1065 |
+
0.0,
|
| 1066 |
+
0.0,
|
| 1067 |
+
0.0,
|
| 1068 |
+
0.0,
|
| 1069 |
+
0.0,
|
| 1070 |
+
0.0,
|
| 1071 |
+
0.0,
|
| 1072 |
+
0.0,
|
| 1073 |
+
0.16117632222037495,
|
| 1074 |
+
0.34221113440349177,
|
| 1075 |
+
0.0171396051790633,
|
| 1076 |
+
0.29132911603892875,
|
| 1077 |
+
0.3674851291885632,
|
| 1078 |
+
0.030674257999573525,
|
| 1079 |
+
0.12113588627877322,
|
| 1080 |
+
0.2530146408934489,
|
| 1081 |
+
0.006708675679332569,
|
| 1082 |
+
0.07438613090070517,
|
| 1083 |
+
0.7616282631348937,
|
| 1084 |
+
0.7595940708982851,
|
| 1085 |
+
0.05189730084574777,
|
| 1086 |
+
0.6821854479624819,
|
| 1087 |
+
0.25715967584916055,
|
| 1088 |
+
0.55088589154003,
|
| 1089 |
+
0.5306495006718731,
|
| 1090 |
+
0.7645119604609097,
|
| 1091 |
+
0.11974228682365298,
|
| 1092 |
+
0.0026159615085428758,
|
| 1093 |
+
0.43834074667014794,
|
| 1094 |
+
0.4267351372230352
|
| 1095 |
+
]
|
| 1096 |
+
}
|
| 1097 |
+
},
|
| 1098 |
+
"code_commit": "36ded31d7790990f5ed318b818bd0e1278185c9c",
|
| 1099 |
+
"task": "a18cr4",
|
| 1100 |
+
"dataset_id": "a18-pour-water-cropped-v4@73fd522 (inferred from the directory name)"
|
| 1101 |
+
}
|
a18-pour-water/b512-trim3f/step-012000/training_records/small_pool.sh
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Relay cmd item (2026-11-27 user): single-GPU small-model pool (FM-DiT, FLASH, ODE, ACT) - small models go before the big three.
|
| 3 |
+
# Every node runs this; each node keeps up to MAXJ jobs on its free GPUs and claims the next job of jobs.txt atomically (mkdir
|
| 4 |
+
# claims/<name>), so one 30000-step job never blocks a whole node row. jobs.txt is re-read every minute (new jobs can be appended).
|
| 5 |
+
# job line: <name> <kind> <task> <data dir under $P> <contract> <steps> <gate file or -> [episodes]
|
| 6 |
+
# kinds: ode (ODE-MLP, REPRODUCIBILITY 4.7), flash (4.6), act (hb_baselines ACT b512 seeded recipe), fmdit (FM-DiT v1, seed 0),
|
| 7 |
+
# fmdit_cont (FM-DiT v2 B6 cont30k). Code: Humanoid_benchmark bai 07a80dd9 for every kind (owner 2026-11-27: small models save
|
| 8 |
+
# 6 checkpoints spread evenly over the steps = train.py default; no --save-every).
|
| 9 |
+
# A gated job waits until its gate exists; it is dropped once $G/newtrim-20261127/all.done exists without its gate.
|
| 10 |
+
# hold-rank<R> (content: epoch seconds) keeps rank R from claiming new jobs until then (A800 eval pilot).
|
| 11 |
+
H=$(dirname "$(realpath "$0")"); G=$(dirname "$H"); P=$(dirname $G); W650=$P/Humanoid_benchmark-bai-07a80dd; PY=$G/envs/hb-baselines/bin/python
|
| 12 |
+
RK=${RANK:?DLC RANK missing}; MAXJ=${HB_SMALL_MAXJ:-6}; NCPU=$(nproc); mkdir -p $H/claims $H/logs
|
| 13 |
+
NOENV="env -u RANK -u WORLD_SIZE -u LOCAL_RANK -u LOCAL_WORLD_SIZE -u GROUP_RANK -u MASTER_ADDR -u MASTER_PORT"
|
| 14 |
+
log() { echo "$(date -u) rank $RK $*"; }
|
| 15 |
+
for i in $(seq 60); do [ -z "$(nvidia-smi --query-compute-apps=pid --format=csv,noheader)" ] && break; sleep 10; done
|
| 16 |
+
declare -A PID JOB; log "small pool start (max $MAXJ jobs, $NCPU cores)"
|
| 17 |
+
launch() { # name kind task data contract steps gate episodes gpu slot
|
| 18 |
+
local N=$1 K=$2 T=$3 D=$P/$4 CON=$5 ST=$6 EPS=$8 g=$9 s=${10} OUT W EA="" RES="" C0 C1 ARGS
|
| 19 |
+
[ -n "$EPS" ] && [ "$EPS" != all ] && EA="--episodes $EPS"
|
| 20 |
+
C0=$((s * NCPU / MAXJ)); C1=$(((s + 1) * NCPU / MAXJ - 1))
|
| 21 |
+
case $K in
|
| 22 |
+
ode) W=$W650; OUT=$P/ode-runs/$T-b512-s$ST
|
| 23 |
+
ARGS="--policy ode_mlp --contract $CON --dataset $D $EA --out $OUT --steps $ST --batch-size 512 --workers 32 --log-every 50 --cache-dir $G/flash-cache/$T --inloop-task $T --inloop-code $G/eval-action-mse" ;;
|
| 24 |
+
flash) W=$W650; OUT=$P/flash-runs/$T-b512-s$ST
|
| 25 |
+
ARGS="--policy flash --contract $CON --dataset $D $EA --out $OUT --steps $ST --batch-size 512 --workers 40 --log-every 50 --cache-dir $G/flash-cache/$T --inloop-task $T --inloop-code $G/eval-action-mse" ;;
|
| 26 |
+
act) W=$W650; OUT=$P/act-runs/$T-b512-s$ST
|
| 27 |
+
ARGS="--policy act --contract $CON --dataset $D $EA --out $OUT --steps $ST --batch-size 512 --warmup 200 --seed 0 --workers 32 --log-every 50 --cache-dir /dev/shm/hb_act_cache_$T --inloop-task $T --inloop-code $G/eval-action-mse" ;;
|
| 28 |
+
fmdit) W=$W650; OUT=$P/fmdit-runs/$T-fm_dit-b512-s$ST
|
| 29 |
+
ARGS="--policy fm_dit --contract $CON --dataset $D $EA --out $OUT --steps $ST --batch-size 512 --workers 32 --log-every 50 --cache-dir /dev/shm/hb_fmdit_cache_$T --inloop-task $T --inloop-code $G/eval-action-mse" ;;
|
| 30 |
+
fmdit_cont) W=$W650; OUT=$P/fmdit-runs/b6v6p-fm_dit_v2-b512-s12000-cont30k
|
| 31 |
+
ARGS="--policy fm_dit_v2 --contract $CON --dataset $D --episodes 0:542 --out $OUT --init-from $P/fmdit-runs/b6v6p-fm_dit_v2-b512-s12000/checkpoints/step-012000 --steps $ST --batch-size 512 --seed 42 --workers 32 --log-every 50 --cache-dir /dev/shm/hb_b6v6p_cache --inloop-task $T --inloop-code $G/eval-action-mse"
|
| 32 |
+
ARGS="$ARGS --continuation-exception" ;;
|
| 33 |
+
*) log "unknown kind $K for $N"; return 1 ;;
|
| 34 |
+
esac
|
| 35 |
+
if [ -f $OUT/A800_DONE ] || [ -f $OUT/complete.json ]; then log "$N already complete"; return 1; fi
|
| 36 |
+
[ "$K" != fmdit_cont ] && [ -f $OUT/train_state.pt ] && RES="--resume"
|
| 37 |
+
mkdir -p $OUT/logs; git -C $W rev-parse HEAD > $OUT/code_commit.txt 2>/dev/null; [ -f $W/HB_CODE_COMMIT ] && cp $W/HB_CODE_COMMIT $OUT/code_commit.txt
|
| 38 |
+
echo "Aliyun PAI DLC A800 80 GB, 1 GPU (rank $RK GPU $g), cores $C0-$C1 of $NCPU, small pool $(date -u +%FT%TZ)" > $OUT/hardware.txt
|
| 39 |
+
log "start $N ($K $T $ST steps) GPU $g cores $C0-$C1 -> $OUT $RES"
|
| 40 |
+
if [ "$K" = fmdit_cont ]; then
|
| 41 |
+
( cd $W && exec setsid $NOENV CUDA_VISIBLE_DEVICES=$g TORCH_HOME=$G/torch-home taskset -c $C0-$C1 $PY -I evaluation/baselines/train.py $ARGS \
|
| 42 |
+
"owner 2026-11-27: 30000 continuation steps (protocol 2000) to find where FM-DiT v2 converges best" >> $OUT/logs/train-a800.log 2>&1 < /dev/null ) &
|
| 43 |
+
else
|
| 44 |
+
( cd $W && exec setsid $NOENV CUDA_VISIBLE_DEVICES=$g TORCH_HOME=$G/torch-home taskset -c $C0-$C1 $PY -I evaluation/baselines/train.py $ARGS $RES \
|
| 45 |
+
>> $OUT/logs/train-a800.log 2>&1 < /dev/null ) &
|
| 46 |
+
fi
|
| 47 |
+
PID[$g]=$!; JOB[$g]="$N $OUT $s"
|
| 48 |
+
}
|
| 49 |
+
while true; do
|
| 50 |
+
for g in "${!PID[@]}"; do kill -0 ${PID[$g]} 2>/dev/null && continue
|
| 51 |
+
wait ${PID[$g]}; rc=$?; read -r N OUT s <<< "${JOB[$g]}"; log "$N exit $rc"; [ $rc = 0 ] && touch $OUT/A800_DONE
|
| 52 |
+
unset PID[$g] JOB[$g]
|
| 53 |
+
done
|
| 54 |
+
pending=0; hold=0; [ -f $H/hold-rank$RK ] && [ "$(date +%s)" -lt "$(cat $H/hold-rank$RK 2>/dev/null || echo 0)" ] && hold=1
|
| 55 |
+
mapfile -t L < <(grep -vE '^\s*(#|$)' $H/jobs.txt)
|
| 56 |
+
for line in "${L[@]}"; do
|
| 57 |
+
read -r N K T D CON ST GATE EPS <<< "$line"
|
| 58 |
+
[ -d $H/claims/$N ] && continue
|
| 59 |
+
if [ "$GATE" != - ] && [ ! -f "$GATE" ]; then [ -f $G/newtrim-20261127/all.done ] || pending=$((pending + 1)); continue; fi
|
| 60 |
+
pending=$((pending + 1)); [ $hold = 1 ] && continue; [ ${#PID[@]} -ge $MAXJ ] && continue
|
| 61 |
+
used=" ${!PID[*]} "; slots_used=" $(for q in "${!PID[@]}"; do echo ${JOB[$q]##* }; done | tr '\n' ' ') "; free=""; slot=""
|
| 62 |
+
for g in 0 1 2 3 4 5 6 7; do case "$used" in *" $g "*) continue ;; esac
|
| 63 |
+
[ -z "$(nvidia-smi -i $g --query-compute-apps=pid --format=csv,noheader 2>/dev/null)" ] && { free=$g; break; }; done
|
| 64 |
+
for s in $(seq 0 $((MAXJ - 1))); do case "$slots_used" in *" $s "*) continue ;; esac; slot=$s; break; done
|
| 65 |
+
[ -z "$free" ] || [ -z "$slot" ] && continue
|
| 66 |
+
mkdir $H/claims/$N 2>/dev/null || continue
|
| 67 |
+
echo "rank $RK GPU $free $(date -u +%FT%TZ)" > $H/claims/$N/by
|
| 68 |
+
launch $N $K $T $D $CON $ST "$GATE" "$EPS" $free $slot || true
|
| 69 |
+
done
|
| 70 |
+
[ ${#PID[@]} = 0 ] && [ $pending = 0 ] && break
|
| 71 |
+
sleep 60
|
| 72 |
+
done
|
| 73 |
+
log "small pool end"; exit 0
|
a18-pour-water/b512-trim3f/step-012000/training_records/train.log
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
HB_AUG_SEED=42
|
| 2 |
+
{"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 78, "body_dims": 31, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.6427, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
|
| 3 |
+
{"event": "save_points", "steps": [2000, 4000, 6000, 8000, 10000, 12000]}
|
| 4 |
+
HB_INLOOP flash installed: task a18cr4 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>
|
| 5 |
+
{"event": "start", "policy": "flash", "params": 42690251, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 48286, "steps": 12000, "from_step": 0, "total_steps": 12000, "cameras": ["head", "chest"], "hw": [168, 224], "seed": 42}
|
| 6 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.19, "data_frac": 0.868, "fm": 1.1738034868240357, "consistency": 1.2521834284067155, "loss": 2.4259869050979614}
|
| 7 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 0.25, "data_frac": 0.872, "fm": 0.3756586366891861, "consistency": 0.38079522132873533, "loss": 0.7564538598060608}
|
| 8 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 0.53, "data_frac": 0.691, "fm": 0.34986157894134523, "consistency": 0.3494811648130417, "loss": 0.6993427431583404}
|
| 9 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 0.28, "data_frac": 0.871, "fm": 0.33838880896568296, "consistency": 0.335662642121315, "loss": 0.6740514516830445}
|
| 10 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 0.61, "data_frac": 0.671, "fm": 0.3250820517539978, "consistency": 0.31603444933891295, "loss": 0.6411165070533752}
|
| 11 |
+
HB_INLOOP flash ready: task a18cr4 split train10 queries 308 (rank 0/1: 308), every 250 steps, batch 8, cams ['head', 'chest']
|
| 12 |
+
HB_INLOOP flash step 250: a18cr4/train10 nMSE 0.4546 (body_target 0.6418 hands 0.1908) on 308 queries, 12.4 s
|
| 13 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 0.28, "data_frac": 0.776, "fm": 0.2765289631485939, "consistency": 0.24682235091924667, "loss": 0.5233513146638871}
|
| 14 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 0.55, "data_frac": 0.739, "fm": 0.2020558974146843, "consistency": 0.1469683088362217, "loss": 0.34902420580387117}
|
| 15 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 0.27, "data_frac": 0.87, "fm": 0.157595574259758, "consistency": 0.09156141430139542, "loss": 0.24915698885917664}
|
| 16 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 0.54, "data_frac": 0.718, "fm": 0.13883054852485657, "consistency": 0.07114948011934757, "loss": 0.20998002737760543}
|
| 17 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 0.3, "data_frac": 0.865, "fm": 0.12756595149636268, "consistency": 0.06188884750008583, "loss": 0.1894547986984253}
|
| 18 |
+
HB_INLOOP flash step 500: a18cr4/train10 nMSE 0.3455 (body_target 0.5046 hands 0.1214) on 308 queries, 6.7 s
|
| 19 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 0.71, "data_frac": 0.623, "fm": 0.11990073576569557, "consistency": 0.053751283511519435, "loss": 0.17365201979875564}
|
| 20 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 0.32, "data_frac": 0.855, "fm": 0.11314255580306053, "consistency": 0.04913797043263912, "loss": 0.16228052616119384}
|
| 21 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 0.39, "data_frac": 0.85, "fm": 0.10521363243460655, "consistency": 0.04454108454287052, "loss": 0.14975471615791322}
|
| 22 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 0.28, "data_frac": 0.86, "fm": 0.09693946182727814, "consistency": 0.04000632911920547, "loss": 0.13694579258561135}
|
| 23 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 0.95, "data_frac": 0.643, "fm": 0.09071484625339508, "consistency": 0.037238330468535426, "loss": 0.12795317620038987}
|
| 24 |
+
HB_INLOOP flash step 750: a18cr4/train10 nMSE 0.2926 (body_target 0.4358 hands 0.0908) on 308 queries, 7.4 s
|
| 25 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 0.27, "data_frac": 0.825, "fm": 0.08420470759272575, "consistency": 0.03309504475444555, "loss": 0.11729975208640099}
|
| 26 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 0.34, "data_frac": 0.848, "fm": 0.07982132121920586, "consistency": 0.030618979148566722, "loss": 0.11044030070304871}
|
| 27 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 0.58, "data_frac": 0.674, "fm": 0.07645889222621918, "consistency": 0.027890880517661573, "loss": 0.10434977293014526}
|
| 28 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 0.31, "data_frac": 0.822, "fm": 0.07322742655873299, "consistency": 0.025545405894517897, "loss": 0.09877283290028573}
|
| 29 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 0.63, "data_frac": 0.71, "fm": 0.07105336487293243, "consistency": 0.024562278613448143, "loss": 0.095615643709898}
|
| 30 |
+
HB_INLOOP flash step 1000: a18cr4/train10 nMSE 0.2504 (body_target 0.3715 hands 0.0798) on 308 queries, 10.7 s
|
| 31 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 0.31, "data_frac": 0.765, "fm": 0.06801495909690856, "consistency": 0.02302970640361309, "loss": 0.09104466468095779}
|
| 32 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 0.49, "data_frac": 0.742, "fm": 0.0663655998557806, "consistency": 0.022606186866760254, "loss": 0.08897178679704666}
|
| 33 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 0.33, "data_frac": 0.867, "fm": 0.06364891417324543, "consistency": 0.020846106223762036, "loss": 0.08449502021074295}
|
| 34 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 0.65, "data_frac": 0.671, "fm": 0.06188332997262478, "consistency": 0.019910640753805636, "loss": 0.08179397061467171}
|
| 35 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 0.29, "data_frac": 0.828, "fm": 0.05949566438794136, "consistency": 0.019161737002432348, "loss": 0.0786574013531208}
|
| 36 |
+
HB_INLOOP flash step 1250: a18cr4/train10 nMSE 0.2262 (body_target 0.3343 hands 0.0738) on 308 queries, 9.1 s
|
| 37 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 0.69, "data_frac": 0.554, "fm": 0.05932909987866879, "consistency": 0.018920051343739034, "loss": 0.07824915081262589}
|
| 38 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 0.31, "data_frac": 0.862, "fm": 0.05845439553260803, "consistency": 0.0186082224547863, "loss": 0.07706261783838272}
|
| 39 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 0.45, "data_frac": 0.803, "fm": 0.05667193777859211, "consistency": 0.017528270781040193, "loss": 0.0742002086341381}
|
| 40 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 0.35, "data_frac": 0.805, "fm": 0.05637395918369293, "consistency": 0.01735175620764494, "loss": 0.073725715726614}
|
| 41 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 0.42, "data_frac": 0.821, "fm": 0.054810646921396255, "consistency": 0.01728986520320177, "loss": 0.07210051193833351}
|
| 42 |
+
HB_INLOOP flash step 1500: a18cr4/train10 nMSE 0.2100 (body_target 0.3109 hands 0.0678) on 308 queries, 7.8 s
|
| 43 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 0.28, "data_frac": 0.789, "fm": 0.05378738567233086, "consistency": 0.01673873661085963, "loss": 0.07052612245082855}
|
| 44 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 0.37, "data_frac": 0.824, "fm": 0.052889003455638885, "consistency": 0.01598834143951535, "loss": 0.0688773451000452}
|
| 45 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 0.43, "data_frac": 0.73, "fm": 0.050705241709947585, "consistency": 0.015579991098493338, "loss": 0.06628523290157318}
|
| 46 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 0.32, "data_frac": 0.858, "fm": 0.05113918170332909, "consistency": 0.0155832264944911, "loss": 0.06672240808606147}
|
| 47 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 0.53, "data_frac": 0.727, "fm": 0.04934460178017616, "consistency": 0.014862930178642273, "loss": 0.06420753225684166}
|
| 48 |
+
HB_INLOOP flash step 1750: a18cr4/train10 nMSE 0.1990 (body_target 0.2954 hands 0.0632) on 308 queries, 5.2 s
|
| 49 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 0.29, "data_frac": 0.825, "fm": 0.04872649364173412, "consistency": 0.014740117453038692, "loss": 0.06346661113202572}
|
| 50 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 0.49, "data_frac": 0.747, "fm": 0.04871256418526173, "consistency": 0.014654438477009535, "loss": 0.06336700282990933}
|
| 51 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 0.34, "data_frac": 0.846, "fm": 0.047209275662899015, "consistency": 0.014469650834798812, "loss": 0.061678926646709445}
|
| 52 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 0.54, "data_frac": 0.762, "fm": 0.04668834626674652, "consistency": 0.014121007286012172, "loss": 0.06080935351550579}
|
| 53 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 0.34, "data_frac": 0.844, "fm": 0.04656731016933918, "consistency": 0.013454895224422217, "loss": 0.06002220503985882}
|
| 54 |
+
HB_INLOOP flash step 2000: a18cr4/train10 nMSE 0.1906 (body_target 0.2838 hands 0.0592) on 308 queries, 9.3 s
|
| 55 |
+
{"event": "save", "step": 2000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-002000", "mse": 0.009477670304477215, "mse_row0": 0.010136607103049755, "mse_body_target": 0.01041134912520647, "mse_hands": 0.008819851092994213}
|
| 56 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 0.69, "data_frac": 0.252, "fm": 0.045710263401269914, "consistency": 0.01368591396138072, "loss": 0.059396177083253864}
|
| 57 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 0.28, "data_frac": 0.855, "fm": 0.045349640920758244, "consistency": 0.01325059775263071, "loss": 0.05860023856163025}
|
| 58 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 0.61, "data_frac": 0.769, "fm": 0.04396214418113232, "consistency": 0.013097533285617828, "loss": 0.057059677168726924}
|
| 59 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 0.32, "data_frac": 0.821, "fm": 0.04409405454993248, "consistency": 0.012774259392172098, "loss": 0.056868313774466515}
|
| 60 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 0.61, "data_frac": 0.783, "fm": 0.043282516151666645, "consistency": 0.012636983320116996, "loss": 0.05591949932277203}
|
| 61 |
+
HB_INLOOP flash step 2250: a18cr4/train10 nMSE 0.1840 (body_target 0.2748 hands 0.0561) on 308 queries, 6.9 s
|
| 62 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 0.25, "data_frac": 0.841, "fm": 0.042892178297042845, "consistency": 0.012440936155617238, "loss": 0.05533311478793621}
|
| 63 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 0.72, "data_frac": 0.691, "fm": 0.04338537909090519, "consistency": 0.012410797253251076, "loss": 0.05579617634415626}
|
| 64 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 0.34, "data_frac": 0.852, "fm": 0.04300874896347523, "consistency": 0.012520723007619382, "loss": 0.055529472008347514}
|
| 65 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 0.28, "data_frac": 0.89, "fm": 0.04201117031276226, "consistency": 0.01214501153677702, "loss": 0.054156182035803795}
|
| 66 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 0.72, "data_frac": 0.682, "fm": 0.04120131924748421, "consistency": 0.011766824014484882, "loss": 0.0529681433737278}
|
| 67 |
+
HB_INLOOP flash step 2500: a18cr4/train10 nMSE 0.1789 (body_target 0.2677 hands 0.0537) on 308 queries, 7.3 s
|
| 68 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 0.29, "data_frac": 0.811, "fm": 0.041479927897453306, "consistency": 0.011842355374246836, "loss": 0.05332228325307369}
|
| 69 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 0.68, "data_frac": 0.676, "fm": 0.04101044051349163, "consistency": 0.011774309687316417, "loss": 0.05278475023806095}
|
| 70 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 0.28, "data_frac": 0.863, "fm": 0.04052427522838116, "consistency": 0.01136922910809517, "loss": 0.051893504336476326}
|
| 71 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 0.7, "data_frac": 0.72, "fm": 0.039965521991252896, "consistency": 0.011400595847517252, "loss": 0.05136611767113209}
|
| 72 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 0.28, "data_frac": 0.873, "fm": 0.039055939465761184, "consistency": 0.01122439295053482, "loss": 0.05028033226728439}
|
| 73 |
+
HB_INLOOP flash step 2750: a18cr4/train10 nMSE 0.1743 (body_target 0.2614 hands 0.0515) on 308 queries, 11.3 s
|
| 74 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 0.8, "data_frac": 0.473, "fm": 0.03916998013854027, "consistency": 0.011130259614437818, "loss": 0.050300239622592925}
|
| 75 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 0.28, "data_frac": 0.856, "fm": 0.039082156494259834, "consistency": 0.011100875902920962, "loss": 0.05018303267657757}
|
| 76 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 0.68, "data_frac": 0.697, "fm": 0.038635444343090054, "consistency": 0.010629484374076128, "loss": 0.04926492892205715}
|
| 77 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 0.3, "data_frac": 0.84, "fm": 0.03798543334007263, "consistency": 0.01072605911642313, "loss": 0.04871149241924286}
|
| 78 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 0.57, "data_frac": 0.778, "fm": 0.03813557304441929, "consistency": 0.010755883231759071, "loss": 0.04889145635068417}
|
| 79 |
+
HB_INLOOP flash step 3000: a18cr4/train10 nMSE 0.1702 (body_target 0.2558 hands 0.0496) on 308 queries, 10.6 s
|
| 80 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 0.24, "data_frac": 0.812, "fm": 0.037236747518181804, "consistency": 0.01047370919957757, "loss": 0.04771045677363873}
|
| 81 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 0.81, "data_frac": 0.712, "fm": 0.03817024759948254, "consistency": 0.010727082472294569, "loss": 0.04889733038842678}
|
| 82 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 0.26, "data_frac": 0.856, "fm": 0.037081005945801736, "consistency": 0.010439922474324704, "loss": 0.047520928531885144}
|
| 83 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 0.38, "data_frac": 0.832, "fm": 0.037093539983034135, "consistency": 0.010390753094106912, "loss": 0.047484293133020404}
|
| 84 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 0.5, "data_frac": 0.726, "fm": 0.037336444035172466, "consistency": 0.010287356544286013, "loss": 0.04762380063533783}
|
| 85 |
+
HB_INLOOP flash step 3250: a18cr4/train10 nMSE 0.1666 (body_target 0.2506 hands 0.0481) on 308 queries, 7.1 s
|
| 86 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 0.34, "data_frac": 0.823, "fm": 0.03699531372636557, "consistency": 0.010213919188827277, "loss": 0.04720923282206058}
|
| 87 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 0.62, "data_frac": 0.723, "fm": 0.03609734535217285, "consistency": 0.009927380215376615, "loss": 0.04602472543716431}
|
| 88 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 0.38, "data_frac": 0.837, "fm": 0.037292230129241946, "consistency": 0.010415374711155891, "loss": 0.047707605063915255}
|
| 89 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 0.77, "data_frac": 0.708, "fm": 0.036171664297580716, "consistency": 0.009640490617603064, "loss": 0.04581215485930443}
|
| 90 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 0.37, "data_frac": 0.824, "fm": 0.035939515605568885, "consistency": 0.009677173458039761, "loss": 0.045616689175367355}
|
| 91 |
+
HB_INLOOP flash step 3500: a18cr4/train10 nMSE 0.1631 (body_target 0.2457 hands 0.0467) on 308 queries, 7.4 s
|
| 92 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 0.94, "data_frac": 0.519, "fm": 0.03634221002459526, "consistency": 0.009749512411653996, "loss": 0.04609172262251377}
|
| 93 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 0.39, "data_frac": 0.828, "fm": 0.03515574775636196, "consistency": 0.009665194284170866, "loss": 0.04482094213366508}
|
| 94 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 0.78, "data_frac": 0.726, "fm": 0.035812334790825844, "consistency": 0.009657287895679474, "loss": 0.04546962276101112}
|
| 95 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 0.41, "data_frac": 0.792, "fm": 0.0353130254894495, "consistency": 0.009578807856887578, "loss": 0.04489183321595192}
|
| 96 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 0.61, "data_frac": 0.761, "fm": 0.035064481757581235, "consistency": 0.009100166894495488, "loss": 0.04416464850306511}
|
| 97 |
+
HB_INLOOP flash step 3750: a18cr4/train10 nMSE 0.1599 (body_target 0.2412 hands 0.0452) on 308 queries, 5.9 s
|
| 98 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 0.44, "data_frac": 0.731, "fm": 0.034612462110817435, "consistency": 0.008938177190721035, "loss": 0.04355063922703266}
|
| 99 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 0.61, "data_frac": 0.784, "fm": 0.03451868981122971, "consistency": 0.008924254439771176, "loss": 0.04344294413924217}
|
| 100 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 0.35, "data_frac": 0.83, "fm": 0.03466384790837765, "consistency": 0.008695436250418425, "loss": 0.04335928402841091}
|
| 101 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 0.44, "data_frac": 0.861, "fm": 0.034185986667871475, "consistency": 0.008672589277848601, "loss": 0.04285857602953911}
|
| 102 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 0.57, "data_frac": 0.747, "fm": 0.03424822874367237, "consistency": 0.008573271185159683, "loss": 0.04282149985432625}
|
| 103 |
+
HB_INLOOP flash step 4000: a18cr4/train10 nMSE 0.1560 (body_target 0.2360 hands 0.0433) on 308 queries, 3.3 s
|
| 104 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-004000", "mse": 0.005738349631428719, "mse_row0": 0.006087735295295715, "mse_body_target": 0.007768319454044104, "mse_hands": 0.0043081436306238174}
|
| 105 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 0.36, "data_frac": 0.672, "fm": 0.034508059285581115, "consistency": 0.008601140584796668, "loss": 0.04310919985175133}
|
| 106 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 0.73, "data_frac": 0.64, "fm": 0.03351712748408318, "consistency": 0.008187399730086326, "loss": 0.0417045272141695}
|
| 107 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 0.36, "data_frac": 0.847, "fm": 0.033587714917957784, "consistency": 0.008226111670956016, "loss": 0.04181382656097412}
|
| 108 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 0.62, "data_frac": 0.717, "fm": 0.033525857292115685, "consistency": 0.008134866161271929, "loss": 0.041660723611712455}
|
| 109 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 0.33, "data_frac": 0.847, "fm": 0.03262442164123058, "consistency": 0.00796466370113194, "loss": 0.04058908551931381}
|
| 110 |
+
HB_INLOOP flash step 4250: a18cr4/train10 nMSE 0.1529 (body_target 0.2316 hands 0.0422) on 308 queries, 7.6 s
|
| 111 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 0.8, "data_frac": 0.565, "fm": 0.032930188812315464, "consistency": 0.008024571789428591, "loss": 0.04095476053655148}
|
| 112 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 0.29, "data_frac": 0.87, "fm": 0.03299385201185942, "consistency": 0.007826338987797499, "loss": 0.04082019090652466}
|
| 113 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 0.63, "data_frac": 0.706, "fm": 0.032575426697731016, "consistency": 0.00788165144622326, "loss": 0.040457077994942664}
|
| 114 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 0.31, "data_frac": 0.856, "fm": 0.03264454163610935, "consistency": 0.007868844112381338, "loss": 0.04051338560879231}
|
| 115 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 0.48, "data_frac": 0.76, "fm": 0.03208291452378034, "consistency": 0.007583547290414572, "loss": 0.039666461795568465}
|
| 116 |
+
HB_INLOOP flash step 4500: a18cr4/train10 nMSE 0.1509 (body_target 0.2285 hands 0.0416) on 308 queries, 4.9 s
|
| 117 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 0.34, "data_frac": 0.814, "fm": 0.032349288575351236, "consistency": 0.007763368766754866, "loss": 0.04011265717446804}
|
| 118 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 0.49, "data_frac": 0.755, "fm": 0.03235447581857443, "consistency": 0.00753746323287487, "loss": 0.03989193886518479}
|
| 119 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 0.31, "data_frac": 0.853, "fm": 0.03174883510917425, "consistency": 0.007413620017468929, "loss": 0.03916245512664318}
|
| 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.638, "fm": 0.032064416743814945, "consistency": 0.0076821827981621025, "loss": 0.03974659949541092}
|
| 121 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 0.28, "data_frac": 0.874, "fm": 0.031677641123533246, "consistency": 0.007328911880031228, "loss": 0.039006553143262866}
|
| 122 |
+
HB_INLOOP flash step 4750: a18cr4/train10 nMSE 0.1500 (body_target 0.2268 hands 0.0417) on 308 queries, 3.1 s
|
| 123 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 0.36, "data_frac": 0.811, "fm": 0.03174784950911999, "consistency": 0.007451767157763242, "loss": 0.03919961676001549}
|
| 124 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 0.62, "data_frac": 0.73, "fm": 0.03153950739651919, "consistency": 0.007244944237172603, "loss": 0.038784451708197595}
|
| 125 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 0.31, "data_frac": 0.859, "fm": 0.03133065667003393, "consistency": 0.007260759733617306, "loss": 0.03859141640365124}
|
| 126 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 0.64, "data_frac": 0.723, "fm": 0.031101954840123652, "consistency": 0.007129072081297636, "loss": 0.03823102690279484}
|
| 127 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 0.32, "data_frac": 0.849, "fm": 0.03152178026735783, "consistency": 0.007285857014358044, "loss": 0.03880763746798038}
|
| 128 |
+
HB_INLOOP flash step 5000: a18cr4/train10 nMSE 0.1493 (body_target 0.2256 hands 0.0418) on 308 queries, 7.7 s
|
| 129 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 0.69, "data_frac": 0.571, "fm": 0.0310177394002676, "consistency": 0.006987891690805555, "loss": 0.03800563089549541}
|
| 130 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 0.32, "data_frac": 0.836, "fm": 0.031051387377083302, "consistency": 0.007120665041729808, "loss": 0.03817205227911472}
|
| 131 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 0.71, "data_frac": 0.643, "fm": 0.031487838514149186, "consistency": 0.007187803005799651, "loss": 0.03867564179003238}
|
| 132 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 0.34, "data_frac": 0.848, "fm": 0.031014639139175414, "consistency": 0.007039293106645346, "loss": 0.03805393226444721}
|
| 133 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 0.65, "data_frac": 0.659, "fm": 0.030777896717190743, "consistency": 0.0068196120020002126, "loss": 0.03759750880300999}
|
| 134 |
+
HB_INLOOP flash step 5250: a18cr4/train10 nMSE 0.1488 (body_target 0.2246 hands 0.0419) on 308 queries, 8.4 s
|
| 135 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 0.26, "data_frac": 0.784, "fm": 0.030521034188568594, "consistency": 0.0067969151400029655, "loss": 0.03731794930994511}
|
| 136 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 0.44, "data_frac": 0.783, "fm": 0.0304636250436306, "consistency": 0.006866023549810052, "loss": 0.03732964865863323}
|
| 137 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 0.27, "data_frac": 0.802, "fm": 0.02979645650833845, "consistency": 0.006699403505772352, "loss": 0.03649586021900177}
|
| 138 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 0.36, "data_frac": 0.74, "fm": 0.03057480525225401, "consistency": 0.006854408271610737, "loss": 0.03742921359837055}
|
| 139 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 0.28, "data_frac": 0.816, "fm": 0.030103714987635612, "consistency": 0.006687900284305215, "loss": 0.036791615411639216}
|
| 140 |
+
HB_INLOOP flash step 5500: a18cr4/train10 nMSE 0.1480 (body_target 0.2234 hands 0.0418) on 308 queries, 9.3 s
|
| 141 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 0.28, "data_frac": 0.76, "fm": 0.030475669838488102, "consistency": 0.0068523507472127675, "loss": 0.037328020557761195}
|
| 142 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 0.47, "data_frac": 0.679, "fm": 0.030422339141368868, "consistency": 0.006734231021255255, "loss": 0.037156570106744766}
|
| 143 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 0.25, "data_frac": 0.819, "fm": 0.03023609075695276, "consistency": 0.006637409636750817, "loss": 0.03687350057065487}
|
| 144 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 0.5, "data_frac": 0.68, "fm": 0.029509308487176894, "consistency": 0.006621795864775777, "loss": 0.036131104454398155}
|
| 145 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 0.34, "data_frac": 0.816, "fm": 0.02998550821095705, "consistency": 0.006514055989682675, "loss": 0.036499563977122305}
|
| 146 |
+
HB_INLOOP flash step 5750: a18cr4/train10 nMSE 0.1471 (body_target 0.2220 hands 0.0417) on 308 queries, 11.4 s
|
| 147 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 0.48, "data_frac": 0.589, "fm": 0.02915609396994114, "consistency": 0.00657581977546215, "loss": 0.035731913819909096}
|
| 148 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 0.37, "data_frac": 0.754, "fm": 0.029420733898878098, "consistency": 0.0064476472139358525, "loss": 0.03586838088929653}
|
| 149 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 0.44, "data_frac": 0.669, "fm": 0.02917862221598625, "consistency": 0.006493064146488905, "loss": 0.03567168638110161}
|
| 150 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 0.27, "data_frac": 0.814, "fm": 0.029058926589787006, "consistency": 0.006374293193221092, "loss": 0.035433219969272615}
|
| 151 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 0.64, "data_frac": 0.582, "fm": 0.029415113367140294, "consistency": 0.00637141122482717, "loss": 0.035786524638533594}
|
| 152 |
+
HB_INLOOP flash step 6000: a18cr4/train10 nMSE 0.1464 (body_target 0.2208 hands 0.0415) on 308 queries, 8.2 s
|
| 153 |
+
{"event": "save", "step": 6000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-006000", "mse": 0.005173827055841684, "mse_row0": 0.005549618508666754, "mse_body_target": 0.006882397457957268, "mse_hands": 0.003970060031861067}
|
| 154 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 0.3, "data_frac": 0.595, "fm": 0.02916554920375347, "consistency": 0.00638711042702198, "loss": 0.03555265955626965}
|
| 155 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 0.37, "data_frac": 0.747, "fm": 0.02958967112004757, "consistency": 0.006443938044831157, "loss": 0.036033609434962276}
|
| 156 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 0.38, "data_frac": 0.801, "fm": 0.02889606487005949, "consistency": 0.006236223354935646, "loss": 0.035132288113236425}
|
| 157 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 0.4, "data_frac": 0.764, "fm": 0.028457067087292672, "consistency": 0.00617589813657105, "loss": 0.03463296484202147}
|
| 158 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 0.25, "data_frac": 0.821, "fm": 0.02884093303233385, "consistency": 0.006225941106677056, "loss": 0.03506687425076962}
|
| 159 |
+
HB_INLOOP flash step 6250: a18cr4/train10 nMSE 0.1456 (body_target 0.2196 hands 0.0413) on 308 queries, 10.0 s
|
| 160 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 0.31, "data_frac": 0.766, "fm": 0.028634087182581425, "consistency": 0.006125850370153785, "loss": 0.034759937599301335}
|
| 161 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 0.48, "data_frac": 0.671, "fm": 0.02865995604544878, "consistency": 0.006130505036562681, "loss": 0.03479046106338501}
|
| 162 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 0.27, "data_frac": 0.824, "fm": 0.0285262405872345, "consistency": 0.00606166317127645, "loss": 0.034587903954088686}
|
| 163 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 0.82, "data_frac": 0.486, "fm": 0.02798195794224739, "consistency": 0.006034739809110761, "loss": 0.03401669792830944}
|
| 164 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 0.28, "data_frac": 0.801, "fm": 0.028488351255655287, "consistency": 0.006088917450979352, "loss": 0.034577268809080124}
|
| 165 |
+
HB_INLOOP flash step 6500: a18cr4/train10 nMSE 0.1448 (body_target 0.2184 hands 0.0412) on 308 queries, 7.8 s
|
| 166 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 0.58, "data_frac": 0.507, "fm": 0.028459607772529125, "consistency": 0.005989861795678735, "loss": 0.03444946967065334}
|
| 167 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 0.26, "data_frac": 0.833, "fm": 0.02790763970464468, "consistency": 0.0060438884422183035, "loss": 0.03395152807235718}
|
| 168 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 0.45, "data_frac": 0.7, "fm": 0.02776572972536087, "consistency": 0.005960814356803894, "loss": 0.03372654438018799}
|
| 169 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 0.25, "data_frac": 0.827, "fm": 0.028469548486173155, "consistency": 0.0058770873211324215, "loss": 0.03434663601219654}
|
| 170 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 0.49, "data_frac": 0.669, "fm": 0.02795242886990309, "consistency": 0.005911692027002573, "loss": 0.03386412102729082}
|
| 171 |
+
HB_INLOOP flash step 6750: a18cr4/train10 nMSE 0.1442 (body_target 0.2174 hands 0.0411) on 308 queries, 7.0 s
|
| 172 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 0.26, "data_frac": 0.787, "fm": 0.02782199941575527, "consistency": 0.005831137765198946, "loss": 0.03365313738584518}
|
| 173 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 0.31, "data_frac": 0.793, "fm": 0.027623052671551705, "consistency": 0.005743482857942581, "loss": 0.03336653545498848}
|
| 174 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 0.36, "data_frac": 0.771, "fm": 0.027704907096922398, "consistency": 0.005764965005218983, "loss": 0.03346987221390009}
|
| 175 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 0.26, "data_frac": 0.822, "fm": 0.027444268725812435, "consistency": 0.005819952888414264, "loss": 0.03326422158628702}
|
| 176 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 0.28, "data_frac": 0.837, "fm": 0.027390916869044303, "consistency": 0.005752165215089917, "loss": 0.03314308222383261}
|
| 177 |
+
HB_INLOOP flash step 7000: a18cr4/train10 nMSE 0.1436 (body_target 0.2164 hands 0.0409) on 308 queries, 9.5 s
|
| 178 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 0.6, "data_frac": 0.473, "fm": 0.02770964991301298, "consistency": 0.005763025647029281, "loss": 0.033472675755620004}
|
| 179 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 0.28, "data_frac": 0.824, "fm": 0.027567353472113608, "consistency": 0.005726494770497084, "loss": 0.033293848261237144}
|
| 180 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 0.26, "data_frac": 0.797, "fm": 0.02734149996191263, "consistency": 0.005653902944177389, "loss": 0.03299540270119906}
|
| 181 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 0.48, "data_frac": 0.685, "fm": 0.02737574890255928, "consistency": 0.005666283257305622, "loss": 0.033042032085359094}
|
| 182 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 0.25, "data_frac": 0.838, "fm": 0.026934398524463176, "consistency": 0.005656237145885825, "loss": 0.03259063571691513}
|
| 183 |
+
HB_INLOOP flash step 7250: a18cr4/train10 nMSE 0.1429 (body_target 0.2154 hands 0.0407) on 308 queries, 6.0 s
|
| 184 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 0.42, "data_frac": 0.69, "fm": 0.026866554170846938, "consistency": 0.00557813542895019, "loss": 0.03244468946009874}
|
| 185 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 0.26, "data_frac": 0.83, "fm": 0.026826094649732114, "consistency": 0.00557300447486341, "loss": 0.03239909898489714}
|
| 186 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 0.62, "data_frac": 0.623, "fm": 0.026986932307481767, "consistency": 0.005622845888137817, "loss": 0.03260977819561958}
|
| 187 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 0.23, "data_frac": 0.847, "fm": 0.027188496291637422, "consistency": 0.005572268711403012, "loss": 0.032760765105485916}
|
| 188 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 0.51, "data_frac": 0.673, "fm": 0.027295662127435207, "consistency": 0.005503666568547488, "loss": 0.03279932878911495}
|
| 189 |
+
HB_INLOOP flash step 7500: a18cr4/train10 nMSE 0.1421 (body_target 0.2143 hands 0.0405) on 308 queries, 15.3 s
|
| 190 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 0.22, "data_frac": 0.774, "fm": 0.02684225805103779, "consistency": 0.0054243731684982775, "loss": 0.03226663116365671}
|
| 191 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 0.53, "data_frac": 0.679, "fm": 0.026646146327257158, "consistency": 0.00540478722192347, "loss": 0.03205093335360289}
|
| 192 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 0.23, "data_frac": 0.835, "fm": 0.02674266431480646, "consistency": 0.005432479633018374, "loss": 0.03217514380812645}
|
| 193 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 0.44, "data_frac": 0.743, "fm": 0.02714503776282072, "consistency": 0.005387457441538572, "loss": 0.032532495111227036}
|
| 194 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 0.32, "data_frac": 0.77, "fm": 0.02673877414315939, "consistency": 0.005420474885031581, "loss": 0.032159248851239684}
|
| 195 |
+
HB_INLOOP flash step 7750: a18cr4/train10 nMSE 0.1411 (body_target 0.2129 hands 0.0401) on 308 queries, 7.1 s
|
| 196 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 0.74, "data_frac": 0.456, "fm": 0.026599321402609347, "consistency": 0.005368910850957036, "loss": 0.03196823190897703}
|
| 197 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 0.35, "data_frac": 0.73, "fm": 0.02659433152526617, "consistency": 0.005340306228026748, "loss": 0.03193463802337646}
|
| 198 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 0.37, "data_frac": 0.765, "fm": 0.026571271903812886, "consistency": 0.005267349509522319, "loss": 0.03183862123638392}
|
| 199 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 0.54, "data_frac": 0.566, "fm": 0.02638102762401104, "consistency": 0.005287569854408503, "loss": 0.03166859738528729}
|
| 200 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 0.41, "data_frac": 0.734, "fm": 0.026276696100831033, "consistency": 0.005279869958758354, "loss": 0.031556566134095194}
|
| 201 |
+
HB_INLOOP flash step 8000: a18cr4/train10 nMSE 0.1404 (body_target 0.2118 hands 0.0398) on 308 queries, 7.6 s
|
| 202 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-008000", "mse": 0.004421352408826351, "mse_row0": 0.004477906972169876, "mse_body_target": 0.00619505625218153, "mse_hands": 0.003171697724610567}
|
| 203 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 0.66, "data_frac": 0.022, "fm": 0.02634908623993397, "consistency": 0.005301463594660163, "loss": 0.031650549694895745}
|
| 204 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 0.38, "data_frac": 0.74, "fm": 0.026436027437448502, "consistency": 0.005258851321414113, "loss": 0.031694878675043586}
|
| 205 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 0.69, "data_frac": 0.491, "fm": 0.025942662246525288, "consistency": 0.005213017528876662, "loss": 0.03115567974746227}
|
| 206 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 0.36, "data_frac": 0.739, "fm": 0.026207770109176635, "consistency": 0.005234207166358829, "loss": 0.03144197750836611}
|
| 207 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 0.58, "data_frac": 0.644, "fm": 0.0258920169249177, "consistency": 0.005163771398365498, "loss": 0.0310557883605361}
|
| 208 |
+
HB_INLOOP flash step 8250: a18cr4/train10 nMSE 0.1397 (body_target 0.2107 hands 0.0396) on 308 queries, 5.3 s
|
| 209 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 0.36, "data_frac": 0.717, "fm": 0.025927396900951864, "consistency": 0.005216651344671846, "loss": 0.03114404819905758}
|
| 210 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 0.68, "data_frac": 0.549, "fm": 0.026121314987540244, "consistency": 0.005176981519907713, "loss": 0.03129829648882151}
|
| 211 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 0.37, "data_frac": 0.741, "fm": 0.026388856880366802, "consistency": 0.005238551208749414, "loss": 0.0316274081915617}
|
| 212 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 0.49, "data_frac": 0.636, "fm": 0.025938587635755538, "consistency": 0.005091856447979808, "loss": 0.031030444018542765}
|
| 213 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 0.42, "data_frac": 0.747, "fm": 0.02606158934533596, "consistency": 0.005140002872794866, "loss": 0.031201592162251473}
|
| 214 |
+
HB_INLOOP flash step 8500: a18cr4/train10 nMSE 0.1391 (body_target 0.2098 hands 0.0394) on 308 queries, 10.0 s
|
| 215 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 0.54, "data_frac": 0.533, "fm": 0.02562045108526945, "consistency": 0.005059342011809349, "loss": 0.030679793171584605}
|
| 216 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 0.29, "data_frac": 0.806, "fm": 0.025770512633025645, "consistency": 0.0050474314671009775, "loss": 0.03081794422119856}
|
| 217 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 0.45, "data_frac": 0.712, "fm": 0.02579933948814869, "consistency": 0.005052073691040278, "loss": 0.030851413160562516}
|
| 218 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 0.78, "data_frac": 0.454, "fm": 0.02611705433577299, "consistency": 0.004992023203521967, "loss": 0.03110907766968012}
|
| 219 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 0.47, "data_frac": 0.723, "fm": 0.025926564931869508, "consistency": 0.0050266626849770546, "loss": 0.030953227579593658}
|
| 220 |
+
HB_INLOOP flash step 8750: a18cr4/train10 nMSE 0.1385 (body_target 0.2090 hands 0.0393) on 308 queries, 11.4 s
|
| 221 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 0.86, "data_frac": 0.141, "fm": 0.025544959269464016, "consistency": 0.005003395536914468, "loss": 0.030548354759812355}
|
| 222 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 0.5, "data_frac": 0.665, "fm": 0.025934471376240255, "consistency": 0.004961826223880052, "loss": 0.030896297693252563}
|
| 223 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 0.82, "data_frac": 0.491, "fm": 0.025623092092573643, "consistency": 0.004986988669261336, "loss": 0.030610080659389496}
|
| 224 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 0.48, "data_frac": 0.694, "fm": 0.025875662341713904, "consistency": 0.004972757194191217, "loss": 0.03084841962903738}
|
| 225 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 0.79, "data_frac": 0.5, "fm": 0.02552240662276745, "consistency": 0.004982659574598074, "loss": 0.03050506629049778}
|
| 226 |
+
HB_INLOOP flash step 9000: a18cr4/train10 nMSE 0.1380 (body_target 0.2081 hands 0.0391) on 308 queries, 5.2 s
|
| 227 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 0.39, "data_frac": 0.693, "fm": 0.02535141762346029, "consistency": 0.004940959960222245, "loss": 0.03029237762093544}
|
| 228 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 0.68, "data_frac": 0.537, "fm": 0.02566876441240311, "consistency": 0.004894570922479033, "loss": 0.03056333538144827}
|
| 229 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 0.43, "data_frac": 0.708, "fm": 0.025092249438166618, "consistency": 0.004897620500996709, "loss": 0.029989869855344294}
|
| 230 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 0.82, "data_frac": 0.499, "fm": 0.025585115998983384, "consistency": 0.004890367118641734, "loss": 0.030475483164191245}
|
| 231 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 0.45, "data_frac": 0.712, "fm": 0.02541992075741291, "consistency": 0.00488304240629077, "loss": 0.030302963219583035}
|
| 232 |
+
HB_INLOOP flash step 9250: a18cr4/train10 nMSE 0.1373 (body_target 0.2072 hands 0.0389) on 308 queries, 5.0 s
|
| 233 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 0.7, "data_frac": 0.49, "fm": 0.02517812166363001, "consistency": 0.0048953112494200465, "loss": 0.030073432847857476}
|
| 234 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 0.35, "data_frac": 0.741, "fm": 0.02550209201872349, "consistency": 0.004841078175231815, "loss": 0.03034317009150982}
|
| 235 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 1.3, "data_frac": 0.245, "fm": 0.025378450751304626, "consistency": 0.004846462160348892, "loss": 0.030224912948906422}
|
| 236 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 0.36, "data_frac": 0.75, "fm": 0.025014383979141713, "consistency": 0.004806452579796314, "loss": 0.029820836558938028}
|
| 237 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 0.45, "data_frac": 0.73, "fm": 0.025006374716758727, "consistency": 0.004842751305550337, "loss": 0.029849126152694225}
|
| 238 |
+
HB_INLOOP flash step 9500: a18cr4/train10 nMSE 0.1369 (body_target 0.2065 hands 0.0387) on 308 queries, 9.9 s
|
| 239 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 0.63, "data_frac": 0.405, "fm": 0.025094706937670706, "consistency": 0.00483091221190989, "loss": 0.029925619177520277}
|
| 240 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 0.45, "data_frac": 0.731, "fm": 0.02502928201109171, "consistency": 0.0047905183304101226, "loss": 0.029819800332188607}
|
| 241 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 0.69, "data_frac": 0.544, "fm": 0.025173900797963143, "consistency": 0.004777436833828688, "loss": 0.029951337799429892}
|
| 242 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 0.4, "data_frac": 0.794, "fm": 0.025218667425215245, "consistency": 0.004745650487020612, "loss": 0.029964317828416825}
|
| 243 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 0.85, "data_frac": 0.474, "fm": 0.02512092236429453, "consistency": 0.004766179081052542, "loss": 0.029887101277709008}
|
| 244 |
+
HB_INLOOP flash step 9750: a18cr4/train10 nMSE 0.1365 (body_target 0.2060 hands 0.0386) on 308 queries, 4.2 s
|
| 245 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 0.41, "data_frac": 0.757, "fm": 0.024559626765549184, "consistency": 0.004755051024258137, "loss": 0.0293146775662899}
|
| 246 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 0.76, "data_frac": 0.512, "fm": 0.025003804937005044, "consistency": 0.004743763105943799, "loss": 0.02974756795912981}
|
| 247 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 0.45, "data_frac": 0.73, "fm": 0.0245132539793849, "consistency": 0.004743571104481817, "loss": 0.029256825037300586}
|
| 248 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 0.79, "data_frac": 0.545, "fm": 0.02464186541736126, "consistency": 0.004719286346808076, "loss": 0.029361151680350302}
|
| 249 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 0.43, "data_frac": 0.744, "fm": 0.025119186118245124, "consistency": 0.0047147032618522645, "loss": 0.029833889417350292}
|
| 250 |
+
HB_INLOOP flash step 10000: a18cr4/train10 nMSE 0.1361 (body_target 0.2053 hands 0.0385) on 308 queries, 7.2 s
|
| 251 |
+
{"event": "save", "step": 10000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-010000", "mse": 0.004019129555672407, "mse_row0": 0.003910966217517853, "mse_body_target": 0.0057970029301941395, "mse_hands": 0.002766536781564355}
|
| 252 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 0.62, "data_frac": 0.232, "fm": 0.025079195909202098, "consistency": 0.004712648345157504, "loss": 0.029791844338178636}
|
| 253 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 0.37, "data_frac": 0.734, "fm": 0.024549386650323867, "consistency": 0.004661239506676793, "loss": 0.029210626110434533}
|
| 254 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 1.1, "data_frac": 0.391, "fm": 0.02492876034229994, "consistency": 0.004687403813004493, "loss": 0.029616164118051527}
|
| 255 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 0.35, "data_frac": 0.775, "fm": 0.025032079555094244, "consistency": 0.004688084712252021, "loss": 0.029720164202153683}
|
| 256 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 0.43, "data_frac": 0.763, "fm": 0.02460592120885849, "consistency": 0.004652168788015843, "loss": 0.029258090034127236}
|
| 257 |
+
HB_INLOOP flash step 10250: a18cr4/train10 nMSE 0.1357 (body_target 0.2048 hands 0.0384) on 308 queries, 8.4 s
|
| 258 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 0.69, "data_frac": 0.426, "fm": 0.02474876243621111, "consistency": 0.0046577885001897815, "loss": 0.029406551085412503}
|
| 259 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 0.42, "data_frac": 0.782, "fm": 0.024731668941676617, "consistency": 0.0046420733910053965, "loss": 0.02937374245375395}
|
| 260 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 0.77, "data_frac": 0.533, "fm": 0.024665842913091183, "consistency": 0.0046314836479723455, "loss": 0.029297326505184174}
|
| 261 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 0.41, "data_frac": 0.767, "fm": 0.02467294957488775, "consistency": 0.004624215653166175, "loss": 0.029297165274620056}
|
| 262 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 0.83, "data_frac": 0.478, "fm": 0.024745910838246347, "consistency": 0.004639820540323854, "loss": 0.029385731443762778}
|
| 263 |
+
HB_INLOOP flash step 10500: a18cr4/train10 nMSE 0.1354 (body_target 0.2043 hands 0.0383) on 308 queries, 4.6 s
|
| 264 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 0.44, "data_frac": 0.707, "fm": 0.0245290195569396, "consistency": 0.004629139779135585, "loss": 0.02915815945714712}
|
| 265 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 0.77, "data_frac": 0.547, "fm": 0.02407619558274746, "consistency": 0.00462274607270956, "loss": 0.02869894165545702}
|
| 266 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 0.45, "data_frac": 0.709, "fm": 0.024573715552687645, "consistency": 0.0046219906862825155, "loss": 0.029195706248283385}
|
| 267 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 0.68, "data_frac": 0.558, "fm": 0.024535844549536705, "consistency": 0.004629923962056637, "loss": 0.029165768548846244}
|
| 268 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 0.4, "data_frac": 0.733, "fm": 0.024235270023345946, "consistency": 0.00460077497176826, "loss": 0.028836045004427432}
|
| 269 |
+
HB_INLOOP flash step 10750: a18cr4/train10 nMSE 0.1352 (body_target 0.2040 hands 0.0383) on 308 queries, 8.3 s
|
| 270 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 0.66, "data_frac": 0.541, "fm": 0.02441252291202545, "consistency": 0.004580188086256385, "loss": 0.02899271108210087}
|
| 271 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 0.48, "data_frac": 0.716, "fm": 0.02411218427121639, "consistency": 0.004565771361812949, "loss": 0.028677955754101276}
|
| 272 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 0.63, "data_frac": 0.688, "fm": 0.024591781161725522, "consistency": 0.0045954814460128545, "loss": 0.029187262691557407}
|
| 273 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 0.36, "data_frac": 0.773, "fm": 0.02427210785448551, "consistency": 0.004630656996741891, "loss": 0.02890276476740837}
|
| 274 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 0.46, "data_frac": 0.776, "fm": 0.024340504929423332, "consistency": 0.004551379010081291, "loss": 0.028891883864998816}
|
| 275 |
+
HB_INLOOP flash step 11000: a18cr4/train10 nMSE 0.1350 (body_target 0.2037 hands 0.0382) on 308 queries, 10.1 s
|
| 276 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 0.66, "data_frac": 0.437, "fm": 0.024357114881277085, "consistency": 0.004538869448006153, "loss": 0.028895984478294848}
|
| 277 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 0.44, "data_frac": 0.767, "fm": 0.02454052645713091, "consistency": 0.0045742593239992855, "loss": 0.02911478579044342}
|
| 278 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 0.71, "data_frac": 0.583, "fm": 0.024387887753546236, "consistency": 0.0045711065270006655, "loss": 0.028958994373679162}
|
| 279 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 0.42, "data_frac": 0.744, "fm": 0.02450835019350052, "consistency": 0.004551823958754539, "loss": 0.029060174115002155}
|
| 280 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 0.67, "data_frac": 0.623, "fm": 0.02438442301005125, "consistency": 0.004579005604609847, "loss": 0.02896342858672142}
|
| 281 |
+
HB_INLOOP flash step 11250: a18cr4/train10 nMSE 0.1348 (body_target 0.2034 hands 0.0382) on 308 queries, 3.5 s
|
| 282 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 0.41, "data_frac": 0.73, "fm": 0.024484143853187562, "consistency": 0.0045373532827943566, "loss": 0.02902149710804224}
|
| 283 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 0.83, "data_frac": 0.523, "fm": 0.024163579493761064, "consistency": 0.004562560385093093, "loss": 0.028726139813661577}
|
| 284 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 0.42, "data_frac": 0.768, "fm": 0.024930886775255203, "consistency": 0.00453472956083715, "loss": 0.02946561645716429}
|
| 285 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 0.83, "data_frac": 0.543, "fm": 0.024359913431107997, "consistency": 0.00454515814781189, "loss": 0.028905071653425693}
|
| 286 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 0.43, "data_frac": 0.745, "fm": 0.02431346572935581, "consistency": 0.004532440192997455, "loss": 0.028845906108617782}
|
| 287 |
+
HB_INLOOP flash step 11500: a18cr4/train10 nMSE 0.1347 (body_target 0.2032 hands 0.0381) on 308 queries, 5.2 s
|
| 288 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 0.65, "data_frac": 0.564, "fm": 0.024520324990153313, "consistency": 0.0045355160813778635, "loss": 0.029055841080844403}
|
| 289 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 0.5, "data_frac": 0.713, "fm": 0.024903323389589786, "consistency": 0.004568786593154073, "loss": 0.029472110010683537}
|
| 290 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 0.63, "data_frac": 0.625, "fm": 0.024393000863492487, "consistency": 0.004538070913404226, "loss": 0.02893107172101736}
|
| 291 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 0.57, "data_frac": 0.702, "fm": 0.024538718424737455, "consistency": 0.004506946904584765, "loss": 0.029045665450394154}
|
| 292 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 1.59, "data_frac": 0.273, "fm": 0.024230985343456267, "consistency": 0.0045578398648649454, "loss": 0.028788825273513795}
|
| 293 |
+
HB_INLOOP flash step 11750: a18cr4/train10 nMSE 0.1345 (body_target 0.2030 hands 0.0380) on 308 queries, 2.3 s
|
| 294 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 0.51, "data_frac": 0.671, "fm": 0.024288565404713153, "consistency": 0.004541226839646697, "loss": 0.028829792104661463}
|
| 295 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 0.68, "data_frac": 0.66, "fm": 0.024268959425389768, "consistency": 0.004518504692241549, "loss": 0.028787464164197446}
|
| 296 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.1, "data_frac": 0.404, "fm": 0.024320961013436317, "consistency": 0.004549319753423333, "loss": 0.028870280906558035}
|
| 297 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 0.6, "data_frac": 0.704, "fm": 0.024292367100715636, "consistency": 0.004513674732297659, "loss": 0.028806041814386844}
|
| 298 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 1.33, "data_frac": 0.231, "fm": 0.024266984164714813, "consistency": 0.0045250449050217864, "loss": 0.028792028948664665}
|
| 299 |
+
HB_INLOOP flash step 12000: a18cr4/train10 nMSE 0.1344 (body_target 0.2029 hands 0.0380) on 308 queries, 3.7 s
|
| 300 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-012000", "mse": 0.0038264100439846516, "mse_row0": 0.0036608048249036074, "mse_body_target": 0.00563316885381937, "mse_hands": 0.0025534662418067455}
|
| 301 |
+
{"event": "done", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/final"}
|
a18-pour-water/b512-trim3f/step-012000/training_records/train_log.jsonl
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.19, "data_frac": 0.868, "fm": 1.1738034868240357, "consistency": 1.2521834284067155, "loss": 2.4259869050979614}
|
| 2 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 0.25, "data_frac": 0.872, "fm": 0.3756586366891861, "consistency": 0.38079522132873533, "loss": 0.7564538598060608}
|
| 3 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 0.53, "data_frac": 0.691, "fm": 0.34986157894134523, "consistency": 0.3494811648130417, "loss": 0.6993427431583404}
|
| 4 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 0.28, "data_frac": 0.871, "fm": 0.33838880896568296, "consistency": 0.335662642121315, "loss": 0.6740514516830445}
|
| 5 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 0.61, "data_frac": 0.671, "fm": 0.3250820517539978, "consistency": 0.31603444933891295, "loss": 0.6411165070533752}
|
| 6 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 0.28, "data_frac": 0.776, "fm": 0.2765289631485939, "consistency": 0.24682235091924667, "loss": 0.5233513146638871}
|
| 7 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 0.55, "data_frac": 0.739, "fm": 0.2020558974146843, "consistency": 0.1469683088362217, "loss": 0.34902420580387117}
|
| 8 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 0.27, "data_frac": 0.87, "fm": 0.157595574259758, "consistency": 0.09156141430139542, "loss": 0.24915698885917664}
|
| 9 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 0.54, "data_frac": 0.718, "fm": 0.13883054852485657, "consistency": 0.07114948011934757, "loss": 0.20998002737760543}
|
| 10 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 0.3, "data_frac": 0.865, "fm": 0.12756595149636268, "consistency": 0.06188884750008583, "loss": 0.1894547986984253}
|
| 11 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 0.71, "data_frac": 0.623, "fm": 0.11990073576569557, "consistency": 0.053751283511519435, "loss": 0.17365201979875564}
|
| 12 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 0.32, "data_frac": 0.855, "fm": 0.11314255580306053, "consistency": 0.04913797043263912, "loss": 0.16228052616119384}
|
| 13 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 0.39, "data_frac": 0.85, "fm": 0.10521363243460655, "consistency": 0.04454108454287052, "loss": 0.14975471615791322}
|
| 14 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 0.28, "data_frac": 0.86, "fm": 0.09693946182727814, "consistency": 0.04000632911920547, "loss": 0.13694579258561135}
|
| 15 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 0.95, "data_frac": 0.643, "fm": 0.09071484625339508, "consistency": 0.037238330468535426, "loss": 0.12795317620038987}
|
| 16 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 0.27, "data_frac": 0.825, "fm": 0.08420470759272575, "consistency": 0.03309504475444555, "loss": 0.11729975208640099}
|
| 17 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 0.34, "data_frac": 0.848, "fm": 0.07982132121920586, "consistency": 0.030618979148566722, "loss": 0.11044030070304871}
|
| 18 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 0.58, "data_frac": 0.674, "fm": 0.07645889222621918, "consistency": 0.027890880517661573, "loss": 0.10434977293014526}
|
| 19 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 0.31, "data_frac": 0.822, "fm": 0.07322742655873299, "consistency": 0.025545405894517897, "loss": 0.09877283290028573}
|
| 20 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 0.63, "data_frac": 0.71, "fm": 0.07105336487293243, "consistency": 0.024562278613448143, "loss": 0.095615643709898}
|
| 21 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 0.31, "data_frac": 0.765, "fm": 0.06801495909690856, "consistency": 0.02302970640361309, "loss": 0.09104466468095779}
|
| 22 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 0.49, "data_frac": 0.742, "fm": 0.0663655998557806, "consistency": 0.022606186866760254, "loss": 0.08897178679704666}
|
| 23 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 0.33, "data_frac": 0.867, "fm": 0.06364891417324543, "consistency": 0.020846106223762036, "loss": 0.08449502021074295}
|
| 24 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 0.65, "data_frac": 0.671, "fm": 0.06188332997262478, "consistency": 0.019910640753805636, "loss": 0.08179397061467171}
|
| 25 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 0.29, "data_frac": 0.828, "fm": 0.05949566438794136, "consistency": 0.019161737002432348, "loss": 0.0786574013531208}
|
| 26 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 0.69, "data_frac": 0.554, "fm": 0.05932909987866879, "consistency": 0.018920051343739034, "loss": 0.07824915081262589}
|
| 27 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 0.31, "data_frac": 0.862, "fm": 0.05845439553260803, "consistency": 0.0186082224547863, "loss": 0.07706261783838272}
|
| 28 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 0.45, "data_frac": 0.803, "fm": 0.05667193777859211, "consistency": 0.017528270781040193, "loss": 0.0742002086341381}
|
| 29 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 0.35, "data_frac": 0.805, "fm": 0.05637395918369293, "consistency": 0.01735175620764494, "loss": 0.073725715726614}
|
| 30 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 0.42, "data_frac": 0.821, "fm": 0.054810646921396255, "consistency": 0.01728986520320177, "loss": 0.07210051193833351}
|
| 31 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 0.28, "data_frac": 0.789, "fm": 0.05378738567233086, "consistency": 0.01673873661085963, "loss": 0.07052612245082855}
|
| 32 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 0.37, "data_frac": 0.824, "fm": 0.052889003455638885, "consistency": 0.01598834143951535, "loss": 0.0688773451000452}
|
| 33 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 0.43, "data_frac": 0.73, "fm": 0.050705241709947585, "consistency": 0.015579991098493338, "loss": 0.06628523290157318}
|
| 34 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 0.32, "data_frac": 0.858, "fm": 0.05113918170332909, "consistency": 0.0155832264944911, "loss": 0.06672240808606147}
|
| 35 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 0.53, "data_frac": 0.727, "fm": 0.04934460178017616, "consistency": 0.014862930178642273, "loss": 0.06420753225684166}
|
| 36 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 0.29, "data_frac": 0.825, "fm": 0.04872649364173412, "consistency": 0.014740117453038692, "loss": 0.06346661113202572}
|
| 37 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 0.49, "data_frac": 0.747, "fm": 0.04871256418526173, "consistency": 0.014654438477009535, "loss": 0.06336700282990933}
|
| 38 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 0.34, "data_frac": 0.846, "fm": 0.047209275662899015, "consistency": 0.014469650834798812, "loss": 0.061678926646709445}
|
| 39 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 0.54, "data_frac": 0.762, "fm": 0.04668834626674652, "consistency": 0.014121007286012172, "loss": 0.06080935351550579}
|
| 40 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 0.34, "data_frac": 0.844, "fm": 0.04656731016933918, "consistency": 0.013454895224422217, "loss": 0.06002220503985882}
|
| 41 |
+
{"event": "save", "step": 2000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-002000", "mse": 0.009477670304477215, "mse_row0": 0.010136607103049755, "mse_body_target": 0.01041134912520647, "mse_hands": 0.008819851092994213}
|
| 42 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 0.69, "data_frac": 0.252, "fm": 0.045710263401269914, "consistency": 0.01368591396138072, "loss": 0.059396177083253864}
|
| 43 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 0.28, "data_frac": 0.855, "fm": 0.045349640920758244, "consistency": 0.01325059775263071, "loss": 0.05860023856163025}
|
| 44 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 0.61, "data_frac": 0.769, "fm": 0.04396214418113232, "consistency": 0.013097533285617828, "loss": 0.057059677168726924}
|
| 45 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 0.32, "data_frac": 0.821, "fm": 0.04409405454993248, "consistency": 0.012774259392172098, "loss": 0.056868313774466515}
|
| 46 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 0.61, "data_frac": 0.783, "fm": 0.043282516151666645, "consistency": 0.012636983320116996, "loss": 0.05591949932277203}
|
| 47 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 0.25, "data_frac": 0.841, "fm": 0.042892178297042845, "consistency": 0.012440936155617238, "loss": 0.05533311478793621}
|
| 48 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 0.72, "data_frac": 0.691, "fm": 0.04338537909090519, "consistency": 0.012410797253251076, "loss": 0.05579617634415626}
|
| 49 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 0.34, "data_frac": 0.852, "fm": 0.04300874896347523, "consistency": 0.012520723007619382, "loss": 0.055529472008347514}
|
| 50 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 0.28, "data_frac": 0.89, "fm": 0.04201117031276226, "consistency": 0.01214501153677702, "loss": 0.054156182035803795}
|
| 51 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 0.72, "data_frac": 0.682, "fm": 0.04120131924748421, "consistency": 0.011766824014484882, "loss": 0.0529681433737278}
|
| 52 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 0.29, "data_frac": 0.811, "fm": 0.041479927897453306, "consistency": 0.011842355374246836, "loss": 0.05332228325307369}
|
| 53 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 0.68, "data_frac": 0.676, "fm": 0.04101044051349163, "consistency": 0.011774309687316417, "loss": 0.05278475023806095}
|
| 54 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 0.28, "data_frac": 0.863, "fm": 0.04052427522838116, "consistency": 0.01136922910809517, "loss": 0.051893504336476326}
|
| 55 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 0.7, "data_frac": 0.72, "fm": 0.039965521991252896, "consistency": 0.011400595847517252, "loss": 0.05136611767113209}
|
| 56 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 0.28, "data_frac": 0.873, "fm": 0.039055939465761184, "consistency": 0.01122439295053482, "loss": 0.05028033226728439}
|
| 57 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 0.8, "data_frac": 0.473, "fm": 0.03916998013854027, "consistency": 0.011130259614437818, "loss": 0.050300239622592925}
|
| 58 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 0.28, "data_frac": 0.856, "fm": 0.039082156494259834, "consistency": 0.011100875902920962, "loss": 0.05018303267657757}
|
| 59 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 0.68, "data_frac": 0.697, "fm": 0.038635444343090054, "consistency": 0.010629484374076128, "loss": 0.04926492892205715}
|
| 60 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 0.3, "data_frac": 0.84, "fm": 0.03798543334007263, "consistency": 0.01072605911642313, "loss": 0.04871149241924286}
|
| 61 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 0.57, "data_frac": 0.778, "fm": 0.03813557304441929, "consistency": 0.010755883231759071, "loss": 0.04889145635068417}
|
| 62 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 0.24, "data_frac": 0.812, "fm": 0.037236747518181804, "consistency": 0.01047370919957757, "loss": 0.04771045677363873}
|
| 63 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 0.81, "data_frac": 0.712, "fm": 0.03817024759948254, "consistency": 0.010727082472294569, "loss": 0.04889733038842678}
|
| 64 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 0.26, "data_frac": 0.856, "fm": 0.037081005945801736, "consistency": 0.010439922474324704, "loss": 0.047520928531885144}
|
| 65 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 0.38, "data_frac": 0.832, "fm": 0.037093539983034135, "consistency": 0.010390753094106912, "loss": 0.047484293133020404}
|
| 66 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 0.5, "data_frac": 0.726, "fm": 0.037336444035172466, "consistency": 0.010287356544286013, "loss": 0.04762380063533783}
|
| 67 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 0.34, "data_frac": 0.823, "fm": 0.03699531372636557, "consistency": 0.010213919188827277, "loss": 0.04720923282206058}
|
| 68 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 0.62, "data_frac": 0.723, "fm": 0.03609734535217285, "consistency": 0.009927380215376615, "loss": 0.04602472543716431}
|
| 69 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 0.38, "data_frac": 0.837, "fm": 0.037292230129241946, "consistency": 0.010415374711155891, "loss": 0.047707605063915255}
|
| 70 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 0.77, "data_frac": 0.708, "fm": 0.036171664297580716, "consistency": 0.009640490617603064, "loss": 0.04581215485930443}
|
| 71 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 0.37, "data_frac": 0.824, "fm": 0.035939515605568885, "consistency": 0.009677173458039761, "loss": 0.045616689175367355}
|
| 72 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 0.94, "data_frac": 0.519, "fm": 0.03634221002459526, "consistency": 0.009749512411653996, "loss": 0.04609172262251377}
|
| 73 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 0.39, "data_frac": 0.828, "fm": 0.03515574775636196, "consistency": 0.009665194284170866, "loss": 0.04482094213366508}
|
| 74 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 0.78, "data_frac": 0.726, "fm": 0.035812334790825844, "consistency": 0.009657287895679474, "loss": 0.04546962276101112}
|
| 75 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 0.41, "data_frac": 0.792, "fm": 0.0353130254894495, "consistency": 0.009578807856887578, "loss": 0.04489183321595192}
|
| 76 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 0.61, "data_frac": 0.761, "fm": 0.035064481757581235, "consistency": 0.009100166894495488, "loss": 0.04416464850306511}
|
| 77 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 0.44, "data_frac": 0.731, "fm": 0.034612462110817435, "consistency": 0.008938177190721035, "loss": 0.04355063922703266}
|
| 78 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 0.61, "data_frac": 0.784, "fm": 0.03451868981122971, "consistency": 0.008924254439771176, "loss": 0.04344294413924217}
|
| 79 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 0.35, "data_frac": 0.83, "fm": 0.03466384790837765, "consistency": 0.008695436250418425, "loss": 0.04335928402841091}
|
| 80 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 0.44, "data_frac": 0.861, "fm": 0.034185986667871475, "consistency": 0.008672589277848601, "loss": 0.04285857602953911}
|
| 81 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 0.57, "data_frac": 0.747, "fm": 0.03424822874367237, "consistency": 0.008573271185159683, "loss": 0.04282149985432625}
|
| 82 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-004000", "mse": 0.005738349631428719, "mse_row0": 0.006087735295295715, "mse_body_target": 0.007768319454044104, "mse_hands": 0.0043081436306238174}
|
| 83 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 0.36, "data_frac": 0.672, "fm": 0.034508059285581115, "consistency": 0.008601140584796668, "loss": 0.04310919985175133}
|
| 84 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 0.73, "data_frac": 0.64, "fm": 0.03351712748408318, "consistency": 0.008187399730086326, "loss": 0.0417045272141695}
|
| 85 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 0.36, "data_frac": 0.847, "fm": 0.033587714917957784, "consistency": 0.008226111670956016, "loss": 0.04181382656097412}
|
| 86 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 0.62, "data_frac": 0.717, "fm": 0.033525857292115685, "consistency": 0.008134866161271929, "loss": 0.041660723611712455}
|
| 87 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 0.33, "data_frac": 0.847, "fm": 0.03262442164123058, "consistency": 0.00796466370113194, "loss": 0.04058908551931381}
|
| 88 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 0.8, "data_frac": 0.565, "fm": 0.032930188812315464, "consistency": 0.008024571789428591, "loss": 0.04095476053655148}
|
| 89 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 0.29, "data_frac": 0.87, "fm": 0.03299385201185942, "consistency": 0.007826338987797499, "loss": 0.04082019090652466}
|
| 90 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 0.63, "data_frac": 0.706, "fm": 0.032575426697731016, "consistency": 0.00788165144622326, "loss": 0.040457077994942664}
|
| 91 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 0.31, "data_frac": 0.856, "fm": 0.03264454163610935, "consistency": 0.007868844112381338, "loss": 0.04051338560879231}
|
| 92 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 0.48, "data_frac": 0.76, "fm": 0.03208291452378034, "consistency": 0.007583547290414572, "loss": 0.039666461795568465}
|
| 93 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 0.34, "data_frac": 0.814, "fm": 0.032349288575351236, "consistency": 0.007763368766754866, "loss": 0.04011265717446804}
|
| 94 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 0.49, "data_frac": 0.755, "fm": 0.03235447581857443, "consistency": 0.00753746323287487, "loss": 0.03989193886518479}
|
| 95 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 0.31, "data_frac": 0.853, "fm": 0.03174883510917425, "consistency": 0.007413620017468929, "loss": 0.03916245512664318}
|
| 96 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 0.82, "data_frac": 0.638, "fm": 0.032064416743814945, "consistency": 0.0076821827981621025, "loss": 0.03974659949541092}
|
| 97 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 0.28, "data_frac": 0.874, "fm": 0.031677641123533246, "consistency": 0.007328911880031228, "loss": 0.039006553143262866}
|
| 98 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 0.36, "data_frac": 0.811, "fm": 0.03174784950911999, "consistency": 0.007451767157763242, "loss": 0.03919961676001549}
|
| 99 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 0.62, "data_frac": 0.73, "fm": 0.03153950739651919, "consistency": 0.007244944237172603, "loss": 0.038784451708197595}
|
| 100 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 0.31, "data_frac": 0.859, "fm": 0.03133065667003393, "consistency": 0.007260759733617306, "loss": 0.03859141640365124}
|
| 101 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 0.64, "data_frac": 0.723, "fm": 0.031101954840123652, "consistency": 0.007129072081297636, "loss": 0.03823102690279484}
|
| 102 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 0.32, "data_frac": 0.849, "fm": 0.03152178026735783, "consistency": 0.007285857014358044, "loss": 0.03880763746798038}
|
| 103 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 0.69, "data_frac": 0.571, "fm": 0.0310177394002676, "consistency": 0.006987891690805555, "loss": 0.03800563089549541}
|
| 104 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 0.32, "data_frac": 0.836, "fm": 0.031051387377083302, "consistency": 0.007120665041729808, "loss": 0.03817205227911472}
|
| 105 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 0.71, "data_frac": 0.643, "fm": 0.031487838514149186, "consistency": 0.007187803005799651, "loss": 0.03867564179003238}
|
| 106 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 0.34, "data_frac": 0.848, "fm": 0.031014639139175414, "consistency": 0.007039293106645346, "loss": 0.03805393226444721}
|
| 107 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 0.65, "data_frac": 0.659, "fm": 0.030777896717190743, "consistency": 0.0068196120020002126, "loss": 0.03759750880300999}
|
| 108 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 0.26, "data_frac": 0.784, "fm": 0.030521034188568594, "consistency": 0.0067969151400029655, "loss": 0.03731794930994511}
|
| 109 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 0.44, "data_frac": 0.783, "fm": 0.0304636250436306, "consistency": 0.006866023549810052, "loss": 0.03732964865863323}
|
| 110 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 0.27, "data_frac": 0.802, "fm": 0.02979645650833845, "consistency": 0.006699403505772352, "loss": 0.03649586021900177}
|
| 111 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 0.36, "data_frac": 0.74, "fm": 0.03057480525225401, "consistency": 0.006854408271610737, "loss": 0.03742921359837055}
|
| 112 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 0.28, "data_frac": 0.816, "fm": 0.030103714987635612, "consistency": 0.006687900284305215, "loss": 0.036791615411639216}
|
| 113 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 0.28, "data_frac": 0.76, "fm": 0.030475669838488102, "consistency": 0.0068523507472127675, "loss": 0.037328020557761195}
|
| 114 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 0.47, "data_frac": 0.679, "fm": 0.030422339141368868, "consistency": 0.006734231021255255, "loss": 0.037156570106744766}
|
| 115 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 0.25, "data_frac": 0.819, "fm": 0.03023609075695276, "consistency": 0.006637409636750817, "loss": 0.03687350057065487}
|
| 116 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 0.5, "data_frac": 0.68, "fm": 0.029509308487176894, "consistency": 0.006621795864775777, "loss": 0.036131104454398155}
|
| 117 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 0.34, "data_frac": 0.816, "fm": 0.02998550821095705, "consistency": 0.006514055989682675, "loss": 0.036499563977122305}
|
| 118 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 0.48, "data_frac": 0.589, "fm": 0.02915609396994114, "consistency": 0.00657581977546215, "loss": 0.035731913819909096}
|
| 119 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 0.37, "data_frac": 0.754, "fm": 0.029420733898878098, "consistency": 0.0064476472139358525, "loss": 0.03586838088929653}
|
| 120 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 0.44, "data_frac": 0.669, "fm": 0.02917862221598625, "consistency": 0.006493064146488905, "loss": 0.03567168638110161}
|
| 121 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 0.27, "data_frac": 0.814, "fm": 0.029058926589787006, "consistency": 0.006374293193221092, "loss": 0.035433219969272615}
|
| 122 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 0.64, "data_frac": 0.582, "fm": 0.029415113367140294, "consistency": 0.00637141122482717, "loss": 0.035786524638533594}
|
| 123 |
+
{"event": "save", "step": 6000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-006000", "mse": 0.005173827055841684, "mse_row0": 0.005549618508666754, "mse_body_target": 0.006882397457957268, "mse_hands": 0.003970060031861067}
|
| 124 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 0.3, "data_frac": 0.595, "fm": 0.02916554920375347, "consistency": 0.00638711042702198, "loss": 0.03555265955626965}
|
| 125 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 0.37, "data_frac": 0.747, "fm": 0.02958967112004757, "consistency": 0.006443938044831157, "loss": 0.036033609434962276}
|
| 126 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 0.38, "data_frac": 0.801, "fm": 0.02889606487005949, "consistency": 0.006236223354935646, "loss": 0.035132288113236425}
|
| 127 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 0.4, "data_frac": 0.764, "fm": 0.028457067087292672, "consistency": 0.00617589813657105, "loss": 0.03463296484202147}
|
| 128 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 0.25, "data_frac": 0.821, "fm": 0.02884093303233385, "consistency": 0.006225941106677056, "loss": 0.03506687425076962}
|
| 129 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 0.31, "data_frac": 0.766, "fm": 0.028634087182581425, "consistency": 0.006125850370153785, "loss": 0.034759937599301335}
|
| 130 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 0.48, "data_frac": 0.671, "fm": 0.02865995604544878, "consistency": 0.006130505036562681, "loss": 0.03479046106338501}
|
| 131 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 0.27, "data_frac": 0.824, "fm": 0.0285262405872345, "consistency": 0.00606166317127645, "loss": 0.034587903954088686}
|
| 132 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 0.82, "data_frac": 0.486, "fm": 0.02798195794224739, "consistency": 0.006034739809110761, "loss": 0.03401669792830944}
|
| 133 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 0.28, "data_frac": 0.801, "fm": 0.028488351255655287, "consistency": 0.006088917450979352, "loss": 0.034577268809080124}
|
| 134 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 0.58, "data_frac": 0.507, "fm": 0.028459607772529125, "consistency": 0.005989861795678735, "loss": 0.03444946967065334}
|
| 135 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 0.26, "data_frac": 0.833, "fm": 0.02790763970464468, "consistency": 0.0060438884422183035, "loss": 0.03395152807235718}
|
| 136 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 0.45, "data_frac": 0.7, "fm": 0.02776572972536087, "consistency": 0.005960814356803894, "loss": 0.03372654438018799}
|
| 137 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 0.25, "data_frac": 0.827, "fm": 0.028469548486173155, "consistency": 0.0058770873211324215, "loss": 0.03434663601219654}
|
| 138 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 0.49, "data_frac": 0.669, "fm": 0.02795242886990309, "consistency": 0.005911692027002573, "loss": 0.03386412102729082}
|
| 139 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 0.26, "data_frac": 0.787, "fm": 0.02782199941575527, "consistency": 0.005831137765198946, "loss": 0.03365313738584518}
|
| 140 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 0.31, "data_frac": 0.793, "fm": 0.027623052671551705, "consistency": 0.005743482857942581, "loss": 0.03336653545498848}
|
| 141 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 0.36, "data_frac": 0.771, "fm": 0.027704907096922398, "consistency": 0.005764965005218983, "loss": 0.03346987221390009}
|
| 142 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 0.26, "data_frac": 0.822, "fm": 0.027444268725812435, "consistency": 0.005819952888414264, "loss": 0.03326422158628702}
|
| 143 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 0.28, "data_frac": 0.837, "fm": 0.027390916869044303, "consistency": 0.005752165215089917, "loss": 0.03314308222383261}
|
| 144 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 0.6, "data_frac": 0.473, "fm": 0.02770964991301298, "consistency": 0.005763025647029281, "loss": 0.033472675755620004}
|
| 145 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 0.28, "data_frac": 0.824, "fm": 0.027567353472113608, "consistency": 0.005726494770497084, "loss": 0.033293848261237144}
|
| 146 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 0.26, "data_frac": 0.797, "fm": 0.02734149996191263, "consistency": 0.005653902944177389, "loss": 0.03299540270119906}
|
| 147 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 0.48, "data_frac": 0.685, "fm": 0.02737574890255928, "consistency": 0.005666283257305622, "loss": 0.033042032085359094}
|
| 148 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 0.25, "data_frac": 0.838, "fm": 0.026934398524463176, "consistency": 0.005656237145885825, "loss": 0.03259063571691513}
|
| 149 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 0.42, "data_frac": 0.69, "fm": 0.026866554170846938, "consistency": 0.00557813542895019, "loss": 0.03244468946009874}
|
| 150 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 0.26, "data_frac": 0.83, "fm": 0.026826094649732114, "consistency": 0.00557300447486341, "loss": 0.03239909898489714}
|
| 151 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 0.62, "data_frac": 0.623, "fm": 0.026986932307481767, "consistency": 0.005622845888137817, "loss": 0.03260977819561958}
|
| 152 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 0.23, "data_frac": 0.847, "fm": 0.027188496291637422, "consistency": 0.005572268711403012, "loss": 0.032760765105485916}
|
| 153 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 0.51, "data_frac": 0.673, "fm": 0.027295662127435207, "consistency": 0.005503666568547488, "loss": 0.03279932878911495}
|
| 154 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 0.22, "data_frac": 0.774, "fm": 0.02684225805103779, "consistency": 0.0054243731684982775, "loss": 0.03226663116365671}
|
| 155 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 0.53, "data_frac": 0.679, "fm": 0.026646146327257158, "consistency": 0.00540478722192347, "loss": 0.03205093335360289}
|
| 156 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 0.23, "data_frac": 0.835, "fm": 0.02674266431480646, "consistency": 0.005432479633018374, "loss": 0.03217514380812645}
|
| 157 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 0.44, "data_frac": 0.743, "fm": 0.02714503776282072, "consistency": 0.005387457441538572, "loss": 0.032532495111227036}
|
| 158 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 0.32, "data_frac": 0.77, "fm": 0.02673877414315939, "consistency": 0.005420474885031581, "loss": 0.032159248851239684}
|
| 159 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 0.74, "data_frac": 0.456, "fm": 0.026599321402609347, "consistency": 0.005368910850957036, "loss": 0.03196823190897703}
|
| 160 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 0.35, "data_frac": 0.73, "fm": 0.02659433152526617, "consistency": 0.005340306228026748, "loss": 0.03193463802337646}
|
| 161 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 0.37, "data_frac": 0.765, "fm": 0.026571271903812886, "consistency": 0.005267349509522319, "loss": 0.03183862123638392}
|
| 162 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 0.54, "data_frac": 0.566, "fm": 0.02638102762401104, "consistency": 0.005287569854408503, "loss": 0.03166859738528729}
|
| 163 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 0.41, "data_frac": 0.734, "fm": 0.026276696100831033, "consistency": 0.005279869958758354, "loss": 0.031556566134095194}
|
| 164 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-008000", "mse": 0.004421352408826351, "mse_row0": 0.004477906972169876, "mse_body_target": 0.00619505625218153, "mse_hands": 0.003171697724610567}
|
| 165 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 0.66, "data_frac": 0.022, "fm": 0.02634908623993397, "consistency": 0.005301463594660163, "loss": 0.031650549694895745}
|
| 166 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 0.38, "data_frac": 0.74, "fm": 0.026436027437448502, "consistency": 0.005258851321414113, "loss": 0.031694878675043586}
|
| 167 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 0.69, "data_frac": 0.491, "fm": 0.025942662246525288, "consistency": 0.005213017528876662, "loss": 0.03115567974746227}
|
| 168 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 0.36, "data_frac": 0.739, "fm": 0.026207770109176635, "consistency": 0.005234207166358829, "loss": 0.03144197750836611}
|
| 169 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 0.58, "data_frac": 0.644, "fm": 0.0258920169249177, "consistency": 0.005163771398365498, "loss": 0.0310557883605361}
|
| 170 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 0.36, "data_frac": 0.717, "fm": 0.025927396900951864, "consistency": 0.005216651344671846, "loss": 0.03114404819905758}
|
| 171 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 0.68, "data_frac": 0.549, "fm": 0.026121314987540244, "consistency": 0.005176981519907713, "loss": 0.03129829648882151}
|
| 172 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 0.37, "data_frac": 0.741, "fm": 0.026388856880366802, "consistency": 0.005238551208749414, "loss": 0.0316274081915617}
|
| 173 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 0.49, "data_frac": 0.636, "fm": 0.025938587635755538, "consistency": 0.005091856447979808, "loss": 0.031030444018542765}
|
| 174 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 0.42, "data_frac": 0.747, "fm": 0.02606158934533596, "consistency": 0.005140002872794866, "loss": 0.031201592162251473}
|
| 175 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 0.54, "data_frac": 0.533, "fm": 0.02562045108526945, "consistency": 0.005059342011809349, "loss": 0.030679793171584605}
|
| 176 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 0.29, "data_frac": 0.806, "fm": 0.025770512633025645, "consistency": 0.0050474314671009775, "loss": 0.03081794422119856}
|
| 177 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 0.45, "data_frac": 0.712, "fm": 0.02579933948814869, "consistency": 0.005052073691040278, "loss": 0.030851413160562516}
|
| 178 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 0.78, "data_frac": 0.454, "fm": 0.02611705433577299, "consistency": 0.004992023203521967, "loss": 0.03110907766968012}
|
| 179 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 0.47, "data_frac": 0.723, "fm": 0.025926564931869508, "consistency": 0.0050266626849770546, "loss": 0.030953227579593658}
|
| 180 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 0.86, "data_frac": 0.141, "fm": 0.025544959269464016, "consistency": 0.005003395536914468, "loss": 0.030548354759812355}
|
| 181 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 0.5, "data_frac": 0.665, "fm": 0.025934471376240255, "consistency": 0.004961826223880052, "loss": 0.030896297693252563}
|
| 182 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 0.82, "data_frac": 0.491, "fm": 0.025623092092573643, "consistency": 0.004986988669261336, "loss": 0.030610080659389496}
|
| 183 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 0.48, "data_frac": 0.694, "fm": 0.025875662341713904, "consistency": 0.004972757194191217, "loss": 0.03084841962903738}
|
| 184 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 0.79, "data_frac": 0.5, "fm": 0.02552240662276745, "consistency": 0.004982659574598074, "loss": 0.03050506629049778}
|
| 185 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 0.39, "data_frac": 0.693, "fm": 0.02535141762346029, "consistency": 0.004940959960222245, "loss": 0.03029237762093544}
|
| 186 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 0.68, "data_frac": 0.537, "fm": 0.02566876441240311, "consistency": 0.004894570922479033, "loss": 0.03056333538144827}
|
| 187 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 0.43, "data_frac": 0.708, "fm": 0.025092249438166618, "consistency": 0.004897620500996709, "loss": 0.029989869855344294}
|
| 188 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 0.82, "data_frac": 0.499, "fm": 0.025585115998983384, "consistency": 0.004890367118641734, "loss": 0.030475483164191245}
|
| 189 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 0.45, "data_frac": 0.712, "fm": 0.02541992075741291, "consistency": 0.00488304240629077, "loss": 0.030302963219583035}
|
| 190 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 0.7, "data_frac": 0.49, "fm": 0.02517812166363001, "consistency": 0.0048953112494200465, "loss": 0.030073432847857476}
|
| 191 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 0.35, "data_frac": 0.741, "fm": 0.02550209201872349, "consistency": 0.004841078175231815, "loss": 0.03034317009150982}
|
| 192 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 1.3, "data_frac": 0.245, "fm": 0.025378450751304626, "consistency": 0.004846462160348892, "loss": 0.030224912948906422}
|
| 193 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 0.36, "data_frac": 0.75, "fm": 0.025014383979141713, "consistency": 0.004806452579796314, "loss": 0.029820836558938028}
|
| 194 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 0.45, "data_frac": 0.73, "fm": 0.025006374716758727, "consistency": 0.004842751305550337, "loss": 0.029849126152694225}
|
| 195 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 0.63, "data_frac": 0.405, "fm": 0.025094706937670706, "consistency": 0.00483091221190989, "loss": 0.029925619177520277}
|
| 196 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 0.45, "data_frac": 0.731, "fm": 0.02502928201109171, "consistency": 0.0047905183304101226, "loss": 0.029819800332188607}
|
| 197 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 0.69, "data_frac": 0.544, "fm": 0.025173900797963143, "consistency": 0.004777436833828688, "loss": 0.029951337799429892}
|
| 198 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 0.4, "data_frac": 0.794, "fm": 0.025218667425215245, "consistency": 0.004745650487020612, "loss": 0.029964317828416825}
|
| 199 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 0.85, "data_frac": 0.474, "fm": 0.02512092236429453, "consistency": 0.004766179081052542, "loss": 0.029887101277709008}
|
| 200 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 0.41, "data_frac": 0.757, "fm": 0.024559626765549184, "consistency": 0.004755051024258137, "loss": 0.0293146775662899}
|
| 201 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 0.76, "data_frac": 0.512, "fm": 0.025003804937005044, "consistency": 0.004743763105943799, "loss": 0.02974756795912981}
|
| 202 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 0.45, "data_frac": 0.73, "fm": 0.0245132539793849, "consistency": 0.004743571104481817, "loss": 0.029256825037300586}
|
| 203 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 0.79, "data_frac": 0.545, "fm": 0.02464186541736126, "consistency": 0.004719286346808076, "loss": 0.029361151680350302}
|
| 204 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 0.43, "data_frac": 0.744, "fm": 0.025119186118245124, "consistency": 0.0047147032618522645, "loss": 0.029833889417350292}
|
| 205 |
+
{"event": "save", "step": 10000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-010000", "mse": 0.004019129555672407, "mse_row0": 0.003910966217517853, "mse_body_target": 0.0057970029301941395, "mse_hands": 0.002766536781564355}
|
| 206 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 0.62, "data_frac": 0.232, "fm": 0.025079195909202098, "consistency": 0.004712648345157504, "loss": 0.029791844338178636}
|
| 207 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 0.37, "data_frac": 0.734, "fm": 0.024549386650323867, "consistency": 0.004661239506676793, "loss": 0.029210626110434533}
|
| 208 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 1.1, "data_frac": 0.391, "fm": 0.02492876034229994, "consistency": 0.004687403813004493, "loss": 0.029616164118051527}
|
| 209 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 0.35, "data_frac": 0.775, "fm": 0.025032079555094244, "consistency": 0.004688084712252021, "loss": 0.029720164202153683}
|
| 210 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 0.43, "data_frac": 0.763, "fm": 0.02460592120885849, "consistency": 0.004652168788015843, "loss": 0.029258090034127236}
|
| 211 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 0.69, "data_frac": 0.426, "fm": 0.02474876243621111, "consistency": 0.0046577885001897815, "loss": 0.029406551085412503}
|
| 212 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 0.42, "data_frac": 0.782, "fm": 0.024731668941676617, "consistency": 0.0046420733910053965, "loss": 0.02937374245375395}
|
| 213 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 0.77, "data_frac": 0.533, "fm": 0.024665842913091183, "consistency": 0.0046314836479723455, "loss": 0.029297326505184174}
|
| 214 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 0.41, "data_frac": 0.767, "fm": 0.02467294957488775, "consistency": 0.004624215653166175, "loss": 0.029297165274620056}
|
| 215 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 0.83, "data_frac": 0.478, "fm": 0.024745910838246347, "consistency": 0.004639820540323854, "loss": 0.029385731443762778}
|
| 216 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 0.44, "data_frac": 0.707, "fm": 0.0245290195569396, "consistency": 0.004629139779135585, "loss": 0.02915815945714712}
|
| 217 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 0.77, "data_frac": 0.547, "fm": 0.02407619558274746, "consistency": 0.00462274607270956, "loss": 0.02869894165545702}
|
| 218 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 0.45, "data_frac": 0.709, "fm": 0.024573715552687645, "consistency": 0.0046219906862825155, "loss": 0.029195706248283385}
|
| 219 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 0.68, "data_frac": 0.558, "fm": 0.024535844549536705, "consistency": 0.004629923962056637, "loss": 0.029165768548846244}
|
| 220 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 0.4, "data_frac": 0.733, "fm": 0.024235270023345946, "consistency": 0.00460077497176826, "loss": 0.028836045004427432}
|
| 221 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 0.66, "data_frac": 0.541, "fm": 0.02441252291202545, "consistency": 0.004580188086256385, "loss": 0.02899271108210087}
|
| 222 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 0.48, "data_frac": 0.716, "fm": 0.02411218427121639, "consistency": 0.004565771361812949, "loss": 0.028677955754101276}
|
| 223 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 0.63, "data_frac": 0.688, "fm": 0.024591781161725522, "consistency": 0.0045954814460128545, "loss": 0.029187262691557407}
|
| 224 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 0.36, "data_frac": 0.773, "fm": 0.02427210785448551, "consistency": 0.004630656996741891, "loss": 0.02890276476740837}
|
| 225 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 0.46, "data_frac": 0.776, "fm": 0.024340504929423332, "consistency": 0.004551379010081291, "loss": 0.028891883864998816}
|
| 226 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 0.66, "data_frac": 0.437, "fm": 0.024357114881277085, "consistency": 0.004538869448006153, "loss": 0.028895984478294848}
|
| 227 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 0.44, "data_frac": 0.767, "fm": 0.02454052645713091, "consistency": 0.0045742593239992855, "loss": 0.02911478579044342}
|
| 228 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 0.71, "data_frac": 0.583, "fm": 0.024387887753546236, "consistency": 0.0045711065270006655, "loss": 0.028958994373679162}
|
| 229 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 0.42, "data_frac": 0.744, "fm": 0.02450835019350052, "consistency": 0.004551823958754539, "loss": 0.029060174115002155}
|
| 230 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 0.67, "data_frac": 0.623, "fm": 0.02438442301005125, "consistency": 0.004579005604609847, "loss": 0.02896342858672142}
|
| 231 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 0.41, "data_frac": 0.73, "fm": 0.024484143853187562, "consistency": 0.0045373532827943566, "loss": 0.02902149710804224}
|
| 232 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 0.83, "data_frac": 0.523, "fm": 0.024163579493761064, "consistency": 0.004562560385093093, "loss": 0.028726139813661577}
|
| 233 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 0.42, "data_frac": 0.768, "fm": 0.024930886775255203, "consistency": 0.00453472956083715, "loss": 0.02946561645716429}
|
| 234 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 0.83, "data_frac": 0.543, "fm": 0.024359913431107997, "consistency": 0.00454515814781189, "loss": 0.028905071653425693}
|
| 235 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 0.43, "data_frac": 0.745, "fm": 0.02431346572935581, "consistency": 0.004532440192997455, "loss": 0.028845906108617782}
|
| 236 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 0.65, "data_frac": 0.564, "fm": 0.024520324990153313, "consistency": 0.0045355160813778635, "loss": 0.029055841080844403}
|
| 237 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 0.5, "data_frac": 0.713, "fm": 0.024903323389589786, "consistency": 0.004568786593154073, "loss": 0.029472110010683537}
|
| 238 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 0.63, "data_frac": 0.625, "fm": 0.024393000863492487, "consistency": 0.004538070913404226, "loss": 0.02893107172101736}
|
| 239 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 0.57, "data_frac": 0.702, "fm": 0.024538718424737455, "consistency": 0.004506946904584765, "loss": 0.029045665450394154}
|
| 240 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 1.59, "data_frac": 0.273, "fm": 0.024230985343456267, "consistency": 0.0045578398648649454, "loss": 0.028788825273513795}
|
| 241 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 0.51, "data_frac": 0.671, "fm": 0.024288565404713153, "consistency": 0.004541226839646697, "loss": 0.028829792104661463}
|
| 242 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 0.68, "data_frac": 0.66, "fm": 0.024268959425389768, "consistency": 0.004518504692241549, "loss": 0.028787464164197446}
|
| 243 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.1, "data_frac": 0.404, "fm": 0.024320961013436317, "consistency": 0.004549319753423333, "loss": 0.028870280906558035}
|
| 244 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 0.6, "data_frac": 0.704, "fm": 0.024292367100715636, "consistency": 0.004513674732297659, "loss": 0.028806041814386844}
|
| 245 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 1.33, "data_frac": 0.231, "fm": 0.024266984164714813, "consistency": 0.0045250449050217864, "loss": 0.028792028948664665}
|
| 246 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr4-b512-s12000/checkpoints/step-012000", "mse": 0.0038264100439846516, "mse_row0": 0.0036608048249036074, "mse_body_target": 0.00563316885381937, "mse_hands": 0.0025534662418067455}
|