FLASH A29 drawer close (black-marble kitchen, 30 Hz): A800 1 GPU x 512, 12000 steps, `step-008000`, `step-012000`
Browse files- README.md +21 -0
- a29-drawer-close/b512/step-008000/SHA256SUMS +3 -0
- a29-drawer-close/b512/step-008000/config.json +918 -0
- a29-drawer-close/b512/step-008000/model.pt +3 -0
- a29-drawer-close/b512/step-008000/protocol.json +128 -0
- a29-drawer-close/b512/step-012000/SHA256SUMS +25 -0
- a29-drawer-close/b512/step-012000/config.json +918 -0
- a29-drawer-close/b512/step-012000/model.pt +3 -0
- a29-drawer-close/b512/step-012000/protocol.json +216 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py +163 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py +9 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py +615 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py +57 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py +114 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py +141 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/data.py +363 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/flash.py +412 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py +110 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/nets.py +207 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/policies.py +285 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt +12 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py +151 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/train.py +500 -0
- a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py +12 -0
- a29-drawer-close/b512/step-012000/training_records/code_commit.txt +1 -0
- a29-drawer-close/b512/step-012000/training_records/flash_pool_a800.sh +29 -0
- a29-drawer-close/b512/step-012000/training_records/inloop-mse.jsonl +48 -0
- a29-drawer-close/b512/step-012000/training_records/pip_freeze_hb-baselines.txt +58 -0
- a29-drawer-close/b512/step-012000/training_records/run.json +936 -0
- a29-drawer-close/b512/step-012000/training_records/train.log +297 -0
- a29-drawer-close/b512/step-012000/training_records/train_log.jsonl +243 -0
README.md
CHANGED
|
@@ -35,6 +35,7 @@ the lowest in-training action MSE, unless the task's section below says otherwis
|
|
| 35 |
| `a14-unscrew-bulb/cropped-v3-b512/` | A14 screw bulb (cropped v3, planner interface) | Unitree H2 (Sharpa hands) | head, chest | `a14-screw-bulb` @79fe08a, all 100 episodes (182,007 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 36 |
| `b1-riceball-microwave/b512-v2/` | B1 rice ball into the microwave, data v2 | Unitree G1 (Inspire hands) | ego_view, chest | `b1-riceball-microwave-expert-v2-30hz` @b58f0434, all 200 episodes (179,689 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 37 |
| `b4-cushion/b512/` | B4 cushion from bed to sofa | Unitree G1 (Inspire hands) | ego_view, chest | `b4-cushion` @194e7cde, all 302 episodes (259,888 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
|
|
|
| 38 |
## Recipe (every folder)
|
| 39 |
|
| 40 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
@@ -480,3 +481,23 @@ Checkpoints: [`b4-cushion/b512/step-012000/`](b4-cushion/b512/step-012000) (eval
|
|
| 480 |
| MSE | 0.4139 | 0.1234 | 0.0964 | 0.0857 | 0.0799 | 0.0766 | 0.0753 (lowest) |
|
| 481 |
|
| 482 |
Closed-loop evaluation: pending.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
| `a14-unscrew-bulb/cropped-v3-b512/` | A14 screw bulb (cropped v3, planner interface) | Unitree H2 (Sharpa hands) | head, chest | `a14-screw-bulb` @79fe08a, all 100 episodes (182,007 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 36 |
| `b1-riceball-microwave/b512-v2/` | B1 rice ball into the microwave, data v2 | Unitree G1 (Inspire hands) | ego_view, chest | `b1-riceball-microwave-expert-v2-30hz` @b58f0434, all 200 episodes (179,689 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 37 |
| `b4-cushion/b512/` | B4 cushion from bed to sofa | Unitree G1 (Inspire hands) | ego_view, chest | `b4-cushion` @194e7cde, all 302 episodes (259,888 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 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 |
## Recipe (every folder)
|
| 40 |
|
| 41 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
|
|
| 481 |
| MSE | 0.4139 | 0.1234 | 0.0964 | 0.0857 | 0.0799 | 0.0766 | 0.0753 (lowest) |
|
| 482 |
|
| 483 |
Closed-loop evaluation: pending.
|
| 484 |
+
|
| 485 |
+
## A29 drawer close (black-marble kitchen, 30 Hz), batch 512, steps 8000 and 12000 (2026-11-25)
|
| 486 |
+
|
| 487 |
+
Checkpoints: [`a29-drawer-close/b512/step-012000/`](a29-drawer-close/b512/step-012000) (evaluated) and [`step-008000/`](a29-drawer-close/b512/step-008000).
|
| 488 |
+
|
| 489 |
+
**Data.**
|
| 490 |
+
- Source: `a29-drawer-close-black-marble-30hz-v1` @d03c19e6.
|
| 491 |
+
- All 100 episodes (30,041 frames) are used for training.
|
| 492 |
+
- Instruction: "Walk to the cabinet beside the worktop and close its pulled-out top drawer. Approach with both hands open, raising the left hand on the way, stop square in front of the cabinet, lay the open hand on the drawer front and push it home in one motion, then take the hand away and stand. Keep the pushing hand visible in the head or torso camera."
|
| 493 |
+
- Humanoid_benchmark commit: 78235367.
|
| 494 |
+
|
| 495 |
+
**Training hardware.** One NVIDIA A800 80 GB (Aliyun PAI DLC), batch 512, no gradient accumulation, seed 42.
|
| 496 |
+
|
| 497 |
+
**In-training normalized action MSE on 10 equally spaced training episodes (every episode is used for training; there are no held-out episodes).**
|
| 498 |
+
|
| 499 |
+
| Step | 250 | 2,000 | 4,000 | 6,000 | 8,000 | 10,000 | 12,000 |
|
| 500 |
+
|---|---|---|---|---|---|---|---|
|
| 501 |
+
| MSE | 1.2029 | 0.4975 | 0.4554 | 0.4301 | 0.4158 | 0.4047 | 0.3981 (lowest) |
|
| 502 |
+
|
| 503 |
+
Closed-loop evaluation: pending.
|
a29-drawer-close/b512/step-008000/SHA256SUMS
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
340618860af6b1f19ddf9af6021a7c969dadbe3f8dfdf36d2a524aa72b611cbd config.json
|
| 2 |
+
f5f7923f107434e9e0f1e81a835b5537181218dc45500ef0376bea64768c4107 model.pt
|
| 3 |
+
01383379ecfc50b3ea4f0093a8067d8159600d03cbef7feade4ec320119647d8 protocol.json
|
a29-drawer-close/b512/step-008000/config.json
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 44,
|
| 6 |
+
"action_dim": 76,
|
| 7 |
+
"horizon": 16,
|
| 8 |
+
"backbone": "resnet18",
|
| 9 |
+
"backbone_weights": null,
|
| 10 |
+
"backbone_norm": "group",
|
| 11 |
+
"hidden_dim": 512,
|
| 12 |
+
"num_layers": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"time_embed_dim": 256,
|
| 17 |
+
"num_inference_steps": 1,
|
| 18 |
+
"num_train_timesteps": 100,
|
| 19 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 20 |
+
"prediction_type": "epsilon",
|
| 21 |
+
"clip_sample": true,
|
| 22 |
+
"act_hidden_dim": 512,
|
| 23 |
+
"dim_feedforward": 3200,
|
| 24 |
+
"enc_layers": 4,
|
| 25 |
+
"dec_layers": 7,
|
| 26 |
+
"nheads": 8,
|
| 27 |
+
"latent_dim": 32,
|
| 28 |
+
"kl_weight": 10.0,
|
| 29 |
+
"extra": {
|
| 30 |
+
"flash": {
|
| 31 |
+
"stride": 2,
|
| 32 |
+
"n_history": 8,
|
| 33 |
+
"n_action": 8,
|
| 34 |
+
"rows": 16,
|
| 35 |
+
"poly_order": 6,
|
| 36 |
+
"fit_pad": 1,
|
| 37 |
+
"boundary_constraint": true,
|
| 38 |
+
"poly_prefix": 1,
|
| 39 |
+
"poly_suffix": 1,
|
| 40 |
+
"history_noise_std": 0.5,
|
| 41 |
+
"history_reg_lambda": 0.1,
|
| 42 |
+
"consistency_weight": 1.0,
|
| 43 |
+
"solver": "euler"
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"contract": {
|
| 48 |
+
"name": "g1_sonic_dfx6",
|
| 49 |
+
"robot": "g1",
|
| 50 |
+
"cameras": [
|
| 51 |
+
"ego_view",
|
| 52 |
+
"chest"
|
| 53 |
+
],
|
| 54 |
+
"state": [
|
| 55 |
+
[
|
| 56 |
+
"observation.state",
|
| 57 |
+
0,
|
| 58 |
+
29
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"observation.inspire_left_hand_state",
|
| 62 |
+
0,
|
| 63 |
+
6
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"observation.inspire_right_hand_state",
|
| 67 |
+
0,
|
| 68 |
+
6
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
"observation.projected_gravity",
|
| 72 |
+
0,
|
| 73 |
+
3
|
| 74 |
+
]
|
| 75 |
+
],
|
| 76 |
+
"action": [
|
| 77 |
+
[
|
| 78 |
+
"action.motion_token",
|
| 79 |
+
0,
|
| 80 |
+
64
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
"observation.inspire_left_hand_state",
|
| 84 |
+
0,
|
| 85 |
+
6
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"observation.inspire_right_hand_state",
|
| 89 |
+
0,
|
| 90 |
+
6
|
| 91 |
+
]
|
| 92 |
+
],
|
| 93 |
+
"state_dim": 44,
|
| 94 |
+
"action_dim": 76,
|
| 95 |
+
"action_space": "sonic_dfx6",
|
| 96 |
+
"body_dims": 29
|
| 97 |
+
},
|
| 98 |
+
"image_hw": [
|
| 99 |
+
168,
|
| 100 |
+
224
|
| 101 |
+
],
|
| 102 |
+
"task_text": "Walk to the cabinet beside the worktop and close its pulled-out top drawer. Approach with both hands open, raising the left hand on the way, stop square in front of the cabinet, lay the open hand on the drawer front and push it home in one motion, then take the hand away and stand. Keep the pushing hand visible in the head or torso camera.",
|
| 103 |
+
"dataset": {
|
| 104 |
+
"name": "data",
|
| 105 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a29-drawer-close-black-marble-30hz-d03c19e/data",
|
| 106 |
+
"robot_type": null,
|
| 107 |
+
"fps": 30.0,
|
| 108 |
+
"episodes": [
|
| 109 |
+
0,
|
| 110 |
+
1,
|
| 111 |
+
2,
|
| 112 |
+
3,
|
| 113 |
+
4,
|
| 114 |
+
5,
|
| 115 |
+
6,
|
| 116 |
+
7,
|
| 117 |
+
8,
|
| 118 |
+
9,
|
| 119 |
+
10,
|
| 120 |
+
11,
|
| 121 |
+
12,
|
| 122 |
+
13,
|
| 123 |
+
14,
|
| 124 |
+
15,
|
| 125 |
+
16,
|
| 126 |
+
17,
|
| 127 |
+
18,
|
| 128 |
+
19,
|
| 129 |
+
20,
|
| 130 |
+
21,
|
| 131 |
+
22,
|
| 132 |
+
23,
|
| 133 |
+
24,
|
| 134 |
+
25,
|
| 135 |
+
26,
|
| 136 |
+
27,
|
| 137 |
+
28,
|
| 138 |
+
29,
|
| 139 |
+
30,
|
| 140 |
+
31,
|
| 141 |
+
32,
|
| 142 |
+
33,
|
| 143 |
+
34,
|
| 144 |
+
35,
|
| 145 |
+
36,
|
| 146 |
+
37,
|
| 147 |
+
38,
|
| 148 |
+
39,
|
| 149 |
+
40,
|
| 150 |
+
41,
|
| 151 |
+
42,
|
| 152 |
+
43,
|
| 153 |
+
44,
|
| 154 |
+
45,
|
| 155 |
+
46,
|
| 156 |
+
47,
|
| 157 |
+
48,
|
| 158 |
+
49,
|
| 159 |
+
50,
|
| 160 |
+
51,
|
| 161 |
+
52,
|
| 162 |
+
53,
|
| 163 |
+
54,
|
| 164 |
+
55,
|
| 165 |
+
56,
|
| 166 |
+
57,
|
| 167 |
+
58,
|
| 168 |
+
59,
|
| 169 |
+
60,
|
| 170 |
+
61,
|
| 171 |
+
62,
|
| 172 |
+
63,
|
| 173 |
+
64,
|
| 174 |
+
65,
|
| 175 |
+
66,
|
| 176 |
+
67,
|
| 177 |
+
68,
|
| 178 |
+
69,
|
| 179 |
+
70,
|
| 180 |
+
71,
|
| 181 |
+
72,
|
| 182 |
+
73,
|
| 183 |
+
74,
|
| 184 |
+
75,
|
| 185 |
+
76,
|
| 186 |
+
77,
|
| 187 |
+
78,
|
| 188 |
+
79,
|
| 189 |
+
80,
|
| 190 |
+
81,
|
| 191 |
+
82,
|
| 192 |
+
83,
|
| 193 |
+
84,
|
| 194 |
+
85,
|
| 195 |
+
86,
|
| 196 |
+
87,
|
| 197 |
+
88,
|
| 198 |
+
89,
|
| 199 |
+
90,
|
| 200 |
+
91,
|
| 201 |
+
92,
|
| 202 |
+
93,
|
| 203 |
+
94,
|
| 204 |
+
95,
|
| 205 |
+
96,
|
| 206 |
+
97,
|
| 207 |
+
98,
|
| 208 |
+
99
|
| 209 |
+
],
|
| 210 |
+
"train_episodes": [
|
| 211 |
+
0,
|
| 212 |
+
1,
|
| 213 |
+
2,
|
| 214 |
+
3,
|
| 215 |
+
4,
|
| 216 |
+
5,
|
| 217 |
+
6,
|
| 218 |
+
7,
|
| 219 |
+
8,
|
| 220 |
+
9,
|
| 221 |
+
10,
|
| 222 |
+
11,
|
| 223 |
+
12,
|
| 224 |
+
13,
|
| 225 |
+
14,
|
| 226 |
+
15,
|
| 227 |
+
16,
|
| 228 |
+
17,
|
| 229 |
+
18,
|
| 230 |
+
19,
|
| 231 |
+
20,
|
| 232 |
+
21,
|
| 233 |
+
22,
|
| 234 |
+
23,
|
| 235 |
+
24,
|
| 236 |
+
25,
|
| 237 |
+
26,
|
| 238 |
+
27,
|
| 239 |
+
28,
|
| 240 |
+
29,
|
| 241 |
+
30,
|
| 242 |
+
31,
|
| 243 |
+
32,
|
| 244 |
+
33,
|
| 245 |
+
34,
|
| 246 |
+
35,
|
| 247 |
+
36,
|
| 248 |
+
37,
|
| 249 |
+
38,
|
| 250 |
+
39,
|
| 251 |
+
40,
|
| 252 |
+
41,
|
| 253 |
+
42,
|
| 254 |
+
43,
|
| 255 |
+
44,
|
| 256 |
+
45,
|
| 257 |
+
46,
|
| 258 |
+
47,
|
| 259 |
+
48,
|
| 260 |
+
49,
|
| 261 |
+
50,
|
| 262 |
+
51,
|
| 263 |
+
52,
|
| 264 |
+
53,
|
| 265 |
+
54,
|
| 266 |
+
55,
|
| 267 |
+
56,
|
| 268 |
+
57,
|
| 269 |
+
58,
|
| 270 |
+
59,
|
| 271 |
+
60,
|
| 272 |
+
61,
|
| 273 |
+
62,
|
| 274 |
+
63,
|
| 275 |
+
64,
|
| 276 |
+
65,
|
| 277 |
+
66,
|
| 278 |
+
67,
|
| 279 |
+
68,
|
| 280 |
+
69,
|
| 281 |
+
70,
|
| 282 |
+
71,
|
| 283 |
+
72,
|
| 284 |
+
73,
|
| 285 |
+
74,
|
| 286 |
+
75,
|
| 287 |
+
76,
|
| 288 |
+
77,
|
| 289 |
+
78,
|
| 290 |
+
79,
|
| 291 |
+
80,
|
| 292 |
+
81,
|
| 293 |
+
82,
|
| 294 |
+
83,
|
| 295 |
+
84,
|
| 296 |
+
85,
|
| 297 |
+
86,
|
| 298 |
+
87,
|
| 299 |
+
88,
|
| 300 |
+
89,
|
| 301 |
+
90,
|
| 302 |
+
91,
|
| 303 |
+
92,
|
| 304 |
+
93,
|
| 305 |
+
94,
|
| 306 |
+
95,
|
| 307 |
+
96,
|
| 308 |
+
97,
|
| 309 |
+
98,
|
| 310 |
+
99
|
| 311 |
+
],
|
| 312 |
+
"val_episodes": [],
|
| 313 |
+
"train_frames": 30041,
|
| 314 |
+
"git_commit": "28db084daee2521e9f0912d7262bc95e1b6eefd9"
|
| 315 |
+
},
|
| 316 |
+
"training": {
|
| 317 |
+
"steps": 12000,
|
| 318 |
+
"batch_size": 512,
|
| 319 |
+
"lr": 0.0001,
|
| 320 |
+
"betas": [
|
| 321 |
+
0.95,
|
| 322 |
+
0.999
|
| 323 |
+
],
|
| 324 |
+
"weight_decay": 1e-06,
|
| 325 |
+
"warmup": 500,
|
| 326 |
+
"schedule": "diffusers_cosine",
|
| 327 |
+
"backbone_lr_scale": 1.0,
|
| 328 |
+
"ema": 0.9999,
|
| 329 |
+
"shift_px": 0,
|
| 330 |
+
"amp": true,
|
| 331 |
+
"seed": 42,
|
| 332 |
+
"augmentation": {
|
| 333 |
+
"spec": "docs/augmentation_v2.md",
|
| 334 |
+
"version": "hb-aug-v2-20261109",
|
| 335 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 336 |
+
"visual": {
|
| 337 |
+
"effects": [
|
| 338 |
+
"exposure",
|
| 339 |
+
"contrast",
|
| 340 |
+
"saturation",
|
| 341 |
+
"hue",
|
| 342 |
+
"gamma",
|
| 343 |
+
"temperature",
|
| 344 |
+
"rotation_crop",
|
| 345 |
+
"noise",
|
| 346 |
+
"gaussian_blur",
|
| 347 |
+
"jpeg",
|
| 348 |
+
"motion_blur",
|
| 349 |
+
"sharpen",
|
| 350 |
+
"defocus",
|
| 351 |
+
"light_shadow",
|
| 352 |
+
"wb_channel"
|
| 353 |
+
],
|
| 354 |
+
"boosted_per_sample": 1,
|
| 355 |
+
"boost": 1.5,
|
| 356 |
+
"pixel_scale": "H / 224",
|
| 357 |
+
"future_targets": "none (one observation frame)"
|
| 358 |
+
},
|
| 359 |
+
"proprio": {
|
| 360 |
+
"robot": "g1",
|
| 361 |
+
"body_dims": 29,
|
| 362 |
+
"bias_deg": 2.0,
|
| 363 |
+
"bias_scope": "per_sample",
|
| 364 |
+
"noise_deg": 0.25,
|
| 365 |
+
"noise_clip_sigma": 3,
|
| 366 |
+
"delay_probability": 0.0,
|
| 367 |
+
"history_drop_probability": 0.0,
|
| 368 |
+
"velocity": false
|
| 369 |
+
},
|
| 370 |
+
"native_image_augmentation": "off",
|
| 371 |
+
"evaluation": "off"
|
| 372 |
+
},
|
| 373 |
+
"preflight": {
|
| 374 |
+
"samples": 64,
|
| 375 |
+
"state_dim": 44,
|
| 376 |
+
"body_dims": 29,
|
| 377 |
+
"images_changed": 64,
|
| 378 |
+
"body_values_moved": 1.0,
|
| 379 |
+
"max_body_offset_deg": 2.6033,
|
| 380 |
+
"actions_bit_identical": true,
|
| 381 |
+
"non_body_state_bit_identical": true,
|
| 382 |
+
"eval_items_deterministic": 8
|
| 383 |
+
},
|
| 384 |
+
"aug_seed": 42,
|
| 385 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 386 |
+
"layout": {
|
| 387 |
+
"nodes": 1,
|
| 388 |
+
"gpus": 1,
|
| 389 |
+
"per_gpu_batch": 512,
|
| 390 |
+
"global_batch": 512,
|
| 391 |
+
"gradient_accumulation": 1,
|
| 392 |
+
"num_workers": 40,
|
| 393 |
+
"prefetch": 2
|
| 394 |
+
},
|
| 395 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 396 |
+
"inloop": {
|
| 397 |
+
"task": "a29",
|
| 398 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 399 |
+
"every": 250,
|
| 400 |
+
"exception": null
|
| 401 |
+
}
|
| 402 |
+
},
|
| 403 |
+
"stats": {
|
| 404 |
+
"state": {
|
| 405 |
+
"min": [
|
| 406 |
+
-0.534028172492981,
|
| 407 |
+
-0.14577800035476685,
|
| 408 |
+
-0.10741252452135086,
|
| 409 |
+
0.1223539188504219,
|
| 410 |
+
-0.876969575881958,
|
| 411 |
+
-0.1527269333600998,
|
| 412 |
+
-0.6530642509460449,
|
| 413 |
+
-0.34237927198410034,
|
| 414 |
+
-0.5516390204429626,
|
| 415 |
+
0.11220990866422653,
|
| 416 |
+
-0.7392274141311646,
|
| 417 |
+
-0.13110315799713135,
|
| 418 |
+
-0.06260737776756287,
|
| 419 |
+
-0.12067101150751114,
|
| 420 |
+
-0.011655419133603573,
|
| 421 |
+
-0.3356657326221466,
|
| 422 |
+
-0.1486136019229889,
|
| 423 |
+
-0.14513139426708221,
|
| 424 |
+
-0.2398998737335205,
|
| 425 |
+
-1.6966043710708618,
|
| 426 |
+
-0.33168429136276245,
|
| 427 |
+
-1.6061123609542847,
|
| 428 |
+
0.09308633953332901,
|
| 429 |
+
-0.2865353524684906,
|
| 430 |
+
-0.3184954524040222,
|
| 431 |
+
0.3765525221824646,
|
| 432 |
+
-0.1930495649576187,
|
| 433 |
+
-0.090675950050354,
|
| 434 |
+
-0.060834407806396484,
|
| 435 |
+
0.9033362865447998,
|
| 436 |
+
0.9876859784126282,
|
| 437 |
+
0.9490998387336731,
|
| 438 |
+
0.704720675945282,
|
| 439 |
+
0.3992108106613159,
|
| 440 |
+
0.2467861771583557,
|
| 441 |
+
0.9998832941055298,
|
| 442 |
+
0.9998472929000854,
|
| 443 |
+
0.9998288154602051,
|
| 444 |
+
0.9937314391136169,
|
| 445 |
+
0.9971558451652527,
|
| 446 |
+
0.9992426633834839,
|
| 447 |
+
-0.20440885424613953,
|
| 448 |
+
-0.14709624648094177,
|
| 449 |
+
-1.0
|
| 450 |
+
],
|
| 451 |
+
"max": [
|
| 452 |
+
0.35993677377700806,
|
| 453 |
+
0.26245301961898804,
|
| 454 |
+
0.49964162707328796,
|
| 455 |
+
1.3215410709381104,
|
| 456 |
+
0.40844595432281494,
|
| 457 |
+
0.13166311383247375,
|
| 458 |
+
0.25757214426994324,
|
| 459 |
+
0.14982159435749054,
|
| 460 |
+
0.1273796558380127,
|
| 461 |
+
1.1904000043869019,
|
| 462 |
+
0.24902525544166565,
|
| 463 |
+
0.17109742760658264,
|
| 464 |
+
0.130329892039299,
|
| 465 |
+
0.10224339365959167,
|
| 466 |
+
0.31962135434150696,
|
| 467 |
+
0.7473008036613464,
|
| 468 |
+
0.3672693073749542,
|
| 469 |
+
0.43278905749320984,
|
| 470 |
+
1.1210671663284302,
|
| 471 |
+
0.43844008445739746,
|
| 472 |
+
1.6189088821411133,
|
| 473 |
+
0.13420991599559784,
|
| 474 |
+
0.3154947757720947,
|
| 475 |
+
-0.043002914637327194,
|
| 476 |
+
0.17981280386447906,
|
| 477 |
+
0.7492755055427551,
|
| 478 |
+
0.1251305788755417,
|
| 479 |
+
0.12946312129497528,
|
| 480 |
+
0.393763929605484,
|
| 481 |
+
1.0,
|
| 482 |
+
1.0,
|
| 483 |
+
1.0,
|
| 484 |
+
1.0,
|
| 485 |
+
1.0,
|
| 486 |
+
1.0,
|
| 487 |
+
1.0,
|
| 488 |
+
1.0,
|
| 489 |
+
1.0,
|
| 490 |
+
1.0,
|
| 491 |
+
0.9983106255531311,
|
| 492 |
+
1.0,
|
| 493 |
+
0.12773169577121735,
|
| 494 |
+
0.0766577422618866,
|
| 495 |
+
-0.9782990217208862
|
| 496 |
+
],
|
| 497 |
+
"mean": [
|
| 498 |
+
-0.07639565424004759,
|
| 499 |
+
0.050363496258068484,
|
| 500 |
+
0.11190579194565965,
|
| 501 |
+
0.3352824723715888,
|
| 502 |
+
-0.16446315379641738,
|
| 503 |
+
-0.004820057547270692,
|
| 504 |
+
-0.13251833722055958,
|
| 505 |
+
-0.09894207439502213,
|
| 506 |
+
-0.22471050008766882,
|
| 507 |
+
0.35335772407383864,
|
| 508 |
+
-0.1578437133899749,
|
| 509 |
+
-0.004799717887673335,
|
| 510 |
+
0.0051573811196815025,
|
| 511 |
+
-0.005317487551886401,
|
| 512 |
+
0.17810973136776315,
|
| 513 |
+
0.36619768105360534,
|
| 514 |
+
0.11644517436654425,
|
| 515 |
+
0.09414850376552313,
|
| 516 |
+
0.6287014354496157,
|
| 517 |
+
-0.9161356656609858,
|
| 518 |
+
0.17411387559158406,
|
| 519 |
+
-0.7752402640286278,
|
| 520 |
+
0.21060188387805423,
|
| 521 |
+
-0.1514891714274562,
|
| 522 |
+
-0.10547201964816742,
|
| 523 |
+
0.5737247461545031,
|
| 524 |
+
-0.037919477344890894,
|
| 525 |
+
0.015712656495776245,
|
| 526 |
+
0.11961978892214573,
|
| 527 |
+
0.999767607126877,
|
| 528 |
+
0.9999772788486961,
|
| 529 |
+
0.9991153764989015,
|
| 530 |
+
0.9988341203487006,
|
| 531 |
+
0.9913370663400044,
|
| 532 |
+
0.9943634353287667,
|
| 533 |
+
0.9999858952743991,
|
| 534 |
+
0.999983983695644,
|
| 535 |
+
0.9999830005453912,
|
| 536 |
+
0.9999809726224013,
|
| 537 |
+
0.9977059502849399,
|
| 538 |
+
0.9997620721269846,
|
| 539 |
+
-0.03676242497621179,
|
| 540 |
+
-0.00941232424061437,
|
| 541 |
+
-0.9981359134544676
|
| 542 |
+
],
|
| 543 |
+
"std": [
|
| 544 |
+
0.1410995541738054,
|
| 545 |
+
0.05190414605088492,
|
| 546 |
+
0.06481903067910577,
|
| 547 |
+
0.22648556308788673,
|
| 548 |
+
0.1130201572355957,
|
| 549 |
+
0.03953136689725532,
|
| 550 |
+
0.13585459180431816,
|
| 551 |
+
0.06194837365496525,
|
| 552 |
+
0.09114925692127998,
|
| 553 |
+
0.2043189143430019,
|
| 554 |
+
0.10959535562238933,
|
| 555 |
+
0.053788605629977296,
|
| 556 |
+
0.029423028574725455,
|
| 557 |
+
0.017899930793111005,
|
| 558 |
+
0.0995278800935876,
|
| 559 |
+
0.1756297985235062,
|
| 560 |
+
0.058331696673118535,
|
| 561 |
+
0.06995047474784861,
|
| 562 |
+
0.19866770445276463,
|
| 563 |
+
0.6503511571055091,
|
| 564 |
+
0.1975001944932491,
|
| 565 |
+
0.5829143542240596,
|
| 566 |
+
0.024794860724430334,
|
| 567 |
+
0.04435919061627581,
|
| 568 |
+
0.09630628837307029,
|
| 569 |
+
0.03493410883940767,
|
| 570 |
+
0.047272328035600705,
|
| 571 |
+
0.027637270728491276,
|
| 572 |
+
0.09908078695331715,
|
| 573 |
+
0.002364994656301731,
|
| 574 |
+
0.00022827900944685637,
|
| 575 |
+
0.0033686901419259932,
|
| 576 |
+
0.00935260939272013,
|
| 577 |
+
0.04256951376192157,
|
| 578 |
+
0.044924818964100645,
|
| 579 |
+
1.761350993960167e-05,
|
| 580 |
+
2.2025409350164893e-05,
|
| 581 |
+
2.4250215716281934e-05,
|
| 582 |
+
8.191872159154288e-05,
|
| 583 |
+
0.00011415496042436977,
|
| 584 |
+
0.00010596427076493072,
|
| 585 |
+
0.04155546555026311,
|
| 586 |
+
0.023449121186542934,
|
| 587 |
+
0.0028129244868599045
|
| 588 |
+
]
|
| 589 |
+
},
|
| 590 |
+
"action": {
|
| 591 |
+
"min": [
|
| 592 |
+
-0.125,
|
| 593 |
+
-0.5625,
|
| 594 |
+
-0.375,
|
| 595 |
+
-0.375,
|
| 596 |
+
-0.5,
|
| 597 |
+
-0.375,
|
| 598 |
+
-0.1875,
|
| 599 |
+
-0.4375,
|
| 600 |
+
-0.3125,
|
| 601 |
+
-0.3125,
|
| 602 |
+
-0.4375,
|
| 603 |
+
-0.3125,
|
| 604 |
+
0.125,
|
| 605 |
+
-0.4375,
|
| 606 |
+
-0.1875,
|
| 607 |
+
-0.3125,
|
| 608 |
+
-0.3125,
|
| 609 |
+
-0.375,
|
| 610 |
+
-0.3125,
|
| 611 |
+
-0.5625,
|
| 612 |
+
-0.3125,
|
| 613 |
+
-0.375,
|
| 614 |
+
-0.5,
|
| 615 |
+
-0.5,
|
| 616 |
+
-0.625,
|
| 617 |
+
0.0,
|
| 618 |
+
-0.1875,
|
| 619 |
+
-0.1875,
|
| 620 |
+
-0.0625,
|
| 621 |
+
-0.5625,
|
| 622 |
+
-0.0625,
|
| 623 |
+
-0.6875,
|
| 624 |
+
-0.4375,
|
| 625 |
+
-0.5,
|
| 626 |
+
0.0,
|
| 627 |
+
-0.125,
|
| 628 |
+
-0.375,
|
| 629 |
+
-0.125,
|
| 630 |
+
-0.0625,
|
| 631 |
+
-0.1875,
|
| 632 |
+
-0.3125,
|
| 633 |
+
-0.1875,
|
| 634 |
+
-0.1875,
|
| 635 |
+
-0.1875,
|
| 636 |
+
-0.125,
|
| 637 |
+
0.1875,
|
| 638 |
+
0.1875,
|
| 639 |
+
-0.4375,
|
| 640 |
+
-0.625,
|
| 641 |
+
-0.4375,
|
| 642 |
+
-0.3125,
|
| 643 |
+
-0.25,
|
| 644 |
+
-0.4375,
|
| 645 |
+
-0.5,
|
| 646 |
+
-0.3125,
|
| 647 |
+
-0.3125,
|
| 648 |
+
0.1875,
|
| 649 |
+
-0.125,
|
| 650 |
+
-0.0625,
|
| 651 |
+
-0.25,
|
| 652 |
+
-0.1875,
|
| 653 |
+
-0.1875,
|
| 654 |
+
-0.0625,
|
| 655 |
+
-0.375,
|
| 656 |
+
0.9033362865447998,
|
| 657 |
+
0.9876859784126282,
|
| 658 |
+
0.9490998387336731,
|
| 659 |
+
0.704720675945282,
|
| 660 |
+
0.3992108106613159,
|
| 661 |
+
0.2467861771583557,
|
| 662 |
+
0.9998832941055298,
|
| 663 |
+
0.9998472929000854,
|
| 664 |
+
0.9998288154602051,
|
| 665 |
+
0.9937314391136169,
|
| 666 |
+
0.9971558451652527,
|
| 667 |
+
0.9992426633834839
|
| 668 |
+
],
|
| 669 |
+
"max": [
|
| 670 |
+
0.375,
|
| 671 |
+
0.0625,
|
| 672 |
+
0.1875,
|
| 673 |
+
0.375,
|
| 674 |
+
0.375,
|
| 675 |
+
0.25,
|
| 676 |
+
0.375,
|
| 677 |
+
0.125,
|
| 678 |
+
0.0,
|
| 679 |
+
0.3125,
|
| 680 |
+
0.1875,
|
| 681 |
+
0.1875,
|
| 682 |
+
0.5,
|
| 683 |
+
0.3125,
|
| 684 |
+
0.3125,
|
| 685 |
+
0.3125,
|
| 686 |
+
0.0625,
|
| 687 |
+
0.1875,
|
| 688 |
+
0.3125,
|
| 689 |
+
0.125,
|
| 690 |
+
0.375,
|
| 691 |
+
0.0625,
|
| 692 |
+
0.0625,
|
| 693 |
+
0.3125,
|
| 694 |
+
-0.0625,
|
| 695 |
+
0.5,
|
| 696 |
+
0.125,
|
| 697 |
+
0.25,
|
| 698 |
+
0.375,
|
| 699 |
+
0.0,
|
| 700 |
+
0.4375,
|
| 701 |
+
0.1875,
|
| 702 |
+
0.125,
|
| 703 |
+
0.3125,
|
| 704 |
+
0.5625,
|
| 705 |
+
0.3125,
|
| 706 |
+
0.4375,
|
| 707 |
+
0.1875,
|
| 708 |
+
0.5625,
|
| 709 |
+
0.375,
|
| 710 |
+
0.25,
|
| 711 |
+
0.3125,
|
| 712 |
+
0.375,
|
| 713 |
+
0.4375,
|
| 714 |
+
0.5,
|
| 715 |
+
0.4375,
|
| 716 |
+
0.625,
|
| 717 |
+
0.125,
|
| 718 |
+
0.125,
|
| 719 |
+
0.0,
|
| 720 |
+
0.375,
|
| 721 |
+
0.125,
|
| 722 |
+
0.0,
|
| 723 |
+
0.125,
|
| 724 |
+
0.25,
|
| 725 |
+
0.25,
|
| 726 |
+
0.5,
|
| 727 |
+
0.25,
|
| 728 |
+
0.3125,
|
| 729 |
+
0.4375,
|
| 730 |
+
0.3125,
|
| 731 |
+
0.25,
|
| 732 |
+
0.6875,
|
| 733 |
+
0.1875,
|
| 734 |
+
1.0,
|
| 735 |
+
1.0,
|
| 736 |
+
1.0,
|
| 737 |
+
1.0,
|
| 738 |
+
1.0,
|
| 739 |
+
1.0,
|
| 740 |
+
1.0,
|
| 741 |
+
1.0,
|
| 742 |
+
1.0,
|
| 743 |
+
1.0,
|
| 744 |
+
0.9983106255531311,
|
| 745 |
+
1.0
|
| 746 |
+
],
|
| 747 |
+
"mean": [
|
| 748 |
+
0.1705918577943477,
|
| 749 |
+
-0.2530999300955361,
|
| 750 |
+
-0.06875811391098832,
|
| 751 |
+
0.02347000765620319,
|
| 752 |
+
-0.019656469491694684,
|
| 753 |
+
-0.05156286408574948,
|
| 754 |
+
0.03171915049432442,
|
| 755 |
+
-0.1440094371026264,
|
| 756 |
+
-0.13838795313072136,
|
| 757 |
+
0.02956376285742818,
|
| 758 |
+
-0.21193327452481608,
|
| 759 |
+
-0.09570878133217936,
|
| 760 |
+
0.32858010718684466,
|
| 761 |
+
-0.04470764954562099,
|
| 762 |
+
0.11257947471788556,
|
| 763 |
+
-0.0030895276455510804,
|
| 764 |
+
-0.12385989148164175,
|
| 765 |
+
-0.13941571518924137,
|
| 766 |
+
0.019219566592323826,
|
| 767 |
+
-0.2361793049499018,
|
| 768 |
+
0.03677890216703838,
|
| 769 |
+
-0.15651318198462102,
|
| 770 |
+
-0.2274412469624846,
|
| 771 |
+
-0.14134224892646716,
|
| 772 |
+
-0.3545695882294198,
|
| 773 |
+
0.24737650211377785,
|
| 774 |
+
-0.015869977697147233,
|
| 775 |
+
0.035607586298725076,
|
| 776 |
+
0.16090301587829967,
|
| 777 |
+
-0.29230260310908424,
|
| 778 |
+
0.18102551512932324,
|
| 779 |
+
-0.35666048067640893,
|
| 780 |
+
-0.16304175959521985,
|
| 781 |
+
-0.14047676508771345,
|
| 782 |
+
0.3327119603208948,
|
| 783 |
+
0.15131403748210778,
|
| 784 |
+
-0.0891240304916614,
|
| 785 |
+
-0.0054425618321627105,
|
| 786 |
+
0.18380296927532372,
|
| 787 |
+
0.08557679504676942,
|
| 788 |
+
-0.09318722745581039,
|
| 789 |
+
0.08817740754302453,
|
| 790 |
+
0.11623905662261576,
|
| 791 |
+
0.21342290536267103,
|
| 792 |
+
0.1559015179255018,
|
| 793 |
+
0.3040656935521454,
|
| 794 |
+
0.3925801404746846,
|
| 795 |
+
-0.1896366632269232,
|
| 796 |
+
-0.3108231250624147,
|
| 797 |
+
-0.2585653773176659,
|
| 798 |
+
-0.004643653673313139,
|
| 799 |
+
-0.05059335574714557,
|
| 800 |
+
-0.2170325555074731,
|
| 801 |
+
-0.22278927132918344,
|
| 802 |
+
-0.02914766485802736,
|
| 803 |
+
-0.0018183482573815785,
|
| 804 |
+
0.3720540261642422,
|
| 805 |
+
0.060465280782929995,
|
| 806 |
+
0.17466545720848173,
|
| 807 |
+
0.07812031889750674,
|
| 808 |
+
0.020719599880163777,
|
| 809 |
+
0.02491802869411804,
|
| 810 |
+
0.35415349023001896,
|
| 811 |
+
-0.10424919276988116,
|
| 812 |
+
0.999767607126877,
|
| 813 |
+
0.9999772788486961,
|
| 814 |
+
0.9991153764989015,
|
| 815 |
+
0.9988341203487006,
|
| 816 |
+
0.9913370663400044,
|
| 817 |
+
0.9943634353287667,
|
| 818 |
+
0.9999858952743991,
|
| 819 |
+
0.999983983695644,
|
| 820 |
+
0.9999830005453912,
|
| 821 |
+
0.9999809726224013,
|
| 822 |
+
0.9977059502849399,
|
| 823 |
+
0.9997620721269846
|
| 824 |
+
],
|
| 825 |
+
"std": [
|
| 826 |
+
0.07861391484475255,
|
| 827 |
+
0.11456685397394184,
|
| 828 |
+
0.07555772502365608,
|
| 829 |
+
0.12073976936766533,
|
| 830 |
+
0.17310583962466786,
|
| 831 |
+
0.09805672738062948,
|
| 832 |
+
0.08413334391920739,
|
| 833 |
+
0.1109703415316925,
|
| 834 |
+
0.06497421956251394,
|
| 835 |
+
0.13934210663953223,
|
| 836 |
+
0.13814459940640186,
|
| 837 |
+
0.08709513838997342,
|
| 838 |
+
0.08245982354043184,
|
| 839 |
+
0.20011686244773508,
|
| 840 |
+
0.07920482559452219,
|
| 841 |
+
0.08282887709555811,
|
| 842 |
+
0.10681848054589681,
|
| 843 |
+
0.12673905951906927,
|
| 844 |
+
0.09672031072116966,
|
| 845 |
+
0.18222778130573336,
|
| 846 |
+
0.15581870632558198,
|
| 847 |
+
0.0882983550620938,
|
| 848 |
+
0.14760089281967495,
|
| 849 |
+
0.19344678169686744,
|
| 850 |
+
0.13316453359940944,
|
| 851 |
+
0.11665767902225674,
|
| 852 |
+
0.07802343808121218,
|
| 853 |
+
0.07686754849751828,
|
| 854 |
+
0.07159632899793833,
|
| 855 |
+
0.1323028487525391,
|
| 856 |
+
0.08971101604043516,
|
| 857 |
+
0.20554012065236432,
|
| 858 |
+
0.10300065062373649,
|
| 859 |
+
0.20787533158835977,
|
| 860 |
+
0.14730191157543784,
|
| 861 |
+
0.08823291929139707,
|
| 862 |
+
0.1534789425452636,
|
| 863 |
+
0.06539474514059188,
|
| 864 |
+
0.11560732208721157,
|
| 865 |
+
0.13951935888640377,
|
| 866 |
+
0.06605515500083993,
|
| 867 |
+
0.08928226830223088,
|
| 868 |
+
0.10083892517653374,
|
| 869 |
+
0.19827032002099382,
|
| 870 |
+
0.1045641725731635,
|
| 871 |
+
0.05822162471761631,
|
| 872 |
+
0.10190258643916436,
|
| 873 |
+
0.11380376107460125,
|
| 874 |
+
0.21232811107873922,
|
| 875 |
+
0.05700269175439421,
|
| 876 |
+
0.11427141798904378,
|
| 877 |
+
0.07635370499957993,
|
| 878 |
+
0.07173043558808945,
|
| 879 |
+
0.08916520126042561,
|
| 880 |
+
0.13167800663790963,
|
| 881 |
+
0.07519871154293578,
|
| 882 |
+
0.09160545650949894,
|
| 883 |
+
0.06782318394972403,
|
| 884 |
+
0.06876188546289838,
|
| 885 |
+
0.11512247605529641,
|
| 886 |
+
0.09994049073163953,
|
| 887 |
+
0.0809394280854295,
|
| 888 |
+
0.13684661473368023,
|
| 889 |
+
0.12652017809673582,
|
| 890 |
+
0.002364994656301731,
|
| 891 |
+
0.00022827900944685637,
|
| 892 |
+
0.0033686901419259932,
|
| 893 |
+
0.00935260939272013,
|
| 894 |
+
0.04256951376192157,
|
| 895 |
+
0.044924818964100645,
|
| 896 |
+
1.761350993960167e-05,
|
| 897 |
+
2.2025409350164893e-05,
|
| 898 |
+
2.4250215716281934e-05,
|
| 899 |
+
8.191872159154288e-05,
|
| 900 |
+
0.00011415496042436977,
|
| 901 |
+
0.00010596427076493072
|
| 902 |
+
]
|
| 903 |
+
}
|
| 904 |
+
},
|
| 905 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
|
| 906 |
+
"step": 8000,
|
| 907 |
+
"weights": "ema",
|
| 908 |
+
"offline_eval": {
|
| 909 |
+
"mse": 0.009229084476828575,
|
| 910 |
+
"mse_row0": 0.0075033619068562984,
|
| 911 |
+
"mse_motion_token": 0.008846057578921318,
|
| 912 |
+
"mse_inspire_left_hand_state": 0.0074179829098284245,
|
| 913 |
+
"mse_inspire_right_hand_state": 0.015125807374715805,
|
| 914 |
+
"samples": 256,
|
| 915 |
+
"frames": "train"
|
| 916 |
+
},
|
| 917 |
+
"format": "hb_baselines/1"
|
| 918 |
+
}
|
a29-drawer-close/b512/step-008000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5f7923f107434e9e0f1e81a835b5537181218dc45500ef0376bea64768c4107
|
| 3 |
+
size 170777021
|
a29-drawer-close/b512/step-008000/protocol.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "hb_baselines/1",
|
| 3 |
+
"step": 8000,
|
| 4 |
+
"policy": "flash",
|
| 5 |
+
"files": {
|
| 6 |
+
"config.json": {
|
| 7 |
+
"bytes": 16297,
|
| 8 |
+
"sha256": "340618860af6b1f19ddf9af6021a7c969dadbe3f8dfdf36d2a524aa72b611cbd"
|
| 9 |
+
},
|
| 10 |
+
"model.pt": {
|
| 11 |
+
"bytes": 170777021,
|
| 12 |
+
"sha256": "f5f7923f107434e9e0f1e81a835b5537181218dc45500ef0376bea64768c4107"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"task_dir": "a29-drawer-close",
|
| 16 |
+
"training_data": "a29-drawer-close-black-marble-30hz-v1 @d03c19e6, all episodes (A800 FLASH pool 2026-11-25)",
|
| 17 |
+
"episodes": 100,
|
| 18 |
+
"frames": 30041,
|
| 19 |
+
"steps": 12000,
|
| 20 |
+
"global_batch": 512,
|
| 21 |
+
"per_gpu_batch": 512,
|
| 22 |
+
"num_gpus": 1,
|
| 23 |
+
"gradient_accumulation_steps": 1,
|
| 24 |
+
"save_steps": [
|
| 25 |
+
8000,
|
| 26 |
+
12000
|
| 27 |
+
],
|
| 28 |
+
"lr": 0.0001,
|
| 29 |
+
"lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
|
| 30 |
+
"ema": 0.9999,
|
| 31 |
+
"augmentation": "Humanoid Benchmark online augmentation spec v2 (hb-aug-v2-20261109): 15 visual effects, one per sample at 1.5x; proprio per-joint bias U(+-2 deg) + N(0, 0.25 deg); no delay, no history drop; model-native image augmentation off",
|
| 32 |
+
"state_dim": 44,
|
| 33 |
+
"action_dim": 76,
|
| 34 |
+
"cameras": [
|
| 35 |
+
"ego_view",
|
| 36 |
+
"chest"
|
| 37 |
+
],
|
| 38 |
+
"contract": "g1_sonic_dfx6",
|
| 39 |
+
"image_hw": [
|
| 40 |
+
168,
|
| 41 |
+
224
|
| 42 |
+
],
|
| 43 |
+
"task_text": "Walk to the cabinet beside the worktop and close its pulled-out top drawer. Approach with both hands open, raising the left hand on the way, stop square in front of the cabinet, lay the open hand on the drawer front and push it home in one motion, then take the hand away and stand. Keep the pushing hand visible in the head or torso camera.",
|
| 44 |
+
"inloop_mse": {
|
| 45 |
+
"task": "a29",
|
| 46 |
+
"split": "train10",
|
| 47 |
+
"every": 250,
|
| 48 |
+
"seed": 1234,
|
| 49 |
+
"weights": "ema",
|
| 50 |
+
"nmse_at_this_step": 0.4158,
|
| 51 |
+
"curve": {
|
| 52 |
+
"250": 1.2029,
|
| 53 |
+
"500": 1.0277,
|
| 54 |
+
"750": 0.7518,
|
| 55 |
+
"1000": 0.6012,
|
| 56 |
+
"1250": 0.5485,
|
| 57 |
+
"1500": 0.5226,
|
| 58 |
+
"1750": 0.5072,
|
| 59 |
+
"2000": 0.4975,
|
| 60 |
+
"2250": 0.4895,
|
| 61 |
+
"2500": 0.4828,
|
| 62 |
+
"2750": 0.4773,
|
| 63 |
+
"3000": 0.4723,
|
| 64 |
+
"3250": 0.4678,
|
| 65 |
+
"3500": 0.4634,
|
| 66 |
+
"3750": 0.4592,
|
| 67 |
+
"4000": 0.4554,
|
| 68 |
+
"4250": 0.4516,
|
| 69 |
+
"4500": 0.4477,
|
| 70 |
+
"4750": 0.4445,
|
| 71 |
+
"5000": 0.4411,
|
| 72 |
+
"5250": 0.438,
|
| 73 |
+
"5500": 0.4351,
|
| 74 |
+
"5750": 0.4325,
|
| 75 |
+
"6000": 0.4301,
|
| 76 |
+
"6250": 0.428,
|
| 77 |
+
"6500": 0.4259,
|
| 78 |
+
"6750": 0.424,
|
| 79 |
+
"7000": 0.4224,
|
| 80 |
+
"7250": 0.4207,
|
| 81 |
+
"7500": 0.419,
|
| 82 |
+
"7750": 0.4174,
|
| 83 |
+
"8000": 0.4158,
|
| 84 |
+
"8250": 0.4142,
|
| 85 |
+
"8500": 0.4128,
|
| 86 |
+
"8750": 0.4111,
|
| 87 |
+
"9000": 0.4095,
|
| 88 |
+
"9250": 0.4081,
|
| 89 |
+
"9500": 0.407,
|
| 90 |
+
"9750": 0.4059,
|
| 91 |
+
"10000": 0.4047,
|
| 92 |
+
"10250": 0.4036,
|
| 93 |
+
"10500": 0.4025,
|
| 94 |
+
"10750": 0.4015,
|
| 95 |
+
"11000": 0.4007,
|
| 96 |
+
"11250": 0.3999,
|
| 97 |
+
"11500": 0.3992,
|
| 98 |
+
"11750": 0.3986,
|
| 99 |
+
"12000": 0.3981
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"seed": 42,
|
| 103 |
+
"reproducibility": {
|
| 104 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 105 |
+
"protocol_commit": "6dfc6f98",
|
| 106 |
+
"training_seed": 42,
|
| 107 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 108 |
+
"training_seed_verified_from_run_files": true,
|
| 109 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 110 |
+
"inloop_mse_seed": 1234,
|
| 111 |
+
"layout": {
|
| 112 |
+
"nodes": 1,
|
| 113 |
+
"gpus_per_node": 1,
|
| 114 |
+
"per_gpu_batch": 512,
|
| 115 |
+
"global_batch": 512,
|
| 116 |
+
"gradient_accumulation": 1,
|
| 117 |
+
"num_workers": 40,
|
| 118 |
+
"prefetch": 2
|
| 119 |
+
},
|
| 120 |
+
"environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
|
| 121 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 122 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 123 |
+
"determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
|
| 124 |
+
"exceptions": []
|
| 125 |
+
},
|
| 126 |
+
"inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
|
| 127 |
+
"resume_state_included": false
|
| 128 |
+
}
|
a29-drawer-close/b512/step-012000/SHA256SUMS
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
d1285f4beba9bf11aa526e604ce6d06dac291cf931d0c9e2641f7bf927b51f32 config.json
|
| 2 |
+
a896f3aa91f513ecc148b496448d1135080d4dc6858f2403700416a415c0d864 model.pt
|
| 3 |
+
46e7b28c3179722f452adc3acc33c73d1059ecbe4621eee67db21220be5f6080 protocol.json
|
| 4 |
+
9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py
|
| 5 |
+
69e97429f08c1a249e48c519026c3534245f22543c5a6876f0a13b09ff3f79b1 training_records/code_78235367/evaluation/baselines/__init__.py
|
| 6 |
+
3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19 training_records/code_78235367/evaluation/baselines/act_nets.py
|
| 7 |
+
71e26fbbe13a8df02c82cf98555c4e45dd42af053e45a371e5356f2e23596061 training_records/code_78235367/evaluation/baselines/adapters.py
|
| 8 |
+
aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81 training_records/code_78235367/evaluation/baselines/check_flash_adapter.py
|
| 9 |
+
91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f training_records/code_78235367/evaluation/baselines/check_flash_parity.py
|
| 10 |
+
d27091c71268657c9341d95fb7f85466c540be6dd76047bebd888c6e00379e7b training_records/code_78235367/evaluation/baselines/data.py
|
| 11 |
+
35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53 training_records/code_78235367/evaluation/baselines/flash.py
|
| 12 |
+
8c2f29132ba03b6401f972f7e8e8c16094d4d6d68b736972b9f40a538c0939cf training_records/code_78235367/evaluation/baselines/inloop.py
|
| 13 |
+
38a66937bb92393a3f1ce0644b249da28d582a4fd03d134b7743e6037abd88b9 training_records/code_78235367/evaluation/baselines/nets.py
|
| 14 |
+
68d4bad86d82007ed77ab0dcc8f7345da810d57c298323fccadc1efcf99dac4a training_records/code_78235367/evaluation/baselines/policies.py
|
| 15 |
+
bb211f66038e53efd08ee3ec03e133d8bb206ec36cc608d349b4fad3a61e874b training_records/code_78235367/evaluation/baselines/requirements.txt
|
| 16 |
+
379a2b2c5221e337df62e2097616438ae83a65d8cbb89a0e433e15ecd7aec881 training_records/code_78235367/evaluation/baselines/runtime.py
|
| 17 |
+
b17dcd85ca3300b8707deb4ca31dc870245f2bdd26733f7e21c9c668c75b4b1b training_records/code_78235367/evaluation/baselines/train.py
|
| 18 |
+
823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159 training_records/code_78235367/evaluation/policy/FLASH/model.py
|
| 19 |
+
27d134217d9f9dd84cf9c8e0ff946a02d746e530410150b39712fbb308fa8b45 training_records/code_commit.txt
|
| 20 |
+
ba5dc6e619fced677b89ac5ebc4fea82dc3b9803c8835cf7b7154c98bc524e36 training_records/flash_pool_a800.sh
|
| 21 |
+
e9180083a557d5414e1c2c74117b3d07b245ba22a23f70687195279e6bd42ee1 training_records/inloop-mse.jsonl
|
| 22 |
+
72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2 training_records/pip_freeze_hb-baselines.txt
|
| 23 |
+
03f98eb59597a908841af3ce69f4d7189bbe5f3c316094e9ff7591174d0eab4e training_records/run.json
|
| 24 |
+
dfbd18ac4fa1ceb90cbbc248307d79ce7106793c5dced284a94ed4bc4a9c205e training_records/train.log
|
| 25 |
+
de8f7c17534bc7eefdb389868671628bddfdde4862239fe9a9eefa609b99a0b9 training_records/train_log.jsonl
|
a29-drawer-close/b512/step-012000/config.json
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 44,
|
| 6 |
+
"action_dim": 76,
|
| 7 |
+
"horizon": 16,
|
| 8 |
+
"backbone": "resnet18",
|
| 9 |
+
"backbone_weights": null,
|
| 10 |
+
"backbone_norm": "group",
|
| 11 |
+
"hidden_dim": 512,
|
| 12 |
+
"num_layers": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"time_embed_dim": 256,
|
| 17 |
+
"num_inference_steps": 1,
|
| 18 |
+
"num_train_timesteps": 100,
|
| 19 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 20 |
+
"prediction_type": "epsilon",
|
| 21 |
+
"clip_sample": true,
|
| 22 |
+
"act_hidden_dim": 512,
|
| 23 |
+
"dim_feedforward": 3200,
|
| 24 |
+
"enc_layers": 4,
|
| 25 |
+
"dec_layers": 7,
|
| 26 |
+
"nheads": 8,
|
| 27 |
+
"latent_dim": 32,
|
| 28 |
+
"kl_weight": 10.0,
|
| 29 |
+
"extra": {
|
| 30 |
+
"flash": {
|
| 31 |
+
"stride": 2,
|
| 32 |
+
"n_history": 8,
|
| 33 |
+
"n_action": 8,
|
| 34 |
+
"rows": 16,
|
| 35 |
+
"poly_order": 6,
|
| 36 |
+
"fit_pad": 1,
|
| 37 |
+
"boundary_constraint": true,
|
| 38 |
+
"poly_prefix": 1,
|
| 39 |
+
"poly_suffix": 1,
|
| 40 |
+
"history_noise_std": 0.5,
|
| 41 |
+
"history_reg_lambda": 0.1,
|
| 42 |
+
"consistency_weight": 1.0,
|
| 43 |
+
"solver": "euler"
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"contract": {
|
| 48 |
+
"name": "g1_sonic_dfx6",
|
| 49 |
+
"robot": "g1",
|
| 50 |
+
"cameras": [
|
| 51 |
+
"ego_view",
|
| 52 |
+
"chest"
|
| 53 |
+
],
|
| 54 |
+
"state": [
|
| 55 |
+
[
|
| 56 |
+
"observation.state",
|
| 57 |
+
0,
|
| 58 |
+
29
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"observation.inspire_left_hand_state",
|
| 62 |
+
0,
|
| 63 |
+
6
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
"observation.inspire_right_hand_state",
|
| 67 |
+
0,
|
| 68 |
+
6
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
"observation.projected_gravity",
|
| 72 |
+
0,
|
| 73 |
+
3
|
| 74 |
+
]
|
| 75 |
+
],
|
| 76 |
+
"action": [
|
| 77 |
+
[
|
| 78 |
+
"action.motion_token",
|
| 79 |
+
0,
|
| 80 |
+
64
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
"observation.inspire_left_hand_state",
|
| 84 |
+
0,
|
| 85 |
+
6
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"observation.inspire_right_hand_state",
|
| 89 |
+
0,
|
| 90 |
+
6
|
| 91 |
+
]
|
| 92 |
+
],
|
| 93 |
+
"state_dim": 44,
|
| 94 |
+
"action_dim": 76,
|
| 95 |
+
"action_space": "sonic_dfx6",
|
| 96 |
+
"body_dims": 29
|
| 97 |
+
},
|
| 98 |
+
"image_hw": [
|
| 99 |
+
168,
|
| 100 |
+
224
|
| 101 |
+
],
|
| 102 |
+
"task_text": "Walk to the cabinet beside the worktop and close its pulled-out top drawer. Approach with both hands open, raising the left hand on the way, stop square in front of the cabinet, lay the open hand on the drawer front and push it home in one motion, then take the hand away and stand. Keep the pushing hand visible in the head or torso camera.",
|
| 103 |
+
"dataset": {
|
| 104 |
+
"name": "data",
|
| 105 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a29-drawer-close-black-marble-30hz-d03c19e/data",
|
| 106 |
+
"robot_type": null,
|
| 107 |
+
"fps": 30.0,
|
| 108 |
+
"episodes": [
|
| 109 |
+
0,
|
| 110 |
+
1,
|
| 111 |
+
2,
|
| 112 |
+
3,
|
| 113 |
+
4,
|
| 114 |
+
5,
|
| 115 |
+
6,
|
| 116 |
+
7,
|
| 117 |
+
8,
|
| 118 |
+
9,
|
| 119 |
+
10,
|
| 120 |
+
11,
|
| 121 |
+
12,
|
| 122 |
+
13,
|
| 123 |
+
14,
|
| 124 |
+
15,
|
| 125 |
+
16,
|
| 126 |
+
17,
|
| 127 |
+
18,
|
| 128 |
+
19,
|
| 129 |
+
20,
|
| 130 |
+
21,
|
| 131 |
+
22,
|
| 132 |
+
23,
|
| 133 |
+
24,
|
| 134 |
+
25,
|
| 135 |
+
26,
|
| 136 |
+
27,
|
| 137 |
+
28,
|
| 138 |
+
29,
|
| 139 |
+
30,
|
| 140 |
+
31,
|
| 141 |
+
32,
|
| 142 |
+
33,
|
| 143 |
+
34,
|
| 144 |
+
35,
|
| 145 |
+
36,
|
| 146 |
+
37,
|
| 147 |
+
38,
|
| 148 |
+
39,
|
| 149 |
+
40,
|
| 150 |
+
41,
|
| 151 |
+
42,
|
| 152 |
+
43,
|
| 153 |
+
44,
|
| 154 |
+
45,
|
| 155 |
+
46,
|
| 156 |
+
47,
|
| 157 |
+
48,
|
| 158 |
+
49,
|
| 159 |
+
50,
|
| 160 |
+
51,
|
| 161 |
+
52,
|
| 162 |
+
53,
|
| 163 |
+
54,
|
| 164 |
+
55,
|
| 165 |
+
56,
|
| 166 |
+
57,
|
| 167 |
+
58,
|
| 168 |
+
59,
|
| 169 |
+
60,
|
| 170 |
+
61,
|
| 171 |
+
62,
|
| 172 |
+
63,
|
| 173 |
+
64,
|
| 174 |
+
65,
|
| 175 |
+
66,
|
| 176 |
+
67,
|
| 177 |
+
68,
|
| 178 |
+
69,
|
| 179 |
+
70,
|
| 180 |
+
71,
|
| 181 |
+
72,
|
| 182 |
+
73,
|
| 183 |
+
74,
|
| 184 |
+
75,
|
| 185 |
+
76,
|
| 186 |
+
77,
|
| 187 |
+
78,
|
| 188 |
+
79,
|
| 189 |
+
80,
|
| 190 |
+
81,
|
| 191 |
+
82,
|
| 192 |
+
83,
|
| 193 |
+
84,
|
| 194 |
+
85,
|
| 195 |
+
86,
|
| 196 |
+
87,
|
| 197 |
+
88,
|
| 198 |
+
89,
|
| 199 |
+
90,
|
| 200 |
+
91,
|
| 201 |
+
92,
|
| 202 |
+
93,
|
| 203 |
+
94,
|
| 204 |
+
95,
|
| 205 |
+
96,
|
| 206 |
+
97,
|
| 207 |
+
98,
|
| 208 |
+
99
|
| 209 |
+
],
|
| 210 |
+
"train_episodes": [
|
| 211 |
+
0,
|
| 212 |
+
1,
|
| 213 |
+
2,
|
| 214 |
+
3,
|
| 215 |
+
4,
|
| 216 |
+
5,
|
| 217 |
+
6,
|
| 218 |
+
7,
|
| 219 |
+
8,
|
| 220 |
+
9,
|
| 221 |
+
10,
|
| 222 |
+
11,
|
| 223 |
+
12,
|
| 224 |
+
13,
|
| 225 |
+
14,
|
| 226 |
+
15,
|
| 227 |
+
16,
|
| 228 |
+
17,
|
| 229 |
+
18,
|
| 230 |
+
19,
|
| 231 |
+
20,
|
| 232 |
+
21,
|
| 233 |
+
22,
|
| 234 |
+
23,
|
| 235 |
+
24,
|
| 236 |
+
25,
|
| 237 |
+
26,
|
| 238 |
+
27,
|
| 239 |
+
28,
|
| 240 |
+
29,
|
| 241 |
+
30,
|
| 242 |
+
31,
|
| 243 |
+
32,
|
| 244 |
+
33,
|
| 245 |
+
34,
|
| 246 |
+
35,
|
| 247 |
+
36,
|
| 248 |
+
37,
|
| 249 |
+
38,
|
| 250 |
+
39,
|
| 251 |
+
40,
|
| 252 |
+
41,
|
| 253 |
+
42,
|
| 254 |
+
43,
|
| 255 |
+
44,
|
| 256 |
+
45,
|
| 257 |
+
46,
|
| 258 |
+
47,
|
| 259 |
+
48,
|
| 260 |
+
49,
|
| 261 |
+
50,
|
| 262 |
+
51,
|
| 263 |
+
52,
|
| 264 |
+
53,
|
| 265 |
+
54,
|
| 266 |
+
55,
|
| 267 |
+
56,
|
| 268 |
+
57,
|
| 269 |
+
58,
|
| 270 |
+
59,
|
| 271 |
+
60,
|
| 272 |
+
61,
|
| 273 |
+
62,
|
| 274 |
+
63,
|
| 275 |
+
64,
|
| 276 |
+
65,
|
| 277 |
+
66,
|
| 278 |
+
67,
|
| 279 |
+
68,
|
| 280 |
+
69,
|
| 281 |
+
70,
|
| 282 |
+
71,
|
| 283 |
+
72,
|
| 284 |
+
73,
|
| 285 |
+
74,
|
| 286 |
+
75,
|
| 287 |
+
76,
|
| 288 |
+
77,
|
| 289 |
+
78,
|
| 290 |
+
79,
|
| 291 |
+
80,
|
| 292 |
+
81,
|
| 293 |
+
82,
|
| 294 |
+
83,
|
| 295 |
+
84,
|
| 296 |
+
85,
|
| 297 |
+
86,
|
| 298 |
+
87,
|
| 299 |
+
88,
|
| 300 |
+
89,
|
| 301 |
+
90,
|
| 302 |
+
91,
|
| 303 |
+
92,
|
| 304 |
+
93,
|
| 305 |
+
94,
|
| 306 |
+
95,
|
| 307 |
+
96,
|
| 308 |
+
97,
|
| 309 |
+
98,
|
| 310 |
+
99
|
| 311 |
+
],
|
| 312 |
+
"val_episodes": [],
|
| 313 |
+
"train_frames": 30041,
|
| 314 |
+
"git_commit": "28db084daee2521e9f0912d7262bc95e1b6eefd9"
|
| 315 |
+
},
|
| 316 |
+
"training": {
|
| 317 |
+
"steps": 12000,
|
| 318 |
+
"batch_size": 512,
|
| 319 |
+
"lr": 0.0001,
|
| 320 |
+
"betas": [
|
| 321 |
+
0.95,
|
| 322 |
+
0.999
|
| 323 |
+
],
|
| 324 |
+
"weight_decay": 1e-06,
|
| 325 |
+
"warmup": 500,
|
| 326 |
+
"schedule": "diffusers_cosine",
|
| 327 |
+
"backbone_lr_scale": 1.0,
|
| 328 |
+
"ema": 0.9999,
|
| 329 |
+
"shift_px": 0,
|
| 330 |
+
"amp": true,
|
| 331 |
+
"seed": 42,
|
| 332 |
+
"augmentation": {
|
| 333 |
+
"spec": "docs/augmentation_v2.md",
|
| 334 |
+
"version": "hb-aug-v2-20261109",
|
| 335 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 336 |
+
"visual": {
|
| 337 |
+
"effects": [
|
| 338 |
+
"exposure",
|
| 339 |
+
"contrast",
|
| 340 |
+
"saturation",
|
| 341 |
+
"hue",
|
| 342 |
+
"gamma",
|
| 343 |
+
"temperature",
|
| 344 |
+
"rotation_crop",
|
| 345 |
+
"noise",
|
| 346 |
+
"gaussian_blur",
|
| 347 |
+
"jpeg",
|
| 348 |
+
"motion_blur",
|
| 349 |
+
"sharpen",
|
| 350 |
+
"defocus",
|
| 351 |
+
"light_shadow",
|
| 352 |
+
"wb_channel"
|
| 353 |
+
],
|
| 354 |
+
"boosted_per_sample": 1,
|
| 355 |
+
"boost": 1.5,
|
| 356 |
+
"pixel_scale": "H / 224",
|
| 357 |
+
"future_targets": "none (one observation frame)"
|
| 358 |
+
},
|
| 359 |
+
"proprio": {
|
| 360 |
+
"robot": "g1",
|
| 361 |
+
"body_dims": 29,
|
| 362 |
+
"bias_deg": 2.0,
|
| 363 |
+
"bias_scope": "per_sample",
|
| 364 |
+
"noise_deg": 0.25,
|
| 365 |
+
"noise_clip_sigma": 3,
|
| 366 |
+
"delay_probability": 0.0,
|
| 367 |
+
"history_drop_probability": 0.0,
|
| 368 |
+
"velocity": false
|
| 369 |
+
},
|
| 370 |
+
"native_image_augmentation": "off",
|
| 371 |
+
"evaluation": "off"
|
| 372 |
+
},
|
| 373 |
+
"preflight": {
|
| 374 |
+
"samples": 64,
|
| 375 |
+
"state_dim": 44,
|
| 376 |
+
"body_dims": 29,
|
| 377 |
+
"images_changed": 64,
|
| 378 |
+
"body_values_moved": 1.0,
|
| 379 |
+
"max_body_offset_deg": 2.6033,
|
| 380 |
+
"actions_bit_identical": true,
|
| 381 |
+
"non_body_state_bit_identical": true,
|
| 382 |
+
"eval_items_deterministic": 8
|
| 383 |
+
},
|
| 384 |
+
"aug_seed": 42,
|
| 385 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 386 |
+
"layout": {
|
| 387 |
+
"nodes": 1,
|
| 388 |
+
"gpus": 1,
|
| 389 |
+
"per_gpu_batch": 512,
|
| 390 |
+
"global_batch": 512,
|
| 391 |
+
"gradient_accumulation": 1,
|
| 392 |
+
"num_workers": 40,
|
| 393 |
+
"prefetch": 2
|
| 394 |
+
},
|
| 395 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 396 |
+
"inloop": {
|
| 397 |
+
"task": "a29",
|
| 398 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 399 |
+
"every": 250,
|
| 400 |
+
"exception": null
|
| 401 |
+
}
|
| 402 |
+
},
|
| 403 |
+
"stats": {
|
| 404 |
+
"state": {
|
| 405 |
+
"min": [
|
| 406 |
+
-0.534028172492981,
|
| 407 |
+
-0.14577800035476685,
|
| 408 |
+
-0.10741252452135086,
|
| 409 |
+
0.1223539188504219,
|
| 410 |
+
-0.876969575881958,
|
| 411 |
+
-0.1527269333600998,
|
| 412 |
+
-0.6530642509460449,
|
| 413 |
+
-0.34237927198410034,
|
| 414 |
+
-0.5516390204429626,
|
| 415 |
+
0.11220990866422653,
|
| 416 |
+
-0.7392274141311646,
|
| 417 |
+
-0.13110315799713135,
|
| 418 |
+
-0.06260737776756287,
|
| 419 |
+
-0.12067101150751114,
|
| 420 |
+
-0.011655419133603573,
|
| 421 |
+
-0.3356657326221466,
|
| 422 |
+
-0.1486136019229889,
|
| 423 |
+
-0.14513139426708221,
|
| 424 |
+
-0.2398998737335205,
|
| 425 |
+
-1.6966043710708618,
|
| 426 |
+
-0.33168429136276245,
|
| 427 |
+
-1.6061123609542847,
|
| 428 |
+
0.09308633953332901,
|
| 429 |
+
-0.2865353524684906,
|
| 430 |
+
-0.3184954524040222,
|
| 431 |
+
0.3765525221824646,
|
| 432 |
+
-0.1930495649576187,
|
| 433 |
+
-0.090675950050354,
|
| 434 |
+
-0.060834407806396484,
|
| 435 |
+
0.9033362865447998,
|
| 436 |
+
0.9876859784126282,
|
| 437 |
+
0.9490998387336731,
|
| 438 |
+
0.704720675945282,
|
| 439 |
+
0.3992108106613159,
|
| 440 |
+
0.2467861771583557,
|
| 441 |
+
0.9998832941055298,
|
| 442 |
+
0.9998472929000854,
|
| 443 |
+
0.9998288154602051,
|
| 444 |
+
0.9937314391136169,
|
| 445 |
+
0.9971558451652527,
|
| 446 |
+
0.9992426633834839,
|
| 447 |
+
-0.20440885424613953,
|
| 448 |
+
-0.14709624648094177,
|
| 449 |
+
-1.0
|
| 450 |
+
],
|
| 451 |
+
"max": [
|
| 452 |
+
0.35993677377700806,
|
| 453 |
+
0.26245301961898804,
|
| 454 |
+
0.49964162707328796,
|
| 455 |
+
1.3215410709381104,
|
| 456 |
+
0.40844595432281494,
|
| 457 |
+
0.13166311383247375,
|
| 458 |
+
0.25757214426994324,
|
| 459 |
+
0.14982159435749054,
|
| 460 |
+
0.1273796558380127,
|
| 461 |
+
1.1904000043869019,
|
| 462 |
+
0.24902525544166565,
|
| 463 |
+
0.17109742760658264,
|
| 464 |
+
0.130329892039299,
|
| 465 |
+
0.10224339365959167,
|
| 466 |
+
0.31962135434150696,
|
| 467 |
+
0.7473008036613464,
|
| 468 |
+
0.3672693073749542,
|
| 469 |
+
0.43278905749320984,
|
| 470 |
+
1.1210671663284302,
|
| 471 |
+
0.43844008445739746,
|
| 472 |
+
1.6189088821411133,
|
| 473 |
+
0.13420991599559784,
|
| 474 |
+
0.3154947757720947,
|
| 475 |
+
-0.043002914637327194,
|
| 476 |
+
0.17981280386447906,
|
| 477 |
+
0.7492755055427551,
|
| 478 |
+
0.1251305788755417,
|
| 479 |
+
0.12946312129497528,
|
| 480 |
+
0.393763929605484,
|
| 481 |
+
1.0,
|
| 482 |
+
1.0,
|
| 483 |
+
1.0,
|
| 484 |
+
1.0,
|
| 485 |
+
1.0,
|
| 486 |
+
1.0,
|
| 487 |
+
1.0,
|
| 488 |
+
1.0,
|
| 489 |
+
1.0,
|
| 490 |
+
1.0,
|
| 491 |
+
0.9983106255531311,
|
| 492 |
+
1.0,
|
| 493 |
+
0.12773169577121735,
|
| 494 |
+
0.0766577422618866,
|
| 495 |
+
-0.9782990217208862
|
| 496 |
+
],
|
| 497 |
+
"mean": [
|
| 498 |
+
-0.07639565424004759,
|
| 499 |
+
0.050363496258068484,
|
| 500 |
+
0.11190579194565965,
|
| 501 |
+
0.3352824723715888,
|
| 502 |
+
-0.16446315379641738,
|
| 503 |
+
-0.004820057547270692,
|
| 504 |
+
-0.13251833722055958,
|
| 505 |
+
-0.09894207439502213,
|
| 506 |
+
-0.22471050008766882,
|
| 507 |
+
0.35335772407383864,
|
| 508 |
+
-0.1578437133899749,
|
| 509 |
+
-0.004799717887673335,
|
| 510 |
+
0.0051573811196815025,
|
| 511 |
+
-0.005317487551886401,
|
| 512 |
+
0.17810973136776315,
|
| 513 |
+
0.36619768105360534,
|
| 514 |
+
0.11644517436654425,
|
| 515 |
+
0.09414850376552313,
|
| 516 |
+
0.6287014354496157,
|
| 517 |
+
-0.9161356656609858,
|
| 518 |
+
0.17411387559158406,
|
| 519 |
+
-0.7752402640286278,
|
| 520 |
+
0.21060188387805423,
|
| 521 |
+
-0.1514891714274562,
|
| 522 |
+
-0.10547201964816742,
|
| 523 |
+
0.5737247461545031,
|
| 524 |
+
-0.037919477344890894,
|
| 525 |
+
0.015712656495776245,
|
| 526 |
+
0.11961978892214573,
|
| 527 |
+
0.999767607126877,
|
| 528 |
+
0.9999772788486961,
|
| 529 |
+
0.9991153764989015,
|
| 530 |
+
0.9988341203487006,
|
| 531 |
+
0.9913370663400044,
|
| 532 |
+
0.9943634353287667,
|
| 533 |
+
0.9999858952743991,
|
| 534 |
+
0.999983983695644,
|
| 535 |
+
0.9999830005453912,
|
| 536 |
+
0.9999809726224013,
|
| 537 |
+
0.9977059502849399,
|
| 538 |
+
0.9997620721269846,
|
| 539 |
+
-0.03676242497621179,
|
| 540 |
+
-0.00941232424061437,
|
| 541 |
+
-0.9981359134544676
|
| 542 |
+
],
|
| 543 |
+
"std": [
|
| 544 |
+
0.1410995541738054,
|
| 545 |
+
0.05190414605088492,
|
| 546 |
+
0.06481903067910577,
|
| 547 |
+
0.22648556308788673,
|
| 548 |
+
0.1130201572355957,
|
| 549 |
+
0.03953136689725532,
|
| 550 |
+
0.13585459180431816,
|
| 551 |
+
0.06194837365496525,
|
| 552 |
+
0.09114925692127998,
|
| 553 |
+
0.2043189143430019,
|
| 554 |
+
0.10959535562238933,
|
| 555 |
+
0.053788605629977296,
|
| 556 |
+
0.029423028574725455,
|
| 557 |
+
0.017899930793111005,
|
| 558 |
+
0.0995278800935876,
|
| 559 |
+
0.1756297985235062,
|
| 560 |
+
0.058331696673118535,
|
| 561 |
+
0.06995047474784861,
|
| 562 |
+
0.19866770445276463,
|
| 563 |
+
0.6503511571055091,
|
| 564 |
+
0.1975001944932491,
|
| 565 |
+
0.5829143542240596,
|
| 566 |
+
0.024794860724430334,
|
| 567 |
+
0.04435919061627581,
|
| 568 |
+
0.09630628837307029,
|
| 569 |
+
0.03493410883940767,
|
| 570 |
+
0.047272328035600705,
|
| 571 |
+
0.027637270728491276,
|
| 572 |
+
0.09908078695331715,
|
| 573 |
+
0.002364994656301731,
|
| 574 |
+
0.00022827900944685637,
|
| 575 |
+
0.0033686901419259932,
|
| 576 |
+
0.00935260939272013,
|
| 577 |
+
0.04256951376192157,
|
| 578 |
+
0.044924818964100645,
|
| 579 |
+
1.761350993960167e-05,
|
| 580 |
+
2.2025409350164893e-05,
|
| 581 |
+
2.4250215716281934e-05,
|
| 582 |
+
8.191872159154288e-05,
|
| 583 |
+
0.00011415496042436977,
|
| 584 |
+
0.00010596427076493072,
|
| 585 |
+
0.04155546555026311,
|
| 586 |
+
0.023449121186542934,
|
| 587 |
+
0.0028129244868599045
|
| 588 |
+
]
|
| 589 |
+
},
|
| 590 |
+
"action": {
|
| 591 |
+
"min": [
|
| 592 |
+
-0.125,
|
| 593 |
+
-0.5625,
|
| 594 |
+
-0.375,
|
| 595 |
+
-0.375,
|
| 596 |
+
-0.5,
|
| 597 |
+
-0.375,
|
| 598 |
+
-0.1875,
|
| 599 |
+
-0.4375,
|
| 600 |
+
-0.3125,
|
| 601 |
+
-0.3125,
|
| 602 |
+
-0.4375,
|
| 603 |
+
-0.3125,
|
| 604 |
+
0.125,
|
| 605 |
+
-0.4375,
|
| 606 |
+
-0.1875,
|
| 607 |
+
-0.3125,
|
| 608 |
+
-0.3125,
|
| 609 |
+
-0.375,
|
| 610 |
+
-0.3125,
|
| 611 |
+
-0.5625,
|
| 612 |
+
-0.3125,
|
| 613 |
+
-0.375,
|
| 614 |
+
-0.5,
|
| 615 |
+
-0.5,
|
| 616 |
+
-0.625,
|
| 617 |
+
0.0,
|
| 618 |
+
-0.1875,
|
| 619 |
+
-0.1875,
|
| 620 |
+
-0.0625,
|
| 621 |
+
-0.5625,
|
| 622 |
+
-0.0625,
|
| 623 |
+
-0.6875,
|
| 624 |
+
-0.4375,
|
| 625 |
+
-0.5,
|
| 626 |
+
0.0,
|
| 627 |
+
-0.125,
|
| 628 |
+
-0.375,
|
| 629 |
+
-0.125,
|
| 630 |
+
-0.0625,
|
| 631 |
+
-0.1875,
|
| 632 |
+
-0.3125,
|
| 633 |
+
-0.1875,
|
| 634 |
+
-0.1875,
|
| 635 |
+
-0.1875,
|
| 636 |
+
-0.125,
|
| 637 |
+
0.1875,
|
| 638 |
+
0.1875,
|
| 639 |
+
-0.4375,
|
| 640 |
+
-0.625,
|
| 641 |
+
-0.4375,
|
| 642 |
+
-0.3125,
|
| 643 |
+
-0.25,
|
| 644 |
+
-0.4375,
|
| 645 |
+
-0.5,
|
| 646 |
+
-0.3125,
|
| 647 |
+
-0.3125,
|
| 648 |
+
0.1875,
|
| 649 |
+
-0.125,
|
| 650 |
+
-0.0625,
|
| 651 |
+
-0.25,
|
| 652 |
+
-0.1875,
|
| 653 |
+
-0.1875,
|
| 654 |
+
-0.0625,
|
| 655 |
+
-0.375,
|
| 656 |
+
0.9033362865447998,
|
| 657 |
+
0.9876859784126282,
|
| 658 |
+
0.9490998387336731,
|
| 659 |
+
0.704720675945282,
|
| 660 |
+
0.3992108106613159,
|
| 661 |
+
0.2467861771583557,
|
| 662 |
+
0.9998832941055298,
|
| 663 |
+
0.9998472929000854,
|
| 664 |
+
0.9998288154602051,
|
| 665 |
+
0.9937314391136169,
|
| 666 |
+
0.9971558451652527,
|
| 667 |
+
0.9992426633834839
|
| 668 |
+
],
|
| 669 |
+
"max": [
|
| 670 |
+
0.375,
|
| 671 |
+
0.0625,
|
| 672 |
+
0.1875,
|
| 673 |
+
0.375,
|
| 674 |
+
0.375,
|
| 675 |
+
0.25,
|
| 676 |
+
0.375,
|
| 677 |
+
0.125,
|
| 678 |
+
0.0,
|
| 679 |
+
0.3125,
|
| 680 |
+
0.1875,
|
| 681 |
+
0.1875,
|
| 682 |
+
0.5,
|
| 683 |
+
0.3125,
|
| 684 |
+
0.3125,
|
| 685 |
+
0.3125,
|
| 686 |
+
0.0625,
|
| 687 |
+
0.1875,
|
| 688 |
+
0.3125,
|
| 689 |
+
0.125,
|
| 690 |
+
0.375,
|
| 691 |
+
0.0625,
|
| 692 |
+
0.0625,
|
| 693 |
+
0.3125,
|
| 694 |
+
-0.0625,
|
| 695 |
+
0.5,
|
| 696 |
+
0.125,
|
| 697 |
+
0.25,
|
| 698 |
+
0.375,
|
| 699 |
+
0.0,
|
| 700 |
+
0.4375,
|
| 701 |
+
0.1875,
|
| 702 |
+
0.125,
|
| 703 |
+
0.3125,
|
| 704 |
+
0.5625,
|
| 705 |
+
0.3125,
|
| 706 |
+
0.4375,
|
| 707 |
+
0.1875,
|
| 708 |
+
0.5625,
|
| 709 |
+
0.375,
|
| 710 |
+
0.25,
|
| 711 |
+
0.3125,
|
| 712 |
+
0.375,
|
| 713 |
+
0.4375,
|
| 714 |
+
0.5,
|
| 715 |
+
0.4375,
|
| 716 |
+
0.625,
|
| 717 |
+
0.125,
|
| 718 |
+
0.125,
|
| 719 |
+
0.0,
|
| 720 |
+
0.375,
|
| 721 |
+
0.125,
|
| 722 |
+
0.0,
|
| 723 |
+
0.125,
|
| 724 |
+
0.25,
|
| 725 |
+
0.25,
|
| 726 |
+
0.5,
|
| 727 |
+
0.25,
|
| 728 |
+
0.3125,
|
| 729 |
+
0.4375,
|
| 730 |
+
0.3125,
|
| 731 |
+
0.25,
|
| 732 |
+
0.6875,
|
| 733 |
+
0.1875,
|
| 734 |
+
1.0,
|
| 735 |
+
1.0,
|
| 736 |
+
1.0,
|
| 737 |
+
1.0,
|
| 738 |
+
1.0,
|
| 739 |
+
1.0,
|
| 740 |
+
1.0,
|
| 741 |
+
1.0,
|
| 742 |
+
1.0,
|
| 743 |
+
1.0,
|
| 744 |
+
0.9983106255531311,
|
| 745 |
+
1.0
|
| 746 |
+
],
|
| 747 |
+
"mean": [
|
| 748 |
+
0.1705918577943477,
|
| 749 |
+
-0.2530999300955361,
|
| 750 |
+
-0.06875811391098832,
|
| 751 |
+
0.02347000765620319,
|
| 752 |
+
-0.019656469491694684,
|
| 753 |
+
-0.05156286408574948,
|
| 754 |
+
0.03171915049432442,
|
| 755 |
+
-0.1440094371026264,
|
| 756 |
+
-0.13838795313072136,
|
| 757 |
+
0.02956376285742818,
|
| 758 |
+
-0.21193327452481608,
|
| 759 |
+
-0.09570878133217936,
|
| 760 |
+
0.32858010718684466,
|
| 761 |
+
-0.04470764954562099,
|
| 762 |
+
0.11257947471788556,
|
| 763 |
+
-0.0030895276455510804,
|
| 764 |
+
-0.12385989148164175,
|
| 765 |
+
-0.13941571518924137,
|
| 766 |
+
0.019219566592323826,
|
| 767 |
+
-0.2361793049499018,
|
| 768 |
+
0.03677890216703838,
|
| 769 |
+
-0.15651318198462102,
|
| 770 |
+
-0.2274412469624846,
|
| 771 |
+
-0.14134224892646716,
|
| 772 |
+
-0.3545695882294198,
|
| 773 |
+
0.24737650211377785,
|
| 774 |
+
-0.015869977697147233,
|
| 775 |
+
0.035607586298725076,
|
| 776 |
+
0.16090301587829967,
|
| 777 |
+
-0.29230260310908424,
|
| 778 |
+
0.18102551512932324,
|
| 779 |
+
-0.35666048067640893,
|
| 780 |
+
-0.16304175959521985,
|
| 781 |
+
-0.14047676508771345,
|
| 782 |
+
0.3327119603208948,
|
| 783 |
+
0.15131403748210778,
|
| 784 |
+
-0.0891240304916614,
|
| 785 |
+
-0.0054425618321627105,
|
| 786 |
+
0.18380296927532372,
|
| 787 |
+
0.08557679504676942,
|
| 788 |
+
-0.09318722745581039,
|
| 789 |
+
0.08817740754302453,
|
| 790 |
+
0.11623905662261576,
|
| 791 |
+
0.21342290536267103,
|
| 792 |
+
0.1559015179255018,
|
| 793 |
+
0.3040656935521454,
|
| 794 |
+
0.3925801404746846,
|
| 795 |
+
-0.1896366632269232,
|
| 796 |
+
-0.3108231250624147,
|
| 797 |
+
-0.2585653773176659,
|
| 798 |
+
-0.004643653673313139,
|
| 799 |
+
-0.05059335574714557,
|
| 800 |
+
-0.2170325555074731,
|
| 801 |
+
-0.22278927132918344,
|
| 802 |
+
-0.02914766485802736,
|
| 803 |
+
-0.0018183482573815785,
|
| 804 |
+
0.3720540261642422,
|
| 805 |
+
0.060465280782929995,
|
| 806 |
+
0.17466545720848173,
|
| 807 |
+
0.07812031889750674,
|
| 808 |
+
0.020719599880163777,
|
| 809 |
+
0.02491802869411804,
|
| 810 |
+
0.35415349023001896,
|
| 811 |
+
-0.10424919276988116,
|
| 812 |
+
0.999767607126877,
|
| 813 |
+
0.9999772788486961,
|
| 814 |
+
0.9991153764989015,
|
| 815 |
+
0.9988341203487006,
|
| 816 |
+
0.9913370663400044,
|
| 817 |
+
0.9943634353287667,
|
| 818 |
+
0.9999858952743991,
|
| 819 |
+
0.999983983695644,
|
| 820 |
+
0.9999830005453912,
|
| 821 |
+
0.9999809726224013,
|
| 822 |
+
0.9977059502849399,
|
| 823 |
+
0.9997620721269846
|
| 824 |
+
],
|
| 825 |
+
"std": [
|
| 826 |
+
0.07861391484475255,
|
| 827 |
+
0.11456685397394184,
|
| 828 |
+
0.07555772502365608,
|
| 829 |
+
0.12073976936766533,
|
| 830 |
+
0.17310583962466786,
|
| 831 |
+
0.09805672738062948,
|
| 832 |
+
0.08413334391920739,
|
| 833 |
+
0.1109703415316925,
|
| 834 |
+
0.06497421956251394,
|
| 835 |
+
0.13934210663953223,
|
| 836 |
+
0.13814459940640186,
|
| 837 |
+
0.08709513838997342,
|
| 838 |
+
0.08245982354043184,
|
| 839 |
+
0.20011686244773508,
|
| 840 |
+
0.07920482559452219,
|
| 841 |
+
0.08282887709555811,
|
| 842 |
+
0.10681848054589681,
|
| 843 |
+
0.12673905951906927,
|
| 844 |
+
0.09672031072116966,
|
| 845 |
+
0.18222778130573336,
|
| 846 |
+
0.15581870632558198,
|
| 847 |
+
0.0882983550620938,
|
| 848 |
+
0.14760089281967495,
|
| 849 |
+
0.19344678169686744,
|
| 850 |
+
0.13316453359940944,
|
| 851 |
+
0.11665767902225674,
|
| 852 |
+
0.07802343808121218,
|
| 853 |
+
0.07686754849751828,
|
| 854 |
+
0.07159632899793833,
|
| 855 |
+
0.1323028487525391,
|
| 856 |
+
0.08971101604043516,
|
| 857 |
+
0.20554012065236432,
|
| 858 |
+
0.10300065062373649,
|
| 859 |
+
0.20787533158835977,
|
| 860 |
+
0.14730191157543784,
|
| 861 |
+
0.08823291929139707,
|
| 862 |
+
0.1534789425452636,
|
| 863 |
+
0.06539474514059188,
|
| 864 |
+
0.11560732208721157,
|
| 865 |
+
0.13951935888640377,
|
| 866 |
+
0.06605515500083993,
|
| 867 |
+
0.08928226830223088,
|
| 868 |
+
0.10083892517653374,
|
| 869 |
+
0.19827032002099382,
|
| 870 |
+
0.1045641725731635,
|
| 871 |
+
0.05822162471761631,
|
| 872 |
+
0.10190258643916436,
|
| 873 |
+
0.11380376107460125,
|
| 874 |
+
0.21232811107873922,
|
| 875 |
+
0.05700269175439421,
|
| 876 |
+
0.11427141798904378,
|
| 877 |
+
0.07635370499957993,
|
| 878 |
+
0.07173043558808945,
|
| 879 |
+
0.08916520126042561,
|
| 880 |
+
0.13167800663790963,
|
| 881 |
+
0.07519871154293578,
|
| 882 |
+
0.09160545650949894,
|
| 883 |
+
0.06782318394972403,
|
| 884 |
+
0.06876188546289838,
|
| 885 |
+
0.11512247605529641,
|
| 886 |
+
0.09994049073163953,
|
| 887 |
+
0.0809394280854295,
|
| 888 |
+
0.13684661473368023,
|
| 889 |
+
0.12652017809673582,
|
| 890 |
+
0.002364994656301731,
|
| 891 |
+
0.00022827900944685637,
|
| 892 |
+
0.0033686901419259932,
|
| 893 |
+
0.00935260939272013,
|
| 894 |
+
0.04256951376192157,
|
| 895 |
+
0.044924818964100645,
|
| 896 |
+
1.761350993960167e-05,
|
| 897 |
+
2.2025409350164893e-05,
|
| 898 |
+
2.4250215716281934e-05,
|
| 899 |
+
8.191872159154288e-05,
|
| 900 |
+
0.00011415496042436977,
|
| 901 |
+
0.00010596427076493072
|
| 902 |
+
]
|
| 903 |
+
}
|
| 904 |
+
},
|
| 905 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
|
| 906 |
+
"step": 12000,
|
| 907 |
+
"weights": "ema",
|
| 908 |
+
"offline_eval": {
|
| 909 |
+
"mse": 0.00856785848736763,
|
| 910 |
+
"mse_row0": 0.006914603989571333,
|
| 911 |
+
"mse_motion_token": 0.008198298513889313,
|
| 912 |
+
"mse_inspire_left_hand_state": 0.00695809256285429,
|
| 913 |
+
"mse_inspire_right_hand_state": 0.014119600877165794,
|
| 914 |
+
"samples": 256,
|
| 915 |
+
"frames": "train"
|
| 916 |
+
},
|
| 917 |
+
"format": "hb_baselines/1"
|
| 918 |
+
}
|
a29-drawer-close/b512/step-012000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a896f3aa91f513ecc148b496448d1135080d4dc6858f2403700416a415c0d864
|
| 3 |
+
size 170777021
|
a29-drawer-close/b512/step-012000/protocol.json
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "hb_baselines/1",
|
| 3 |
+
"step": 12000,
|
| 4 |
+
"policy": "flash",
|
| 5 |
+
"files": {
|
| 6 |
+
"config.json": {
|
| 7 |
+
"bytes": 16294,
|
| 8 |
+
"sha256": "d1285f4beba9bf11aa526e604ce6d06dac291cf931d0c9e2641f7bf927b51f32"
|
| 9 |
+
},
|
| 10 |
+
"model.pt": {
|
| 11 |
+
"bytes": 170777021,
|
| 12 |
+
"sha256": "a896f3aa91f513ecc148b496448d1135080d4dc6858f2403700416a415c0d864"
|
| 13 |
+
},
|
| 14 |
+
"training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py": {
|
| 15 |
+
"bytes": 7475,
|
| 16 |
+
"sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde"
|
| 17 |
+
},
|
| 18 |
+
"training_records/code_78235367/evaluation/baselines/__init__.py": {
|
| 19 |
+
"bytes": 755,
|
| 20 |
+
"sha256": "69e97429f08c1a249e48c519026c3534245f22543c5a6876f0a13b09ff3f79b1"
|
| 21 |
+
},
|
| 22 |
+
"training_records/code_78235367/evaluation/baselines/act_nets.py": {
|
| 23 |
+
"bytes": 22435,
|
| 24 |
+
"sha256": "3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19"
|
| 25 |
+
},
|
| 26 |
+
"training_records/code_78235367/evaluation/baselines/adapters.py": {
|
| 27 |
+
"bytes": 3349,
|
| 28 |
+
"sha256": "71e26fbbe13a8df02c82cf98555c4e45dd42af053e45a371e5356f2e23596061"
|
| 29 |
+
},
|
| 30 |
+
"training_records/code_78235367/evaluation/baselines/check_flash_adapter.py": {
|
| 31 |
+
"bytes": 6003,
|
| 32 |
+
"sha256": "aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81"
|
| 33 |
+
},
|
| 34 |
+
"training_records/code_78235367/evaluation/baselines/check_flash_parity.py": {
|
| 35 |
+
"bytes": 7900,
|
| 36 |
+
"sha256": "91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f"
|
| 37 |
+
},
|
| 38 |
+
"training_records/code_78235367/evaluation/baselines/data.py": {
|
| 39 |
+
"bytes": 18527,
|
| 40 |
+
"sha256": "d27091c71268657c9341d95fb7f85466c540be6dd76047bebd888c6e00379e7b"
|
| 41 |
+
},
|
| 42 |
+
"training_records/code_78235367/evaluation/baselines/flash.py": {
|
| 43 |
+
"bytes": 24032,
|
| 44 |
+
"sha256": "35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53"
|
| 45 |
+
},
|
| 46 |
+
"training_records/code_78235367/evaluation/baselines/inloop.py": {
|
| 47 |
+
"bytes": 6324,
|
| 48 |
+
"sha256": "8c2f29132ba03b6401f972f7e8e8c16094d4d6d68b736972b9f40a538c0939cf"
|
| 49 |
+
},
|
| 50 |
+
"training_records/code_78235367/evaluation/baselines/nets.py": {
|
| 51 |
+
"bytes": 9986,
|
| 52 |
+
"sha256": "38a66937bb92393a3f1ce0644b249da28d582a4fd03d134b7743e6037abd88b9"
|
| 53 |
+
},
|
| 54 |
+
"training_records/code_78235367/evaluation/baselines/policies.py": {
|
| 55 |
+
"bytes": 14190,
|
| 56 |
+
"sha256": "68d4bad86d82007ed77ab0dcc8f7345da810d57c298323fccadc1efcf99dac4a"
|
| 57 |
+
},
|
| 58 |
+
"training_records/code_78235367/evaluation/baselines/requirements.txt": {
|
| 59 |
+
"bytes": 485,
|
| 60 |
+
"sha256": "bb211f66038e53efd08ee3ec03e133d8bb206ec36cc608d349b4fad3a61e874b"
|
| 61 |
+
},
|
| 62 |
+
"training_records/code_78235367/evaluation/baselines/runtime.py": {
|
| 63 |
+
"bytes": 8550,
|
| 64 |
+
"sha256": "379a2b2c5221e337df62e2097616438ae83a65d8cbb89a0e433e15ecd7aec881"
|
| 65 |
+
},
|
| 66 |
+
"training_records/code_78235367/evaluation/baselines/train.py": {
|
| 67 |
+
"bytes": 31119,
|
| 68 |
+
"sha256": "b17dcd85ca3300b8707deb4ca31dc870245f2bdd26733f7e21c9c668c75b4b1b"
|
| 69 |
+
},
|
| 70 |
+
"training_records/code_78235367/evaluation/policy/FLASH/model.py": {
|
| 71 |
+
"bytes": 647,
|
| 72 |
+
"sha256": "823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159"
|
| 73 |
+
},
|
| 74 |
+
"training_records/code_commit.txt": {
|
| 75 |
+
"bytes": 41,
|
| 76 |
+
"sha256": "27d134217d9f9dd84cf9c8e0ff946a02d746e530410150b39712fbb308fa8b45"
|
| 77 |
+
},
|
| 78 |
+
"training_records/flash_pool_a800.sh": {
|
| 79 |
+
"bytes": 1949,
|
| 80 |
+
"sha256": "ba5dc6e619fced677b89ac5ebc4fea82dc3b9803c8835cf7b7154c98bc524e36"
|
| 81 |
+
},
|
| 82 |
+
"training_records/inloop-mse.jsonl": {
|
| 83 |
+
"bytes": 77781,
|
| 84 |
+
"sha256": "e9180083a557d5414e1c2c74117b3d07b245ba22a23f70687195279e6bd42ee1"
|
| 85 |
+
},
|
| 86 |
+
"training_records/pip_freeze_hb-baselines.txt": {
|
| 87 |
+
"bytes": 1185,
|
| 88 |
+
"sha256": "72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2"
|
| 89 |
+
},
|
| 90 |
+
"training_records/run.json": {
|
| 91 |
+
"bytes": 16928,
|
| 92 |
+
"sha256": "03f98eb59597a908841af3ce69f4d7189bbe5f3c316094e9ff7591174d0eab4e"
|
| 93 |
+
},
|
| 94 |
+
"training_records/train.log": {
|
| 95 |
+
"bytes": 67043,
|
| 96 |
+
"sha256": "dfbd18ac4fa1ceb90cbbc248307d79ce7106793c5dced284a94ed4bc4a9c205e"
|
| 97 |
+
},
|
| 98 |
+
"training_records/train_log.jsonl": {
|
| 99 |
+
"bytes": 60685,
|
| 100 |
+
"sha256": "de8f7c17534bc7eefdb389868671628bddfdde4862239fe9a9eefa609b99a0b9"
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"task_dir": "a29-drawer-close",
|
| 104 |
+
"training_data": "a29-drawer-close-black-marble-30hz-v1 @d03c19e6, all episodes (A800 FLASH pool 2026-11-25)",
|
| 105 |
+
"episodes": 100,
|
| 106 |
+
"frames": 30041,
|
| 107 |
+
"steps": 12000,
|
| 108 |
+
"global_batch": 512,
|
| 109 |
+
"per_gpu_batch": 512,
|
| 110 |
+
"num_gpus": 1,
|
| 111 |
+
"gradient_accumulation_steps": 1,
|
| 112 |
+
"save_steps": [
|
| 113 |
+
8000,
|
| 114 |
+
12000
|
| 115 |
+
],
|
| 116 |
+
"lr": 0.0001,
|
| 117 |
+
"lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
|
| 118 |
+
"ema": 0.9999,
|
| 119 |
+
"augmentation": "Humanoid Benchmark online augmentation spec v2 (hb-aug-v2-20261109): 15 visual effects, one per sample at 1.5x; proprio per-joint bias U(+-2 deg) + N(0, 0.25 deg); no delay, no history drop; model-native image augmentation off",
|
| 120 |
+
"state_dim": 44,
|
| 121 |
+
"action_dim": 76,
|
| 122 |
+
"cameras": [
|
| 123 |
+
"ego_view",
|
| 124 |
+
"chest"
|
| 125 |
+
],
|
| 126 |
+
"contract": "g1_sonic_dfx6",
|
| 127 |
+
"image_hw": [
|
| 128 |
+
168,
|
| 129 |
+
224
|
| 130 |
+
],
|
| 131 |
+
"task_text": "Walk to the cabinet beside the worktop and close its pulled-out top drawer. Approach with both hands open, raising the left hand on the way, stop square in front of the cabinet, lay the open hand on the drawer front and push it home in one motion, then take the hand away and stand. Keep the pushing hand visible in the head or torso camera.",
|
| 132 |
+
"inloop_mse": {
|
| 133 |
+
"task": "a29",
|
| 134 |
+
"split": "train10",
|
| 135 |
+
"every": 250,
|
| 136 |
+
"seed": 1234,
|
| 137 |
+
"weights": "ema",
|
| 138 |
+
"nmse_at_this_step": 0.3981,
|
| 139 |
+
"curve": {
|
| 140 |
+
"250": 1.2029,
|
| 141 |
+
"500": 1.0277,
|
| 142 |
+
"750": 0.7518,
|
| 143 |
+
"1000": 0.6012,
|
| 144 |
+
"1250": 0.5485,
|
| 145 |
+
"1500": 0.5226,
|
| 146 |
+
"1750": 0.5072,
|
| 147 |
+
"2000": 0.4975,
|
| 148 |
+
"2250": 0.4895,
|
| 149 |
+
"2500": 0.4828,
|
| 150 |
+
"2750": 0.4773,
|
| 151 |
+
"3000": 0.4723,
|
| 152 |
+
"3250": 0.4678,
|
| 153 |
+
"3500": 0.4634,
|
| 154 |
+
"3750": 0.4592,
|
| 155 |
+
"4000": 0.4554,
|
| 156 |
+
"4250": 0.4516,
|
| 157 |
+
"4500": 0.4477,
|
| 158 |
+
"4750": 0.4445,
|
| 159 |
+
"5000": 0.4411,
|
| 160 |
+
"5250": 0.438,
|
| 161 |
+
"5500": 0.4351,
|
| 162 |
+
"5750": 0.4325,
|
| 163 |
+
"6000": 0.4301,
|
| 164 |
+
"6250": 0.428,
|
| 165 |
+
"6500": 0.4259,
|
| 166 |
+
"6750": 0.424,
|
| 167 |
+
"7000": 0.4224,
|
| 168 |
+
"7250": 0.4207,
|
| 169 |
+
"7500": 0.419,
|
| 170 |
+
"7750": 0.4174,
|
| 171 |
+
"8000": 0.4158,
|
| 172 |
+
"8250": 0.4142,
|
| 173 |
+
"8500": 0.4128,
|
| 174 |
+
"8750": 0.4111,
|
| 175 |
+
"9000": 0.4095,
|
| 176 |
+
"9250": 0.4081,
|
| 177 |
+
"9500": 0.407,
|
| 178 |
+
"9750": 0.4059,
|
| 179 |
+
"10000": 0.4047,
|
| 180 |
+
"10250": 0.4036,
|
| 181 |
+
"10500": 0.4025,
|
| 182 |
+
"10750": 0.4015,
|
| 183 |
+
"11000": 0.4007,
|
| 184 |
+
"11250": 0.3999,
|
| 185 |
+
"11500": 0.3992,
|
| 186 |
+
"11750": 0.3986,
|
| 187 |
+
"12000": 0.3981
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"seed": 42,
|
| 191 |
+
"reproducibility": {
|
| 192 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 193 |
+
"protocol_commit": "6dfc6f98",
|
| 194 |
+
"training_seed": 42,
|
| 195 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 196 |
+
"training_seed_verified_from_run_files": true,
|
| 197 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 198 |
+
"inloop_mse_seed": 1234,
|
| 199 |
+
"layout": {
|
| 200 |
+
"nodes": 1,
|
| 201 |
+
"gpus_per_node": 1,
|
| 202 |
+
"per_gpu_batch": 512,
|
| 203 |
+
"global_batch": 512,
|
| 204 |
+
"gradient_accumulation": 1,
|
| 205 |
+
"num_workers": 40,
|
| 206 |
+
"prefetch": 2
|
| 207 |
+
},
|
| 208 |
+
"environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
|
| 209 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 210 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 211 |
+
"determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
|
| 212 |
+
"exceptions": []
|
| 213 |
+
},
|
| 214 |
+
"inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
|
| 215 |
+
"resume_state_included": false
|
| 216 |
+
}
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Humanoid Benchmark data augmentation v2 (project CLAUDE.md), model-agnostic torch implementation.
|
| 2 |
+
|
| 3 |
+
augment(x, rng, obs_mask=None) takes x: float [T, V, 3, H, W] in [0, 1] (T frames, V cameras) and returns the
|
| 4 |
+
augmented tensor. Each call is one training sample: one of the 15 effects is chosen uniformly and its magnitude
|
| 5 |
+
is scaled by 1.5 around identity; the rest stay at x1. Colour is shared across cameras and time; geometry, light
|
| 6 |
+
patches and white balance are drawn per camera and fixed over time; sensor/optics effects (noise, gaussian blur,
|
| 7 |
+
JPEG, motion blur, sharpen, defocus) apply only to observation frames (obs_mask True).
|
| 8 |
+
Pixel-size parameters are defined at 224 px and scaled by H / 224.
|
| 9 |
+
perturb_joints(q, rng) applies the proprio spec: per-joint bias +-2 deg plus N(0, 0.25 deg) clipped at 3 sigma.
|
| 10 |
+
"""
|
| 11 |
+
import io
|
| 12 |
+
import math
|
| 13 |
+
|
| 14 |
+
import numpy as np
|
| 15 |
+
import torch
|
| 16 |
+
import torch.nn.functional as F
|
| 17 |
+
from PIL import Image
|
| 18 |
+
from torchvision.transforms import InterpolationMode
|
| 19 |
+
from torchvision.transforms import functional as TF
|
| 20 |
+
|
| 21 |
+
EFFECTS = ("exposure", "contrast", "saturation", "hue", "gamma", "temperature", "rotation_crop", "noise",
|
| 22 |
+
"gaussian_blur", "jpeg", "motion_blur", "sharpen", "defocus", "light_shadow", "wb_channel")
|
| 23 |
+
CENTER = {"exposure": 0.0, "contrast": 1.0, "saturation": 1.0, "hue": 0.0, "gamma": 1.0, "temperature": 0.0}
|
| 24 |
+
RANGE = {"exposure": (-0.22, 0.22), "contrast": (0.88, 1.12), "saturation": (0.76, 1.24), "hue": (-0.015, 0.015),
|
| 25 |
+
"gamma": (0.89, 1.11), "temperature": (-0.066, 0.066)}
|
| 26 |
+
VERSION = "hb-aug-v2-20261109"
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def sample(rng, views, height):
|
| 30 |
+
boost = EFFECTS[int(rng.integers(len(EFFECTS)))]
|
| 31 |
+
|
| 32 |
+
def k(name):
|
| 33 |
+
return 1.5 if boost == name else 1.0
|
| 34 |
+
|
| 35 |
+
px = height / 224.0
|
| 36 |
+
p = {"boost": boost}
|
| 37 |
+
for name, (a, b) in RANGE.items():
|
| 38 |
+
c = CENTER[name]
|
| 39 |
+
p[name] = float(rng.uniform(c + k(name) * (a - c), c + k(name) * (b - c)))
|
| 40 |
+
p["geometry"] = []
|
| 41 |
+
for _ in range(views):
|
| 42 |
+
angle = float(rng.uniform(-1.5 * k("rotation_crop"), 1.5 * k("rotation_crop")))
|
| 43 |
+
p["geometry"].append((angle, 1.0 + abs(angle) * 0.015 + float(rng.uniform(0, 0.02 * k("rotation_crop")))))
|
| 44 |
+
p["noise"] = 4.0 / 255.0 * k("noise") if rng.random() < 0.5 else 0.0
|
| 45 |
+
p["gaussian_blur"] = float(rng.uniform(0.25, 0.65)) * k("gaussian_blur") if rng.random() < 0.15 else 0.0
|
| 46 |
+
if rng.random() < 0.35:
|
| 47 |
+
lo = int(round(100 - k("jpeg") * 30))
|
| 48 |
+
hi = int(round(100 - k("jpeg") * 5))
|
| 49 |
+
p["jpeg"] = int(rng.integers(lo, hi + 1))
|
| 50 |
+
else:
|
| 51 |
+
p["jpeg"] = None
|
| 52 |
+
p["motion_blur"] = ((float(rng.uniform(3, 7)) * k("motion_blur") * px, float(rng.uniform(0, 180)))
|
| 53 |
+
if rng.random() < 0.15 else None)
|
| 54 |
+
p["sharpen"] = float(rng.uniform(0.2, 0.6)) * k("sharpen") if rng.random() < 0.15 else 0.0
|
| 55 |
+
p["defocus"] = float(rng.uniform(1, 2)) * k("defocus") * px if rng.random() < 0.10 else 0.0
|
| 56 |
+
if rng.random() < 0.30:
|
| 57 |
+
g = 0.30 * k("light_shadow")
|
| 58 |
+
p["light_shadow"] = [[(float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.1, 0.9)),
|
| 59 |
+
float(rng.uniform(0.15, 0.35)), float(rng.uniform(1 - g, 1 + g)))
|
| 60 |
+
for _ in range(int(rng.integers(1, 3)))] for _ in range(views)]
|
| 61 |
+
else:
|
| 62 |
+
p["light_shadow"] = None
|
| 63 |
+
if rng.random() < 0.30:
|
| 64 |
+
g = 0.10 * k("wb_channel")
|
| 65 |
+
gains = []
|
| 66 |
+
for _ in range(views):
|
| 67 |
+
row = [1.0, 1.0, 1.0]
|
| 68 |
+
row[int(rng.integers(0, 3))] = float(rng.uniform(1 - g, 1 + g))
|
| 69 |
+
gains.append(row)
|
| 70 |
+
p["wb_channel"] = gains
|
| 71 |
+
else:
|
| 72 |
+
p["wb_channel"] = None
|
| 73 |
+
return p
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
def _conv(x, kernel):
|
| 77 |
+
n, c, h, w = x.shape
|
| 78 |
+
k = kernel.to(x)[None, None].repeat(c, 1, 1, 1)
|
| 79 |
+
pad = kernel.shape[-1] // 2
|
| 80 |
+
return F.conv2d(F.pad(x, (pad, pad, pad, pad), mode="reflect"), k, groups=c)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def motion_kernel(length, angle_deg):
|
| 84 |
+
size = max(3, int(round(length)) | 1)
|
| 85 |
+
k = torch.zeros(size, size)
|
| 86 |
+
c = size // 2
|
| 87 |
+
th = math.radians(angle_deg)
|
| 88 |
+
for s in np.linspace(-(length - 1) / 2, (length - 1) / 2, 8 * size):
|
| 89 |
+
k[int(round(c - s * math.sin(th))), int(round(c + s * math.cos(th)))] = 1.0
|
| 90 |
+
return k / k.sum()
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def disk_kernel(r):
|
| 94 |
+
size = 2 * int(math.ceil(r)) + 1
|
| 95 |
+
c = size // 2
|
| 96 |
+
yy, xx = torch.meshgrid(torch.arange(size), torch.arange(size), indexing="ij")
|
| 97 |
+
k = (((yy - c) ** 2 + (xx - c) ** 2) <= (r + 0.5) ** 2).float()
|
| 98 |
+
return k / k.sum()
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
def apply(x, p, obs_mask=None, noise_seed=0):
|
| 102 |
+
t, v, c, h, w = x.shape
|
| 103 |
+
x = x.clone().clamp(0, 1)
|
| 104 |
+
for vi, (angle, scale) in enumerate(p["geometry"]):
|
| 105 |
+
x[:, vi] = TF.affine(x[:, vi], angle=angle, translate=[0, 0], scale=scale, shear=[0, 0],
|
| 106 |
+
interpolation=InterpolationMode.BILINEAR)
|
| 107 |
+
if p["light_shadow"] is not None:
|
| 108 |
+
yy, xx = torch.meshgrid(torch.linspace(0, 1, h), torch.linspace(0, 1, w), indexing="ij")
|
| 109 |
+
for vi, blobs in enumerate(p["light_shadow"]):
|
| 110 |
+
m = torch.ones(h, w)
|
| 111 |
+
for cx, cy, s, g in blobs:
|
| 112 |
+
m = m + (g - 1.0) * torch.exp(-((xx - cx) ** 2 + (yy - cy) ** 2) / (2 * s * s))
|
| 113 |
+
x[:, vi] = (x[:, vi] * m.clamp(min=0).to(x)).clamp(0, 1)
|
| 114 |
+
if p["wb_channel"] is not None:
|
| 115 |
+
for vi, g in enumerate(p["wb_channel"]):
|
| 116 |
+
x[:, vi] = (x[:, vi] * torch.tensor(g, dtype=x.dtype).view(1, 3, 1, 1)).clamp(0, 1)
|
| 117 |
+
y = x.reshape(t * v, c, h, w)
|
| 118 |
+
y = (y * float(2.0 ** p["exposure"])).clamp(0, 1)
|
| 119 |
+
d = p["temperature"]
|
| 120 |
+
y = (y * y.new_tensor([1.0 + d, 1.0, 1.0 - d]).view(1, 3, 1, 1)).clamp(0, 1)
|
| 121 |
+
y = ((y - 0.5) * p["contrast"] + 0.5).clamp(0, 1)
|
| 122 |
+
y = TF.adjust_saturation(y, p["saturation"])
|
| 123 |
+
y = TF.adjust_hue(y, p["hue"])
|
| 124 |
+
y = y.clamp(0, 1).pow(p["gamma"])
|
| 125 |
+
x = y.reshape(t, v, c, h, w)
|
| 126 |
+
mask = torch.ones(t, dtype=torch.bool) if obs_mask is None else torch.as_tensor(obs_mask, dtype=torch.bool)
|
| 127 |
+
if bool(mask.any()):
|
| 128 |
+
o = x[mask].reshape(-1, c, h, w)
|
| 129 |
+
if p["gaussian_blur"] > 0:
|
| 130 |
+
o = TF.gaussian_blur(o, [3, 3], [p["gaussian_blur"]] * 2)
|
| 131 |
+
if p["motion_blur"] is not None:
|
| 132 |
+
o = _conv(o, motion_kernel(*p["motion_blur"]))
|
| 133 |
+
if p["defocus"] > 0:
|
| 134 |
+
o = _conv(o, disk_kernel(p["defocus"]))
|
| 135 |
+
if p["sharpen"] > 0:
|
| 136 |
+
o = o + p["sharpen"] * (o - TF.gaussian_blur(o, [5, 5], [1.0, 1.0]))
|
| 137 |
+
o = o.clamp(0, 1)
|
| 138 |
+
if p["noise"] > 0:
|
| 139 |
+
gen = torch.Generator().manual_seed(int(noise_seed))
|
| 140 |
+
o = (o + torch.randn(o.shape, generator=gen, dtype=o.dtype) * p["noise"]).clamp(0, 1)
|
| 141 |
+
if p["jpeg"] is not None:
|
| 142 |
+
for i in range(o.shape[0]):
|
| 143 |
+
buf = io.BytesIO()
|
| 144 |
+
TF.to_pil_image(o[i]).save(buf, format="JPEG", quality=int(p["jpeg"]))
|
| 145 |
+
buf.seek(0)
|
| 146 |
+
with Image.open(buf) as im:
|
| 147 |
+
o[i] = TF.pil_to_tensor(im.convert("RGB")).to(o.dtype).div(255.0)
|
| 148 |
+
x[mask] = o.reshape(-1, v, c, h, w)
|
| 149 |
+
return x.clamp(0, 1)
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
def augment(x, rng, obs_mask=None):
|
| 153 |
+
p = sample(rng, x.shape[1], x.shape[-2])
|
| 154 |
+
return apply(x, p, obs_mask, noise_seed=int(rng.integers(0, 2 ** 62))), p
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
def perturb_joints(q, rng):
|
| 158 |
+
q = np.asarray(q, dtype=np.float64)
|
| 159 |
+
d = q.shape[-1]
|
| 160 |
+
bias = rng.uniform(-math.radians(2.0), math.radians(2.0), size=d)
|
| 161 |
+
sigma = math.radians(0.25)
|
| 162 |
+
noise = np.clip(rng.normal(0.0, sigma, size=q.shape), -3 * sigma, 3 * sigma)
|
| 163 |
+
return (q + bias + noise).astype(np.float32)
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FM-DiT, DP (Diffusion Policy, DDPM-DiT), ACT and FLASH visuomotor baselines of the Humanoid Benchmark.
|
| 2 |
+
|
| 3 |
+
The first three ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/{fm_dit,
|
| 4 |
+
ddpm_dit,act}.py` and their networks), FLASH from NTUMARS/FLASH-Policy @ f47e490 (`flash.py`), torch only.
|
| 5 |
+
`train.py` trains one on a task's LeRobot v2.1 expert dataset through a robot contract
|
| 6 |
+
(`data.CONTRACTS`: G1 state44/action76 or H2 state78/action75); `runtime.BaselinePolicy` serves a checkpoint to the
|
| 7 |
+
G1 evaluation adapters (`evaluation/policy/{FMDiT,DP,ACT,FLASH}/model.py`, via `adapters.py`) and to the H2 adapter
|
| 8 |
+
(`debug/newton/h2_policy_adapters/baseline.py`). Usage and the environment: evaluation/README.md#baselines.
|
| 9 |
+
"""
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py
ADDED
|
@@ -0,0 +1,615 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""ACT (Zhao et al. 2023, "Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware") network core: the
|
| 2 |
+
ResNet backbone with frozen BatchNorm and sine position embedding, the DETR encoder-decoder transformer and the CVAE
|
| 3 |
+
action-chunk decoder.
|
| 4 |
+
|
| 5 |
+
Ported unchanged from DextraVerse (`dextraverse/algorithms/il/models/nets/act/`), which vendors the ACT repository's
|
| 6 |
+
`detr/models/{backbone,position_encoding,transformer,detr_vae}.py` (Apache-2.0, (c) Facebook, Inc. and its
|
| 7 |
+
affiliates; see THIRD_PARTY_NOTICES.md) with the NestedTensor/argparse plumbing removed, explicit `qpos_dim` /
|
| 8 |
+
`action_dim` instead of the ALOHA 14-DoF constants, and one backbone shared by every camera (upstream behaviour).
|
| 9 |
+
The policy uses `return_intermediate_dec=False`: `Transformer.forward(...)[0]` is the final decoder layer.
|
| 10 |
+
"""
|
| 11 |
+
from __future__ import annotations
|
| 12 |
+
|
| 13 |
+
import copy
|
| 14 |
+
import math
|
| 15 |
+
from typing import Optional
|
| 16 |
+
|
| 17 |
+
import numpy as np
|
| 18 |
+
import torch
|
| 19 |
+
import torch.nn.functional as F
|
| 20 |
+
import torchvision
|
| 21 |
+
from torch import Tensor, nn
|
| 22 |
+
from torchvision.models._utils import IntermediateLayerGetter
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
class PositionEmbeddingSine(nn.Module):
|
| 26 |
+
"""Standard DETR sine embedding over a ``(B, C, H, W)`` feature map."""
|
| 27 |
+
|
| 28 |
+
def __init__(
|
| 29 |
+
self, num_pos_feats: int = 64, temperature: int = 10000, normalize: bool = False
|
| 30 |
+
) -> None:
|
| 31 |
+
super().__init__()
|
| 32 |
+
self.num_pos_feats = num_pos_feats
|
| 33 |
+
self.temperature = temperature
|
| 34 |
+
self.normalize = normalize
|
| 35 |
+
self.scale = 2 * math.pi
|
| 36 |
+
|
| 37 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 38 |
+
not_mask = torch.ones((1, x.shape[-2], x.shape[-1]), device=x.device)
|
| 39 |
+
y_embed = not_mask.cumsum(1, dtype=torch.float32)
|
| 40 |
+
x_embed = not_mask.cumsum(2, dtype=torch.float32)
|
| 41 |
+
if self.normalize:
|
| 42 |
+
eps = 1e-6
|
| 43 |
+
y_embed = y_embed / (y_embed[:, -1:, :] + eps) * self.scale
|
| 44 |
+
x_embed = x_embed / (x_embed[:, :, -1:] + eps) * self.scale
|
| 45 |
+
|
| 46 |
+
dim_t = torch.arange(self.num_pos_feats, dtype=torch.float32, device=x.device)
|
| 47 |
+
dim_t = self.temperature ** (2 * (dim_t // 2) / self.num_pos_feats)
|
| 48 |
+
|
| 49 |
+
pos_x = x_embed[:, :, :, None] / dim_t
|
| 50 |
+
pos_y = y_embed[:, :, :, None] / dim_t
|
| 51 |
+
pos_x = torch.stack(
|
| 52 |
+
(pos_x[:, :, :, 0::2].sin(), pos_x[:, :, :, 1::2].cos()), dim=4
|
| 53 |
+
).flatten(3)
|
| 54 |
+
pos_y = torch.stack(
|
| 55 |
+
(pos_y[:, :, :, 0::2].sin(), pos_y[:, :, :, 1::2].cos()), dim=4
|
| 56 |
+
).flatten(3)
|
| 57 |
+
return torch.cat((pos_y, pos_x), dim=3).permute(0, 3, 1, 2)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
class FrozenBatchNorm2d(nn.Module):
|
| 61 |
+
"""BatchNorm2d with fixed statistics and affine parameters (the DETR/ACT backbone norm)."""
|
| 62 |
+
|
| 63 |
+
def __init__(self, n: int) -> None:
|
| 64 |
+
super().__init__()
|
| 65 |
+
self.register_buffer("weight", torch.ones(n))
|
| 66 |
+
self.register_buffer("bias", torch.zeros(n))
|
| 67 |
+
self.register_buffer("running_mean", torch.zeros(n))
|
| 68 |
+
self.register_buffer("running_var", torch.ones(n))
|
| 69 |
+
|
| 70 |
+
def _load_from_state_dict(self, state_dict, prefix, local_metadata, strict, *args):
|
| 71 |
+
state_dict.pop(prefix + "num_batches_tracked", None)
|
| 72 |
+
super()._load_from_state_dict(state_dict, prefix, local_metadata, strict, *args)
|
| 73 |
+
|
| 74 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 75 |
+
w = self.weight.reshape(1, -1, 1, 1)
|
| 76 |
+
b = self.bias.reshape(1, -1, 1, 1)
|
| 77 |
+
rv = self.running_var.reshape(1, -1, 1, 1)
|
| 78 |
+
rm = self.running_mean.reshape(1, -1, 1, 1)
|
| 79 |
+
scale = w * (rv + 1e-5).rsqrt()
|
| 80 |
+
return x * scale + (b - rm * scale)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
class Backbone(nn.Module):
|
| 84 |
+
"""ResNet trunk returning the layer4 feature map."""
|
| 85 |
+
|
| 86 |
+
def __init__(self, name: str = "resnet18", weights: str | None = None) -> None:
|
| 87 |
+
super().__init__()
|
| 88 |
+
trunk = getattr(torchvision.models, name)(
|
| 89 |
+
replace_stride_with_dilation=[False, False, False],
|
| 90 |
+
weights=weights,
|
| 91 |
+
norm_layer=FrozenBatchNorm2d,
|
| 92 |
+
)
|
| 93 |
+
self.body = IntermediateLayerGetter(trunk, return_layers={"layer4": "0"})
|
| 94 |
+
self.num_channels = 512 if name in ("resnet18", "resnet34") else 2048
|
| 95 |
+
|
| 96 |
+
def forward(self, x: torch.Tensor) -> dict[str, torch.Tensor]:
|
| 97 |
+
return self.body(x)
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
class Joiner(nn.Sequential):
|
| 101 |
+
"""Backbone + position embedding, returning matched feature/position lists."""
|
| 102 |
+
|
| 103 |
+
def __init__(self, backbone: Backbone, position_embedding: PositionEmbeddingSine) -> None:
|
| 104 |
+
super().__init__(backbone, position_embedding)
|
| 105 |
+
self.num_channels = backbone.num_channels
|
| 106 |
+
|
| 107 |
+
def forward(self, x: torch.Tensor) -> tuple[list[torch.Tensor], list[torch.Tensor]]:
|
| 108 |
+
features = list(self[0](x).values())
|
| 109 |
+
pos = [self[1](f).to(f.dtype) for f in features]
|
| 110 |
+
return features, pos
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
def build_backbone(
|
| 114 |
+
name: str = "resnet18", hidden_dim: int = 512, weights: str | None = None
|
| 115 |
+
) -> Joiner:
|
| 116 |
+
"""The ACT camera backbone: ResNet + sine embedding sized to the transformer width."""
|
| 117 |
+
return Joiner(Backbone(name, weights=weights), PositionEmbeddingSine(hidden_dim // 2))
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
class Transformer(nn.Module):
|
| 121 |
+
def __init__(
|
| 122 |
+
self,
|
| 123 |
+
d_model=512,
|
| 124 |
+
nhead=8,
|
| 125 |
+
num_encoder_layers=6,
|
| 126 |
+
num_decoder_layers=6,
|
| 127 |
+
dim_feedforward=2048,
|
| 128 |
+
dropout=0.1,
|
| 129 |
+
activation="relu",
|
| 130 |
+
normalize_before=False,
|
| 131 |
+
return_intermediate_dec=False,
|
| 132 |
+
):
|
| 133 |
+
super().__init__()
|
| 134 |
+
|
| 135 |
+
encoder_layer = TransformerEncoderLayer(
|
| 136 |
+
d_model, nhead, dim_feedforward, dropout, activation, normalize_before
|
| 137 |
+
)
|
| 138 |
+
encoder_norm = nn.LayerNorm(d_model) if normalize_before else None
|
| 139 |
+
self.encoder = TransformerEncoder(encoder_layer, num_encoder_layers, encoder_norm)
|
| 140 |
+
|
| 141 |
+
decoder_layer = TransformerDecoderLayer(
|
| 142 |
+
d_model, nhead, dim_feedforward, dropout, activation, normalize_before
|
| 143 |
+
)
|
| 144 |
+
decoder_norm = nn.LayerNorm(d_model)
|
| 145 |
+
self.decoder = TransformerDecoder(
|
| 146 |
+
decoder_layer,
|
| 147 |
+
num_decoder_layers,
|
| 148 |
+
decoder_norm,
|
| 149 |
+
return_intermediate=return_intermediate_dec,
|
| 150 |
+
)
|
| 151 |
+
|
| 152 |
+
self._reset_parameters()
|
| 153 |
+
|
| 154 |
+
self.d_model = d_model
|
| 155 |
+
self.nhead = nhead
|
| 156 |
+
|
| 157 |
+
def _reset_parameters(self):
|
| 158 |
+
for p in self.parameters():
|
| 159 |
+
if p.dim() > 1:
|
| 160 |
+
nn.init.xavier_uniform_(p)
|
| 161 |
+
|
| 162 |
+
def forward(
|
| 163 |
+
self,
|
| 164 |
+
src,
|
| 165 |
+
mask,
|
| 166 |
+
query_embed,
|
| 167 |
+
pos_embed,
|
| 168 |
+
latent_input=None,
|
| 169 |
+
proprio_input=None,
|
| 170 |
+
additional_pos_embed=None,
|
| 171 |
+
):
|
| 172 |
+
# TODO flatten only when input has H and W
|
| 173 |
+
if len(src.shape) == 4: # has H and W
|
| 174 |
+
# flatten NxCxHxW to HWxNxC
|
| 175 |
+
bs, c, h, w = src.shape
|
| 176 |
+
src = src.flatten(2).permute(2, 0, 1)
|
| 177 |
+
pos_embed = pos_embed.flatten(2).permute(2, 0, 1).repeat(1, bs, 1)
|
| 178 |
+
query_embed = query_embed.unsqueeze(1).repeat(1, bs, 1)
|
| 179 |
+
# mask = mask.flatten(1)
|
| 180 |
+
|
| 181 |
+
additional_pos_embed = additional_pos_embed.unsqueeze(1).repeat(
|
| 182 |
+
1, bs, 1
|
| 183 |
+
) # seq, bs, dim
|
| 184 |
+
pos_embed = torch.cat([additional_pos_embed, pos_embed], axis=0)
|
| 185 |
+
|
| 186 |
+
addition_input = torch.stack([latent_input, proprio_input], axis=0)
|
| 187 |
+
src = torch.cat([addition_input, src], axis=0)
|
| 188 |
+
else:
|
| 189 |
+
assert len(src.shape) == 3
|
| 190 |
+
# flatten NxHWxC to HWxNxC
|
| 191 |
+
bs, hw, c = src.shape
|
| 192 |
+
src = src.permute(1, 0, 2)
|
| 193 |
+
pos_embed = pos_embed.unsqueeze(1).repeat(1, bs, 1)
|
| 194 |
+
query_embed = query_embed.unsqueeze(1).repeat(1, bs, 1)
|
| 195 |
+
|
| 196 |
+
tgt = torch.zeros_like(query_embed)
|
| 197 |
+
memory = self.encoder(src, src_key_padding_mask=mask, pos=pos_embed)
|
| 198 |
+
hs = self.decoder(
|
| 199 |
+
tgt, memory, memory_key_padding_mask=mask, pos=pos_embed, query_pos=query_embed
|
| 200 |
+
)
|
| 201 |
+
hs = hs.transpose(1, 2)
|
| 202 |
+
return hs
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
class TransformerEncoder(nn.Module):
|
| 206 |
+
def __init__(self, encoder_layer, num_layers, norm=None):
|
| 207 |
+
super().__init__()
|
| 208 |
+
self.layers = _get_clones(encoder_layer, num_layers)
|
| 209 |
+
self.num_layers = num_layers
|
| 210 |
+
self.norm = norm
|
| 211 |
+
|
| 212 |
+
def forward(
|
| 213 |
+
self,
|
| 214 |
+
src,
|
| 215 |
+
mask: Optional[Tensor] = None,
|
| 216 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 217 |
+
pos: Optional[Tensor] = None,
|
| 218 |
+
):
|
| 219 |
+
output = src
|
| 220 |
+
|
| 221 |
+
for layer in self.layers:
|
| 222 |
+
output = layer(
|
| 223 |
+
output, src_mask=mask, src_key_padding_mask=src_key_padding_mask, pos=pos
|
| 224 |
+
)
|
| 225 |
+
|
| 226 |
+
if self.norm is not None:
|
| 227 |
+
output = self.norm(output)
|
| 228 |
+
|
| 229 |
+
return output
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
class TransformerDecoder(nn.Module):
|
| 233 |
+
def __init__(self, decoder_layer, num_layers, norm=None, return_intermediate=False):
|
| 234 |
+
super().__init__()
|
| 235 |
+
self.layers = _get_clones(decoder_layer, num_layers)
|
| 236 |
+
self.num_layers = num_layers
|
| 237 |
+
self.norm = norm
|
| 238 |
+
self.return_intermediate = return_intermediate
|
| 239 |
+
|
| 240 |
+
def forward(
|
| 241 |
+
self,
|
| 242 |
+
tgt,
|
| 243 |
+
memory,
|
| 244 |
+
tgt_mask: Optional[Tensor] = None,
|
| 245 |
+
memory_mask: Optional[Tensor] = None,
|
| 246 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 247 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 248 |
+
pos: Optional[Tensor] = None,
|
| 249 |
+
query_pos: Optional[Tensor] = None,
|
| 250 |
+
):
|
| 251 |
+
output = tgt
|
| 252 |
+
|
| 253 |
+
intermediate = []
|
| 254 |
+
|
| 255 |
+
for layer in self.layers:
|
| 256 |
+
output = layer(
|
| 257 |
+
output,
|
| 258 |
+
memory,
|
| 259 |
+
tgt_mask=tgt_mask,
|
| 260 |
+
memory_mask=memory_mask,
|
| 261 |
+
tgt_key_padding_mask=tgt_key_padding_mask,
|
| 262 |
+
memory_key_padding_mask=memory_key_padding_mask,
|
| 263 |
+
pos=pos,
|
| 264 |
+
query_pos=query_pos,
|
| 265 |
+
)
|
| 266 |
+
if self.return_intermediate:
|
| 267 |
+
intermediate.append(self.norm(output))
|
| 268 |
+
|
| 269 |
+
if self.norm is not None:
|
| 270 |
+
output = self.norm(output)
|
| 271 |
+
if self.return_intermediate:
|
| 272 |
+
intermediate.pop()
|
| 273 |
+
intermediate.append(output)
|
| 274 |
+
|
| 275 |
+
if self.return_intermediate:
|
| 276 |
+
return torch.stack(intermediate)
|
| 277 |
+
|
| 278 |
+
return output.unsqueeze(0)
|
| 279 |
+
|
| 280 |
+
|
| 281 |
+
class TransformerEncoderLayer(nn.Module):
|
| 282 |
+
def __init__(
|
| 283 |
+
self,
|
| 284 |
+
d_model,
|
| 285 |
+
nhead,
|
| 286 |
+
dim_feedforward=2048,
|
| 287 |
+
dropout=0.1,
|
| 288 |
+
activation="relu",
|
| 289 |
+
normalize_before=False,
|
| 290 |
+
):
|
| 291 |
+
super().__init__()
|
| 292 |
+
self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
|
| 293 |
+
# Implementation of Feedforward model
|
| 294 |
+
self.linear1 = nn.Linear(d_model, dim_feedforward)
|
| 295 |
+
self.dropout = nn.Dropout(dropout)
|
| 296 |
+
self.linear2 = nn.Linear(dim_feedforward, d_model)
|
| 297 |
+
|
| 298 |
+
self.norm1 = nn.LayerNorm(d_model)
|
| 299 |
+
self.norm2 = nn.LayerNorm(d_model)
|
| 300 |
+
self.dropout1 = nn.Dropout(dropout)
|
| 301 |
+
self.dropout2 = nn.Dropout(dropout)
|
| 302 |
+
|
| 303 |
+
self.activation = _get_activation_fn(activation)
|
| 304 |
+
self.normalize_before = normalize_before
|
| 305 |
+
|
| 306 |
+
def with_pos_embed(self, tensor, pos: Optional[Tensor]):
|
| 307 |
+
return tensor if pos is None else tensor + pos
|
| 308 |
+
|
| 309 |
+
def forward_post(
|
| 310 |
+
self,
|
| 311 |
+
src,
|
| 312 |
+
src_mask: Optional[Tensor] = None,
|
| 313 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 314 |
+
pos: Optional[Tensor] = None,
|
| 315 |
+
):
|
| 316 |
+
q = k = self.with_pos_embed(src, pos)
|
| 317 |
+
src2 = self.self_attn(
|
| 318 |
+
q, k, value=src, attn_mask=src_mask, key_padding_mask=src_key_padding_mask
|
| 319 |
+
)[0]
|
| 320 |
+
src = src + self.dropout1(src2)
|
| 321 |
+
src = self.norm1(src)
|
| 322 |
+
src2 = self.linear2(self.dropout(self.activation(self.linear1(src))))
|
| 323 |
+
src = src + self.dropout2(src2)
|
| 324 |
+
src = self.norm2(src)
|
| 325 |
+
return src
|
| 326 |
+
|
| 327 |
+
def forward_pre(
|
| 328 |
+
self,
|
| 329 |
+
src,
|
| 330 |
+
src_mask: Optional[Tensor] = None,
|
| 331 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 332 |
+
pos: Optional[Tensor] = None,
|
| 333 |
+
):
|
| 334 |
+
src2 = self.norm1(src)
|
| 335 |
+
q = k = self.with_pos_embed(src2, pos)
|
| 336 |
+
src2 = self.self_attn(
|
| 337 |
+
q, k, value=src2, attn_mask=src_mask, key_padding_mask=src_key_padding_mask
|
| 338 |
+
)[0]
|
| 339 |
+
src = src + self.dropout1(src2)
|
| 340 |
+
src2 = self.norm2(src)
|
| 341 |
+
src2 = self.linear2(self.dropout(self.activation(self.linear1(src2))))
|
| 342 |
+
src = src + self.dropout2(src2)
|
| 343 |
+
return src
|
| 344 |
+
|
| 345 |
+
def forward(
|
| 346 |
+
self,
|
| 347 |
+
src,
|
| 348 |
+
src_mask: Optional[Tensor] = None,
|
| 349 |
+
src_key_padding_mask: Optional[Tensor] = None,
|
| 350 |
+
pos: Optional[Tensor] = None,
|
| 351 |
+
):
|
| 352 |
+
if self.normalize_before:
|
| 353 |
+
return self.forward_pre(src, src_mask, src_key_padding_mask, pos)
|
| 354 |
+
return self.forward_post(src, src_mask, src_key_padding_mask, pos)
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
class TransformerDecoderLayer(nn.Module):
|
| 358 |
+
def __init__(
|
| 359 |
+
self,
|
| 360 |
+
d_model,
|
| 361 |
+
nhead,
|
| 362 |
+
dim_feedforward=2048,
|
| 363 |
+
dropout=0.1,
|
| 364 |
+
activation="relu",
|
| 365 |
+
normalize_before=False,
|
| 366 |
+
):
|
| 367 |
+
super().__init__()
|
| 368 |
+
self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
|
| 369 |
+
self.multihead_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
|
| 370 |
+
# Implementation of Feedforward model
|
| 371 |
+
self.linear1 = nn.Linear(d_model, dim_feedforward)
|
| 372 |
+
self.dropout = nn.Dropout(dropout)
|
| 373 |
+
self.linear2 = nn.Linear(dim_feedforward, d_model)
|
| 374 |
+
|
| 375 |
+
self.norm1 = nn.LayerNorm(d_model)
|
| 376 |
+
self.norm2 = nn.LayerNorm(d_model)
|
| 377 |
+
self.norm3 = nn.LayerNorm(d_model)
|
| 378 |
+
self.dropout1 = nn.Dropout(dropout)
|
| 379 |
+
self.dropout2 = nn.Dropout(dropout)
|
| 380 |
+
self.dropout3 = nn.Dropout(dropout)
|
| 381 |
+
|
| 382 |
+
self.activation = _get_activation_fn(activation)
|
| 383 |
+
self.normalize_before = normalize_before
|
| 384 |
+
|
| 385 |
+
def with_pos_embed(self, tensor, pos: Optional[Tensor]):
|
| 386 |
+
return tensor if pos is None else tensor + pos
|
| 387 |
+
|
| 388 |
+
def forward_post(
|
| 389 |
+
self,
|
| 390 |
+
tgt,
|
| 391 |
+
memory,
|
| 392 |
+
tgt_mask: Optional[Tensor] = None,
|
| 393 |
+
memory_mask: Optional[Tensor] = None,
|
| 394 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 395 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 396 |
+
pos: Optional[Tensor] = None,
|
| 397 |
+
query_pos: Optional[Tensor] = None,
|
| 398 |
+
):
|
| 399 |
+
q = k = self.with_pos_embed(tgt, query_pos)
|
| 400 |
+
tgt2 = self.self_attn(
|
| 401 |
+
q, k, value=tgt, attn_mask=tgt_mask, key_padding_mask=tgt_key_padding_mask
|
| 402 |
+
)[0]
|
| 403 |
+
tgt = tgt + self.dropout1(tgt2)
|
| 404 |
+
tgt = self.norm1(tgt)
|
| 405 |
+
tgt2 = self.multihead_attn(
|
| 406 |
+
query=self.with_pos_embed(tgt, query_pos),
|
| 407 |
+
key=self.with_pos_embed(memory, pos),
|
| 408 |
+
value=memory,
|
| 409 |
+
attn_mask=memory_mask,
|
| 410 |
+
key_padding_mask=memory_key_padding_mask,
|
| 411 |
+
)[0]
|
| 412 |
+
tgt = tgt + self.dropout2(tgt2)
|
| 413 |
+
tgt = self.norm2(tgt)
|
| 414 |
+
tgt2 = self.linear2(self.dropout(self.activation(self.linear1(tgt))))
|
| 415 |
+
tgt = tgt + self.dropout3(tgt2)
|
| 416 |
+
tgt = self.norm3(tgt)
|
| 417 |
+
return tgt
|
| 418 |
+
|
| 419 |
+
def forward_pre(
|
| 420 |
+
self,
|
| 421 |
+
tgt,
|
| 422 |
+
memory,
|
| 423 |
+
tgt_mask: Optional[Tensor] = None,
|
| 424 |
+
memory_mask: Optional[Tensor] = None,
|
| 425 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 426 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 427 |
+
pos: Optional[Tensor] = None,
|
| 428 |
+
query_pos: Optional[Tensor] = None,
|
| 429 |
+
):
|
| 430 |
+
tgt2 = self.norm1(tgt)
|
| 431 |
+
q = k = self.with_pos_embed(tgt2, query_pos)
|
| 432 |
+
tgt2 = self.self_attn(
|
| 433 |
+
q, k, value=tgt2, attn_mask=tgt_mask, key_padding_mask=tgt_key_padding_mask
|
| 434 |
+
)[0]
|
| 435 |
+
tgt = tgt + self.dropout1(tgt2)
|
| 436 |
+
tgt2 = self.norm2(tgt)
|
| 437 |
+
tgt2 = self.multihead_attn(
|
| 438 |
+
query=self.with_pos_embed(tgt2, query_pos),
|
| 439 |
+
key=self.with_pos_embed(memory, pos),
|
| 440 |
+
value=memory,
|
| 441 |
+
attn_mask=memory_mask,
|
| 442 |
+
key_padding_mask=memory_key_padding_mask,
|
| 443 |
+
)[0]
|
| 444 |
+
tgt = tgt + self.dropout2(tgt2)
|
| 445 |
+
tgt2 = self.norm3(tgt)
|
| 446 |
+
tgt2 = self.linear2(self.dropout(self.activation(self.linear1(tgt2))))
|
| 447 |
+
tgt = tgt + self.dropout3(tgt2)
|
| 448 |
+
return tgt
|
| 449 |
+
|
| 450 |
+
def forward(
|
| 451 |
+
self,
|
| 452 |
+
tgt,
|
| 453 |
+
memory,
|
| 454 |
+
tgt_mask: Optional[Tensor] = None,
|
| 455 |
+
memory_mask: Optional[Tensor] = None,
|
| 456 |
+
tgt_key_padding_mask: Optional[Tensor] = None,
|
| 457 |
+
memory_key_padding_mask: Optional[Tensor] = None,
|
| 458 |
+
pos: Optional[Tensor] = None,
|
| 459 |
+
query_pos: Optional[Tensor] = None,
|
| 460 |
+
):
|
| 461 |
+
if self.normalize_before:
|
| 462 |
+
return self.forward_pre(
|
| 463 |
+
tgt,
|
| 464 |
+
memory,
|
| 465 |
+
tgt_mask,
|
| 466 |
+
memory_mask,
|
| 467 |
+
tgt_key_padding_mask,
|
| 468 |
+
memory_key_padding_mask,
|
| 469 |
+
pos,
|
| 470 |
+
query_pos,
|
| 471 |
+
)
|
| 472 |
+
return self.forward_post(
|
| 473 |
+
tgt,
|
| 474 |
+
memory,
|
| 475 |
+
tgt_mask,
|
| 476 |
+
memory_mask,
|
| 477 |
+
tgt_key_padding_mask,
|
| 478 |
+
memory_key_padding_mask,
|
| 479 |
+
pos,
|
| 480 |
+
query_pos,
|
| 481 |
+
)
|
| 482 |
+
|
| 483 |
+
|
| 484 |
+
def _get_clones(module, N):
|
| 485 |
+
return nn.ModuleList([copy.deepcopy(module) for i in range(N)])
|
| 486 |
+
|
| 487 |
+
|
| 488 |
+
def _get_activation_fn(activation):
|
| 489 |
+
"""Return an activation function given a string."""
|
| 490 |
+
if activation == "relu":
|
| 491 |
+
return F.relu
|
| 492 |
+
if activation == "gelu":
|
| 493 |
+
return F.gelu
|
| 494 |
+
raise RuntimeError(f"activation should be relu/gelu, not {activation}.")
|
| 495 |
+
|
| 496 |
+
|
| 497 |
+
|
| 498 |
+
def reparametrize(mu: torch.Tensor, logvar: torch.Tensor) -> torch.Tensor:
|
| 499 |
+
std = logvar.div(2).exp()
|
| 500 |
+
return mu + std * torch.randn_like(std)
|
| 501 |
+
|
| 502 |
+
|
| 503 |
+
def get_sinusoid_encoding_table(n_position: int, d_hid: int) -> torch.Tensor:
|
| 504 |
+
def angle_vec(position: int) -> list[float]:
|
| 505 |
+
return [position / np.power(10000, 2 * (j // 2) / d_hid) for j in range(d_hid)]
|
| 506 |
+
|
| 507 |
+
table = np.array([angle_vec(i) for i in range(n_position)])
|
| 508 |
+
table[:, 0::2] = np.sin(table[:, 0::2])
|
| 509 |
+
table[:, 1::2] = np.cos(table[:, 1::2])
|
| 510 |
+
return torch.FloatTensor(table).unsqueeze(0)
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def build_style_encoder(
|
| 514 |
+
hidden_dim: int, nheads: int, dim_feedforward: int, enc_layers: int, dropout: float
|
| 515 |
+
) -> TransformerEncoder:
|
| 516 |
+
"""The CVAE style encoder (a plain transformer encoder over [CLS, qpos, action seq])."""
|
| 517 |
+
layer = TransformerEncoderLayer(hidden_dim, nheads, dim_feedforward, dropout, "relu", False)
|
| 518 |
+
return TransformerEncoder(layer, enc_layers, norm=None)
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
class DETRVAE(nn.Module):
|
| 522 |
+
"""CVAE decoder: (qpos, images[, action seq]) → ``num_queries`` future actions."""
|
| 523 |
+
|
| 524 |
+
def __init__(
|
| 525 |
+
self,
|
| 526 |
+
backbone: Joiner,
|
| 527 |
+
transformer: Transformer,
|
| 528 |
+
encoder: TransformerEncoder,
|
| 529 |
+
*,
|
| 530 |
+
qpos_dim: int,
|
| 531 |
+
action_dim: int,
|
| 532 |
+
num_queries: int,
|
| 533 |
+
latent_dim: int = 32,
|
| 534 |
+
) -> None:
|
| 535 |
+
super().__init__()
|
| 536 |
+
self.num_queries = num_queries
|
| 537 |
+
self.transformer = transformer
|
| 538 |
+
self.encoder = encoder
|
| 539 |
+
hidden_dim = transformer.d_model
|
| 540 |
+
self.action_head = nn.Linear(hidden_dim, action_dim)
|
| 541 |
+
self.query_embed = nn.Embedding(num_queries, hidden_dim)
|
| 542 |
+
self.backbone = backbone # ONE backbone shared by every camera (upstream behavior)
|
| 543 |
+
self.input_proj = nn.Conv2d(backbone.num_channels, hidden_dim, kernel_size=1)
|
| 544 |
+
self.input_proj_robot_state = nn.Linear(qpos_dim, hidden_dim)
|
| 545 |
+
|
| 546 |
+
# CVAE style encoder inputs
|
| 547 |
+
self.latent_dim = latent_dim
|
| 548 |
+
self.cls_embed = nn.Embedding(1, hidden_dim)
|
| 549 |
+
self.encoder_action_proj = nn.Linear(action_dim, hidden_dim)
|
| 550 |
+
self.encoder_joint_proj = nn.Linear(qpos_dim, hidden_dim)
|
| 551 |
+
self.latent_proj = nn.Linear(hidden_dim, latent_dim * 2)
|
| 552 |
+
self.register_buffer(
|
| 553 |
+
"pos_table", get_sinusoid_encoding_table(1 + 1 + num_queries, hidden_dim)
|
| 554 |
+
)
|
| 555 |
+
# decoder side
|
| 556 |
+
self.latent_out_proj = nn.Linear(latent_dim, hidden_dim)
|
| 557 |
+
self.additional_pos_embed = nn.Embedding(2, hidden_dim) # latent + proprio slots
|
| 558 |
+
|
| 559 |
+
def forward(
|
| 560 |
+
self,
|
| 561 |
+
qpos: torch.Tensor,
|
| 562 |
+
images: torch.Tensor,
|
| 563 |
+
actions: torch.Tensor | None = None,
|
| 564 |
+
is_pad: torch.Tensor | None = None,
|
| 565 |
+
) -> tuple[torch.Tensor, tuple[torch.Tensor | None, torch.Tensor | None]]:
|
| 566 |
+
"""``qpos (B, Dq)``, ``images (B, ncam, C, H, W)``; train passes ``actions (B, T, Da)``."""
|
| 567 |
+
is_training = actions is not None
|
| 568 |
+
bs = qpos.shape[0]
|
| 569 |
+
if is_training:
|
| 570 |
+
action_embed = self.encoder_action_proj(actions)
|
| 571 |
+
qpos_embed = self.encoder_joint_proj(qpos).unsqueeze(1)
|
| 572 |
+
cls_embed = self.cls_embed.weight.unsqueeze(0).repeat(bs, 1, 1)
|
| 573 |
+
encoder_input = torch.cat([cls_embed, qpos_embed, action_embed], dim=1)
|
| 574 |
+
encoder_input = encoder_input.permute(1, 0, 2)
|
| 575 |
+
if is_pad is None:
|
| 576 |
+
is_pad = torch.zeros(bs, actions.shape[1], dtype=torch.bool, device=qpos.device)
|
| 577 |
+
cls_joint_is_pad = torch.full((bs, 2), False, device=qpos.device)
|
| 578 |
+
key_pad = torch.cat([cls_joint_is_pad, is_pad], dim=1)
|
| 579 |
+
pos_embed = self.pos_table.clone().detach().permute(1, 0, 2)
|
| 580 |
+
encoder_output = self.encoder(
|
| 581 |
+
encoder_input, pos=pos_embed, src_key_padding_mask=key_pad
|
| 582 |
+
)[0]
|
| 583 |
+
latent_info = self.latent_proj(encoder_output)
|
| 584 |
+
mu = latent_info[:, : self.latent_dim]
|
| 585 |
+
logvar = latent_info[:, self.latent_dim :]
|
| 586 |
+
latent_input = self.latent_out_proj(reparametrize(mu, logvar))
|
| 587 |
+
else:
|
| 588 |
+
mu = logvar = None
|
| 589 |
+
latent_sample = torch.zeros(bs, self.latent_dim, device=qpos.device)
|
| 590 |
+
latent_input = self.latent_out_proj(latent_sample)
|
| 591 |
+
|
| 592 |
+
all_cam_features, all_cam_pos = [], []
|
| 593 |
+
for cam_id in range(images.shape[1]):
|
| 594 |
+
features, pos = self.backbone(images[:, cam_id])
|
| 595 |
+
all_cam_features.append(self.input_proj(features[0]))
|
| 596 |
+
all_cam_pos.append(pos[0])
|
| 597 |
+
proprio_input = self.input_proj_robot_state(qpos)
|
| 598 |
+
src = torch.cat(all_cam_features, dim=3) # cameras fold into the width axis
|
| 599 |
+
pos = torch.cat(all_cam_pos, dim=3)
|
| 600 |
+
hs = self.transformer(
|
| 601 |
+
src,
|
| 602 |
+
None,
|
| 603 |
+
self.query_embed.weight,
|
| 604 |
+
pos,
|
| 605 |
+
latent_input,
|
| 606 |
+
proprio_input,
|
| 607 |
+
self.additional_pos_embed.weight,
|
| 608 |
+
)[0]
|
| 609 |
+
return self.action_head(hs), (mu, logvar)
|
| 610 |
+
|
| 611 |
+
|
| 612 |
+
def kl_divergence(mu: torch.Tensor, logvar: torch.Tensor) -> torch.Tensor:
|
| 613 |
+
"""Total KL(q(z|x) || N(0, I)), summed over latent dims, meaned over the batch."""
|
| 614 |
+
klds = -0.5 * (1 + logvar - mu.pow(2) - logvar.exp())
|
| 615 |
+
return klds.sum(1).mean()
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""The G1 evaluation adapters of the baselines (evaluation/README.md#the-model-interface): `make_model('fm_dit')`
|
| 2 |
+
returns the `Model` class that `evaluation/policy/FMDiT/model.py` exports (likewise DP, ACT, FLASH).
|
| 3 |
+
|
| 4 |
+
Observation: the current ego_view and chest frames (480x640 RGB, resized as the training cache) and state44; FM-DiT,
|
| 5 |
+
DP and ACT read no past actions or earlier frames (one frame); FLASH also reads the interface's executed rows before
|
| 6 |
+
the query (`past_actions`, `history_valid`: the token sent and the INSPIRE opening measured at each earlier frame)
|
| 7 |
+
for its polynomial history. Output: the checkpoint's whole chunk (16 rows of action76, row 0 executed at the request's
|
| 8 |
+
frame), `execution_steps` rows of it executed before the next query (deploy.yml `config: execution_steps`, default the
|
| 9 |
+
whole chunk; the runners re-query after at most 12 rows), the request's seed for the sampling noise (FM-DiT, DP).
|
| 10 |
+
"""
|
| 11 |
+
from __future__ import annotations
|
| 12 |
+
|
| 13 |
+
from .runtime import BaselinePolicy
|
| 14 |
+
|
| 15 |
+
WIDTH = {'sonic_dfx6': 76}
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def require(condition, message):
|
| 19 |
+
if not condition:
|
| 20 |
+
raise RuntimeError(message)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def make_model(policy_name: str):
|
| 24 |
+
class Model:
|
| 25 |
+
history_length = 1 # the current head and chest frames only
|
| 26 |
+
video_frames = 0
|
| 27 |
+
|
| 28 |
+
def __init__(self, cfg):
|
| 29 |
+
self.policy = BaselinePolicy(cfg['checkpoint_path'], device=cfg.get('device', 'cuda:0'),
|
| 30 |
+
policy=policy_name, robot='g1')
|
| 31 |
+
contract = self.policy.contract
|
| 32 |
+
require(cfg['action_space'] in WIDTH and contract['action_space'] == cfg['action_space']
|
| 33 |
+
and self.policy.action_dim == WIDTH[cfg['action_space']] and self.policy.state_dim == 44
|
| 34 |
+
and list(self.policy.cameras) == ['ego_view', 'chest'],
|
| 35 |
+
f"checkpoint contract {contract['name']} does not serve {cfg['action_space']}")
|
| 36 |
+
extra = cfg.get('config') or {}
|
| 37 |
+
if extra.get('check_task', True):
|
| 38 |
+
require(cfg['task'].strip() == (self.policy.task_text or '').strip(),
|
| 39 |
+
f'task text {cfg["task"]!r} is not the training task {self.policy.task_text!r}')
|
| 40 |
+
self.execution_steps = int(extra.get('execution_steps') or self.policy.horizon)
|
| 41 |
+
require(1 <= self.execution_steps <= self.policy.horizon, f'execution_steps {self.execution_steps}')
|
| 42 |
+
self.uses_history = self.policy.name == 'flash'
|
| 43 |
+
self.info = dict(self.policy.info(), execution_steps=self.execution_steps,
|
| 44 |
+
inputs='current frames + state44' + (' + executed-action history' if self.uses_history
|
| 45 |
+
else ''))
|
| 46 |
+
|
| 47 |
+
def get_action(self, obs):
|
| 48 |
+
if self.uses_history:
|
| 49 |
+
action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'],
|
| 50 |
+
past_actions=obs['past_actions'], history_valid=obs['history_valid'])
|
| 51 |
+
else:
|
| 52 |
+
action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'])
|
| 53 |
+
return dict(action=action, execution_steps=self.execution_steps,
|
| 54 |
+
sampling_steps=self.policy.sampling_steps)
|
| 55 |
+
|
| 56 |
+
Model.__name__ = Model.__qualname__ = f'Model_{policy_name}'
|
| 57 |
+
return Model
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Offline check of the FLASH adapter against the training path on recorded frames (before any closed-loop run):
|
| 2 |
+
|
| 3 |
+
<baselines env>/bin/python -I evaluation/baselines/check_flash_adapter.py --checkpoint <checkpoints/step-NNNNNN> \\
|
| 4 |
+
--dataset <LeRobot v2.1 root> --episodes 0,60 --queries 8 [--device cuda:0]
|
| 5 |
+
|
| 6 |
+
For query frames t of each episode (0, then evenly spaced) it builds
|
| 7 |
+
(a) the interface observation a runner sends: the 480x640 ego_view / chest frames (decoded from the dataset videos),
|
| 8 |
+
state44 and past_actions = the 40 recorded action rows before t (history_valid 0 before the episode start), and
|
| 9 |
+
calls evaluation/policy/FLASH/model.py Model.get_action, the deployed adapter;
|
| 10 |
+
(b) the training path: FlashChunkDataset's item for the same anchor (frames resized as the frame cache, the dataset's
|
| 11 |
+
history rule) through FlashPolicy.predict.
|
| 12 |
+
Both chunks must be equal bit for bit (same weights, same device); it also prints the normalized MSE of the chunk
|
| 13 |
+
against the recorded rows from t (rows past the episode's end excluded). Exits 1 on a mismatch.
|
| 14 |
+
"""
|
| 15 |
+
from __future__ import annotations
|
| 16 |
+
|
| 17 |
+
import argparse
|
| 18 |
+
import json
|
| 19 |
+
from pathlib import Path
|
| 20 |
+
import sys
|
| 21 |
+
|
| 22 |
+
import numpy as np
|
| 23 |
+
|
| 24 |
+
HERE = Path(__file__).resolve().parent
|
| 25 |
+
EVALUATION = HERE.parent
|
| 26 |
+
if str(EVALUATION) not in sys.path:
|
| 27 |
+
sys.path.insert(0, str(EVALUATION))
|
| 28 |
+
|
| 29 |
+
HISTORY_ROWS = 40 # the interface's past_actions rows (debug/newton/b6_policy_eval.py HISTORY_ROWS)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def decode(path, indices):
|
| 33 |
+
import av
|
| 34 |
+
want, out = set(int(i) for i in indices), {}
|
| 35 |
+
with av.open(str(path)) as container:
|
| 36 |
+
for k, frame in enumerate(container.decode(video=0)):
|
| 37 |
+
if k in want:
|
| 38 |
+
out[k] = frame.to_ndarray(format='rgb24')
|
| 39 |
+
if len(out) == len(want):
|
| 40 |
+
break
|
| 41 |
+
return out
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def main():
|
| 45 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 46 |
+
p.add_argument('--checkpoint', type=Path, required=True)
|
| 47 |
+
p.add_argument('--dataset', type=Path, required=True)
|
| 48 |
+
p.add_argument('--episodes', default='0')
|
| 49 |
+
p.add_argument('--queries', type=int, default=8)
|
| 50 |
+
p.add_argument('--device', default='cuda:0')
|
| 51 |
+
a = p.parse_args()
|
| 52 |
+
|
| 53 |
+
import torch
|
| 54 |
+
from baselines.data import CONTRACTS, FlashChunkDataset, LeRobotDataset, load_lowdim, resize_frame
|
| 55 |
+
from baselines.runtime import BaselinePolicy
|
| 56 |
+
sys.path.insert(0, str(EVALUATION / 'policy' / 'FLASH'))
|
| 57 |
+
import model as flash_model
|
| 58 |
+
|
| 59 |
+
base = BaselinePolicy(a.checkpoint, device=a.device, policy='flash', robot='g1')
|
| 60 |
+
contract = CONTRACTS[base.contract['name']]
|
| 61 |
+
adapter = flash_model.Model(dict(checkpoint_path=str(a.checkpoint), device=a.device, action_space='sonic_dfx6',
|
| 62 |
+
task=base.task_text or '', config={}))
|
| 63 |
+
policy = adapter.policy.model # the adapter's own loaded weights
|
| 64 |
+
dataset = LeRobotDataset(a.dataset)
|
| 65 |
+
episodes = [int(e) for e in a.episodes.split(',')]
|
| 66 |
+
lowdim = load_lowdim(dataset, contract, episodes)
|
| 67 |
+
report, worst = [], 0.0
|
| 68 |
+
for pos, ep in enumerate(episodes):
|
| 69 |
+
s, n = int(lowdim['starts'][pos]), int(lowdim['lengths'][pos])
|
| 70 |
+
ts = sorted({0, *np.linspace(0, n - 1, a.queries).astype(int).tolist()})[:a.queries]
|
| 71 |
+
frames = {c: decode(dataset.video(ep, c), ts) for c in base.cameras}
|
| 72 |
+
hw = base.image_hw
|
| 73 |
+
maps = {c: np.zeros((lowdim['lengths'].sum(), *hw, 3), np.uint8) for c in base.cameras}
|
| 74 |
+
for t in ts:
|
| 75 |
+
for c in base.cameras:
|
| 76 |
+
maps[c][s + t] = resize_frame(frames[c][t], hw) # the frame cache's resize of the same frame
|
| 77 |
+
f = policy.flash
|
| 78 |
+
H_ext = f['poly_prefix'] + f['n_action'] + f['poly_suffix'] + 2 * f['fit_pad']
|
| 79 |
+
offsets = (np.arange(H_ext) - (f['fit_pad'] + f['poly_prefix'])) * f['stride']
|
| 80 |
+
ds = FlashChunkDataset(lowdim, {}, base.cameras, hw, [pos], offsets=offsets, stride=f['stride'],
|
| 81 |
+
n_history=f['n_history'], rows=f['rows'], with_dense=True)
|
| 82 |
+
ds._maps, ds._pid = maps, __import__('os').getpid()
|
| 83 |
+
for t in ts:
|
| 84 |
+
k = int(np.nonzero(ds.index == s + t)[0][0])
|
| 85 |
+
images, state, _, hist, has, dense, dense_valid = ds[k]
|
| 86 |
+
idx = np.arange(t - HISTORY_ROWS, t)
|
| 87 |
+
past = lowdim['action'][s + np.clip(idx, 0, n - 1)].astype(np.float32)
|
| 88 |
+
valid = (idx >= 0).astype(np.float32)
|
| 89 |
+
past[idx < 0] = 0.0
|
| 90 |
+
obs = dict(images={c: frames[c][t] for c in base.cameras}, state=lowdim['state'][s + t],
|
| 91 |
+
past_actions=past, history_valid=valid, seed=0, frame=t, history_frame=t)
|
| 92 |
+
a_chunk = adapter.get_action(obs)['action']
|
| 93 |
+
with torch.inference_mode():
|
| 94 |
+
img = images[None].to(a.device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 95 |
+
b_chunk, _ = policy.predict(img, state[None].to(a.device), hist[None].to(a.device),
|
| 96 |
+
has[None].to(a.device))
|
| 97 |
+
b_chunk = b_chunk[0].float().cpu().numpy()
|
| 98 |
+
diff = float(np.abs(a_chunk - b_chunk).max())
|
| 99 |
+
worst = max(worst, diff)
|
| 100 |
+
nrm = policy.action_norm
|
| 101 |
+
err = (nrm.normalize(torch.from_numpy(a_chunk).to(a.device)) -
|
| 102 |
+
nrm.normalize(dense.to(a.device))).pow(2).cpu().numpy()[dense_valid.numpy()]
|
| 103 |
+
report.append(dict(episode=ep, t=t, has_history=bool(has), max_abs_diff=diff,
|
| 104 |
+
nmse_vs_recorded=float(err.mean()),
|
| 105 |
+
token_cos_row0=float(np.dot(a_chunk[0, :64], dense[0, :64].numpy()) /
|
| 106 |
+
(np.linalg.norm(a_chunk[0, :64]) *
|
| 107 |
+
np.linalg.norm(dense[0, :64].numpy()) + 1e-12))))
|
| 108 |
+
ok = worst == 0.0
|
| 109 |
+
print(json.dumps(dict(ok=ok, max_abs_diff=worst, checkpoint=str(a.checkpoint), queries=report), indent=1))
|
| 110 |
+
sys.exit(0 if ok else 1)
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
if __name__ == '__main__':
|
| 114 |
+
main()
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Check the FLASH port (evaluation/baselines/flash.py) against the upstream policy, on the CPU:
|
| 2 |
+
|
| 3 |
+
<baselines env>/bin/python -I evaluation/baselines/check_flash_parity.py --upstream <FLASH-Policy checkout>
|
| 4 |
+
|
| 5 |
+
Upstream is NTUMARS/FLASH-Policy @ f47e490 (roboverse_learn/il/...); its `zarr` and `einops` imports are shimmed
|
| 6 |
+
when the environment lacks them (only the parts used here run). Compared, for flash.yaml's settings with n_obs_steps =
|
| 7 |
+
n_history (8), n_action_steps 8, horizon 16:
|
| 8 |
+
|
| 9 |
+
- the polynomial buffers: least-squares matrix, coefficient scales, Tikhonov history fit, KKT boundary-constraint
|
| 10 |
+
matrices and pinned indices;
|
| 11 |
+
- target coefficients (least squares + boundary constraint) and history coefficients on random normalized
|
| 12 |
+
trajectories (identity normalizers on both sides);
|
| 13 |
+
- the DiT: upstream FlowTransformer's weights loaded strictly into FlashFlowTransformer, same outputs;
|
| 14 |
+
- the image encoder: upstream MultiImageObsEncoder (two rgb keys, agent_pos) with this port's weights, same features
|
| 15 |
+
(upstream concatenates its rgb keys in sorted order);
|
| 16 |
+
- the 30 Hz output rows: at multiples of the stride they equal upstream's trajectory points from the anchor.
|
| 17 |
+
Prints one JSON line with the largest differences; exits 1 when one exceeds its tolerance.
|
| 18 |
+
"""
|
| 19 |
+
from __future__ import annotations
|
| 20 |
+
|
| 21 |
+
import argparse
|
| 22 |
+
import json
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
import sys
|
| 25 |
+
import types
|
| 26 |
+
|
| 27 |
+
import torch
|
| 28 |
+
|
| 29 |
+
HERE = Path(__file__).resolve().parent
|
| 30 |
+
if str(HERE.parent) not in sys.path:
|
| 31 |
+
sys.path.insert(0, str(HERE.parent))
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def shim_upstream_imports():
|
| 35 |
+
try:
|
| 36 |
+
import zarr # noqa: F401
|
| 37 |
+
except ImportError:
|
| 38 |
+
zarr = types.ModuleType('zarr')
|
| 39 |
+
zarr.Array = type('Array', (), {})
|
| 40 |
+
sys.modules['zarr'] = zarr
|
| 41 |
+
try:
|
| 42 |
+
import einops # noqa: F401
|
| 43 |
+
except ImportError:
|
| 44 |
+
einops = types.ModuleType('einops')
|
| 45 |
+
einops.reduce = lambda x, pattern, op: x.reshape(x.shape[0], -1) # "b ... -> b (...)" (no reduced axis)
|
| 46 |
+
sys.modules['einops'] = einops
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def main():
|
| 50 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 51 |
+
p.add_argument('--upstream', type=Path, required=True, help='FLASH-Policy checkout (commit f47e490)')
|
| 52 |
+
p.add_argument('--stride', type=int, default=2)
|
| 53 |
+
a = p.parse_args()
|
| 54 |
+
shim_upstream_imports()
|
| 55 |
+
sys.path.insert(0, str(a.upstream.resolve()))
|
| 56 |
+
from roboverse_learn.il.policies.flash.flash_policy import FlashDiTImagePolicy
|
| 57 |
+
from roboverse_learn.il.utils.models.flow_net import FlowTransformer
|
| 58 |
+
from roboverse_learn.il.utils.vision.model_getter import get_resnet
|
| 59 |
+
from roboverse_learn.il.utils.vision.multi_image_obs_encoder import MultiImageObsEncoder
|
| 60 |
+
from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS, FlashFlowTransformer
|
| 61 |
+
from baselines.policies import PolicyConfig, build_policy
|
| 62 |
+
|
| 63 |
+
torch.manual_seed(0)
|
| 64 |
+
Da, Ds, H, W = 76, 44, 48, 64
|
| 65 |
+
f = dict(FLASH_DEFAULTS, stride=a.stride)
|
| 66 |
+
cfg = PolicyConfig.from_dict(dict(policy='flash', n_cameras=2, state_dim=Ds, action_dim=Da, horizon=f['rows'],
|
| 67 |
+
**FLASH_POLICY_FIELDS, extra=dict(flash=f)))
|
| 68 |
+
ours = build_policy(cfg, pretrained=False).eval()
|
| 69 |
+
shape_meta = dict(obs=dict(ego_view=dict(shape=[3, H, W], type='rgb'), chest=dict(shape=[3, H, W], type='rgb'),
|
| 70 |
+
agent_pos=dict(shape=[Ds], type='low_dim')), action=dict(shape=[Da]))
|
| 71 |
+
enc = MultiImageObsEncoder(shape_meta=shape_meta, rgb_model=get_resnet('resnet18', weights=None),
|
| 72 |
+
resize_shape=None, crop_shape=None, random_crop=True, use_group_norm=True,
|
| 73 |
+
share_rgb_model=False, imagenet_norm=True)
|
| 74 |
+
up = FlashDiTImagePolicy(shape_meta=shape_meta, obs_encoder=enc, horizon=f['n_history'] + f['n_action'],
|
| 75 |
+
n_action_steps=f['n_action'], n_obs_steps=f['n_history'], num_inference_steps=1,
|
| 76 |
+
obs_as_global_cond=True, diffusion_step_embed_dim=256, hidden_dim=512, num_layers=4,
|
| 77 |
+
num_heads=8, mlp_ratio=4, dropout=0.0, poly_order=f['poly_order'], basis_type='legendre',
|
| 78 |
+
fit_pad=f['fit_pad'], boundary_constraint=f['boundary_constraint'],
|
| 79 |
+
history_noise_std=f['history_noise_std'], history_reg_lambda=f['history_reg_lambda'],
|
| 80 |
+
consistency_weight=f['consistency_weight'], flash_solver='euler',
|
| 81 |
+
poly_prefix=f['poly_prefix'], poly_suffix=f['poly_suffix']).eval()
|
| 82 |
+
res, tol = {}, {}
|
| 83 |
+
|
| 84 |
+
def diff(name, x, y, t):
|
| 85 |
+
res[name] = float((x.double() - y.double()).abs().max())
|
| 86 |
+
tol[name] = t
|
| 87 |
+
|
| 88 |
+
for b in ('_lstsq_matrix', '_coeff_scale', '_history_lstsq_matrix', '_bc_eval_pos', '_bc_eval_vel',
|
| 89 |
+
'_bc_correction'):
|
| 90 |
+
diff(b, getattr(ours, b), getattr(up, b), 1e-6)
|
| 91 |
+
res['_bc_pos_indices_equal'] = bool(torch.equal(ours._bc_pos_indices, up._bc_pos_indices))
|
| 92 |
+
|
| 93 |
+
# identity normalizers on both sides: compare the polynomial algebra itself
|
| 94 |
+
B = 6
|
| 95 |
+
traj = torch.randn(B, ours.H_ext, Da)
|
| 96 |
+
hist = torch.randn(B, f['n_history'], Da)
|
| 97 |
+
with torch.no_grad():
|
| 98 |
+
t_up = up._apply_boundary_constraint(up._trajectory_to_coefficients(traj), traj)
|
| 99 |
+
t_ours = ours._apply_boundary_constraint(ours._to_coeff(traj), traj)
|
| 100 |
+
diff('target_coeff', t_ours, t_up, 1e-4)
|
| 101 |
+
h_up = up._history_to_coefficients(hist)
|
| 102 |
+
h_ours = torch.einsum('ch,bhd->bcd', ours._history_lstsq_matrix, hist) / ours._coeff_scale
|
| 103 |
+
diff('history_coeff', h_ours, h_up, 1e-5)
|
| 104 |
+
|
| 105 |
+
# DiT: upstream weights into the port
|
| 106 |
+
dit_up = FlowTransformer(input_dim=Da, condition_dim=300, hidden_dim=512, output_dim=Da, num_layers=4,
|
| 107 |
+
num_heads=8, mlp_ratio=4, dropout=0.0, time_embed_dim=256).eval()
|
| 108 |
+
dit_ours = FlashFlowTransformer(input_dim=Da, condition_dim=300, hidden_dim=512, output_dim=Da, num_layers=4,
|
| 109 |
+
num_heads=8, mlp_ratio=4, dropout=0.0, time_embed_dim=256).eval()
|
| 110 |
+
dit_ours.load_state_dict(dit_up.state_dict(), strict=True)
|
| 111 |
+
x, t, c = torch.randn(B, ours.num_coeff, Da), torch.rand(B), torch.randn(B, 300)
|
| 112 |
+
diff('dit', dit_ours(x, t, c), dit_up(x, t, c), 1e-5)
|
| 113 |
+
|
| 114 |
+
# encoder: the port's ResNets into upstream's per-key models (sorted keys: chest, ego_view)
|
| 115 |
+
for i, cam in enumerate(('ego_view', 'chest')):
|
| 116 |
+
enc.key_model_map[cam].load_state_dict(ours.obs_encoder.rgb[i].state_dict(), strict=True)
|
| 117 |
+
imgs, state_n = torch.rand(B, 2, 3, H, W), torch.rand(B, Ds) * 2 - 1
|
| 118 |
+
f_ours = ours.obs_encoder(imgs, state_n)
|
| 119 |
+
f_up = enc({'ego_view': imgs[:, 0] * 2 - 1, 'chest': imgs[:, 1] * 2 - 1, 'agent_pos': state_n})
|
| 120 |
+
n = 512
|
| 121 |
+
f_up_reordered = torch.cat([f_up[:, n:2 * n], f_up[:, :n], f_up[:, 2 * n:]], dim=-1) # chest|ego -> ego|chest
|
| 122 |
+
diff('encoder', f_ours, f_up_reordered, 1e-4)
|
| 123 |
+
|
| 124 |
+
# 30 Hz rows from the anchor vs upstream's points: identity normalizer on ours
|
| 125 |
+
ours.action_norm.scale.fill_(1.0)
|
| 126 |
+
ours.action_norm.offset.zero_()
|
| 127 |
+
coeff = torch.randn(B, ours.num_coeff, Da)
|
| 128 |
+
dense = ours.dense_from_coeff(coeff)
|
| 129 |
+
sparse = up._coefficients_to_trajectory(coeff) # (B, H_poly, Da), anchor at up._anchor_idx
|
| 130 |
+
k = torch.arange(0, ours.rows, a.stride)
|
| 131 |
+
j = up._anchor_idx + k // a.stride
|
| 132 |
+
diff('dense_vs_upstream_points', dense[:, k], sparse[:, j], 1e-4)
|
| 133 |
+
bad = {k: v for k, v in res.items() if k in tol and v > tol[k]}
|
| 134 |
+
ok = not bad and res['_bc_pos_indices_equal']
|
| 135 |
+
print(json.dumps(dict(ok=ok, max_abs_diff=res, tolerance=tol, stride=a.stride,
|
| 136 |
+
upstream_anchor_idx=int(up._anchor_idx), port_anchor=int(ours.anchor))), flush=True)
|
| 137 |
+
sys.exit(0 if ok else 1)
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
if __name__ == '__main__':
|
| 141 |
+
main()
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/data.py
ADDED
|
@@ -0,0 +1,363 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Training data of the baselines: a task's LeRobot v2.1 expert dataset read through a robot contract.
|
| 2 |
+
|
| 3 |
+
A contract names the cameras and which dataset columns form the policy state and the action rows, the same layouts
|
| 4 |
+
the registered GR00T / Psi0 checkpoints were trained on:
|
| 5 |
+
|
| 6 |
+
- `g1_sonic_dfx6` (G1 + INSPIRE, the evaluation/README.md interface; ego_view, chest): state44 =
|
| 7 |
+
`observation.state[0:29]` body, measured `observation.inspire_{left,right}_hand_state`,
|
| 8 |
+
`observation.projected_gravity`; action76 (`sonic_dfx6`) = `action.motion_token` 64 and the measured DFX6 of the
|
| 9 |
+
same row (row 0 = the current opening);
|
| 10 |
+
- `h2_sharpa` (H2 + Sharpa, debug/newton/h2_sharpa_policy_eval.py; head, chest): state78 = `observation.state` 75,
|
| 11 |
+
`observation.projected_gravity` 3; action75 = `action.body_target` 31, `action.hands` 44 (absolute targets);
|
| 12 |
+
- `h2_sharpa_planner` (H2 + Sharpa a14 v2, h2_policy_planner_eval.py; head, chest): state78; action82 = action75 +
|
| 13 |
+
`action.planner` 7.
|
| 14 |
+
|
| 15 |
+
Frames: every camera's video is decoded once (PyAV), each frame resized with `resize_frame` (OpenCV INTER_AREA, the
|
| 16 |
+
same function the policy runtime applies to live frames) and stored as a uint8 memory map in a cache directory keyed by
|
| 17 |
+
the dataset, episodes, camera and size. A training sample is the frame t of an episode: the cameras and the state at t,
|
| 18 |
+
and the action rows t..t+horizon-1 (rows past the episode's end repeat its last row, as DextraVerse's windows).
|
| 19 |
+
"""
|
| 20 |
+
from __future__ import annotations
|
| 21 |
+
|
| 22 |
+
from dataclasses import dataclass
|
| 23 |
+
import hashlib
|
| 24 |
+
import json
|
| 25 |
+
import os
|
| 26 |
+
from pathlib import Path
|
| 27 |
+
import sys
|
| 28 |
+
|
| 29 |
+
import numpy as np
|
| 30 |
+
|
| 31 |
+
CACHE_VERSION = 1
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
@dataclass(frozen=True)
|
| 35 |
+
class Contract:
|
| 36 |
+
name: str
|
| 37 |
+
robot: str
|
| 38 |
+
cameras: tuple
|
| 39 |
+
state: tuple # ((column, start, end), ...) concatenated in order
|
| 40 |
+
action: tuple
|
| 41 |
+
action_space: str | None = None # the G1 evaluation interface's action space, if any
|
| 42 |
+
body_dims: int = 0 # leading raw-radian body joint angles of the state (augmentation spec v2 perturbs these)
|
| 43 |
+
|
| 44 |
+
@property
|
| 45 |
+
def state_dim(self) -> int:
|
| 46 |
+
return sum(end - start for _, start, end in self.state)
|
| 47 |
+
|
| 48 |
+
@property
|
| 49 |
+
def action_dim(self) -> int:
|
| 50 |
+
return sum(end - start for _, start, end in self.action)
|
| 51 |
+
|
| 52 |
+
def to_dict(self, cameras=None) -> dict:
|
| 53 |
+
return dict(name=self.name, robot=self.robot, cameras=list(cameras or self.cameras),
|
| 54 |
+
state=[list(s) for s in self.state], action=[list(a) for a in self.action],
|
| 55 |
+
state_dim=self.state_dim, action_dim=self.action_dim, action_space=self.action_space,
|
| 56 |
+
body_dims=self.body_dims)
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
_G1_HANDS = (('observation.inspire_left_hand_state', 0, 6), ('observation.inspire_right_hand_state', 0, 6))
|
| 60 |
+
_H2_STATE = (('observation.state', 0, 75), ('observation.projected_gravity', 0, 3))
|
| 61 |
+
_H2_ACTION = (('action.body_target', 0, 31), ('action.hands', 0, 44))
|
| 62 |
+
# body_dims: G1 observation.state[0:29] are the 29 body joints; H2 observation.state[0:31] are legs 6+6, waist 3,
|
| 63 |
+
# head 2, arms 7+7 (docs/unitree_h2_sharpa.md), then the Sharpa hands.
|
| 64 |
+
CONTRACTS = {c.name: c for c in (
|
| 65 |
+
Contract('g1_sonic_dfx6', 'g1', ('ego_view', 'chest'),
|
| 66 |
+
(('observation.state', 0, 29), *_G1_HANDS, ('observation.projected_gravity', 0, 3)),
|
| 67 |
+
(('action.motion_token', 0, 64), *_G1_HANDS), action_space='sonic_dfx6', body_dims=29),
|
| 68 |
+
Contract('h2_sharpa', 'h2_sharpa', ('head', 'chest'), _H2_STATE, _H2_ACTION, body_dims=31),
|
| 69 |
+
Contract('h2_sharpa_planner', 'h2_sharpa', ('head', 'chest'), _H2_STATE,
|
| 70 |
+
(*_H2_ACTION, ('action.planner', 0, 7)), body_dims=31),
|
| 71 |
+
)}
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
def augmentation_module():
|
| 75 |
+
"""evaluation/augmentation: the augmentation spec v2 shared by every model's training (imported on demand)."""
|
| 76 |
+
evaluation = str(Path(__file__).resolve().parents[1])
|
| 77 |
+
if evaluation not in sys.path:
|
| 78 |
+
sys.path.insert(0, evaluation)
|
| 79 |
+
import augmentation
|
| 80 |
+
return augmentation
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def resize_frame(frame: np.ndarray, hw) -> np.ndarray:
|
| 84 |
+
"""(H, W, 3) uint8 RGB -> (h, w, 3) uint8, OpenCV INTER_AREA (training cache and live frames alike)."""
|
| 85 |
+
import cv2
|
| 86 |
+
frame = np.ascontiguousarray(frame, dtype=np.uint8)
|
| 87 |
+
if frame.ndim != 3 or frame.shape[2] != 3:
|
| 88 |
+
raise ValueError(f'expected an (H, W, 3) RGB frame, got {frame.shape}')
|
| 89 |
+
h, w = int(hw[0]), int(hw[1])
|
| 90 |
+
if frame.shape[:2] == (h, w):
|
| 91 |
+
return frame
|
| 92 |
+
return cv2.resize(frame, (w, h), interpolation=cv2.INTER_AREA)
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
class LeRobotDataset:
|
| 96 |
+
"""A LeRobot v2.1 dataset directory (meta/info.json, meta/episodes.jsonl, data/, videos/)."""
|
| 97 |
+
|
| 98 |
+
def __init__(self, root):
|
| 99 |
+
self.root = Path(root).expanduser().resolve()
|
| 100 |
+
self.info = json.loads((self.root / 'meta/info.json').read_text())
|
| 101 |
+
if self.info.get('codebase_version') != 'v2.1':
|
| 102 |
+
raise ValueError(f"{self.root}: LeRobot {self.info.get('codebase_version')}, expected v2.1")
|
| 103 |
+
rows = [json.loads(line) for line in (self.root / 'meta/episodes.jsonl').read_text().splitlines() if line]
|
| 104 |
+
self.lengths = {int(r['episode_index']): int(r['length']) for r in rows}
|
| 105 |
+
tasks = [json.loads(line) for line in (self.root / 'meta/tasks.jsonl').read_text().splitlines() if line]
|
| 106 |
+
self.tasks = {int(t['task_index']): t['task'] for t in tasks}
|
| 107 |
+
self.fps = float(self.info['fps'])
|
| 108 |
+
|
| 109 |
+
@property
|
| 110 |
+
def name(self) -> str:
|
| 111 |
+
"""The dataset's folder name (its parent's for an export folder named `lerobot`)."""
|
| 112 |
+
return self.root.parent.name if self.root.name == 'lerobot' else self.root.name
|
| 113 |
+
|
| 114 |
+
def chunk(self, episode: int) -> int:
|
| 115 |
+
return episode // int(self.info['chunks_size'])
|
| 116 |
+
|
| 117 |
+
def parquet(self, episode: int) -> Path:
|
| 118 |
+
return self.root / self.info['data_path'].format(episode_chunk=self.chunk(episode), episode_index=episode)
|
| 119 |
+
|
| 120 |
+
def video(self, episode: int, camera: str) -> Path:
|
| 121 |
+
return self.root / self.info['video_path'].format(episode_chunk=self.chunk(episode), episode_index=episode,
|
| 122 |
+
video_key=f'observation.images.{camera}')
|
| 123 |
+
|
| 124 |
+
def check_contract(self, contract: Contract, cameras):
|
| 125 |
+
features = self.info['features']
|
| 126 |
+
for column, start, end in (*contract.state, *contract.action):
|
| 127 |
+
if column not in features:
|
| 128 |
+
raise KeyError(f'{self.root.name}: no column {column!r} (contract {contract.name})')
|
| 129 |
+
width = int(np.prod(features[column]['shape']))
|
| 130 |
+
if end > width:
|
| 131 |
+
raise ValueError(f'{column} has {width} values; the contract reads {start}:{end}')
|
| 132 |
+
for camera in cameras:
|
| 133 |
+
key = f'observation.images.{camera}'
|
| 134 |
+
if features.get(key, {}).get('dtype') != 'video':
|
| 135 |
+
raise KeyError(f'{self.root.name}: no video {key!r}')
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def parse_episodes(spec: str | None, available) -> list:
|
| 139 |
+
"""'0:100', '0,3,7' or None (all), restricted to the dataset's episodes, sorted."""
|
| 140 |
+
available = sorted(available)
|
| 141 |
+
if not spec:
|
| 142 |
+
return available
|
| 143 |
+
chosen = set()
|
| 144 |
+
for part in spec.split(','):
|
| 145 |
+
if ':' in part:
|
| 146 |
+
lo, hi = part.split(':')
|
| 147 |
+
chosen.update(range(int(lo or 0), int(hi) if hi else available[-1] + 1))
|
| 148 |
+
else:
|
| 149 |
+
chosen.add(int(part))
|
| 150 |
+
missing = sorted(chosen - set(available))
|
| 151 |
+
if missing:
|
| 152 |
+
raise ValueError(f'episodes not in the dataset: {missing[:10]}')
|
| 153 |
+
return sorted(chosen)
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
def load_lowdim(dataset: LeRobotDataset, contract: Contract, episodes) -> dict:
|
| 157 |
+
"""State (N, state_dim) and action (N, action_dim) float32 of the episodes in order, plus each episode's start
|
| 158 |
+
row, length and task text."""
|
| 159 |
+
import pyarrow.parquet as pq
|
| 160 |
+
columns = sorted({c for c, _, _ in (*contract.state, *contract.action)} | {'frame_index', 'task_index'})
|
| 161 |
+
states, actions, starts, lengths, tasks, offset = [], [], [], [], set(), 0
|
| 162 |
+
for episode in episodes:
|
| 163 |
+
table = pq.read_table(dataset.parquet(episode), columns=columns)
|
| 164 |
+
data = {c: np.asarray(table.column(c).to_pylist(), dtype=np.float64) for c in columns}
|
| 165 |
+
n = len(data['frame_index'])
|
| 166 |
+
if n != dataset.lengths[episode] or not np.array_equal(data['frame_index'], np.arange(n)):
|
| 167 |
+
raise ValueError(f'episode {episode}: {n} rows / frame_index differ from episodes.jsonl')
|
| 168 |
+
|
| 169 |
+
def pick(spec):
|
| 170 |
+
return np.concatenate([data[c].reshape(n, -1)[:, s:e] for c, s, e in spec], axis=1).astype(np.float32)
|
| 171 |
+
|
| 172 |
+
states.append(pick(contract.state))
|
| 173 |
+
actions.append(pick(contract.action))
|
| 174 |
+
tasks.update(dataset.tasks[int(i)] for i in np.unique(data['task_index']))
|
| 175 |
+
starts.append(offset)
|
| 176 |
+
lengths.append(n)
|
| 177 |
+
offset += n
|
| 178 |
+
state, action = np.concatenate(states), np.concatenate(actions)
|
| 179 |
+
if not (np.isfinite(state).all() and np.isfinite(action).all()):
|
| 180 |
+
raise ValueError('non-finite state or action values')
|
| 181 |
+
return dict(state=state, action=action, starts=np.asarray(starts), lengths=np.asarray(lengths),
|
| 182 |
+
episodes=list(episodes), tasks=sorted(tasks))
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
def statistics(lowdim: dict, rows: np.ndarray) -> dict:
|
| 186 |
+
out = {}
|
| 187 |
+
for key in ('state', 'action'):
|
| 188 |
+
x = lowdim[key][rows].astype(np.float64)
|
| 189 |
+
out[key] = dict(min=x.min(0).tolist(), max=x.max(0).tolist(), mean=x.mean(0).tolist(), std=x.std(0).tolist())
|
| 190 |
+
return out
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
# -- frame cache --------------------------------------------------------------------------------------------------
|
| 194 |
+
def _decode_into(job):
|
| 195 |
+
path, out_path, total, start, length, hw = job
|
| 196 |
+
import av
|
| 197 |
+
frames = np.memmap(out_path, dtype=np.uint8, mode='r+', shape=(total, hw[0], hw[1], 3))
|
| 198 |
+
count = 0
|
| 199 |
+
with av.open(str(path)) as container:
|
| 200 |
+
stream = container.streams.video[0]
|
| 201 |
+
stream.thread_type = 'AUTO'
|
| 202 |
+
for frame in container.decode(stream):
|
| 203 |
+
if count < length:
|
| 204 |
+
frames[start + count] = resize_frame(frame.to_ndarray(format='rgb24'), hw)
|
| 205 |
+
count += 1
|
| 206 |
+
frames.flush()
|
| 207 |
+
del frames
|
| 208 |
+
if count != length:
|
| 209 |
+
raise ValueError(f'{path}: {count} video frames, {length} data rows')
|
| 210 |
+
return length
|
| 211 |
+
|
| 212 |
+
|
| 213 |
+
def frame_cache(dataset: LeRobotDataset, lowdim: dict, cameras, hw, cache_root, workers=8) -> dict:
|
| 214 |
+
"""{camera: path of the (N, h, w, 3) uint8 memory map} for the episodes of `lowdim`, decoded once and reused."""
|
| 215 |
+
from multiprocessing import get_context
|
| 216 |
+
total = int(lowdim['lengths'].sum())
|
| 217 |
+
paths = {}
|
| 218 |
+
for camera in cameras:
|
| 219 |
+
key = json.dumps(dict(version=CACHE_VERSION, root=str(dataset.root), episodes=lowdim['episodes'],
|
| 220 |
+
lengths=lowdim['lengths'].tolist(), camera=camera, hw=list(hw)), sort_keys=True)
|
| 221 |
+
digest = hashlib.sha256(key.encode()).hexdigest()[:16]
|
| 222 |
+
folder = Path(cache_root).expanduser() / f'{dataset.name}_{camera}_{hw[0]}x{hw[1]}_{digest}'
|
| 223 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 224 |
+
out, meta = folder / 'frames.u8', folder / 'meta.json'
|
| 225 |
+
if meta.exists() and json.loads(meta.read_text()).get('complete'):
|
| 226 |
+
paths[camera] = out
|
| 227 |
+
continue
|
| 228 |
+
np.memmap(out, dtype=np.uint8, mode='w+', shape=(total, hw[0], hw[1], 3)).flush()
|
| 229 |
+
jobs = [(dataset.video(e, camera), out, total, int(s), int(n), tuple(hw))
|
| 230 |
+
for e, s, n in zip(lowdim['episodes'], lowdim['starts'], lowdim['lengths'])]
|
| 231 |
+
with get_context('spawn').Pool(max(1, int(workers))) as pool: # the caller may hold torch threads
|
| 232 |
+
for done, _ in enumerate(pool.imap_unordered(_decode_into, jobs), 1):
|
| 233 |
+
if done % 20 == 0 or done == len(jobs):
|
| 234 |
+
print(json.dumps(dict(event='frame_cache', camera=camera, episodes=done, of=len(jobs))),
|
| 235 |
+
flush=True)
|
| 236 |
+
meta.write_text(json.dumps(dict(json.loads(key), frames=total, complete=True), indent=1))
|
| 237 |
+
paths[camera] = out
|
| 238 |
+
return paths
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
class ChunkDataset:
|
| 242 |
+
"""torch-style dataset of (images (n_cameras, h, w, 3) uint8, state (state_dim,), action (horizon, action_dim))
|
| 243 |
+
over the frames of the selected episodes (positions into lowdim['episodes']). Memory maps open lazily per
|
| 244 |
+
process (DataLoader workers).
|
| 245 |
+
|
| 246 |
+
`body_dims` > 0 turns on the training augmentation (docs/augmentation_v2.md, evaluation/augmentation): per item,
|
| 247 |
+
the cached frames of all cameras get one hb_aug_v2.augment call (one time step, no future targets) and the first
|
| 248 |
+
`body_dims` state values the per-sample joint bias + noise; the action rows are never touched. 0 (evaluation,
|
| 249 |
+
offline checks) returns the cached frames and the recorded state unchanged, deterministically."""
|
| 250 |
+
|
| 251 |
+
def __init__(self, lowdim: dict, frames: dict, cameras, hw, horizon: int, positions, body_dims: int = 0):
|
| 252 |
+
self.lowdim, self.paths, self.cameras, self.hw, self.horizon = lowdim, frames, list(cameras), tuple(hw), horizon
|
| 253 |
+
self.positions, self.body_dims = list(positions), int(body_dims)
|
| 254 |
+
if self.body_dims:
|
| 255 |
+
augmentation_module() # asserts the spec version before any worker starts
|
| 256 |
+
self.total = int(lowdim['lengths'].sum())
|
| 257 |
+
index, end = [], np.zeros(self.total, np.int64)
|
| 258 |
+
for p in positions:
|
| 259 |
+
s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
|
| 260 |
+
index.append(np.arange(s, s + n))
|
| 261 |
+
end[s:s + n] = s + n
|
| 262 |
+
self.index, self.end = np.concatenate(index), end
|
| 263 |
+
self._maps, self._pid = None, None
|
| 264 |
+
|
| 265 |
+
def __len__(self):
|
| 266 |
+
return len(self.index)
|
| 267 |
+
|
| 268 |
+
def _frames(self):
|
| 269 |
+
if self._maps is None or self._pid != os.getpid():
|
| 270 |
+
self._maps = {c: np.memmap(self.paths[c], dtype=np.uint8, mode='r', shape=(self.total, *self.hw, 3))
|
| 271 |
+
for c in self.cameras}
|
| 272 |
+
self._pid = os.getpid()
|
| 273 |
+
return self._maps
|
| 274 |
+
|
| 275 |
+
def rows(self, i: int) -> np.ndarray:
|
| 276 |
+
return np.minimum(np.arange(i, i + self.horizon), self.end[i] - 1)
|
| 277 |
+
|
| 278 |
+
def plain(self):
|
| 279 |
+
"""The same items without augmentation (the preflight's reference read)."""
|
| 280 |
+
return ChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.horizon, self.positions)
|
| 281 |
+
|
| 282 |
+
def _observation(self, i: int, rng=None):
|
| 283 |
+
"""The cameras (n_cameras, h, w, 3) uint8 and the state of frame i, augmented when body_dims > 0."""
|
| 284 |
+
import torch
|
| 285 |
+
maps = self._frames()
|
| 286 |
+
images = torch.from_numpy(np.stack([maps[c][i] for c in self.cameras]))
|
| 287 |
+
state = self.lowdim['state'][i]
|
| 288 |
+
if self.body_dims:
|
| 289 |
+
augmentation = augmentation_module()
|
| 290 |
+
images, _ = augmentation.augment_frames_uint8(images, rng=rng)
|
| 291 |
+
state = augmentation.perturb_body(state, self.body_dims, rng=rng)
|
| 292 |
+
return images, torch.from_numpy(np.asarray(state, dtype=np.float32))
|
| 293 |
+
|
| 294 |
+
def __getitem__(self, k):
|
| 295 |
+
import torch
|
| 296 |
+
i = int(self.index[k])
|
| 297 |
+
images, state = self._observation(i)
|
| 298 |
+
return images, state, torch.from_numpy(self.lowdim['action'][self.rows(i)])
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
class FlashChunkDataset(ChunkDataset):
|
| 302 |
+
"""FLASH training items (evaluation/baselines/flash.py) over every frame of the selected episodes as the anchor:
|
| 303 |
+
(images, state, poly, history, has_history[, dense, dense_valid]).
|
| 304 |
+
|
| 305 |
+
- images, state: the anchor frame's cameras and state44, augmented as ChunkDataset (spec v2) when body_dims > 0;
|
| 306 |
+
- poly (H_ext, action_dim): the action rows at `offsets` frames from the anchor (the polynomial's extended grid,
|
| 307 |
+
`stride` frames apart), clamped to the episode (FLASH's edge padding);
|
| 308 |
+
- history (n_history, action_dim), has_history: flash.history_rows over the `span` executed rows before the anchor
|
| 309 |
+
(rows before the episode start invalid), the same function the adapter applies to past_actions;
|
| 310 |
+
- dense (rows, action_dim), dense_valid: the recorded 30 Hz rows from the anchor (offline check only).
|
| 311 |
+
|
| 312 |
+
aug_seed: the augmentation random stream is numpy default_rng([aug_seed, torch.initial_seed(), worker id]) per
|
| 313 |
+
DataLoader worker (deterministic for a fixed seed, worker count and sampling order); None uses the shared
|
| 314 |
+
worker_rng (pid + urandom)."""
|
| 315 |
+
|
| 316 |
+
def __init__(self, lowdim, frames, cameras, hw, positions, *, offsets, stride, n_history, rows, body_dims=0,
|
| 317 |
+
aug_seed=None, with_dense=False):
|
| 318 |
+
super().__init__(lowdim, frames, cameras, hw, rows, positions, body_dims=body_dims)
|
| 319 |
+
self.offsets = np.asarray(offsets, dtype=np.int64)
|
| 320 |
+
self.stride, self.n_history, self.n_rows = int(stride), int(n_history), int(rows)
|
| 321 |
+
self.span = (self.n_history - 1) * self.stride + 1
|
| 322 |
+
self.aug_seed, self.with_dense = aug_seed, bool(with_dense)
|
| 323 |
+
start = np.zeros(self.total, np.int64)
|
| 324 |
+
for p in positions:
|
| 325 |
+
s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
|
| 326 |
+
start[s:s + n] = s
|
| 327 |
+
self.start = start
|
| 328 |
+
self._rng_key, self._rng_obj = None, None
|
| 329 |
+
|
| 330 |
+
def plain(self):
|
| 331 |
+
return FlashChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.positions, offsets=self.offsets,
|
| 332 |
+
stride=self.stride, n_history=self.n_history, rows=self.n_rows,
|
| 333 |
+
with_dense=self.with_dense)
|
| 334 |
+
|
| 335 |
+
def _rng(self):
|
| 336 |
+
if self.aug_seed is None or not self.body_dims:
|
| 337 |
+
return None
|
| 338 |
+
import torch
|
| 339 |
+
info = torch.utils.data.get_worker_info()
|
| 340 |
+
wid = info.id if info is not None else 0
|
| 341 |
+
key = (os.getpid(), wid)
|
| 342 |
+
if self._rng_key != key:
|
| 343 |
+
self._rng_obj = np.random.default_rng([int(self.aug_seed), int(torch.initial_seed()), int(wid)])
|
| 344 |
+
self._rng_key = key
|
| 345 |
+
return self._rng_obj
|
| 346 |
+
|
| 347 |
+
def __getitem__(self, k):
|
| 348 |
+
import torch
|
| 349 |
+
from .flash import history_rows
|
| 350 |
+
i = int(self.index[k])
|
| 351 |
+
s0, e1 = int(self.start[i]), int(self.end[i])
|
| 352 |
+
images, state = self._observation(i, rng=self._rng())
|
| 353 |
+
action = self.lowdim['action']
|
| 354 |
+
poly = action[np.clip(i + self.offsets, s0, e1 - 1)]
|
| 355 |
+
past = i - self.span + np.arange(self.span)
|
| 356 |
+
history, has = history_rows(action[np.maximum(past, s0)], past >= s0, self.stride, self.n_history)
|
| 357 |
+
out = [images, state, torch.from_numpy(np.ascontiguousarray(poly)), torch.from_numpy(history),
|
| 358 |
+
torch.tensor(bool(has))]
|
| 359 |
+
if self.with_dense:
|
| 360 |
+
idx = i + np.arange(self.n_rows)
|
| 361 |
+
out += [torch.from_numpy(np.ascontiguousarray(action[np.minimum(idx, e1 - 1)])),
|
| 362 |
+
torch.from_numpy(idx < e1)]
|
| 363 |
+
return tuple(out)
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/flash.py
ADDED
|
@@ -0,0 +1,412 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FLASH (Bai et al., "FLASH: Efficient Visuomotor Policy via Sparse Sampling", NeurIPS 2026) behind the baselines
|
| 2 |
+
contract: history-to-future polynomial flow matching with a DiT backbone and one Euler step at inference.
|
| 3 |
+
|
| 4 |
+
Ported from NTUMARS/FLASH-Policy @ f47e490 (Apache-2.0): `roboverse_learn/il/policies/flash/flash_policy.py`
|
| 5 |
+
(`FlashDiTImagePolicy`: basis, least-squares and Tikhonov history fits, KKT C1 boundary constraint, loss, sampler),
|
| 6 |
+
`utils/models/flow_net.py` + `policies/dp/models/diffusion/positional_embedding.py` (the DiT and its torchtune RoPE,
|
| 7 |
+
which differs from the DextraVerse RoPE of nets.py), `utils/vision/multi_image_obs_encoder.py` (one ResNet18 per
|
| 8 |
+
camera, GroupNorm, ImageNet normalization of the range-normalized image) and `configs/policy_config/flash.yaml` +
|
| 9 |
+
`configs/train_config/default_train.yaml` (the defaults below). Architecture, initialization and loss are unchanged.
|
| 10 |
+
|
| 11 |
+
What the humanoid interface changes (owner decisions 2026-11-24, recorded in every checkpoint's config):
|
| 12 |
+
|
| 13 |
+
- **Action space and history.** FLASH fits its flow start to the measured history of the action quantity (Franka
|
| 14 |
+
joint positions). The G1 action76 is the SONIC motion token (64, a latent with no measured counterpart) plus the
|
| 15 |
+
measured INSPIRE openings (12). The history is therefore the *executed* action rows - the token sent at each frame
|
| 16 |
+
and the opening measured at it, the interface's `past_actions` - ending one frame before the query (row t-1: the
|
| 17 |
+
token of frame t is what the policy is asked for). Training reads the same dataset rows. `n_history` points at the
|
| 18 |
+
sampling stride; rows before the episode start repeat its first row (FLASH's edge padding); with no row at all (the
|
| 19 |
+
episode's first frame) the flow starts from the zero coefficients, in training as at deployment.
|
| 20 |
+
- **Sampling stride.** The model's points are `stride` dataset frames apart (30 Hz data: stride 2 = 67 ms, the paper's
|
| 21 |
+
4 x 15 ms = 60 ms). Every dataset frame is an anchor (FLASH's converter keeps only every stride-th frame: one phase
|
| 22 |
+
of the same sparse data).
|
| 23 |
+
- **Observation.** The current ego_view and chest frames and state44 condition the DiT (n_obs 1); FLASH's 8-frame
|
| 24 |
+
observation history is not rendered by the benchmark runners. state44 is the low-dim encoder input as agent_pos is.
|
| 25 |
+
- **Output.** The polynomial is evaluated at every 30 Hz frame from the anchor (`rows` rows, row 0 = the query frame),
|
| 26 |
+
the analytic form of FLASH's continuous-time resampling, at exact frame times. FLASH's velocity feed-forward has no
|
| 27 |
+
channel in the interface (SONIC takes tokens) and is not produced.
|
| 28 |
+
- Polynomial fits run in float32 outside autocast (FLASH runs them inside its bf16 autocast); the encoder and the
|
| 29 |
+
DiT run under the trainer's bf16 autocast as upstream.
|
| 30 |
+
- Augmentation spec v2 replaces the native image augmentation (FLASH's random_crop is configured but inert without
|
| 31 |
+
crop_shape).
|
| 32 |
+
"""
|
| 33 |
+
from __future__ import annotations
|
| 34 |
+
|
| 35 |
+
import copy
|
| 36 |
+
|
| 37 |
+
import numpy as np
|
| 38 |
+
import torch
|
| 39 |
+
import torch.nn as nn
|
| 40 |
+
import torch.nn.functional as F
|
| 41 |
+
import torchvision
|
| 42 |
+
|
| 43 |
+
from .nets import IMAGENET_MEAN, IMAGENET_STD, Mlp, SinusoidalPosEmb, replace_batchnorm_with_groupnorm
|
| 44 |
+
|
| 45 |
+
# configs/policy_config/flash.yaml (+ default_runner.yaml horizon 16 / n_obs 8 / n_action 8), owner 2026-11-24 stride 2
|
| 46 |
+
FLASH_DEFAULTS = dict(stride=2, n_history=8, n_action=8, rows=16, poly_order=6, fit_pad=1, boundary_constraint=True,
|
| 47 |
+
poly_prefix=1, poly_suffix=1, history_noise_std=0.5, history_reg_lambda=0.1,
|
| 48 |
+
consistency_weight=1.0, solver='euler')
|
| 49 |
+
# PolicyConfig fields of a FLASH run (flash.yaml + default_train.yaml): DiT 512 x 4 x 8, dropout 0, time embedding
|
| 50 |
+
# 256, one inference step, ResNet18 from scratch with GroupNorm, one per camera
|
| 51 |
+
FLASH_POLICY_FIELDS = dict(hidden_dim=512, num_layers=4, num_heads=8, mlp_ratio=4.0, dropout=0.0, time_embed_dim=256,
|
| 52 |
+
num_inference_steps=1, backbone='resnet18', backbone_weights=None, backbone_norm='group')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def flash_settings(cfg) -> dict:
|
| 56 |
+
"""The FLASH settings of a PolicyConfig (cfg.extra['flash'] over the defaults); unknown keys are an error."""
|
| 57 |
+
given = dict((cfg.extra or {}).get('flash', {}))
|
| 58 |
+
unknown = sorted(set(given) - set(FLASH_DEFAULTS))
|
| 59 |
+
if unknown:
|
| 60 |
+
raise KeyError(f'unknown FLASH settings {unknown}; known: {sorted(FLASH_DEFAULTS)}')
|
| 61 |
+
out = dict(FLASH_DEFAULTS, **given)
|
| 62 |
+
if out['solver'] not in ('euler', 'midpoint'):
|
| 63 |
+
raise ValueError(f"solver {out['solver']!r}")
|
| 64 |
+
if out['poly_prefix'] is None or int(out['poly_prefix']) < 0:
|
| 65 |
+
raise ValueError('this port implements poly_prefix >= 0 (flash.yaml: 1)')
|
| 66 |
+
return out
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
# --- networks: utils/models/flow_net.py and positional_embedding.py of FLASH-Policy ------------------------------
|
| 70 |
+
class RotaryPosEmbFlash(nn.Module):
|
| 71 |
+
"""torchtune RoPE as FLASH builds it: `dim` = the model width, its dim/2 frequencies split over the heads, pairs
|
| 72 |
+
interleaved (x[..., 0::2], x[..., 1::2])."""
|
| 73 |
+
|
| 74 |
+
def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
|
| 75 |
+
super().__init__()
|
| 76 |
+
self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
|
| 77 |
+
theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
|
| 78 |
+
self.register_buffer('theta', theta, persistent=False)
|
| 79 |
+
seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
|
| 80 |
+
idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
|
| 81 |
+
self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
|
| 82 |
+
persistent=False)
|
| 83 |
+
|
| 84 |
+
def forward(self, x): # x: (B, heads, S, head_dim)
|
| 85 |
+
x = x.permute(0, 2, 1, 3)
|
| 86 |
+
B, S, heads, head_dim = x.size()
|
| 87 |
+
rope = self.cache[:S].view(1, S, heads, head_dim // 2, 2)
|
| 88 |
+
xs = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
|
| 89 |
+
out = torch.stack([xs[..., 0] * rope[..., 0] - xs[..., 1] * rope[..., 1],
|
| 90 |
+
xs[..., 1] * rope[..., 0] + xs[..., 0] * rope[..., 1]], -1)
|
| 91 |
+
return out.flatten(3).permute(0, 2, 1, 3).type_as(x)
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
class FlashAttention(nn.Module):
|
| 95 |
+
def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, max_seq_len=256, qk_norm=True):
|
| 96 |
+
super().__init__()
|
| 97 |
+
assert dim % num_heads == 0, 'dim should be divisible by num_heads'
|
| 98 |
+
self.num_heads, self.head_dim = num_heads, dim // num_heads
|
| 99 |
+
self.attn_drop = attn_drop
|
| 100 |
+
self.proj_drop = nn.Dropout(proj_drop)
|
| 101 |
+
self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
|
| 102 |
+
self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 103 |
+
self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 104 |
+
self.proj = nn.Linear(dim, dim)
|
| 105 |
+
self.rope = RotaryPosEmbFlash(dim, max_seq_len=max_seq_len)
|
| 106 |
+
|
| 107 |
+
def forward(self, x):
|
| 108 |
+
B, S, C = x.shape
|
| 109 |
+
q, k, v = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
|
| 110 |
+
q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
|
| 111 |
+
x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
|
| 112 |
+
return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
class FlashAdaLNBlock(nn.Module):
|
| 116 |
+
def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0, max_seq_len=256):
|
| 117 |
+
super().__init__()
|
| 118 |
+
self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 119 |
+
self.attn = FlashAttention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout,
|
| 120 |
+
max_seq_len=max_seq_len)
|
| 121 |
+
self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 122 |
+
self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
|
| 123 |
+
act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
|
| 124 |
+
self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
|
| 125 |
+
self.dim = dim
|
| 126 |
+
nn.init.constant_(self.ada_ln[-1].weight, 0)
|
| 127 |
+
nn.init.constant_(self.ada_ln[-1].bias, 0)
|
| 128 |
+
|
| 129 |
+
def forward(self, x, t, c):
|
| 130 |
+
B = x.shape[0]
|
| 131 |
+
gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
|
| 132 |
+
x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
|
| 133 |
+
return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
class FlashFlowTransformer(nn.Module):
|
| 137 |
+
"""FLASH's FlowTransformer: AdaLN DiT over the C coefficient rows (tokens of width action_dim)."""
|
| 138 |
+
|
| 139 |
+
def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
|
| 140 |
+
dropout=0.1, time_embed_dim=256, max_seq_len=256):
|
| 141 |
+
super().__init__()
|
| 142 |
+
self.input_proj = nn.Linear(input_dim, hidden_dim)
|
| 143 |
+
self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
|
| 144 |
+
nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
|
| 145 |
+
self.cond_embed = nn.Linear(condition_dim, hidden_dim)
|
| 146 |
+
self.transformer_blocks = nn.ModuleList(
|
| 147 |
+
[FlashAdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout, max_seq_len=max_seq_len)
|
| 148 |
+
for _ in range(num_layers)])
|
| 149 |
+
self.norm = nn.LayerNorm(hidden_dim)
|
| 150 |
+
self.out_proj = nn.Linear(hidden_dim, output_dim)
|
| 151 |
+
|
| 152 |
+
def basic_init(module):
|
| 153 |
+
if isinstance(module, nn.Linear):
|
| 154 |
+
nn.init.xavier_uniform_(module.weight)
|
| 155 |
+
if module.bias is not None:
|
| 156 |
+
nn.init.constant_(module.bias, 0)
|
| 157 |
+
|
| 158 |
+
self.apply(basic_init)
|
| 159 |
+
nn.init.normal_(self.time_embed[1].weight, std=0.02)
|
| 160 |
+
nn.init.normal_(self.time_embed[3].weight, std=0.02)
|
| 161 |
+
|
| 162 |
+
def forward(self, x, t, global_cond):
|
| 163 |
+
if not torch.is_tensor(t):
|
| 164 |
+
t = torch.tensor(t, device=x.device)
|
| 165 |
+
if t.ndim == 0:
|
| 166 |
+
t = t.expand(x.shape[0])
|
| 167 |
+
x = self.input_proj(x)
|
| 168 |
+
t = self.time_embed(t)
|
| 169 |
+
c = self.cond_embed(global_cond)
|
| 170 |
+
for block in self.transformer_blocks:
|
| 171 |
+
x = block(x, t, c)
|
| 172 |
+
return self.out_proj(self.norm(x))
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
class FlashObsEncoder(nn.Module):
|
| 176 |
+
"""FLASH's MultiImageObsEncoder (share_rgb_model False, use_group_norm, imagenet_norm, no resize / crop): one
|
| 177 |
+
torchvision ResNet (classifier removed) per camera, every copy deep-copied from one initialization, BatchNorm
|
| 178 |
+
replaced by GroupNorm(C // 16) after the copy; each [0, 1] image goes through FLASH's range normalizer (x 2 - 1)
|
| 179 |
+
and then torchvision's ImageNet Normalize, as upstream composes them. Output: the cameras' pooled features in the
|
| 180 |
+
contract's camera order, then the normalized state. (B, n_cameras * 512 + state_dim)."""
|
| 181 |
+
|
| 182 |
+
def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None):
|
| 183 |
+
super().__init__()
|
| 184 |
+
base = getattr(torchvision.models, backbone)(weights=weights)
|
| 185 |
+
base.fc = nn.Identity()
|
| 186 |
+
self.rgb = nn.ModuleList([replace_batchnorm_with_groupnorm(copy.deepcopy(base)) for _ in range(n_cameras)])
|
| 187 |
+
self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
|
| 188 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
|
| 189 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
|
| 190 |
+
self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
|
| 191 |
+
|
| 192 |
+
def forward(self, images, state):
|
| 193 |
+
"""images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
|
| 194 |
+
x = images * 2.0 - 1.0 # get_image_range_normalizer: [0, 1] -> [-1, 1]
|
| 195 |
+
feats = [net((x[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)]
|
| 196 |
+
return torch.cat([*feats, state], dim=-1)
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
# --- the policy ---------------------------------------------------------------------------------------------------
|
| 200 |
+
def legendre_basis(s: torch.Tensor, degree: int):
|
| 201 |
+
"""Shifted Legendre basis on s in [0, 1] and its first / second derivatives (FLASH's _build_legendre_basis)."""
|
| 202 |
+
x = 2 * s - 1
|
| 203 |
+
H, C = len(s), degree + 1
|
| 204 |
+
P = torch.zeros(H, C, dtype=s.dtype)
|
| 205 |
+
dP = torch.zeros(H, C, dtype=s.dtype)
|
| 206 |
+
d2P = torch.zeros(H, C, dtype=s.dtype)
|
| 207 |
+
P[:, 0] = 1.0
|
| 208 |
+
if C > 1:
|
| 209 |
+
P[:, 1] = x
|
| 210 |
+
dP[:, 1] = 1.0
|
| 211 |
+
for n in range(1, C - 1):
|
| 212 |
+
P[:, n + 1] = ((2 * n + 1) * x * P[:, n] - n * P[:, n - 1]) / (n + 1)
|
| 213 |
+
dP[:, n + 1] = ((2 * n + 1) * (P[:, n] + x * dP[:, n]) - n * dP[:, n - 1]) / (n + 1)
|
| 214 |
+
d2P[:, n + 1] = ((2 * n + 1) * (2 * dP[:, n] + x * d2P[:, n]) - n * d2P[:, n - 1]) / (n + 1)
|
| 215 |
+
return P, 2 * dP, 4 * d2P
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
def history_rows(rows, valid, stride: int, n_history: int):
|
| 219 |
+
"""The FLASH history of one query from its executed rows.
|
| 220 |
+
|
| 221 |
+
rows (N, D) and valid (N,): consecutive frames ending at the frame before the query (row N - 1 = t - 1), a valid
|
| 222 |
+
contiguous suffix (the interface's past_actions / history_valid; the dataset's rows before an anchor). Returns
|
| 223 |
+
(history (n_history, D) float32 at frames t-1-(n_history-1-j)*stride, has_history bool): a point before the first
|
| 224 |
+
valid row repeats that row (FLASH's edge padding); with no valid row has_history is False (zero start)."""
|
| 225 |
+
rows = np.asarray(rows, dtype=np.float32)
|
| 226 |
+
valid = np.asarray(valid, dtype=bool).reshape(-1)
|
| 227 |
+
span = (n_history - 1) * stride + 1
|
| 228 |
+
if len(rows) < span or len(valid) != len(rows):
|
| 229 |
+
raise ValueError(f'need >= {span} history rows (stride {stride} x {n_history} points), got {rows.shape}')
|
| 230 |
+
if not valid.any():
|
| 231 |
+
return np.zeros((n_history, rows.shape[1]), np.float32), False
|
| 232 |
+
first = int(np.argmax(valid))
|
| 233 |
+
if not valid[first:].all():
|
| 234 |
+
raise ValueError('history_valid must be a contiguous suffix')
|
| 235 |
+
idx = len(rows) - 1 - (n_history - 1 - np.arange(n_history)) * stride
|
| 236 |
+
return rows[np.maximum(idx, first)].copy(), True
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
class FlashPolicy(nn.Module):
|
| 240 |
+
"""FLASH (FlashDiTImagePolicy) on the baselines contract.
|
| 241 |
+
|
| 242 |
+
Training: compute_loss(images, state, poly, history, has_history) with poly (B, H_ext, Da) the physical action
|
| 243 |
+
rows at the polynomial's extended grid (anchor index fit_pad + poly_prefix, `stride` frames apart, clamped at the
|
| 244 |
+
episode's ends), history (B, n_history, Da) from history_rows. Inference: predict(images, state, history,
|
| 245 |
+
has_history) -> the physical (B, rows, Da) chunk at 30 Hz from the query frame, and the normalized coefficients."""
|
| 246 |
+
name = 'flash'
|
| 247 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 248 |
+
|
| 249 |
+
def __init__(self, cfg, init_weights=None):
|
| 250 |
+
super().__init__()
|
| 251 |
+
from .policies import Normalizer
|
| 252 |
+
self.cfg = cfg
|
| 253 |
+
self.state_norm = Normalizer(cfg.state_dim)
|
| 254 |
+
self.action_norm = Normalizer(cfg.action_dim)
|
| 255 |
+
f = self.flash = flash_settings(cfg)
|
| 256 |
+
self.stride, self.n_history, self.n_action = int(f['stride']), int(f['n_history']), int(f['n_action'])
|
| 257 |
+
self.rows, self.poly_order, self.fit_pad = int(f['rows']), int(f['poly_order']), int(f['fit_pad'])
|
| 258 |
+
self.prefix, self.suffix = int(f['poly_prefix']), int(f['poly_suffix'])
|
| 259 |
+
self.boundary_constraint = bool(f['boundary_constraint'])
|
| 260 |
+
self.history_noise_std = float(f['history_noise_std'])
|
| 261 |
+
self.history_reg_lambda = float(f['history_reg_lambda'])
|
| 262 |
+
self.consistency_weight = float(f['consistency_weight'])
|
| 263 |
+
self.solver = f['solver']
|
| 264 |
+
if cfg.horizon != self.rows:
|
| 265 |
+
raise ValueError(f'PolicyConfig.horizon {cfg.horizon} must equal the FLASH output rows {self.rows}')
|
| 266 |
+
C = self.num_coeff = self.poly_order + 1
|
| 267 |
+
H_poly = self.H_poly = self.prefix + self.n_action + self.suffix
|
| 268 |
+
H_ext = self.H_ext = H_poly + 2 * self.fit_pad
|
| 269 |
+
self.anchor = self.fit_pad + self.prefix # anchor index in the extended grid
|
| 270 |
+
last_dense = (self.rows - 1) / self.stride
|
| 271 |
+
if self.prefix + last_dense > H_poly - 1 + 1e-9:
|
| 272 |
+
raise ValueError(f'{self.rows} rows at stride {self.stride} reach past the fitted polynomial')
|
| 273 |
+
|
| 274 |
+
s_ext = torch.linspace(0.0, 1.0, H_ext, dtype=torch.float64)
|
| 275 |
+
s_mid = s_ext[self.fit_pad:self.fit_pad + H_poly] if self.fit_pad > 0 else s_ext
|
| 276 |
+
eval_ext, d1_ext, _ = legendre_basis(s_ext, self.poly_order)
|
| 277 |
+
StS = eval_ext.T @ eval_ext
|
| 278 |
+
lstsq = torch.linalg.solve(StS, eval_ext.T)
|
| 279 |
+
eval_mid, _, _ = legendre_basis(s_mid, self.poly_order)
|
| 280 |
+
coeff_scale = torch.norm(lstsq, dim=1).clamp(min=1e-8)
|
| 281 |
+
self.register_buffer('_lstsq_matrix', lstsq.float())
|
| 282 |
+
self.register_buffer('_coeff_scale', coeff_scale.float().view(1, -1, 1))
|
| 283 |
+
# history fit (flash_policy.py, poly_prefix branch): the first n_history rows of the core grid, Tikhonov
|
| 284 |
+
S_hist = eval_mid.double() if H_poly == self.n_history else eval_mid[:self.n_history, :].double()
|
| 285 |
+
StS_hist = S_hist.T @ S_hist
|
| 286 |
+
if self.history_reg_lambda > 0:
|
| 287 |
+
StS_hist = StS_hist + self.history_reg_lambda * torch.eye(C, dtype=torch.float64)
|
| 288 |
+
self.register_buffer('_history_lstsq_matrix', torch.linalg.solve(StS_hist, S_hist.T).float())
|
| 289 |
+
if self.boundary_constraint: # KKT C1 at the execution start and the next window's start
|
| 290 |
+
idx = [self.fit_pad + self.prefix, self.fit_pad + self.prefix + self.n_action]
|
| 291 |
+
if idx[1] >= H_ext:
|
| 292 |
+
raise ValueError(f'bc_overlap {idx[1]} >= H_ext {H_ext}: increase fit_pad')
|
| 293 |
+
A_pos, A_vel = eval_ext[idx, :], d1_ext[idx, :]
|
| 294 |
+
A = torch.cat([A_pos, A_vel], dim=0)
|
| 295 |
+
StS_inv_AT = torch.linalg.solve(StS, torch.eye(C, dtype=torch.float64)) @ A.T
|
| 296 |
+
self.register_buffer('_bc_eval_pos', A_pos.float())
|
| 297 |
+
self.register_buffer('_bc_eval_vel', A_vel.float())
|
| 298 |
+
self.register_buffer('_bc_correction', (StS_inv_AT @ torch.linalg.inv(A @ StS_inv_AT)).float())
|
| 299 |
+
self.register_buffer('_bc_pos_indices', torch.tensor(idx, dtype=torch.long))
|
| 300 |
+
# the 30 Hz output rows: frame k after the anchor sits at grid index anchor + k / stride
|
| 301 |
+
s_dense = torch.tensor([(self.anchor + k / self.stride) / (H_ext - 1) for k in range(self.rows)],
|
| 302 |
+
dtype=torch.float64)
|
| 303 |
+
self.register_buffer('_dense_eval_matrix', legendre_basis(s_dense, self.poly_order)[0].float())
|
| 304 |
+
|
| 305 |
+
self.obs_encoder = FlashObsEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone, weights=init_weights)
|
| 306 |
+
self.model = FlashFlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
|
| 307 |
+
hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim,
|
| 308 |
+
num_layers=cfg.num_layers, num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio,
|
| 309 |
+
dropout=cfg.dropout, time_embed_dim=cfg.time_embed_dim)
|
| 310 |
+
|
| 311 |
+
def fit_normalizers(self, stats: dict):
|
| 312 |
+
self.state_norm.fit(stats['state']['min'], stats['state']['max'])
|
| 313 |
+
self.action_norm.fit(stats['action']['min'], stats['action']['max'])
|
| 314 |
+
|
| 315 |
+
@property
|
| 316 |
+
def sampling_steps(self) -> int:
|
| 317 |
+
return int(self.cfg.num_inference_steps or 1)
|
| 318 |
+
|
| 319 |
+
@property
|
| 320 |
+
def history_span(self) -> int:
|
| 321 |
+
"""Executed rows a query needs: (n_history - 1) * stride + 1."""
|
| 322 |
+
return (self.n_history - 1) * self.stride + 1
|
| 323 |
+
|
| 324 |
+
def extended_offsets(self) -> np.ndarray:
|
| 325 |
+
"""Frame offsets from the anchor of the extended polynomial grid (for the training targets)."""
|
| 326 |
+
return (np.arange(self.H_ext) - self.anchor) * self.stride
|
| 327 |
+
|
| 328 |
+
# polynomial operations, float32 and outside autocast ----------------------------------------------------------
|
| 329 |
+
def _to_coeff(self, traj_n):
|
| 330 |
+
return torch.einsum('ch,bhd->bcd', self._lstsq_matrix, traj_n) / self._coeff_scale
|
| 331 |
+
|
| 332 |
+
def _history_coeff(self, history, has_history):
|
| 333 |
+
with torch.autocast(history.device.type, enabled=False):
|
| 334 |
+
h = torch.einsum('ch,bhd->bcd', self._history_lstsq_matrix, self.action_norm.normalize(history.float()))
|
| 335 |
+
h = h / self._coeff_scale
|
| 336 |
+
return torch.where(has_history.view(-1, 1, 1).bool(), h, torch.zeros_like(h))
|
| 337 |
+
|
| 338 |
+
def _apply_boundary_constraint(self, norm_coeff, traj_n):
|
| 339 |
+
raw = norm_coeff * self._coeff_scale
|
| 340 |
+
idx, H = self._bc_pos_indices, traj_n.shape[1]
|
| 341 |
+
cur_pos = torch.einsum('kc,bcd->bkd', self._bc_eval_pos, raw)
|
| 342 |
+
tgt_pos = traj_n[:, idx, :]
|
| 343 |
+
vel = []
|
| 344 |
+
for i in idx.tolist():
|
| 345 |
+
if i + 1 < H:
|
| 346 |
+
v = (traj_n[:, i + 1] - traj_n[:, i - 1]) * (H - 1) / 2
|
| 347 |
+
elif i >= 2:
|
| 348 |
+
v = (3 * traj_n[:, i] - 4 * traj_n[:, i - 1] + traj_n[:, i - 2]) * (H - 1) / 2
|
| 349 |
+
else:
|
| 350 |
+
v = (traj_n[:, i] - traj_n[:, i - 1]) * (H - 1)
|
| 351 |
+
vel.append(v)
|
| 352 |
+
tgt_vel = torch.stack(vel, dim=1)
|
| 353 |
+
cur_vel = torch.einsum('kc,bcd->bkd', self._bc_eval_vel, raw)
|
| 354 |
+
residual = torch.cat([cur_pos - tgt_pos, cur_vel - tgt_vel], dim=1)
|
| 355 |
+
return (raw - torch.einsum('ck,bkd->bcd', self._bc_correction, residual)) / self._coeff_scale
|
| 356 |
+
|
| 357 |
+
def target_coeff(self, poly):
|
| 358 |
+
with torch.autocast(poly.device.type, enabled=False):
|
| 359 |
+
traj_n = self.action_norm.normalize(poly.float())
|
| 360 |
+
coeff = self._to_coeff(traj_n)
|
| 361 |
+
if self.boundary_constraint:
|
| 362 |
+
coeff = self._apply_boundary_constraint(coeff, traj_n)
|
| 363 |
+
return coeff
|
| 364 |
+
|
| 365 |
+
def dense_from_coeff(self, norm_coeff):
|
| 366 |
+
"""(B, rows, Da) physical actions at the 30 Hz frames from the anchor."""
|
| 367 |
+
with torch.autocast(norm_coeff.device.type, enabled=False):
|
| 368 |
+
raw = norm_coeff.float() * self._coeff_scale
|
| 369 |
+
return self.action_norm.unnormalize(torch.einsum('hc,bcd->bhd', self._dense_eval_matrix, raw))
|
| 370 |
+
|
| 371 |
+
def condition(self, images, state):
|
| 372 |
+
return self.obs_encoder(images, self.state_norm.normalize(state))
|
| 373 |
+
|
| 374 |
+
# training and inference ------------------------------------------------------------------------------------------
|
| 375 |
+
def compute_loss(self, images, state, poly, history, has_history):
|
| 376 |
+
target = self.target_coeff(poly)
|
| 377 |
+
hist = self._history_coeff(history, has_history)
|
| 378 |
+
if self.training and self.history_noise_std > 0:
|
| 379 |
+
hist = hist + torch.randn_like(hist) * self.history_noise_std
|
| 380 |
+
cond = self.condition(images, state)
|
| 381 |
+
t = torch.rand(target.shape[0], device=target.device)
|
| 382 |
+
te = t.view(-1, 1, 1)
|
| 383 |
+
x_t = (1 - te) * hist + te * target
|
| 384 |
+
loss_fm = F.mse_loss(self.model(x_t, t, cond).float(), target - hist)
|
| 385 |
+
loss, metrics = loss_fm, dict(fm=float(loss_fm.detach()))
|
| 386 |
+
if self.consistency_weight > 0:
|
| 387 |
+
v0 = self.model(hist, torch.zeros_like(t), cond).float()
|
| 388 |
+
loss_c = F.mse_loss(hist + v0, target)
|
| 389 |
+
loss = loss + self.consistency_weight * loss_c
|
| 390 |
+
metrics['consistency'] = float(loss_c.detach())
|
| 391 |
+
return loss, metrics
|
| 392 |
+
|
| 393 |
+
@torch.no_grad()
|
| 394 |
+
def predict_coeff(self, images, state, history, has_history):
|
| 395 |
+
cond = self.condition(images, state)
|
| 396 |
+
x = self._history_coeff(history, has_history)
|
| 397 |
+
times = torch.linspace(0, 1.0, self.sampling_steps + 1)
|
| 398 |
+
for i in range(self.sampling_steps):
|
| 399 |
+
t0 = times[i].view(1).expand(x.shape[0]).to(x.device)
|
| 400 |
+
t1 = times[i + 1].view(1).expand(x.shape[0]).to(x.device)
|
| 401 |
+
dt = (t1 - t0).view(-1, 1, 1)
|
| 402 |
+
if self.solver == 'euler':
|
| 403 |
+
x = x + dt * self.model(x, t0, cond).float()
|
| 404 |
+
else:
|
| 405 |
+
x_mid = x + self.model(x, t0, cond).float() * dt / 2
|
| 406 |
+
x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond).float()
|
| 407 |
+
return x
|
| 408 |
+
|
| 409 |
+
@torch.no_grad()
|
| 410 |
+
def predict(self, images, state, history, has_history, generator=None): # noqa: ARG002 - deterministic
|
| 411 |
+
coeff = self.predict_coeff(images, state, history, has_history)
|
| 412 |
+
return self.dense_from_coeff(coeff), coeff
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""In-training open-loop action MSE of the baselines (owner 2026-11-22: every training of every model measures it while
|
| 2 |
+
it trains; HumanWAM `hb_training/REPRODUCIBILITY.md` section 6).
|
| 3 |
+
|
| 4 |
+
The protocol code is HumanWAM's `hb_training/eval-action-mse` (`hb_inloop_core.InLoop` and `hb_eval_common`), used
|
| 5 |
+
unmodified from the directory given to train.py as --inloop-code; its cache lives under $HB_EVAL_CACHE (default
|
| 6 |
+
$G/eval-action-mse/cache) and is built by its `build_cache.py <task> train10`. Per evaluation: the queries every 16
|
| 7 |
+
frames of the task's `heldout` episodes (`train10` when it has none), the first 16 predicted rows against the
|
| 8 |
+
recorded ones, nMSE over the training-frame std (constant dims excluded), batches of 8 queries seeded
|
| 9 |
+
1234 + 1000 rank + batch index, every HB_INLOOP_EVERY (250) steps; one json line per evaluation in
|
| 10 |
+
<run>/logs/inloop-mse.jsonl and `HB_INLOOP` lines in the log. Training RNG and module modes are restored after each.
|
| 11 |
+
|
| 12 |
+
The evaluated weights are the ones the run saves (the EMA). Inputs as at deployment: each camera resized like the
|
| 13 |
+
training cache (data.resize_frame), state44, and for FLASH the cached past actions (the up to 16 recorded rows before
|
| 14 |
+
the query: the eval protocol's `past_action`) through the same history rule as the adapter (runtime.BaselinePolicy).
|
| 15 |
+
Before the first step the cache is checked against the run's data: the cached state and action rows of every cached
|
| 16 |
+
episode that the run loaded must equal the run's rows bit for bit.
|
| 17 |
+
"""
|
| 18 |
+
from __future__ import annotations
|
| 19 |
+
|
| 20 |
+
import os
|
| 21 |
+
from pathlib import Path
|
| 22 |
+
import sys
|
| 23 |
+
|
| 24 |
+
import numpy as np
|
| 25 |
+
|
| 26 |
+
from .data import resize_frame
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def install(code_dir, task, run_dir, get_model, contract, cameras, hw, lowdim, policy_name, lowdim_loader=None):
|
| 30 |
+
"""The InLoop object of this run (its evaluate(step, model) is called by train.py), after the cache check."""
|
| 31 |
+
code_dir = Path(code_dir).expanduser().resolve()
|
| 32 |
+
if not (code_dir / 'hb_inloop_core.py').exists():
|
| 33 |
+
raise FileNotFoundError(f'{code_dir}: no hb_inloop_core.py (HumanWAM hb_training/eval-action-mse)')
|
| 34 |
+
if str(code_dir) not in sys.path:
|
| 35 |
+
sys.path.insert(0, str(code_dir))
|
| 36 |
+
import hb_inloop_core as core
|
| 37 |
+
E = core.E
|
| 38 |
+
if core.EVERY <= 0:
|
| 39 |
+
print(f'HB_INLOOP {policy_name} disabled: HB_INLOOP_EVERY={core.EVERY}', flush=True)
|
| 40 |
+
return None
|
| 41 |
+
if task not in E.TASKS:
|
| 42 |
+
raise KeyError(f'task {task!r} is not registered in {code_dir}/hb_eval_common.py TASKS')
|
| 43 |
+
split = core.pick_split(task)
|
| 44 |
+
meta = E.load_meta(task, split)
|
| 45 |
+
lay = E.LAYOUTS[meta['layout']]
|
| 46 |
+
if (lay['state_dim'], lay['action_dim']) != (contract.state_dim, contract.action_dim):
|
| 47 |
+
raise ValueError(f"eval layout {meta['layout']} {lay['state_dim']}/{lay['action_dim']} vs contract "
|
| 48 |
+
f'{contract.name} {contract.state_dim}/{contract.action_dim}')
|
| 49 |
+
missing = [c for c in cameras if c not in meta['cams']]
|
| 50 |
+
if missing:
|
| 51 |
+
raise KeyError(f"cameras {missing} not in the eval cache {meta['cams']}")
|
| 52 |
+
def check(rows, what):
|
| 53 |
+
done = []
|
| 54 |
+
for ep in meta['episodes']: # the cache holds this run's data
|
| 55 |
+
if ep not in rows['episodes']:
|
| 56 |
+
continue
|
| 57 |
+
p = rows['episodes'].index(ep)
|
| 58 |
+
s, n = int(rows['starts'][p]), int(rows['lengths'][p])
|
| 59 |
+
with np.load(E.split_dir(task, split) / f'ep_{ep:06d}.npz') as z:
|
| 60 |
+
same = (np.array_equal(z['state'], rows['state'][s:s + n])
|
| 61 |
+
and np.array_equal(z['action'], rows['action'][s:s + n]))
|
| 62 |
+
if not same:
|
| 63 |
+
raise ValueError(f'eval cache {task}/{split} episode {ep} differs from {what} '
|
| 64 |
+
f'(cache source {meta.get("source")})')
|
| 65 |
+
done.append(ep)
|
| 66 |
+
return done
|
| 67 |
+
|
| 68 |
+
checked = check(lowdim, 'the training data')
|
| 69 |
+
if not checked and lowdim_loader is not None:
|
| 70 |
+
# a held-out split: its episodes are not trained on, so they are checked against the same dataset read
|
| 71 |
+
# through the same contract (2026-11-24, B7 black lead-drop b7td: train 0-99, held out 100-106)
|
| 72 |
+
checked = check(lowdim_loader(list(meta['episodes'])), "this run's dataset (held-out episodes)")
|
| 73 |
+
if not checked:
|
| 74 |
+
raise ValueError(f'no cached episode of {task}/{split} is in this run\'s data: cannot check the cache')
|
| 75 |
+
|
| 76 |
+
import torch
|
| 77 |
+
|
| 78 |
+
def predict(batch, seed):
|
| 79 |
+
model = get_model()
|
| 80 |
+
device = next(model.parameters()).device
|
| 81 |
+
frames = np.stack([np.stack([resize_frame(q['images'][c], hw) for c in cameras]) for q in batch])
|
| 82 |
+
images = torch.from_numpy(frames).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 83 |
+
state = torch.from_numpy(np.stack([q['state'] for q in batch]).astype(np.float32)).to(device)
|
| 84 |
+
generator = torch.Generator(device=device)
|
| 85 |
+
generator.manual_seed(int(seed))
|
| 86 |
+
extra = ()
|
| 87 |
+
if policy_name == 'flash':
|
| 88 |
+
from .flash import history_rows
|
| 89 |
+
span, hist, has = model.history_span, [], []
|
| 90 |
+
for q in batch:
|
| 91 |
+
past = np.asarray(q['past_action'], np.float32).reshape(-1, contract.action_dim)
|
| 92 |
+
rows = np.zeros((max(span, len(past)), contract.action_dim), np.float32)
|
| 93 |
+
valid = np.zeros(len(rows), bool)
|
| 94 |
+
if len(past):
|
| 95 |
+
rows[-len(past):], valid[-len(past):] = past, True
|
| 96 |
+
h, ok = history_rows(rows[-span:], valid[-span:], model.stride, model.n_history)
|
| 97 |
+
hist.append(h)
|
| 98 |
+
has.append(ok)
|
| 99 |
+
extra = (torch.from_numpy(np.stack(hist)).to(device), torch.tensor(has, device=device))
|
| 100 |
+
pred, _ = model.predict(images, state, *extra, generator=generator)
|
| 101 |
+
return pred.float().cpu().numpy()
|
| 102 |
+
|
| 103 |
+
info = dict(weights='ema', policy=policy_name, cache_checked_episodes=checked,
|
| 104 |
+
inloop_code=str(code_dir), cache=str(E.split_dir(task, split)))
|
| 105 |
+
loop = core.InLoop(policy_name, task, split, Path(run_dir) / 'logs' / 'inloop-mse.jsonl', predict,
|
| 106 |
+
cams=list(cameras), info=info)
|
| 107 |
+
loop.every = core.EVERY
|
| 108 |
+
loop.say(f'{policy_name} installed: task {task} split {split}, every {core.EVERY} steps, cache checked on '
|
| 109 |
+
f'episodes {checked}, code {code_dir}, G={os.environ.get("G", "<default>")}')
|
| 110 |
+
return loop
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/nets.py
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Networks of the FM-DiT and DP (DDPM-DiT) baselines: the AdaLN DiT action backbone and the camera + state encoder.
|
| 2 |
+
|
| 3 |
+
Ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/nets/dit.py`, `layers.py`,
|
| 4 |
+
`positional_embedding.py`, `vision/backbones.py`, `vision/encoder.py`), unchanged in architecture and initialization.
|
| 5 |
+
Left out: the ROVE improvement embedding, the spatial-softmax / R3M / tactile options and the inpainting path (the
|
| 6 |
+
baselines always condition through the global observation feature). Added: the ResNet's normalization choice
|
| 7 |
+
(`get_resnet`): DextraVerse's GroupNorm for a backbone trained from scratch, or BatchNorm frozen at the pretrained
|
| 8 |
+
statistics (the DETR / ACT practice) for an ImageNet-initialized backbone that is fine-tuned with the policy.
|
| 9 |
+
"""
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import math
|
| 13 |
+
|
| 14 |
+
import torch
|
| 15 |
+
import torch.nn as nn
|
| 16 |
+
import torch.nn.functional as F
|
| 17 |
+
import torchvision
|
| 18 |
+
|
| 19 |
+
IMAGENET_MEAN = (0.485, 0.456, 0.406)
|
| 20 |
+
IMAGENET_STD = (0.229, 0.224, 0.225)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class SinusoidalPosEmb(nn.Module):
|
| 24 |
+
def __init__(self, dim):
|
| 25 |
+
super().__init__()
|
| 26 |
+
self.dim = dim
|
| 27 |
+
|
| 28 |
+
def forward(self, x):
|
| 29 |
+
half_dim = self.dim // 2
|
| 30 |
+
emb = math.log(10000) / (half_dim - 1)
|
| 31 |
+
emb = torch.exp(torch.arange(half_dim, device=x.device) * -emb)
|
| 32 |
+
emb = x[:, None] * emb[None, :]
|
| 33 |
+
return torch.cat((emb.sin(), emb.cos()), dim=-1)
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class RotaryPosEmb(nn.Module):
|
| 37 |
+
"""Rotary position embedding over each attention head's (S, head_dim) slice."""
|
| 38 |
+
|
| 39 |
+
def __init__(self, dim):
|
| 40 |
+
super().__init__()
|
| 41 |
+
self.dim = dim
|
| 42 |
+
self.register_buffer('inv_freq', 1.0 / (10000 ** (torch.arange(0, dim, 2).float() / dim)))
|
| 43 |
+
|
| 44 |
+
def forward(self, x): # x: (B, heads, S, head_dim)
|
| 45 |
+
t = torch.arange(x.shape[-2], device=x.device, dtype=self.inv_freq.dtype)
|
| 46 |
+
freqs = torch.outer(t, self.inv_freq.to(x.device))
|
| 47 |
+
emb = torch.cat([freqs, freqs], dim=-1)
|
| 48 |
+
cos, sin = emb.cos()[None, None], emb.sin()[None, None]
|
| 49 |
+
x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2:]
|
| 50 |
+
return x * cos + torch.cat([-x2, x1], dim=-1) * sin
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
class Mlp(nn.Module):
|
| 54 |
+
"""The ViT MLP (timm.layers.Mlp) as DextraVerse's nets/layers.py."""
|
| 55 |
+
|
| 56 |
+
def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0):
|
| 57 |
+
super().__init__()
|
| 58 |
+
out_features = out_features or in_features
|
| 59 |
+
hidden_features = hidden_features or in_features
|
| 60 |
+
self.fc1 = nn.Linear(in_features, hidden_features)
|
| 61 |
+
self.act = act_layer()
|
| 62 |
+
self.drop1 = nn.Dropout(drop)
|
| 63 |
+
self.norm = nn.Identity()
|
| 64 |
+
self.fc2 = nn.Linear(hidden_features, out_features)
|
| 65 |
+
self.drop2 = nn.Dropout(drop)
|
| 66 |
+
|
| 67 |
+
def forward(self, x):
|
| 68 |
+
return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
class Attention(nn.Module):
|
| 72 |
+
def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, qk_norm=True):
|
| 73 |
+
super().__init__()
|
| 74 |
+
assert dim % num_heads == 0, 'dim should be divisible by num_heads'
|
| 75 |
+
self.num_heads = num_heads
|
| 76 |
+
self.head_dim = dim // num_heads
|
| 77 |
+
self.attn_drop = attn_drop
|
| 78 |
+
self.proj_drop = nn.Dropout(proj_drop)
|
| 79 |
+
self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
|
| 80 |
+
self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 81 |
+
self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
|
| 82 |
+
self.proj = nn.Linear(dim, dim)
|
| 83 |
+
self.rope = RotaryPosEmb(self.head_dim)
|
| 84 |
+
|
| 85 |
+
def forward(self, x):
|
| 86 |
+
B, S, C = x.shape
|
| 87 |
+
qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
|
| 88 |
+
q, k, v = qkv.unbind(0)
|
| 89 |
+
q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
|
| 90 |
+
x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
|
| 91 |
+
return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
class AdaLNBlock(nn.Module):
|
| 95 |
+
"""Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022)."""
|
| 96 |
+
|
| 97 |
+
def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0):
|
| 98 |
+
super().__init__()
|
| 99 |
+
self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 100 |
+
self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
|
| 101 |
+
self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
|
| 102 |
+
self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
|
| 103 |
+
act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
|
| 104 |
+
self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
|
| 105 |
+
self.dim = dim
|
| 106 |
+
nn.init.constant_(self.ada_ln[-1].weight, 0)
|
| 107 |
+
nn.init.constant_(self.ada_ln[-1].bias, 0)
|
| 108 |
+
|
| 109 |
+
def forward(self, x, t, c):
|
| 110 |
+
B = x.shape[0]
|
| 111 |
+
gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
|
| 112 |
+
x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
|
| 113 |
+
return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
class FlowTransformer(nn.Module):
|
| 117 |
+
"""DiT action backbone: AdaLN blocks over the H action tokens, conditioned on time_embed(t) + cond_embed(obs).
|
| 118 |
+
|
| 119 |
+
As DextraVerse, the generic Xavier initialization runs after the blocks' zero init of their AdaLN projection, so
|
| 120 |
+
it is not the full AdaLN-Zero recipe (kept: it is the reference's training behaviour)."""
|
| 121 |
+
|
| 122 |
+
def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
|
| 123 |
+
dropout=0.1, time_embed_dim=256):
|
| 124 |
+
super().__init__()
|
| 125 |
+
self.input_proj = nn.Linear(input_dim, hidden_dim)
|
| 126 |
+
self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
|
| 127 |
+
nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
|
| 128 |
+
self.cond_embed = nn.Linear(condition_dim, hidden_dim)
|
| 129 |
+
self.transformer_blocks = nn.ModuleList(
|
| 130 |
+
[AdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout) for _ in range(num_layers)])
|
| 131 |
+
self.norm = nn.LayerNorm(hidden_dim)
|
| 132 |
+
self.out_proj = nn.Linear(hidden_dim, output_dim)
|
| 133 |
+
|
| 134 |
+
def basic_init(module):
|
| 135 |
+
if isinstance(module, nn.Linear):
|
| 136 |
+
nn.init.xavier_uniform_(module.weight)
|
| 137 |
+
if module.bias is not None:
|
| 138 |
+
nn.init.constant_(module.bias, 0)
|
| 139 |
+
|
| 140 |
+
self.apply(basic_init)
|
| 141 |
+
nn.init.normal_(self.time_embed[1].weight, std=0.02)
|
| 142 |
+
nn.init.normal_(self.time_embed[3].weight, std=0.02)
|
| 143 |
+
|
| 144 |
+
def forward(self, x, t, global_cond):
|
| 145 |
+
if not torch.is_tensor(t):
|
| 146 |
+
t = torch.tensor(t, device=x.device)
|
| 147 |
+
if t.ndim == 0:
|
| 148 |
+
t = t.expand(x.shape[0])
|
| 149 |
+
x = self.input_proj(x)
|
| 150 |
+
t = self.time_embed(t)
|
| 151 |
+
c = self.cond_embed(global_cond)
|
| 152 |
+
for block in self.transformer_blocks:
|
| 153 |
+
x = block(x, t, c)
|
| 154 |
+
return self.out_proj(self.norm(x))
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
def replace_batchnorm_with_groupnorm(module: nn.Module) -> nn.Module:
|
| 158 |
+
"""DextraVerse's use_group_norm: every BatchNorm2d becomes GroupNorm(num_features // 16 groups)."""
|
| 159 |
+
for name, child in module.named_children():
|
| 160 |
+
if isinstance(child, nn.BatchNorm2d):
|
| 161 |
+
setattr(module, name, nn.GroupNorm(num_groups=child.num_features // 16, num_channels=child.num_features))
|
| 162 |
+
else:
|
| 163 |
+
replace_batchnorm_with_groupnorm(child)
|
| 164 |
+
return module
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
NORMS = ('group', 'frozen_bn')
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
def get_resnet(name='resnet18', weights=None, norm='group') -> nn.Module:
|
| 171 |
+
"""A torchvision ResNet with its classifier removed: (N, 3, H, W) -> (N, 512) globally pooled.
|
| 172 |
+
|
| 173 |
+
weights: torchvision weights name (e.g. 'IMAGENET1K_V1') to initialize from, or None (random initialization;
|
| 174 |
+
a checkpoint load supplies every weight). norm: 'group' replaces every BatchNorm with GroupNorm (DextraVerse's
|
| 175 |
+
use_group_norm, for training from scratch: pretrained BatchNorm statistics and affine are dropped); 'frozen_bn'
|
| 176 |
+
keeps BatchNorm frozen at its (pretrained) running statistics and affine, the convolutions fine-tune."""
|
| 177 |
+
if norm == 'frozen_bn':
|
| 178 |
+
from .act_nets import FrozenBatchNorm2d
|
| 179 |
+
resnet = getattr(torchvision.models, name)(weights=weights, norm_layer=FrozenBatchNorm2d)
|
| 180 |
+
elif norm == 'group':
|
| 181 |
+
resnet = replace_batchnorm_with_groupnorm(getattr(torchvision.models, name)(weights=weights))
|
| 182 |
+
else:
|
| 183 |
+
raise ValueError(f'norm must be one of {NORMS}, got {norm!r}')
|
| 184 |
+
resnet.fc = nn.Identity()
|
| 185 |
+
return resnet
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
class ImageStateEncoder(nn.Module):
|
| 189 |
+
"""DextraVerse MultiImageObsEncoder as configured for FM-DiT / DDPM-DiT: one ResNet shared by every camera
|
| 190 |
+
(share_rgb_model; `get_resnet` weights and norm), ImageNet normalization of the [0, 1] images, the pooled features
|
| 191 |
+
of each camera in the contract's camera order, then the normalized state.
|
| 192 |
+
Output (B, n_cameras * 512 + state_dim)."""
|
| 193 |
+
|
| 194 |
+
def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None, norm='group'):
|
| 195 |
+
super().__init__()
|
| 196 |
+
self.rgb = get_resnet(backbone, weights=weights, norm=norm)
|
| 197 |
+
self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
|
| 198 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
|
| 199 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
|
| 200 |
+
self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
|
| 201 |
+
|
| 202 |
+
def forward(self, images, state):
|
| 203 |
+
"""images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
|
| 204 |
+
B = images.shape[0]
|
| 205 |
+
x = (images.flatten(0, 1) - self.mean) / self.std
|
| 206 |
+
features = self.rgb(x).reshape(B, -1) # camera features side by side, in camera order
|
| 207 |
+
return torch.cat([features, state], dim=-1)
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/policies.py
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""The baseline policies behind one contract; the first three ported from DextraVerse's imitation-learning core:
|
| 2 |
+
|
| 3 |
+
- `fm_dit`, `FMDiTPolicy` (reference: dextraverse/algorithms/il/models/fm_dit.py + fm_base.py): flow matching, MSE on
|
| 4 |
+
the velocity `a - noise`; sampled with 10 midpoint steps from noise (20 DiT calls);
|
| 5 |
+
- `dp`, `DPPolicy` (ddpm_dit.py + ddpm_base.py: Diffusion Policy with a DiT backbone): DDPM epsilon MSE over 100
|
| 6 |
+
steps; sampled with the 100 DDPM steps;
|
| 7 |
+
- `act`, `ACTPolicy` (act.py + nets/act/): L1 + `kl_weight` x KL of the CVAE; decoded from the zero latent in one pass;
|
| 8 |
+
- `flash`, `flash.FlashPolicy` (NTUMARS/FLASH-Policy @ f47e490): polynomial-coefficient flow from the fitted history
|
| 9 |
+
of the executed actions to the future, one Euler step; its contract adds the history (flash.py's docstring).
|
| 10 |
+
|
| 11 |
+
Contract (every policy): `compute_loss(images, state, action) -> (loss, metrics)` and
|
| 12 |
+
`predict(images, state, generator) -> (action, normalized action)`; images (B, n_cameras, 3, H, W) float in [0, 1],
|
| 13 |
+
state (B, state_dim) and action (B, horizon, action_dim) in physical units. Each policy owns its `Normalizer`
|
| 14 |
+
(DextraVerse's LinearNormalizer 'limits' mode: state and action to [-1, 1] per dimension, constant dimensions shifted
|
| 15 |
+
to 0), saved in its state dict. One observation frame (n_obs_steps 1: the current images and state); the chunk's row 0
|
| 16 |
+
is the action of the observation's own frame (the LeRobot rows t..t+horizon-1). The configuration that builds a
|
| 17 |
+
policy is a plain dict (`PolicyConfig` fields), stored in the checkpoint.
|
| 18 |
+
|
| 19 |
+
The ResNet18 starts from torchvision's ImageNet-1k weights (`backbone_weights` 'IMAGENET1K_V1', the default since
|
| 20 |
+
2026-11-16) and is fine-tuned with the policy, its BatchNorm frozen at the pretrained statistics (`backbone_norm`
|
| 21 |
+
'frozen_bn', as ACT always does); `backbone_weights` None trains from scratch with DextraVerse's GroupNorm encoder
|
| 22 |
+
(FM-DiT, DP) or ACT's frozen-BatchNorm one. A checkpoint load builds the structure without fetching any weights.
|
| 23 |
+
"""
|
| 24 |
+
from __future__ import annotations
|
| 25 |
+
|
| 26 |
+
from dataclasses import asdict, dataclass, field, replace
|
| 27 |
+
|
| 28 |
+
import torch
|
| 29 |
+
import torch.nn as nn
|
| 30 |
+
import torch.nn.functional as F
|
| 31 |
+
|
| 32 |
+
from .act_nets import DETRVAE, Transformer, build_backbone, build_style_encoder, kl_divergence
|
| 33 |
+
from .nets import IMAGENET_MEAN, IMAGENET_STD, FlowTransformer, ImageStateEncoder
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
@dataclass
|
| 37 |
+
class PolicyConfig:
|
| 38 |
+
"""Everything that builds a policy (stored in the checkpoint's config.json). Model defaults are DextraVerse's
|
| 39 |
+
configs/algorithm/il/model/{fm_dit,ddpm_dit,act}.yaml."""
|
| 40 |
+
policy: str
|
| 41 |
+
n_cameras: int
|
| 42 |
+
state_dim: int
|
| 43 |
+
action_dim: int
|
| 44 |
+
horizon: int = 16
|
| 45 |
+
backbone: str = 'resnet18'
|
| 46 |
+
backbone_weights: str | None = 'IMAGENET1K_V1' # torchvision weights to initialize from; None = from scratch
|
| 47 |
+
backbone_norm: str | None = None # 'frozen_bn' or 'group'; None: frozen_bn when pretrained or ACT, else group
|
| 48 |
+
# FM-DiT / DP (DiT backbone)
|
| 49 |
+
hidden_dim: int = 384
|
| 50 |
+
num_layers: int = 4
|
| 51 |
+
num_heads: int = 8
|
| 52 |
+
mlp_ratio: float = 4.0
|
| 53 |
+
dropout: float = 0.1
|
| 54 |
+
time_embed_dim: int = 128
|
| 55 |
+
num_inference_steps: int | None = None # None: FM-DiT 10 midpoint steps, DP every training timestep (100)
|
| 56 |
+
# DP noise schedule (diffusers DDPMScheduler)
|
| 57 |
+
num_train_timesteps: int = 100
|
| 58 |
+
beta_schedule: str = 'squaredcos_cap_v2'
|
| 59 |
+
prediction_type: str = 'epsilon'
|
| 60 |
+
clip_sample: bool = True
|
| 61 |
+
# ACT
|
| 62 |
+
act_hidden_dim: int = 512
|
| 63 |
+
dim_feedforward: int = 3200
|
| 64 |
+
enc_layers: int = 4
|
| 65 |
+
dec_layers: int = 7
|
| 66 |
+
nheads: int = 8
|
| 67 |
+
latent_dim: int = 32
|
| 68 |
+
kl_weight: float = 10.0
|
| 69 |
+
extra: dict = field(default_factory=dict)
|
| 70 |
+
|
| 71 |
+
def __post_init__(self):
|
| 72 |
+
if self.backbone_norm is None:
|
| 73 |
+
self.backbone_norm = 'frozen_bn' if self.backbone_weights or self.policy == 'act' else 'group'
|
| 74 |
+
if self.policy == 'act' and self.backbone_norm != 'frozen_bn':
|
| 75 |
+
raise ValueError("ACT's backbone keeps frozen BatchNorm (backbone_norm 'frozen_bn')")
|
| 76 |
+
|
| 77 |
+
@classmethod
|
| 78 |
+
def from_dict(cls, data: dict) -> PolicyConfig:
|
| 79 |
+
known = {k: v for k, v in data.items() if k in cls.__dataclass_fields__}
|
| 80 |
+
return cls(**known)
|
| 81 |
+
|
| 82 |
+
def to_dict(self) -> dict:
|
| 83 |
+
return asdict(self)
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
class Normalizer(nn.Module):
|
| 87 |
+
"""Per-dimension affine map to [-1, 1] from the training data's min/max (DextraVerse LinearNormalizer, mode
|
| 88 |
+
'limits', fit_offset, range_eps 1e-4): x_n = x * scale + offset; a dimension whose range is below range_eps gets
|
| 89 |
+
scale 1 and maps its value to 0."""
|
| 90 |
+
|
| 91 |
+
def __init__(self, dim: int):
|
| 92 |
+
super().__init__()
|
| 93 |
+
self.register_buffer('scale', torch.ones(dim))
|
| 94 |
+
self.register_buffer('offset', torch.zeros(dim))
|
| 95 |
+
|
| 96 |
+
@torch.no_grad()
|
| 97 |
+
def fit(self, minimum, maximum, range_eps=1e-4):
|
| 98 |
+
lo = torch.as_tensor(minimum, dtype=torch.float32)
|
| 99 |
+
hi = torch.as_tensor(maximum, dtype=torch.float32)
|
| 100 |
+
span = hi - lo
|
| 101 |
+
ignore = span < range_eps
|
| 102 |
+
span[ignore] = 2.0
|
| 103 |
+
scale = 2.0 / span
|
| 104 |
+
offset = -1.0 - scale * lo
|
| 105 |
+
offset[ignore] = -lo[ignore]
|
| 106 |
+
self.scale.copy_(scale)
|
| 107 |
+
self.offset.copy_(offset)
|
| 108 |
+
|
| 109 |
+
def normalize(self, x):
|
| 110 |
+
return x * self.scale + self.offset
|
| 111 |
+
|
| 112 |
+
def unnormalize(self, x):
|
| 113 |
+
return (x - self.offset) / self.scale
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
class BasePolicy(nn.Module):
|
| 117 |
+
name = ''
|
| 118 |
+
backbone_prefix = '' # state-dict prefix of the image backbone (its own learning rate in training)
|
| 119 |
+
|
| 120 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 121 |
+
super().__init__()
|
| 122 |
+
self.cfg = cfg
|
| 123 |
+
self.state_norm = Normalizer(cfg.state_dim)
|
| 124 |
+
self.action_norm = Normalizer(cfg.action_dim)
|
| 125 |
+
|
| 126 |
+
def fit_normalizers(self, stats: dict):
|
| 127 |
+
self.state_norm.fit(stats['state']['min'], stats['state']['max'])
|
| 128 |
+
self.action_norm.fit(stats['action']['min'], stats['action']['max'])
|
| 129 |
+
|
| 130 |
+
@property
|
| 131 |
+
def sampling_steps(self) -> int:
|
| 132 |
+
return 1
|
| 133 |
+
|
| 134 |
+
def compute_loss(self, images, state, action):
|
| 135 |
+
raise NotImplementedError
|
| 136 |
+
|
| 137 |
+
def predict(self, images, state, generator=None):
|
| 138 |
+
raise NotImplementedError
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
class DiTPolicy(BasePolicy):
|
| 142 |
+
"""Shared by FM-DiT and DP: the shared-ResNet image + state encoder and the AdaLN DiT over the action chunk
|
| 143 |
+
(global observation conditioning, DextraVerse obs_as_global_cond)."""
|
| 144 |
+
backbone_prefix = 'obs_encoder.rgb.'
|
| 145 |
+
|
| 146 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 147 |
+
super().__init__(cfg)
|
| 148 |
+
self.obs_encoder = ImageStateEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone,
|
| 149 |
+
weights=init_weights, norm=cfg.backbone_norm)
|
| 150 |
+
self.model = FlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
|
| 151 |
+
hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim, num_layers=cfg.num_layers,
|
| 152 |
+
num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
|
| 153 |
+
time_embed_dim=cfg.time_embed_dim)
|
| 154 |
+
|
| 155 |
+
def condition(self, images, state):
|
| 156 |
+
return self.obs_encoder(images, self.state_norm.normalize(state))
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
class FMDiTPolicy(DiTPolicy):
|
| 160 |
+
"""Flow-matching DiT (DextraVerse FlowMatchingDiTImagePolicy): x_t = (1 - t) noise + t a, t ~ U(0, 1), the DiT
|
| 161 |
+
regresses the velocity a - noise; sampling integrates t = 0 -> 1 with the midpoint rule."""
|
| 162 |
+
name = 'fm_dit'
|
| 163 |
+
|
| 164 |
+
@property
|
| 165 |
+
def sampling_steps(self) -> int:
|
| 166 |
+
return int(self.cfg.num_inference_steps or 10)
|
| 167 |
+
|
| 168 |
+
def compute_loss(self, images, state, action):
|
| 169 |
+
cond = self.condition(images, state)
|
| 170 |
+
target = self.action_norm.normalize(action)
|
| 171 |
+
noise = torch.randn_like(target)
|
| 172 |
+
t = torch.rand(target.shape[0], device=target.device)
|
| 173 |
+
te = t.view(-1, 1, 1)
|
| 174 |
+
x_t = (1 - te) * noise + te * target
|
| 175 |
+
loss = F.mse_loss(self.model(x_t, t, cond), target - noise)
|
| 176 |
+
return loss, dict(fm=float(loss.detach()))
|
| 177 |
+
|
| 178 |
+
@torch.no_grad()
|
| 179 |
+
def predict(self, images, state, generator=None):
|
| 180 |
+
cond = self.condition(images, state)
|
| 181 |
+
B, steps = images.shape[0], self.sampling_steps
|
| 182 |
+
x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=cond.device, dtype=cond.dtype,
|
| 183 |
+
generator=generator)
|
| 184 |
+
times = torch.linspace(0, 1.0, steps + 1, device=cond.device)
|
| 185 |
+
for i in range(steps):
|
| 186 |
+
t0 = times[i].view(1).expand(B)
|
| 187 |
+
t1 = times[i + 1].view(1).expand(B)
|
| 188 |
+
dt = (t1 - t0).view(-1, 1, 1)
|
| 189 |
+
x_mid = x + self.model(x, t0, cond) * dt / 2
|
| 190 |
+
x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond)
|
| 191 |
+
return self.action_norm.unnormalize(x), x
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
class DPPolicy(DiTPolicy):
|
| 195 |
+
"""Diffusion Policy with the DiT backbone (DextraVerse DiffusionDiTImagePolicy, ddpm_dit.yaml): DDPM with 100
|
| 196 |
+
training steps, squaredcos_cap_v2 betas, fixed_small variance, clipped samples, epsilon prediction; sampled with
|
| 197 |
+
every training step (100 DiT calls)."""
|
| 198 |
+
name = 'dp'
|
| 199 |
+
|
| 200 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 201 |
+
super().__init__(cfg, init_weights)
|
| 202 |
+
from diffusers.schedulers.scheduling_ddpm import DDPMScheduler
|
| 203 |
+
self.noise_scheduler = DDPMScheduler(num_train_timesteps=cfg.num_train_timesteps, beta_start=0.0001,
|
| 204 |
+
beta_end=0.02, beta_schedule=cfg.beta_schedule,
|
| 205 |
+
variance_type='fixed_small', clip_sample=cfg.clip_sample,
|
| 206 |
+
prediction_type=cfg.prediction_type)
|
| 207 |
+
|
| 208 |
+
@property
|
| 209 |
+
def sampling_steps(self) -> int:
|
| 210 |
+
return int(self.cfg.num_inference_steps or self.cfg.num_train_timesteps)
|
| 211 |
+
|
| 212 |
+
def compute_loss(self, images, state, action):
|
| 213 |
+
cond = self.condition(images, state)
|
| 214 |
+
target = self.action_norm.normalize(action)
|
| 215 |
+
noise = torch.randn_like(target)
|
| 216 |
+
t = torch.randint(0, self.noise_scheduler.config.num_train_timesteps, (target.shape[0],),
|
| 217 |
+
device=target.device).long()
|
| 218 |
+
noisy = self.noise_scheduler.add_noise(target, noise, t)
|
| 219 |
+
pred = self.model(noisy, t, cond)
|
| 220 |
+
goal = noise if self.cfg.prediction_type == 'epsilon' else target
|
| 221 |
+
loss = F.mse_loss(pred, goal)
|
| 222 |
+
return loss, dict(ddpm=float(loss.detach()))
|
| 223 |
+
|
| 224 |
+
@torch.no_grad()
|
| 225 |
+
def predict(self, images, state, generator=None):
|
| 226 |
+
cond = self.condition(images, state)
|
| 227 |
+
scheduler = self.noise_scheduler
|
| 228 |
+
x = torch.randn((images.shape[0], self.cfg.horizon, self.cfg.action_dim), device=cond.device,
|
| 229 |
+
dtype=cond.dtype, generator=generator)
|
| 230 |
+
scheduler.set_timesteps(self.sampling_steps, device=cond.device)
|
| 231 |
+
for t in scheduler.timesteps:
|
| 232 |
+
x = scheduler.step(self.model(x, t.to(cond.device), cond), t, x, generator=generator).prev_sample
|
| 233 |
+
return self.action_norm.unnormalize(x), x
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
class ACTPolicy(BasePolicy):
|
| 237 |
+
"""ACT (DextraVerse ACTImagePolicy, act.yaml): ImageNet-normalized cameras through one ResNet with frozen
|
| 238 |
+
BatchNorm (spatial tokens, no pooling), the normalized state as qpos, a CVAE style encoder over the action chunk in
|
| 239 |
+
training, the DETR decoder with `horizon` queries; loss L1 + kl_weight x KL; inference decodes from the zero
|
| 240 |
+
latent (deterministic)."""
|
| 241 |
+
name = 'act'
|
| 242 |
+
backbone_prefix = 'model.backbone.'
|
| 243 |
+
|
| 244 |
+
def __init__(self, cfg: PolicyConfig, init_weights=None):
|
| 245 |
+
super().__init__(cfg)
|
| 246 |
+
transformer = Transformer(d_model=cfg.act_hidden_dim, nhead=cfg.nheads, num_encoder_layers=cfg.enc_layers,
|
| 247 |
+
num_decoder_layers=cfg.dec_layers, dim_feedforward=cfg.dim_feedforward,
|
| 248 |
+
dropout=cfg.dropout, return_intermediate_dec=False)
|
| 249 |
+
self.model = DETRVAE(build_backbone(cfg.backbone, hidden_dim=cfg.act_hidden_dim, weights=init_weights),
|
| 250 |
+
transformer,
|
| 251 |
+
build_style_encoder(cfg.act_hidden_dim, cfg.nheads, cfg.dim_feedforward, cfg.enc_layers,
|
| 252 |
+
cfg.dropout),
|
| 253 |
+
qpos_dim=cfg.state_dim, action_dim=cfg.action_dim, num_queries=cfg.horizon,
|
| 254 |
+
latent_dim=cfg.latent_dim)
|
| 255 |
+
self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 1, 3, 1, 1), persistent=False)
|
| 256 |
+
self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 1, 3, 1, 1), persistent=False)
|
| 257 |
+
|
| 258 |
+
def compute_loss(self, images, state, action):
|
| 259 |
+
target = self.action_norm.normalize(action)
|
| 260 |
+
a_hat, (mu, logvar) = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std,
|
| 261 |
+
actions=target)
|
| 262 |
+
l1 = F.l1_loss(a_hat, target)
|
| 263 |
+
kl = kl_divergence(mu, logvar)
|
| 264 |
+
return l1 + self.cfg.kl_weight * kl, dict(l1=float(l1.detach()), kl=float(kl.detach()))
|
| 265 |
+
|
| 266 |
+
@torch.no_grad()
|
| 267 |
+
def predict(self, images, state, generator=None): # noqa: ARG002 - deterministic (zero latent)
|
| 268 |
+
a_hat, _ = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std)
|
| 269 |
+
return self.action_norm.unnormalize(a_hat), a_hat
|
| 270 |
+
|
| 271 |
+
|
| 272 |
+
from .flash import FlashPolicy # noqa: E402 - FLASH (flash.py) builds on this module's Normalizer and nets.py
|
| 273 |
+
|
| 274 |
+
POLICIES = {cls.name: cls for cls in (FMDiTPolicy, DPPolicy, ACTPolicy, FlashPolicy)}
|
| 275 |
+
LABELS = {'fm_dit': 'FM-DiT', 'dp': 'DP (DDPM-DiT)', 'act': 'ACT', 'flash': 'FLASH'}
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
def build_policy(cfg: PolicyConfig | dict, pretrained: bool = True) -> BasePolicy:
|
| 279 |
+
"""The policy of `cfg`; pretrained=True initializes the backbone from cfg.backbone_weights (training),
|
| 280 |
+
False builds the same structure with random weights (a checkpoint load, which must not download anything)."""
|
| 281 |
+
cfg = cfg if isinstance(cfg, PolicyConfig) else PolicyConfig.from_dict(cfg)
|
| 282 |
+
if cfg.policy not in POLICIES:
|
| 283 |
+
raise KeyError(f'unknown baseline {cfg.policy!r}; one of {sorted(POLICIES)}')
|
| 284 |
+
cfg = replace(cfg) # a copy (resolved backbone_norm)
|
| 285 |
+
return POLICIES[cfg.policy](cfg, init_weights=cfg.backbone_weights if pretrained else None)
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Environment of the FM-DiT / DP / ACT baselines (training and the policy server), Python 3.12, CUDA 12.8 wheels:
|
| 2 |
+
# uv venv <env> --python 3.12
|
| 3 |
+
# uv pip install --python <env>/bin/python -r evaluation/baselines/requirements.txt \
|
| 4 |
+
# --extra-index-url https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match
|
| 5 |
+
torch==2.9.0+cu128
|
| 6 |
+
torchvision==0.24.0+cu128
|
| 7 |
+
diffusers==0.35.1
|
| 8 |
+
av==15.1.0
|
| 9 |
+
pyarrow==23.0.1
|
| 10 |
+
numpy==2.2.6
|
| 11 |
+
opencv-python-headless==4.11.0.86
|
| 12 |
+
pytest==8.4.2
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Checkpoints and inference of the baselines.
|
| 2 |
+
|
| 3 |
+
A checkpoint is a directory written by train.py (`<run>/checkpoints/step-NNNNNN/`, `final` links the last one):
|
| 4 |
+
|
| 5 |
+
- `model.pt`: torch.save of {format, config (the config.json text), state_dict}: the EMA weights (or the raw ones when
|
| 6 |
+
EMA is off) with the policy's state and action normalizers, loaded strictly with `weights_only=True`;
|
| 7 |
+
- `config.json`: the policy configuration, the contract (robot, cameras, state and action columns), the image size,
|
| 8 |
+
the training task text, dataset, episodes, recipe and statistics;
|
| 9 |
+
- `protocol.json`: model.pt's size and SHA-256.
|
| 10 |
+
|
| 11 |
+
`BaselinePolicy.predict` takes the live frames of the checkpoint's cameras (any size; resized with data.resize_frame,
|
| 12 |
+
as the training cache), the physical state of the contract and a seed, and returns the physical (horizon,
|
| 13 |
+
action_dim) chunk with its normalized form; row 0 is the action of the observation's frame.
|
| 14 |
+
"""
|
| 15 |
+
from __future__ import annotations
|
| 16 |
+
|
| 17 |
+
import hashlib
|
| 18 |
+
import json
|
| 19 |
+
from pathlib import Path
|
| 20 |
+
|
| 21 |
+
import numpy as np
|
| 22 |
+
|
| 23 |
+
FORMAT = 'hb_baselines/1'
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def sha256(path) -> str:
|
| 27 |
+
digest = hashlib.sha256()
|
| 28 |
+
with Path(path).open('rb') as stream:
|
| 29 |
+
for block in iter(lambda: stream.read(16 << 20), b''):
|
| 30 |
+
digest.update(block)
|
| 31 |
+
return digest.hexdigest()
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def save_checkpoint(folder, policy, config: dict):
|
| 35 |
+
"""Write model.pt, config.json and protocol.json of `policy` (an nn.Module) into `folder`."""
|
| 36 |
+
import torch
|
| 37 |
+
folder = Path(folder)
|
| 38 |
+
folder.mkdir(parents=True, exist_ok=True)
|
| 39 |
+
text = json.dumps(dict(config, format=FORMAT), indent=1)
|
| 40 |
+
state = {k: v.detach().cpu().contiguous() for k, v in policy.state_dict().items()}
|
| 41 |
+
torch.save(dict(format=FORMAT, config=text, state_dict=state), folder / 'model.pt.tmp')
|
| 42 |
+
(folder / 'model.pt.tmp').replace(folder / 'model.pt')
|
| 43 |
+
(folder / 'config.json').write_text(text)
|
| 44 |
+
(folder / 'protocol.json').write_text(json.dumps(dict(
|
| 45 |
+
format=FORMAT, step=config.get('step'), policy=config['policy']['policy'],
|
| 46 |
+
files={'model.pt': dict(bytes=(folder / 'model.pt').stat().st_size, sha256=sha256(folder / 'model.pt'))}),
|
| 47 |
+
indent=1))
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
def load_checkpoint(folder, device='cpu', verify=True):
|
| 51 |
+
"""(policy in eval mode on `device`, config dict) of a checkpoint directory."""
|
| 52 |
+
import torch
|
| 53 |
+
from .policies import build_policy
|
| 54 |
+
folder = Path(folder)
|
| 55 |
+
if verify:
|
| 56 |
+
protocol = json.loads((folder / 'protocol.json').read_text())
|
| 57 |
+
entry = protocol['files']['model.pt']
|
| 58 |
+
if (folder / 'model.pt').stat().st_size != entry['bytes']:
|
| 59 |
+
raise ValueError(f'{folder}/model.pt differs from protocol.json')
|
| 60 |
+
payload = torch.load(folder / 'model.pt', map_location='cpu', weights_only=True)
|
| 61 |
+
if payload.get('format') != FORMAT:
|
| 62 |
+
raise ValueError(f"{folder}: format {payload.get('format')!r}, expected {FORMAT}")
|
| 63 |
+
config = json.loads(payload['config'])
|
| 64 |
+
if json.loads((folder / 'config.json').read_text()) != config:
|
| 65 |
+
raise ValueError(f'{folder}: config.json differs from the one inside model.pt')
|
| 66 |
+
policy = build_policy(config['policy'], pretrained=False) # every weight comes from model.pt
|
| 67 |
+
policy.load_state_dict(payload['state_dict'], strict=True)
|
| 68 |
+
return policy.to(device).eval(), config
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
class BaselinePolicy:
|
| 72 |
+
"""A loaded checkpoint for closed-loop inference (one request at a time)."""
|
| 73 |
+
|
| 74 |
+
def __init__(self, checkpoint, device='cuda:0', policy: str | None = None, robot: str | None = None):
|
| 75 |
+
import torch
|
| 76 |
+
self.torch = torch
|
| 77 |
+
self.device = torch.device(device)
|
| 78 |
+
self.model, self.config = load_checkpoint(checkpoint, device=self.device)
|
| 79 |
+
self.checkpoint = str(Path(checkpoint).resolve())
|
| 80 |
+
name, contract = self.config['policy']['policy'], self.config['contract']
|
| 81 |
+
if policy is not None and name != policy:
|
| 82 |
+
raise ValueError(f'{checkpoint} is a {name!r} checkpoint, not {policy!r}')
|
| 83 |
+
if robot is not None and contract['robot'] != robot:
|
| 84 |
+
raise ValueError(f"{checkpoint} was trained for {contract['robot']!r} ({contract['name']}), not {robot!r}")
|
| 85 |
+
self.name, self.contract = name, contract
|
| 86 |
+
self.cameras = tuple(contract['cameras'])
|
| 87 |
+
self.image_hw = tuple(self.config['image_hw'])
|
| 88 |
+
self.horizon = int(self.config['policy']['horizon'])
|
| 89 |
+
self.state_dim, self.action_dim = int(contract['state_dim']), int(contract['action_dim'])
|
| 90 |
+
self.sampling_steps = int(self.model.sampling_steps)
|
| 91 |
+
self.task_text = self.config.get('task_text')
|
| 92 |
+
|
| 93 |
+
def info(self) -> dict:
|
| 94 |
+
out = dict(model=self.name, checkpoint=self.checkpoint, step=self.config.get('step'),
|
| 95 |
+
contract=self.contract['name'], views=list(self.cameras), image_hw=list(self.image_hw),
|
| 96 |
+
action_chunk=self.horizon, action_dim=self.action_dim, state_dim=self.state_dim,
|
| 97 |
+
sampling_steps=self.sampling_steps, task_text=self.task_text,
|
| 98 |
+
training_data=self.config.get('dataset', {}).get('name'))
|
| 99 |
+
if self.name == 'flash':
|
| 100 |
+
out['flash'] = dict(self.model.flash, history_rows=self.model.history_span)
|
| 101 |
+
return out
|
| 102 |
+
|
| 103 |
+
def history(self, past_actions, history_valid):
|
| 104 |
+
"""FLASH: (history (1, n_history, Da), has_history (1,)) tensors from the executed rows before the query
|
| 105 |
+
(past_actions (N, Da) oldest first, row N-1 = frame t-1; history_valid (N,) a contiguous valid suffix)."""
|
| 106 |
+
from .flash import history_rows
|
| 107 |
+
torch, span = self.torch, self.model.history_span
|
| 108 |
+
rows = np.asarray(past_actions, np.float32)
|
| 109 |
+
valid = np.asarray(history_valid, np.float32).reshape(-1) > 0.5
|
| 110 |
+
if rows.ndim != 2 or rows.shape[1] != self.action_dim or len(valid) != len(rows):
|
| 111 |
+
raise ValueError(f'past_actions {rows.shape} / history_valid {valid.shape}: '
|
| 112 |
+
f'expected (N, {self.action_dim})')
|
| 113 |
+
if len(rows) < span: # fewer rows than the history reaches back: the missing older rows are invalid
|
| 114 |
+
pad = span - len(rows)
|
| 115 |
+
rows = np.concatenate([np.zeros((pad, rows.shape[1]), np.float32), rows])
|
| 116 |
+
valid = np.concatenate([np.zeros(pad, bool), valid])
|
| 117 |
+
hist, has = history_rows(rows[-span:], valid[-span:], self.model.stride, self.model.n_history)
|
| 118 |
+
return (torch.from_numpy(hist)[None].to(self.device),
|
| 119 |
+
torch.tensor([bool(has)], device=self.device))
|
| 120 |
+
|
| 121 |
+
def images_tensor(self, images: dict):
|
| 122 |
+
from .data import resize_frame
|
| 123 |
+
missing = [c for c in self.cameras if c not in images]
|
| 124 |
+
if missing:
|
| 125 |
+
raise KeyError(f'missing cameras {missing}; the checkpoint reads {list(self.cameras)}')
|
| 126 |
+
frames = np.stack([resize_frame(np.asarray(images[c]), self.image_hw) for c in self.cameras])
|
| 127 |
+
x = self.torch.from_numpy(frames).to(self.device).permute(0, 3, 1, 2).float().div_(255.)
|
| 128 |
+
return x.unsqueeze(0) # (1, n_cameras, 3, h, w)
|
| 129 |
+
|
| 130 |
+
def predict(self, images: dict, state, seed: int = 0, past_actions=None, history_valid=None):
|
| 131 |
+
"""(action (horizon, action_dim) float32 physical, normalized form (FLASH: the polynomial coefficients)).
|
| 132 |
+
FLASH also needs past_actions / history_valid (the interface's executed rows before the query)."""
|
| 133 |
+
torch = self.torch
|
| 134 |
+
state = np.asarray(state, np.float32).reshape(-1)
|
| 135 |
+
if state.shape != (self.state_dim,) or not np.isfinite(state).all():
|
| 136 |
+
raise ValueError(f'expected a finite state of {self.state_dim} values, got {state.shape}')
|
| 137 |
+
generator = torch.Generator(device=self.device)
|
| 138 |
+
generator.manual_seed(int(seed) % (2 ** 63 - 1))
|
| 139 |
+
extra = ()
|
| 140 |
+
if self.name == 'flash':
|
| 141 |
+
if past_actions is None or history_valid is None:
|
| 142 |
+
raise ValueError('FLASH needs past_actions and history_valid (the executed rows before the query)')
|
| 143 |
+
extra = self.history(past_actions, history_valid)
|
| 144 |
+
with torch.inference_mode():
|
| 145 |
+
action, raw = self.model.predict(self.images_tensor(images),
|
| 146 |
+
torch.from_numpy(state)[None].to(self.device), *extra,
|
| 147 |
+
generator=generator)
|
| 148 |
+
action = action[0].float().cpu().numpy()
|
| 149 |
+
if action.shape != (self.horizon, self.action_dim) or not np.isfinite(action).all():
|
| 150 |
+
raise ValueError(f'invalid prediction {action.shape}')
|
| 151 |
+
return np.ascontiguousarray(action, np.float32), raw[0].float().cpu().numpy().astype(np.float32)
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/baselines/train.py
ADDED
|
@@ -0,0 +1,500 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Train an FM-DiT, DP (DDPM-DiT), ACT or FLASH baseline on a task's LeRobot v2.1 expert dataset.
|
| 2 |
+
|
| 3 |
+
<baselines env>/bin/python -I evaluation/baselines/train.py --policy fm_dit --contract h2_sharpa \\
|
| 4 |
+
--dataset data/h2_pour_water/h2_pour_water_r1/lerobot --out <run dir> --steps 60000
|
| 5 |
+
|
| 6 |
+
The recipe is DextraVerse's shared IL recipe (configs/algorithm/il/train.yaml; runners/train_dex_flow_matching.py):
|
| 7 |
+
AdamW (lr 1e-4, betas 0.95/0.999, weight decay 1e-6), cosine decay (here after a 500-step linear warm-up, as
|
| 8 |
+
Diffusion Policy), whole-policy EMA (Diffusion Policy's warm-up schedule, max decay 0.9999) whose weights are the
|
| 9 |
+
saved checkpoint, batch 64, one observation frame and 16-row chunks. Added for the humanoid views: frames resized
|
| 10 |
+
to 168x224 (the 480x640 aspect). bf16 autocast on CUDA.
|
| 11 |
+
|
| 12 |
+
FLASH (--policy flash, evaluation/baselines/flash.py) keeps its upstream recipe (FLASH-Policy f47e490,
|
| 13 |
+
default_train.yaml + flash.yaml) where the defaults differ: seed 42 (upstream's; the protocol keeps each model's
|
| 14 |
+
official seed), ResNet18 from scratch with GroupNorm trained at the full learning rate (--backbone-weights none,
|
| 15 |
+
--backbone-lr-scale 1), diffusers' cosine schedule with a 500-step warm-up, Diffusion Policy's EMAModel decay as
|
| 16 |
+
upstream counts it, and its own items (FlashChunkDataset: the polynomial targets at the sampling stride, the executed
|
| 17 |
+
history). --flash KEY=VALUE changes a FLASH setting (flash.FLASH_DEFAULTS: stride, n_history, ...). Its augmentation
|
| 18 |
+
stream is seeded from the training seed (FlashChunkDataset aug_seed; logged as HB_AUG_SEED=<seed>).
|
| 19 |
+
|
| 20 |
+
Augmentation (2026-11-16): the Humanoid Benchmark spec v2 (docs/augmentation_v2.md, evaluation/augmentation), the
|
| 21 |
+
same for every model of the benchmark, is on by default (--augmentation hb-v2): per training item one hb_aug_v2 call
|
| 22 |
+
on the cached 168x224 frames of all cameras (colour shared, geometry / light patches / white balance per camera, one
|
| 23 |
+
of the 15 effects boosted 1.5 x) and the per-sample joint bias (+-2 deg) + noise (0.25 deg, clipped 3 sigma) on the
|
| 24 |
+
body joint angles of the raw state (G1 29, H2 31), before the policy's normalizers; actions untouched. The native
|
| 25 |
+
random shift is off (--shift 0; a shift with hb-v2 is refused). Before the first step a preflight reads training items
|
| 26 |
+
through the augmented and the plain path and checks the state width (G1 44 / H2 78, no velocity), that only the body
|
| 27 |
+
joints move and by at most 2.75 deg, that the action rows (and FLASH's history) are bit-identical, that the images
|
| 28 |
+
change, and that the offline-check items are deterministic; it is stored in run.json (--preflight-only stops after it).
|
| 29 |
+
--augmentation none is an explicit exception to the spec, recorded in run.json and the checkpoints. The ResNet18
|
| 30 |
+
starts from torchvision's ImageNet-1k weights (--backbone-weights IMAGENET1K_V1, downloaded once to the torch hub
|
| 31 |
+
cache) and is fine-tuned at 0.1 x the learning rate (--backbone-lr-scale, the DETR practice) with its BatchNorm
|
| 32 |
+
frozen; --backbone-weights none trains it from scratch (DextraVerse's GroupNorm encoder for FM-DiT and DP).
|
| 33 |
+
|
| 34 |
+
In-training MSE (owner 2026-11-22, HumanWAM hb_training/REPRODUCIBILITY.md section 6): --inloop-task <key> with
|
| 35 |
+
--inloop-code <HumanWAM hb_training/eval-action-mse> evaluates the saved (EMA) weights every HB_INLOOP_EVERY (250)
|
| 36 |
+
steps on the protocol's cached episodes (inloop.py) into <out>/logs/inloop-mse.jsonl. FLASH refuses to train without
|
| 37 |
+
it unless --allow-no-inloop (an exception to the protocol, recorded in run.json).
|
| 38 |
+
|
| 39 |
+
Writes into --out: run.json (arguments), train_log.jsonl, checkpoints/step-NNNNNN/ every --save-every steps and at the
|
| 40 |
+
end (runtime.py format), checkpoints/final -> the last one, and train_state.pt (optimizer, schedule, EMA, step) that
|
| 41 |
+
--resume continues from. Each save also measures the EMA policy offline on fixed frames (held-out episodes with
|
| 42 |
+
--val-episodes, else training frames): normalized-action MSE overall and per action group.
|
| 43 |
+
"""
|
| 44 |
+
from __future__ import annotations
|
| 45 |
+
|
| 46 |
+
import argparse
|
| 47 |
+
import copy
|
| 48 |
+
from datetime import datetime
|
| 49 |
+
import json
|
| 50 |
+
import math
|
| 51 |
+
import os
|
| 52 |
+
from pathlib import Path
|
| 53 |
+
import subprocess
|
| 54 |
+
import sys
|
| 55 |
+
import time
|
| 56 |
+
|
| 57 |
+
import numpy as np
|
| 58 |
+
|
| 59 |
+
HERE = Path(__file__).resolve().parent
|
| 60 |
+
REPO = HERE.parents[1]
|
| 61 |
+
if str(HERE.parent) not in sys.path:
|
| 62 |
+
sys.path.insert(0, str(HERE.parent))
|
| 63 |
+
|
| 64 |
+
from baselines.data import (CONTRACTS, ChunkDataset, FlashChunkDataset, LeRobotDataset, # noqa: E402
|
| 65 |
+
augmentation_module, frame_cache, load_lowdim, parse_episodes, statistics)
|
| 66 |
+
from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS # noqa: E402
|
| 67 |
+
from baselines.policies import POLICIES, PolicyConfig, build_policy # noqa: E402
|
| 68 |
+
from baselines.runtime import save_checkpoint # noqa: E402
|
| 69 |
+
|
| 70 |
+
DEFAULTS = dict(lr=1e-4, betas=(0.95, 0.999), weight_decay=1e-6, warmup=500, ema=0.9999, batch_size=64,
|
| 71 |
+
backbone_weights='IMAGENET1K_V1', backbone_lr_scale=0.1, seed=0)
|
| 72 |
+
# FLASH-Policy f47e490 default_train.yaml / flash.yaml where they differ from DEFAULTS
|
| 73 |
+
FLASH_TRAINING = dict(seed=42, backbone_weights=None, backbone_lr_scale=1.0, schedule='diffusers_cosine',
|
| 74 |
+
ema_schedule='diffusion_policy_emamodel')
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def git_commit():
|
| 78 |
+
try:
|
| 79 |
+
return subprocess.run(['git', '-C', str(REPO), 'rev-parse', 'HEAD'], capture_output=True, text=True,
|
| 80 |
+
check=True).stdout.strip()
|
| 81 |
+
except Exception: # noqa: BLE001 - outside a checkout
|
| 82 |
+
return None
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
def parse_hw(text):
|
| 86 |
+
h, w = text.lower().split('x')
|
| 87 |
+
return int(h), int(w)
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def random_shift(images, pad):
|
| 91 |
+
"""DrQ random shift: replicate-pad by `pad` pixels and crop back at a random offset per sample.
|
| 92 |
+
images (B, N, 3, H, W) float."""
|
| 93 |
+
import torch
|
| 94 |
+
import torch.nn.functional as F
|
| 95 |
+
if pad <= 0:
|
| 96 |
+
return images
|
| 97 |
+
B, N, C, H, W = images.shape
|
| 98 |
+
x = F.pad(images.reshape(B * N, C, H, W), (pad,) * 4, mode='replicate')
|
| 99 |
+
oy = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
|
| 100 |
+
ox = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
|
| 101 |
+
rows = (oy[:, None] + torch.arange(H, device=images.device)[None])[:, None, :, None].expand(-1, C, -1, W + 2 * pad)
|
| 102 |
+
x = x.gather(2, rows)
|
| 103 |
+
cols = (ox[:, None] + torch.arange(W, device=images.device)[None])[:, None, None, :].expand(-1, C, H, -1)
|
| 104 |
+
return x.gather(3, cols).reshape(B, N, C, H, W)
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
class EMA:
|
| 108 |
+
"""Diffusion Policy's EMAModel schedule: decay = min(max_decay, 1 - (1 + step) ** -0.75), parameters averaged,
|
| 109 |
+
buffers (normalizers) copied. schedule 'diffusion_policy_emamodel' counts the steps as upstream's EMAModel does
|
| 110 |
+
(decay 0 for the first two updates, then 1 - (step - 1) ** -0.75; FLASH)."""
|
| 111 |
+
|
| 112 |
+
def __init__(self, model, max_decay, schedule='hb'):
|
| 113 |
+
self.model = copy.deepcopy(model).eval().requires_grad_(False)
|
| 114 |
+
self.max_decay = float(max_decay)
|
| 115 |
+
self.schedule = schedule
|
| 116 |
+
|
| 117 |
+
def decay(self, step):
|
| 118 |
+
if self.schedule == 'diffusion_policy_emamodel':
|
| 119 |
+
return 0.0 if step <= 2 else min(self.max_decay, max(0.0, 1 - (step - 1) ** -0.75))
|
| 120 |
+
return 0.0 if step <= 0 else min(self.max_decay, max(0.0, 1 - (1 + step) ** -0.75))
|
| 121 |
+
|
| 122 |
+
def update(self, model, step):
|
| 123 |
+
import torch
|
| 124 |
+
decay = self.decay(step)
|
| 125 |
+
with torch.no_grad():
|
| 126 |
+
for e, p in zip(self.model.parameters(), model.parameters()):
|
| 127 |
+
e.mul_(decay).add_(p.detach(), alpha=1 - decay)
|
| 128 |
+
for e, b in zip(self.model.buffers(), model.buffers()):
|
| 129 |
+
e.copy_(b)
|
| 130 |
+
return decay
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
def preflight(train_set, eval_set, contract, samples=64, seed=0) -> dict:
|
| 134 |
+
"""Training items of `train_set` (augmented unless its body_dims is 0) against the same frames read without
|
| 135 |
+
augmentation, and two reads of the offline-check items; raises on any violation of docs/augmentation_v2.md.
|
| 136 |
+
Items are (images, state, *labels): every label (action rows; FLASH's polynomial rows and history) must be
|
| 137 |
+
bit-identical to the plain read."""
|
| 138 |
+
import torch
|
| 139 |
+
plain = train_set.plain() # the same frames without augmentation
|
| 140 |
+
picks = np.random.default_rng(seed).choice(len(plain), size=min(samples, len(plain)), replace=False)
|
| 141 |
+
nb, sd = train_set.body_dims, contract.state_dim
|
| 142 |
+
limit = augmentation_module().max_body_offset_rad() * (1 + 1e-5)
|
| 143 |
+
images_changed = body_moved = 0
|
| 144 |
+
worst = 0.0
|
| 145 |
+
for k in picks:
|
| 146 |
+
(im, st, *lab), (im0, st0, *lab0) = train_set[int(k)], plain[int(k)]
|
| 147 |
+
if st.shape != (sd,) or st0.shape != (sd,) or [x.shape for x in lab] != [x.shape for x in lab0]:
|
| 148 |
+
raise SystemExit(f'preflight: state {tuple(st.shape)} / labels {[tuple(x.shape) for x in lab]}, '
|
| 149 |
+
f'expected ({sd},)')
|
| 150 |
+
if not all(torch.equal(a, b) for a, b in zip(lab, lab0)):
|
| 151 |
+
raise SystemExit('preflight: an action label differs from the recorded data')
|
| 152 |
+
if not torch.equal(st[nb:], st0[nb:]):
|
| 153 |
+
raise SystemExit(f'preflight: a state value past the {nb} body joints changed')
|
| 154 |
+
delta = (st[:nb].double() - st0[:nb].double()).abs()
|
| 155 |
+
if nb:
|
| 156 |
+
worst = max(worst, float(delta.max()))
|
| 157 |
+
if worst > limit:
|
| 158 |
+
raise SystemExit(f'preflight: a body joint moved {math.degrees(worst):.3f} deg (> 2.75)')
|
| 159 |
+
body_moved += int((delta > 0).sum())
|
| 160 |
+
images_changed += int(not torch.equal(im, im0))
|
| 161 |
+
n = len(picks)
|
| 162 |
+
moved = body_moved / max(1, n * nb)
|
| 163 |
+
if nb and (images_changed < 0.9 * n or moved < 0.95):
|
| 164 |
+
raise SystemExit(f'preflight: augmentation inactive ({images_changed}/{n} images changed, {moved:.3f} of the '
|
| 165 |
+
'body joint values moved)')
|
| 166 |
+
if not nb and (images_changed or worst):
|
| 167 |
+
raise SystemExit('preflight: items changed with the augmentation off')
|
| 168 |
+
eval_picks = np.random.default_rng(seed + 1).choice(len(eval_set), size=min(8, len(eval_set)), replace=False)
|
| 169 |
+
for k in eval_picks:
|
| 170 |
+
a, b = eval_set[int(k)], eval_set[int(k)]
|
| 171 |
+
if eval_set.body_dims or not all(torch.equal(x, y) for x, y in zip(a, b)):
|
| 172 |
+
raise SystemExit('preflight: the offline-check items are not deterministic')
|
| 173 |
+
return dict(samples=n, state_dim=sd, body_dims=nb, images_changed=images_changed,
|
| 174 |
+
body_values_moved=round(moved, 4),
|
| 175 |
+
max_body_offset_deg=round(math.degrees(worst), 4), actions_bit_identical=True,
|
| 176 |
+
non_body_state_bit_identical=True, eval_items_deterministic=len(eval_picks))
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
def offline_eval(policy, dataset, samples, device, groups):
|
| 180 |
+
"""Normalized-action MSE of policy.predict on fixed dataset items (seeded), overall and per action group. FLASH:
|
| 181 |
+
its 30 Hz output rows against the recorded rows from the anchor (rows past the episode's end left out)."""
|
| 182 |
+
import torch
|
| 183 |
+
policy.eval()
|
| 184 |
+
errs, masks = [], []
|
| 185 |
+
generator = torch.Generator(device=device)
|
| 186 |
+
generator.manual_seed(0)
|
| 187 |
+
for start in range(0, len(samples), 32):
|
| 188 |
+
batch = [dataset[int(k)] for k in samples[start:start + 32]]
|
| 189 |
+
images = torch.stack([b[0] for b in batch]).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 190 |
+
state = torch.stack([b[1] for b in batch]).to(device)
|
| 191 |
+
if policy.name == 'flash':
|
| 192 |
+
hist = torch.stack([b[3] for b in batch]).to(device)
|
| 193 |
+
has = torch.stack([b[4] for b in batch]).to(device)
|
| 194 |
+
target = torch.stack([b[5] for b in batch]).to(device)
|
| 195 |
+
valid = torch.stack([b[6] for b in batch]).numpy()
|
| 196 |
+
pred, _ = policy.predict(images, state, hist, has, generator=generator)
|
| 197 |
+
raw = policy.action_norm.normalize(pred.float())
|
| 198 |
+
else:
|
| 199 |
+
target = torch.stack([b[2] for b in batch]).to(device)
|
| 200 |
+
valid = np.ones(target.shape[:2], bool)
|
| 201 |
+
_, raw = policy.predict(images, state, generator=generator)
|
| 202 |
+
errs.append((raw.float() - policy.action_norm.normalize(target)).pow(2).cpu().numpy())
|
| 203 |
+
masks.append(valid)
|
| 204 |
+
err, mask = np.concatenate(errs), np.concatenate(masks) # (S, horizon, action_dim), (S, horizon)
|
| 205 |
+
rows = err[mask]
|
| 206 |
+
out = dict(mse=float(rows.mean()), mse_row0=float(err[:, 0][mask[:, 0]].mean()))
|
| 207 |
+
offset = 0
|
| 208 |
+
for column, start, end in groups:
|
| 209 |
+
out[f'mse_{column.split(".")[-1]}'] = float(rows[:, offset:offset + end - start].mean())
|
| 210 |
+
offset += end - start
|
| 211 |
+
return out
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
def main():
|
| 215 |
+
p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
| 216 |
+
p.add_argument('--policy', choices=sorted(POLICIES), required=True)
|
| 217 |
+
p.add_argument('--dataset', type=Path, required=True, help='LeRobot v2.1 dataset directory')
|
| 218 |
+
p.add_argument('--contract', choices=sorted(CONTRACTS), required=True)
|
| 219 |
+
p.add_argument('--cameras', help='comma-separated cameras (default: the contract\'s)')
|
| 220 |
+
p.add_argument('--episodes', help="episodes to use, e.g. '0:100' (default: all)")
|
| 221 |
+
p.add_argument('--val-episodes', type=int, default=0, help='hold out the last N of them for the offline check')
|
| 222 |
+
p.add_argument('--out', type=Path, required=True)
|
| 223 |
+
p.add_argument('--steps', type=int, default=60000)
|
| 224 |
+
p.add_argument('--batch-size', type=int, default=DEFAULTS['batch_size'])
|
| 225 |
+
p.add_argument('--lr', type=float, default=DEFAULTS['lr'])
|
| 226 |
+
p.add_argument('--weight-decay', type=float, default=DEFAULTS['weight_decay'])
|
| 227 |
+
p.add_argument('--warmup', type=int, default=DEFAULTS['warmup'])
|
| 228 |
+
p.add_argument('--ema', type=float, default=DEFAULTS['ema'], help='max EMA decay; 0 saves the raw weights')
|
| 229 |
+
p.add_argument('--horizon', type=int, default=16)
|
| 230 |
+
p.add_argument('--image-size', default='168x224', help='HxW of the policy images')
|
| 231 |
+
p.add_argument('--augmentation', choices=['hb-v2', 'none'], default='hb-v2',
|
| 232 |
+
help='training augmentation: the benchmark spec v2 (default; docs/augmentation_v2.md) or none '
|
| 233 |
+
'(an explicit exception, recorded in run.json)')
|
| 234 |
+
p.add_argument('--shift', type=int, default=0,
|
| 235 |
+
help='native random-shift augmentation in pixels (default 0: off; only with --augmentation none)')
|
| 236 |
+
p.add_argument('--preflight-only', action='store_true', help='run the data preflight, write run.json and stop')
|
| 237 |
+
p.add_argument('--backbone-weights', default=None,
|
| 238 |
+
help="torchvision weights the ResNet18 starts from (default IMAGENET1K_V1; FLASH: none); "
|
| 239 |
+
"'none': from scratch")
|
| 240 |
+
p.add_argument('--backbone-lr-scale', type=float, default=None,
|
| 241 |
+
help='learning rate of the image backbone relative to --lr (default 0.1; FLASH: 1)')
|
| 242 |
+
p.add_argument('--model', action='append', default=[], metavar='KEY=VALUE',
|
| 243 |
+
help='override a PolicyConfig field (JSON value), e.g. num_layers=6; repeatable')
|
| 244 |
+
p.add_argument('--flash', action='append', default=[], metavar='KEY=VALUE',
|
| 245 |
+
help='FLASH setting (JSON value), e.g. stride=2; repeatable (flash.FLASH_DEFAULTS)')
|
| 246 |
+
p.add_argument('--cache-dir', type=Path, default=Path('~/hb_models/baselines/cache'))
|
| 247 |
+
p.add_argument('--workers', type=int, default=32,
|
| 248 |
+
help='DataLoader workers (and frame-cache decoders); the v2 augmentation costs ~17 ms of one CPU '
|
| 249 |
+
'core per item, so 8 workers feed only ~6 steps/s at batch 64')
|
| 250 |
+
p.add_argument('--prefetch', type=int, default=2, help='batches prefetched per worker')
|
| 251 |
+
p.add_argument('--save-every', type=int, default=10000)
|
| 252 |
+
p.add_argument('--log-every', type=int, default=100)
|
| 253 |
+
p.add_argument('--eval-samples', type=int, default=256)
|
| 254 |
+
p.add_argument('--seed', type=int, default=None, help='training seed (default 0; FLASH: 42, upstream\'s)')
|
| 255 |
+
p.add_argument('--device', default='cuda:0')
|
| 256 |
+
p.add_argument('--no-amp', action='store_true')
|
| 257 |
+
p.add_argument('--resume', action='store_true', help='continue from <out>/train_state.pt')
|
| 258 |
+
p.add_argument('--inloop-task', help='in-training MSE: the task key of HumanWAM eval-action-mse hb_eval_common')
|
| 259 |
+
p.add_argument('--inloop-code', type=Path, help='in-training MSE: HumanWAM hb_training/eval-action-mse')
|
| 260 |
+
p.add_argument('--allow-no-inloop', action='store_true',
|
| 261 |
+
help='FLASH: train without the in-training MSE (an exception to the protocol, recorded)')
|
| 262 |
+
args = p.parse_args()
|
| 263 |
+
|
| 264 |
+
flash = args.policy == 'flash'
|
| 265 |
+
defaults = dict(DEFAULTS, **(FLASH_TRAINING if flash else {}))
|
| 266 |
+
seed = defaults['seed'] if args.seed is None else args.seed
|
| 267 |
+
backbone_weights = defaults['backbone_weights'] if args.backbone_weights is None else args.backbone_weights
|
| 268 |
+
backbone_lr_scale = defaults['backbone_lr_scale'] if args.backbone_lr_scale is None else args.backbone_lr_scale
|
| 269 |
+
if flash and not args.inloop_task and not args.allow_no_inloop:
|
| 270 |
+
raise SystemExit('FLASH: the protocol requires the in-training MSE (--inloop-task, --inloop-code), or '
|
| 271 |
+
'--allow-no-inloop as a recorded exception')
|
| 272 |
+
if bool(args.inloop_task) != bool(args.inloop_code):
|
| 273 |
+
raise SystemExit('--inloop-task and --inloop-code go together')
|
| 274 |
+
|
| 275 |
+
out = args.out.expanduser().resolve()
|
| 276 |
+
out.mkdir(parents=True, exist_ok=True)
|
| 277 |
+
contract = CONTRACTS[args.contract]
|
| 278 |
+
aug = augmentation_module()
|
| 279 |
+
aug.check_state_layout(contract.robot, contract.state_dim, [column for column, _, _ in contract.state])
|
| 280 |
+
hb_aug = args.augmentation == 'hb-v2'
|
| 281 |
+
if hb_aug and args.shift:
|
| 282 |
+
raise SystemExit('--shift is the native random shift, which the augmentation spec v2 turns off '
|
| 283 |
+
'(docs/augmentation_v2.md); use it only with --augmentation none')
|
| 284 |
+
if contract.body_dims != aug.BODY_JOINTS[contract.robot]:
|
| 285 |
+
raise SystemExit(f'contract {contract.name}: body_dims {contract.body_dims}, the spec perturbs '
|
| 286 |
+
f'{aug.BODY_JOINTS[contract.robot]} body joints')
|
| 287 |
+
augmentation = (aug.describe(contract.robot, contract.body_dims) if hb_aug else
|
| 288 |
+
dict(version=None, exception='--augmentation none (not the benchmark default)'))
|
| 289 |
+
cameras = tuple(args.cameras.split(',')) if args.cameras else contract.cameras
|
| 290 |
+
hw = parse_hw(args.image_size)
|
| 291 |
+
dataset = LeRobotDataset(args.dataset)
|
| 292 |
+
dataset.check_contract(contract, cameras)
|
| 293 |
+
episodes = parse_episodes(args.episodes, dataset.lengths)
|
| 294 |
+
if not 0 <= args.val_episodes < len(episodes):
|
| 295 |
+
raise SystemExit('--val-episodes must leave training episodes')
|
| 296 |
+
lowdim = load_lowdim(dataset, contract, episodes)
|
| 297 |
+
if len(lowdim['tasks']) != 1:
|
| 298 |
+
raise SystemExit(f"the baselines take no language: one task per dataset, found {lowdim['tasks']}")
|
| 299 |
+
n_train = len(episodes) - args.val_episodes
|
| 300 |
+
train_pos, val_pos = list(range(n_train)), list(range(n_train, len(episodes)))
|
| 301 |
+
train_rows = np.concatenate([np.arange(s, s + n) for s, n in
|
| 302 |
+
zip(lowdim['starts'][:n_train], lowdim['lengths'][:n_train])])
|
| 303 |
+
stats = statistics(lowdim, train_rows)
|
| 304 |
+
frames = frame_cache(dataset, lowdim, cameras, hw, args.cache_dir, workers=args.workers)
|
| 305 |
+
|
| 306 |
+
overrides = {k: json.loads(v) for k, v in (item.split('=', 1) for item in args.model)}
|
| 307 |
+
base = dict(policy=args.policy, n_cameras=len(cameras), state_dim=contract.state_dim,
|
| 308 |
+
action_dim=contract.action_dim, horizon=args.horizon)
|
| 309 |
+
if flash:
|
| 310 |
+
settings = dict(FLASH_DEFAULTS, **{k: json.loads(v) for k, v in (i.split('=', 1) for i in args.flash)})
|
| 311 |
+
if args.horizon != 16 and args.horizon != settings['rows']:
|
| 312 |
+
raise SystemExit('FLASH: the output rows are --flash rows=N, not --horizon')
|
| 313 |
+
base.update(FLASH_POLICY_FIELDS, horizon=int(settings['rows']), extra=dict(flash=settings))
|
| 314 |
+
elif args.flash:
|
| 315 |
+
raise SystemExit('--flash applies to --policy flash only')
|
| 316 |
+
weights = None if str(backbone_weights).lower() in ('none', '') else backbone_weights
|
| 317 |
+
pcfg = PolicyConfig.from_dict({**base, 'backbone_weights': weights, **overrides})
|
| 318 |
+
aug_seed = seed if (flash and hb_aug) else None
|
| 319 |
+
if flash:
|
| 320 |
+
from baselines.flash import FlashPolicy, flash_settings
|
| 321 |
+
fs = flash_settings(pcfg)
|
| 322 |
+
H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
|
| 323 |
+
offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
|
| 324 |
+
kw = dict(offsets=offsets, stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'])
|
| 325 |
+
train_set = FlashChunkDataset(lowdim, frames, cameras, hw, train_pos,
|
| 326 |
+
body_dims=contract.body_dims if hb_aug else 0, aug_seed=aug_seed, **kw)
|
| 327 |
+
eval_set = FlashChunkDataset(lowdim, frames, cameras, hw, val_pos or train_pos, with_dense=True, **kw)
|
| 328 |
+
assert FlashPolicy.name == 'flash'
|
| 329 |
+
print(f'HB_AUG_SEED={aug_seed}', file=sys.stderr, flush=True)
|
| 330 |
+
else:
|
| 331 |
+
train_set = ChunkDataset(lowdim, frames, cameras, hw, args.horizon, train_pos,
|
| 332 |
+
body_dims=contract.body_dims if hb_aug else 0)
|
| 333 |
+
eval_set = ChunkDataset(lowdim, frames, cameras, hw, args.horizon, val_pos or train_pos) # never augmented
|
| 334 |
+
checks = preflight(train_set, eval_set, contract, seed=seed)
|
| 335 |
+
print(json.dumps(dict(event='preflight', augmentation=augmentation.get('version'), **checks)), flush=True)
|
| 336 |
+
layout = dict(nodes=1, gpus=1, per_gpu_batch=args.batch_size, global_batch=args.batch_size,
|
| 337 |
+
gradient_accumulation=1, num_workers=args.workers, prefetch=args.prefetch)
|
| 338 |
+
if args.preflight_only:
|
| 339 |
+
(out / 'run.json').write_text(json.dumps(dict(
|
| 340 |
+
argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
|
| 341 |
+
contract=contract.to_dict(cameras), image_hw=list(hw), augmentation=augmentation, preflight=checks,
|
| 342 |
+
shift_px=args.shift, seed=seed, aug_seed=aug_seed, layout=layout, policy=pcfg.to_dict(),
|
| 343 |
+
code_commit=git_commit()), indent=1, default=str))
|
| 344 |
+
return
|
| 345 |
+
|
| 346 |
+
import torch
|
| 347 |
+
torch.manual_seed(seed)
|
| 348 |
+
np.random.seed(seed)
|
| 349 |
+
device = torch.device(args.device)
|
| 350 |
+
policy = build_policy(pcfg)
|
| 351 |
+
policy.fit_normalizers(stats)
|
| 352 |
+
policy.to(device)
|
| 353 |
+
ema = EMA(policy, args.ema, defaults.get('ema_schedule', 'hb')) if args.ema > 0 else None
|
| 354 |
+
named = list(policy.named_parameters())
|
| 355 |
+
backbone = [p for n, p in named if n.startswith(policy.backbone_prefix)]
|
| 356 |
+
rest = [p for n, p in named if not n.startswith(policy.backbone_prefix)]
|
| 357 |
+
if not backbone:
|
| 358 |
+
raise SystemExit(f'no backbone parameters under {policy.backbone_prefix!r}')
|
| 359 |
+
optimizer = torch.optim.AdamW([dict(params=rest), dict(params=backbone, lr=args.lr * backbone_lr_scale)],
|
| 360 |
+
lr=args.lr, betas=DEFAULTS['betas'], weight_decay=args.weight_decay)
|
| 361 |
+
schedule = defaults.get('schedule', 'hb')
|
| 362 |
+
|
| 363 |
+
def lr_lambda(step):
|
| 364 |
+
if schedule == 'diffusers_cosine': # diffusers get_cosine_schedule_with_warmup (FLASH's lr_scheduler)
|
| 365 |
+
if step < args.warmup:
|
| 366 |
+
return step / max(1, args.warmup)
|
| 367 |
+
progress = (step - args.warmup) / max(1, args.steps - args.warmup)
|
| 368 |
+
return max(0.0, 0.5 * (1.0 + math.cos(math.pi * progress)))
|
| 369 |
+
if step < args.warmup:
|
| 370 |
+
return (step + 1) / max(1, args.warmup)
|
| 371 |
+
return 0.5 * (1 + math.cos(math.pi * min(1.0, (step - args.warmup) / max(1, args.steps - args.warmup))))
|
| 372 |
+
|
| 373 |
+
scheduler = torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda)
|
| 374 |
+
step = 0
|
| 375 |
+
state_path = out / 'train_state.pt'
|
| 376 |
+
if args.resume and state_path.exists():
|
| 377 |
+
saved = torch.load(state_path, map_location='cpu', weights_only=False)
|
| 378 |
+
if saved['config']['policy'] != pcfg.to_dict():
|
| 379 |
+
raise SystemExit('train_state.pt was written for another policy configuration')
|
| 380 |
+
before = saved['config'].get('training', {})
|
| 381 |
+
if (before.get('augmentation') or {}).get('version') != augmentation.get('version') \
|
| 382 |
+
or before.get('shift_px') != args.shift:
|
| 383 |
+
raise SystemExit('train_state.pt was trained with another augmentation (version / --shift); resuming '
|
| 384 |
+
'would change it mid-run')
|
| 385 |
+
policy.load_state_dict(saved['policy'])
|
| 386 |
+
optimizer.load_state_dict(saved['optimizer'])
|
| 387 |
+
scheduler.load_state_dict(saved['scheduler'])
|
| 388 |
+
if ema is not None:
|
| 389 |
+
ema.model.load_state_dict(saved['ema'])
|
| 390 |
+
step = int(saved['step'])
|
| 391 |
+
print(json.dumps(dict(event='resumed', step=step)), flush=True)
|
| 392 |
+
|
| 393 |
+
inloop = None
|
| 394 |
+
if args.inloop_task:
|
| 395 |
+
from baselines import inloop as inloop_mod
|
| 396 |
+
inloop = inloop_mod.install(args.inloop_code, args.inloop_task, out,
|
| 397 |
+
lambda: ema.model if ema is not None else policy, contract, cameras, hw, lowdim,
|
| 398 |
+
args.policy, lowdim_loader=lambda eps: load_lowdim(dataset, contract, eps))
|
| 399 |
+
else:
|
| 400 |
+
print(f'HB_INLOOP {args.policy} disabled: no --inloop-task', flush=True)
|
| 401 |
+
|
| 402 |
+
samples = np.random.default_rng(1).choice(len(eval_set), size=min(args.eval_samples, len(eval_set)), replace=False)
|
| 403 |
+
training = dict(steps=args.steps, batch_size=args.batch_size, lr=args.lr, betas=list(DEFAULTS['betas']),
|
| 404 |
+
weight_decay=args.weight_decay, warmup=args.warmup,
|
| 405 |
+
schedule='linear warm-up + cosine' if schedule == 'hb' else schedule,
|
| 406 |
+
backbone_lr_scale=backbone_lr_scale,
|
| 407 |
+
ema=args.ema, shift_px=args.shift, amp=not args.no_amp, seed=seed,
|
| 408 |
+
augmentation=augmentation, preflight=checks)
|
| 409 |
+
if flash:
|
| 410 |
+
training.update(aug_seed=aug_seed, ema_schedule=defaults['ema_schedule'], layout=layout,
|
| 411 |
+
upstream='NTUMARS/FLASH-Policy@f47e490',
|
| 412 |
+
inloop=dict(task=args.inloop_task, code=str(args.inloop_code) if args.inloop_code else None,
|
| 413 |
+
every=int(os.environ.get('HB_INLOOP_EVERY', '250')) if args.inloop_task else 0,
|
| 414 |
+
exception=None if args.inloop_task else '--allow-no-inloop'))
|
| 415 |
+
config = dict(
|
| 416 |
+
policy=pcfg.to_dict(), contract=contract.to_dict(cameras), image_hw=list(hw), task_text=lowdim['tasks'][0],
|
| 417 |
+
dataset=dict(name=dataset.name,
|
| 418 |
+
root=str(dataset.root), robot_type=dataset.info.get('robot_type'), fps=dataset.fps,
|
| 419 |
+
episodes=episodes, train_episodes=episodes[:n_train], val_episodes=episodes[n_train:],
|
| 420 |
+
train_frames=int(len(train_set)),
|
| 421 |
+
git_commit=dataset.info.get('script_config', {}).get('git_commit')),
|
| 422 |
+
training=training, stats=stats, code_commit=git_commit())
|
| 423 |
+
run = dict(argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
|
| 424 |
+
torch=torch.__version__, **config)
|
| 425 |
+
(out / 'run.json').write_text(json.dumps(run, indent=1, default=str))
|
| 426 |
+
loader = torch.utils.data.DataLoader(train_set, batch_size=args.batch_size, shuffle=True, drop_last=True,
|
| 427 |
+
num_workers=args.workers, pin_memory=True, persistent_workers=True,
|
| 428 |
+
prefetch_factor=args.prefetch)
|
| 429 |
+
params = sum(x.numel() for x in policy.parameters())
|
| 430 |
+
print(json.dumps(dict(event='start', policy=args.policy, params=params,
|
| 431 |
+
backbone_params=sum(x.numel() for x in backbone), backbone_weights=pcfg.backbone_weights,
|
| 432 |
+
backbone_norm=pcfg.backbone_norm, train_frames=len(train_set), steps=args.steps,
|
| 433 |
+
from_step=step, cameras=list(cameras), hw=list(hw), seed=seed)), flush=True)
|
| 434 |
+
log = (out / 'train_log.jsonl').open('a')
|
| 435 |
+
amp = (not args.no_amp) and device.type == 'cuda'
|
| 436 |
+
|
| 437 |
+
def save(step):
|
| 438 |
+
folder = out / f'checkpoints/step-{step:06d}'
|
| 439 |
+
model = ema.model if ema is not None else policy
|
| 440 |
+
metrics = offline_eval(model, eval_set, samples, device, contract.action)
|
| 441 |
+
save_checkpoint(folder, model, dict(config, step=step, weights='ema' if ema is not None else 'raw',
|
| 442 |
+
offline_eval=dict(metrics, samples=len(samples),
|
| 443 |
+
frames='val' if val_pos else 'train')))
|
| 444 |
+
final = out / 'checkpoints/final'
|
| 445 |
+
if final.is_symlink() or final.exists():
|
| 446 |
+
final.unlink()
|
| 447 |
+
final.symlink_to(folder.name)
|
| 448 |
+
torch.save(dict(policy=policy.state_dict(), optimizer=optimizer.state_dict(), scheduler=scheduler.state_dict(),
|
| 449 |
+
ema=None if ema is None else ema.model.state_dict(), step=step, config=config),
|
| 450 |
+
out / 'train_state.pt.tmp')
|
| 451 |
+
(out / 'train_state.pt.tmp').replace(state_path)
|
| 452 |
+
record = dict(event='save', step=step, checkpoint=str(folder), **metrics)
|
| 453 |
+
print(json.dumps(record), flush=True)
|
| 454 |
+
log.write(json.dumps(record) + '\n')
|
| 455 |
+
log.flush()
|
| 456 |
+
policy.train()
|
| 457 |
+
|
| 458 |
+
policy.train()
|
| 459 |
+
t0, data_s, acc = time.monotonic(), 0.0, {}
|
| 460 |
+
while step < args.steps:
|
| 461 |
+
tick = time.monotonic()
|
| 462 |
+
for images, *labels in loader:
|
| 463 |
+
data_s += time.monotonic() - tick
|
| 464 |
+
images = images.to(device, non_blocking=True).permute(0, 1, 4, 2, 3).float().div_(255.)
|
| 465 |
+
images = random_shift(images, args.shift)
|
| 466 |
+
labels = [x.to(device, non_blocking=True) for x in labels]
|
| 467 |
+
with torch.autocast(device.type, dtype=torch.bfloat16, enabled=amp):
|
| 468 |
+
loss, metrics = policy.compute_loss(images, *labels)
|
| 469 |
+
optimizer.zero_grad(set_to_none=True)
|
| 470 |
+
loss.backward()
|
| 471 |
+
optimizer.step()
|
| 472 |
+
scheduler.step()
|
| 473 |
+
step += 1
|
| 474 |
+
decay = ema.update(policy, step) if ema is not None else 0.0
|
| 475 |
+
for k, v in dict(metrics, loss=float(loss.detach())).items():
|
| 476 |
+
acc[k] = acc.get(k, 0.0) + v
|
| 477 |
+
if step % args.log_every == 0:
|
| 478 |
+
elapsed = time.monotonic() - t0
|
| 479 |
+
record = dict(event='train', step=step, lr=scheduler.get_last_lr()[0],
|
| 480 |
+
backbone_lr=scheduler.get_last_lr()[1], ema_decay=round(decay, 6),
|
| 481 |
+
it_s=round(args.log_every / elapsed, 2), data_frac=round(data_s / elapsed, 3),
|
| 482 |
+
**{k: v / args.log_every for k, v in acc.items()})
|
| 483 |
+
print(json.dumps(record), flush=True)
|
| 484 |
+
log.write(json.dumps(record) + '\n')
|
| 485 |
+
log.flush()
|
| 486 |
+
t0, data_s, acc = time.monotonic(), 0.0, {}
|
| 487 |
+
if inloop is not None and step % inloop.every == 0:
|
| 488 |
+
inloop.evaluate(step, ema.model if ema is not None else policy)
|
| 489 |
+
policy.train()
|
| 490 |
+
if step % args.save_every == 0 or step == args.steps:
|
| 491 |
+
save(step)
|
| 492 |
+
if step >= args.steps:
|
| 493 |
+
break
|
| 494 |
+
tick = time.monotonic()
|
| 495 |
+
log.close()
|
| 496 |
+
print(json.dumps(dict(event='done', step=step, checkpoint=str(out / 'checkpoints/final'))), flush=True)
|
| 497 |
+
|
| 498 |
+
|
| 499 |
+
if __name__ == '__main__':
|
| 500 |
+
main()
|
a29-drawer-close/b512/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""FLASH (Bai et al., NeurIPS 2026; NTUMARS/FLASH-Policy @ f47e490) baseline of the Humanoid Benchmark: one checkpoint
|
| 2 |
+
of evaluation/baselines/train.py --policy flash with the g1_sonic_dfx6 contract, served by the shared adapter
|
| 3 |
+
evaluation/baselines/adapters.py (current ego_view + chest frames, state44 and the executed-action history ->
|
| 4 |
+
16 rows of action76 at 30 Hz from the query frame; evaluation/baselines/flash.py).
|
| 5 |
+
"""
|
| 6 |
+
from pathlib import Path
|
| 7 |
+
import sys
|
| 8 |
+
|
| 9 |
+
sys.path.insert(0, str(Path(__file__).resolve().parents[2])) # evaluation/: the baselines package
|
| 10 |
+
from baselines.adapters import make_model # noqa: E402
|
| 11 |
+
|
| 12 |
+
Model = make_model('flash')
|
a29-drawer-close/b512/step-012000/training_records/code_commit.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
78235367c03e0ea376ca1880ec3026c28dd93258
|
a29-drawer-close/b512/step-012000/training_records/flash_pool_a800.sh
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Relay cmd item (2026-11-24 user): FLASH on A800, every latest task except B6 (done) and B7 (4090 side). Recipe = HumanWAM
|
| 3 |
+
# REPRODUCIBILITY.md 4.6 / protocol.yaml models.flash: 1 GPU x batch 512, no accumulation, 16000 steps, save every 2000,
|
| 4 |
+
# num_workers 40, seed 42 (upstream default), augmentation v2, in-training MSE every 250 steps (eval key = task key).
|
| 5 |
+
# 4 nodes: rank r trains the tasks with index % 4 == r at the same time, one GPU and a CPU slice each. Restart-safe (--resume).
|
| 6 |
+
G=$(dirname "$(dirname "$(realpath "$0")")"); P=$(dirname $G); L=$G/flash-a800-20261124
|
| 7 |
+
B=$P/Humanoid_benchmark-bai; PY=$G/envs/hb-baselines/bin/python
|
| 8 |
+
RK=${RANK:?DLC RANK missing}
|
| 9 |
+
for i in $(seq 2160); do [ -f $L/prep.done ] && break; [ $((i % 60)) = 1 ] && echo "$(date -u) waiting for FLASH preflight"; sleep 10; done
|
| 10 |
+
mapfile -t TS < $L/tasks.txt; NCPU=$(nproc); idx=0; slot=0; pids=()
|
| 11 |
+
for line in "${TS[@]}"; do
|
| 12 |
+
read -r T SRC EPS CON <<< "$line"
|
| 13 |
+
if [ $((idx % 4)) = "$RK" ]; then
|
| 14 |
+
if [ -f $L/pre-$T.ok ]; then
|
| 15 |
+
OUT=$P/flash-runs/$T-b512-s16000; mkdir -p $OUT/logs
|
| 16 |
+
EA=""; [ "$EPS" != all ] && EA="--episodes $EPS"
|
| 17 |
+
RES=""; [ -f $OUT/train_state.pt ] && RES="--resume"
|
| 18 |
+
C0=$((slot * NCPU / 4)); C1=$(((slot + 1) * NCPU / 4 - 1))
|
| 19 |
+
echo "$(date -u) FLASH $T on GPU $slot cores $C0-$C1 -> $OUT $RES"
|
| 20 |
+
(cd $B && CUDA_VISIBLE_DEVICES=$slot taskset -c $C0-$C1 $PY -I evaluation/baselines/train.py --policy flash --contract $CON \
|
| 21 |
+
--dataset $SRC $EA --out $OUT --steps 16000 --batch-size 512 --workers 40 --save-every 2000 --log-every 50 \
|
| 22 |
+
--cache-dir $G/flash-cache/$T --inloop-task $T --inloop-code $G/eval-action-mse $RES >> $OUT/logs/train-a800.log 2>&1) &
|
| 23 |
+
pids+=($!); slot=$((slot + 1))
|
| 24 |
+
else echo "SKIP FLASH $T: preflight failed"; fi
|
| 25 |
+
fi
|
| 26 |
+
idx=$((idx + 1))
|
| 27 |
+
done
|
| 28 |
+
rc=0; for p in "${pids[@]}"; do wait $p || rc=1; done
|
| 29 |
+
echo "$(date -u) FLASH pool rank $RK done rc=$rc"; exit $rc
|
a29-drawer-close/b512/step-012000/training_records/inloop-mse.jsonl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"step": 250, "utc": "2026-11-25T16:49:32Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0049, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.008261631400375715, "mae_raw": 0.060043189175817795, "nmse": 1.2028807682890004, "groups": {"motion_token": {"mse_raw": 0.009496443669680554, "nmse": 0.8150704278463317}, "hands": {"mse_raw": 0.0016759659640832453, "nmse": 3.271202583983234}}, "nmse_by_step": [1.1997294820308795, 1.148047738823049, 1.1253270277413172, 1.1303627245601129, 1.1574307683230372, 1.1592334807614004, 1.1812257841793532, 1.1799510332499672, 1.1587821546584374, 1.1379779593182529, 1.1446260098431869, 1.15408723651727, 1.207703232447825, 1.2777215760350682, 1.3862015245064365, 1.5127243771004972], "nmse_per_episode": {"0": 1.4019638057672505, "11": 1.0549370831361444, "22": 1.1365176238635097, "33": 1.19347811565084, "44": 1.1303956096054528, "55": 1.0392518984075472, "66": 1.2710986763734955, "77": 1.0577008030930735, "88": 1.624234903891672, "99": 1.0713768618050443}, "nmse_episode_sem": 0.05947706167597588}
|
| 2 |
+
{"step": 500, "utc": "2026-11-25T16:51:48Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0067729616493317265, "mae_raw": 0.05435293719445752, "nmse": 1.027737508646162, "groups": {"motion_token": {"mse_raw": 0.007776810622515055, "nmse": 0.692669370420494}, "hands": {"mse_raw": 0.0014191004590206483, "nmse": 2.8147675791830586}}, "nmse_by_step": [0.9671967907780443, 0.8544117860987491, 0.803055337863842, 0.8148049724154882, 0.8786352261107994, 0.9528418126038658, 1.0379051923763967, 1.0899361167938937, 1.1139678734472522, 1.1348366104586247, 1.181956463383459, 1.2049812573471173, 1.2281739062848958, 1.1582776480532726, 1.0581193091984273, 0.9900567955875516], "nmse_per_episode": {"0": 1.137841997229946, "11": 0.9721827001133131, "22": 1.058695484989062, "33": 1.1768767344051019, "44": 0.9928244267986174, "55": 0.873179288503734, "66": 1.0727563411441643, "77": 0.8836834097683689, "88": 1.1858907781464323, "99": 0.9406777536537637}, "nmse_episode_sem": 0.036340647980297645}
|
| 3 |
+
{"step": 750, "utc": "2026-11-25T16:53:57Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0038699688050293224, "mae_raw": 0.04121023589589079, "nmse": 0.7517939386864002, "groups": {"motion_token": {"mse_raw": 0.004330648868025576, "nmse": 0.3808921233343085}, "hands": {"mse_raw": 0.0014130084690493073, "nmse": 2.729936953897556}}, "nmse_by_step": [0.6661764532579211, 0.6476808032235265, 0.6398882058560662, 0.6508554426069518, 0.6826649459838665, 0.722475554744872, 0.7560116832595253, 0.7754419227145898, 0.7812296921918545, 0.7796220133661848, 0.7979167967709475, 0.8040435563969591, 0.8241940416581489, 0.8066612389885824, 0.8233716321109413, 0.8882037066680885], "nmse_per_episode": {"0": 0.807149673965094, "11": 0.6998187048197907, "22": 0.7678666737944456, "33": 0.8756044133292454, "44": 0.7437518372049556, "55": 0.6389477498429117, "66": 0.7622868699467912, "77": 0.6453896146091112, "88": 0.8897936634204977, "99": 0.6889154903061816}, "nmse_episode_sem": 0.027604617228279865}
|
| 4 |
+
{"step": 1000, "utc": "2026-11-25T16:56:25Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0024381069001358406, "mae_raw": 0.0323442776194528, "nmse": 0.6012419542430882, "groups": {"motion_token": {"mse_raw": 0.002640631453772696, "nmse": 0.2256006956538758}, "hands": {"mse_raw": 0.001357975947405945, "nmse": 2.6046620000522225}}, "nmse_by_step": [0.5492431140746606, 0.5353774381422831, 0.5358355403181791, 0.5486250219288202, 0.5684706791307188, 0.5952401458166541, 0.6056099049329359, 0.6109197053392811, 0.6035969142438111, 0.5874186675646265, 0.594934453260873, 0.5955043434399245, 0.6226996546612601, 0.6342851291554981, 0.6850126204340578, 0.7587196836960667], "nmse_per_episode": {"0": 0.6611265633774568, "11": 0.5427040372600719, "22": 0.6062106284682536, "33": 0.6830069360372858, "44": 0.5911706745709322, "55": 0.5164050061849089, "66": 0.6116238035838397, "77": 0.5164566196293008, "88": 0.7267461777610789, "99": 0.5559055354330289}, "nmse_episode_sem": 0.022638393193367527}
|
| 5 |
+
{"step": 1250, "utc": "2026-11-25T16:58:33Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0020026347754898604, "mae_raw": 0.028665702052521204, "nmse": 0.548457578032757, "groups": {"motion_token": {"mse_raw": 0.00213363929907498, "nmse": 0.18049471604893605}, "hands": {"mse_raw": 0.0013039439830358891, "nmse": 2.5109261752798013}}, "nmse_by_step": [0.5110889002765278, 0.4924261319192952, 0.49482375636643505, 0.5116763606606493, 0.5323555456577939, 0.5576927743555601, 0.5633967476523426, 0.5639561243332268, 0.5484136576703321, 0.5218484697039303, 0.5211801407628534, 0.5151659773805256, 0.5490834044315446, 0.5758873979317827, 0.6341511282952986, 0.6910291486050725], "nmse_per_episode": {"0": 0.6208191853913256, "11": 0.48971170882394727, "22": 0.5508020278876886, "33": 0.6106485449751294, "44": 0.5364472226194373, "55": 0.47041228797826495, "66": 0.5569827659171074, "77": 0.46955844416140163, "88": 0.6724575032301673, "99": 0.505260016438845}, "nmse_episode_sem": 0.021688541053187675}
|
| 6 |
+
{"step": 1500, "utc": "2026-11-25T17:00:46Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001813948826849214, "mae_raw": 0.026827250758938322, "nmse": 0.5226330474336183, "groups": {"motion_token": {"mse_raw": 0.0019178874430377984, "nmse": 0.16158089256849303}, "hands": {"mse_raw": 0.0012596095405100966, "nmse": 2.4482445400476194}}, "nmse_by_step": [0.48954237995080857, 0.46775295422563856, 0.4711440408111692, 0.491508831305031, 0.5150675066950378, 0.5417815450749401, 0.5469715156754539, 0.5454300389762184, 0.5250214563223295, 0.49206994634774187, 0.48581731654231214, 0.4757183609051373, 0.5119254489134979, 0.5460456153119891, 0.6078666574436584, 0.6561678901045681], "nmse_per_episode": {"0": 0.5988779061614032, "11": 0.4644257124655603, "22": 0.5255686610788606, "33": 0.5738271007928167, "44": 0.5112423785628976, "55": 0.44636549689001526, "66": 0.528321310228168, "77": 0.44712635551655266, "88": 0.646905281122087, "99": 0.48128810263479965}, "nmse_episode_sem": 0.021255940285514998}
|
| 7 |
+
{"step": 1750, "utc": "2026-11-25T17:03:10Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0017123824655258964, "mae_raw": 0.02579369844131964, "nmse": 0.5072415282782108, "groups": {"motion_token": {"mse_raw": 0.0018035870256731016, "nmse": 0.15155752581413606}, "hands": {"mse_raw": 0.001225958144740802, "nmse": 2.4042228747532755}}, "nmse_by_step": [0.4762918481929125, 0.45285716473979565, 0.45697245797255587, 0.4798396030024437, 0.5052596190448373, 0.5332037293671649, 0.5379378416102254, 0.5350271733708272, 0.5114076955491358, 0.474407925538026, 0.4644653170794856, 0.451775472275608, 0.4886376325335991, 0.5272413619221484, 0.5916991513984575, 0.6358243653707162], "nmse_per_episode": {"0": 0.5839838683902581, "11": 0.4496397480308193, "22": 0.5127988225870338, "33": 0.5518687735294103, "44": 0.49644550235399176, "55": 0.4327880011013363, "66": 0.5104329420010644, "77": 0.4340307931596059, "88": 0.6300540312242043, "99": 0.4678702597914524}, "nmse_episode_sem": 0.020787840069094506}
|
| 8 |
+
{"step": 2000, "utc": "2026-11-25T17:05:19Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0016451468539911652, "mae_raw": 0.025087231209718553, "nmse": 0.4974944051222537, "groups": {"motion_token": {"mse_raw": 0.0017280972867204007, "nmse": 0.1448726485764791}, "hands": {"mse_raw": 0.0012027445461019095, "nmse": 2.378143773366385}}, "nmse_by_step": [0.4676484675292675, 0.4439517335397593, 0.4485808972714723, 0.47271140660516986, 0.4988668265277983, 0.5271456953773794, 0.5316730364888087, 0.5280212186106956, 0.5031281957203859, 0.4641766453658452, 0.45237938111069337, 0.4382464770325192, 0.4744041871071911, 0.5148245743028743, 0.5796808556155998, 0.6209455720447081], "nmse_per_episode": {"0": 0.5749678766403878, "11": 0.4406932276246851, "22": 0.5054351104398873, "33": 0.5377617383863437, "44": 0.48741356651777973, "55": 0.42449276965704513, "66": 0.49835603159577757, "77": 0.42516803428013855, "88": 0.6183252742004742, "99": 0.46013192761218275}, "nmse_episode_sem": 0.0204318118521214}
|
| 9 |
+
{"step": 2250, "utc": "2026-11-25T17:07:29Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001586915523855037, "mae_raw": 0.024476090089972608, "nmse": 0.4895208271385921, "groups": {"motion_token": {"mse_raw": 0.0016627294945691388, "nmse": 0.13905806518790823}, "hands": {"mse_raw": 0.0011825743467131615, "nmse": 2.358655557542239}}, "nmse_by_step": [0.4602941242200753, 0.4365008887311454, 0.44151448586996744, 0.46669683572689047, 0.49368251427930043, 0.5223330377964812, 0.5266910644946543, 0.5223615539685341, 0.4964392190792696, 0.45592928546501743, 0.442700779428881, 0.4272412261629418, 0.46264663221395724, 0.5044071935214207, 0.5698599855203236, 0.6091182499655894], "nmse_per_episode": {"0": 0.5696044863855253, "11": 0.4336698423470246, "22": 0.4990521670795837, "33": 0.5261107487465286, "44": 0.4794555129568992, "55": 0.4180776966648, "66": 0.4887666668771584, "77": 0.417438552212442, "88": 0.6082860351523979, "99": 0.4532001671992057}, "nmse_episode_sem": 0.020217806832817802}
|
| 10 |
+
{"step": 2500, "utc": "2026-11-25T17:09:59Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0015410068417008667, "mae_raw": 0.023986538348820634, "nmse": 0.4828460678932146, "groups": {"motion_token": {"mse_raw": 0.0016111405551859238, "nmse": 0.1343998820951666}, "hands": {"mse_raw": 0.0011669603697805635, "nmse": 2.3412257254828033}}, "nmse_by_step": [0.45414378749146467, 0.43019179016577075, 0.4354193518835688, 0.46139101930990867, 0.4890238278530898, 0.5180459043840921, 0.5223839467686596, 0.5174098880634265, 0.49091084877139896, 0.4491528707979503, 0.43470230655390335, 0.41822631353444545, 0.45324951271458064, 0.496062796981553, 0.5619059169452043, 0.5991048849824819], "nmse_per_episode": {"0": 0.5647650875235757, "11": 0.42836538162029014, "22": 0.49409045080722575, "33": 0.5165321708080333, "44": 0.47213859069400776, "55": 0.4129421817385197, "66": 0.481491256425821, "77": 0.4109734807501292, "88": 0.5993557480706231, "99": 0.4470505891362328}, "nmse_episode_sem": 0.019990145643099366}
|
| 11 |
+
{"step": 2750, "utc": "2026-11-25T17:12:08Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0015012730977616727, "mae_raw": 0.023555930032441882, "nmse": 0.4773222790923175, "groups": {"motion_token": {"mse_raw": 0.0015663539180878602, "nmse": 0.13040741758013594}, "hands": {"mse_raw": 0.0011541753893553415, "nmse": 2.3275348738239523}}, "nmse_by_step": [0.44891233101989575, 0.4249046279734267, 0.4302859993649328, 0.456840085475082, 0.4849068345897835, 0.5143430477799488, 0.5186659434270207, 0.5132114166891937, 0.4863871448391084, 0.44364962593477264, 0.42834156525647815, 0.4109388131797056, 0.4456060662121723, 0.48921271010295797, 0.5554374224064881, 0.5910860598280986], "nmse_per_episode": {"0": 0.5605255658781059, "11": 0.4239703235865664, "22": 0.4907548903578944, "33": 0.5083765910174575, "44": 0.4651281250381299, "55": 0.40891370026043133, "66": 0.47582263498298966, "77": 0.4055596641664965, "88": 0.5926281401676157, "99": 0.4414964015135802}, "nmse_episode_sem": 0.019853214458775838}
|
| 12 |
+
{"step": 3000, "utc": "2026-11-25T17:14:16Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0014663633130657697, "mae_raw": 0.023189366640303567, "nmse": 0.4722672004170897, "groups": {"motion_token": {"mse_raw": 0.0015270050731900264, "nmse": 0.12693319664573993}, "hands": {"mse_raw": 0.0011429405924030678, "nmse": 2.3140485538642883}}, "nmse_by_step": [0.44432757029223946, 0.42006299468296665, 0.4254696700149273, 0.452646885314072, 0.4810708748984607, 0.510918164207289, 0.5152286100048858, 0.5092893815641198, 0.4820599429193539, 0.4383353350559863, 0.42227004140565627, 0.40415792515946625, 0.43844697495139995, 0.48311919818344695, 0.5498978693825566, 0.5843642467333149], "nmse_per_episode": {"0": 0.5567240591651141, "11": 0.41961429826460656, "22": 0.4873248425008983, "33": 0.5004814230419262, "44": 0.4590946335912639, "55": 0.4061991024626683, "66": 0.4708661492067499, "77": 0.40092675988987986, "88": 0.585916052922037, "99": 0.43617508277591366}, "nmse_episode_sem": 0.019657245158765282}
|
| 13 |
+
{"step": 3250, "utc": "2026-11-25T17:16:42Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0014342668815342744, "mae_raw": 0.0228456653202901, "nmse": 0.4677736123797469, "groups": {"motion_token": {"mse_raw": 0.0014908700622761272, "nmse": 0.12366853329748966}, "hands": {"mse_raw": 0.00113238325091106, "nmse": 2.303000700818452}}, "nmse_by_step": [0.4403148971786381, 0.4157853404861324, 0.42113879091861645, 0.44878834611360985, 0.47744527837919565, 0.5075661606060331, 0.5119245286949903, 0.5055010760077546, 0.47799400722989316, 0.4334727892115322, 0.41679936444272353, 0.3983054448836915, 0.4324107971923664, 0.4779892160256541, 0.5452786251804556, 0.5789217863807149], "nmse_per_episode": {"0": 0.5526787421256727, "11": 0.415747221532944, "22": 0.48430087697719026, "33": 0.49282867135831077, "44": 0.4533489411875544, "55": 0.40410607930397946, "66": 0.4667014555205941, "77": 0.39713546385050935, "88": 0.5806128266586018, "99": 0.4312939872849373}, "nmse_episode_sem": 0.01947431470109324}
|
| 14 |
+
{"step": 3500, "utc": "2026-11-25T17:18:53Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0039, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0014050155309353377, "mae_raw": 0.022534133883715304, "nmse": 0.46338703439843526, "groups": {"motion_token": {"mse_raw": 0.0014581509434641743, "nmse": 0.12072546167583594}, "hands": {"mse_raw": 0.0011216266641148754, "nmse": 2.290915422252298}}, "nmse_by_step": [0.43591049536785376, 0.41105838548201484, 0.4164926583303525, 0.44471498071347026, 0.4737591975725021, 0.5044430859744001, 0.5090610267613721, 0.502070302795892, 0.4743525248810542, 0.4289241497283105, 0.41169971581548553, 0.39277963884078304, 0.42669021374949656, 0.4730150813837982, 0.5408217709108599, 0.5735823812791194], "nmse_per_episode": {"0": 0.5482409092776312, "11": 0.41193149815075664, "22": 0.48121351405559115, "33": 0.4850460375289392, "44": 0.448113127205985, "55": 0.40181324215277026, "66": 0.4627875463721561, "77": 0.39349411920019656, "88": 0.5757095225943148, "99": 0.4267147766105303}, "nmse_episode_sem": 0.01929473287185957}
|
| 15 |
+
{"step": 3750, "utc": "2026-11-25T17:21:01Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001378521449745729, "mae_raw": 0.022250443427868933, "nmse": 0.45922725094513256, "groups": {"motion_token": {"mse_raw": 0.001428430423545669, "nmse": 0.11806237599560795}, "hands": {"mse_raw": 0.0011123402561460482, "nmse": 2.2787732506759304}}, "nmse_by_step": [0.4317556512914538, 0.40660176079150145, 0.4120274296646714, 0.44094584363979766, 0.4706303453243711, 0.5017216674659419, 0.5066664510603522, 0.49909049619110774, 0.470871782735615, 0.42433197967288483, 0.4064644751632813, 0.3870686127109625, 0.420772887077375, 0.4681180126408419, 0.5367689085636012, 0.568896181481865], "nmse_per_episode": {"0": 0.5443732936185519, "11": 0.408283833842698, "22": 0.47816318830977034, "33": 0.4785208898887271, "44": 0.4433701547422618, "55": 0.3994171611423632, "66": 0.4587714609885681, "77": 0.3896968085846314, "88": 0.5706806412631674, "99": 0.42250956264112194}, "nmse_episode_sem": 0.0191511811469899}
|
| 16 |
+
{"step": 4000, "utc": "2026-11-25T17:23:08Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0013535445641069534, "mae_raw": 0.021984222372435486, "nmse": 0.4553637535824851, "groups": {"motion_token": {"mse_raw": 0.0014003851526857526, "nmse": 0.11554972222222104}, "hands": {"mse_raw": 0.0011037280916866904, "nmse": 2.26770525417056}}, "nmse_by_step": [0.4277200909064633, 0.40213770423987516, 0.40764330779465563, 0.43736480826213303, 0.4677527587872051, 0.4993515781027063, 0.5046230564079196, 0.49639672388202216, 0.46764341731838227, 0.41999192193150436, 0.40144543614521, 0.38155216392559554, 0.41527922377731286, 0.4636254586929848, 0.5332575944936778, 0.5650830289828082], "nmse_per_episode": {"0": 0.5405195039023974, "11": 0.4046241769551336, "22": 0.4749953123771306, "33": 0.47210308303126125, "44": 0.4391220240903528, "55": 0.39776844184958415, "66": 0.45526148997432486, "77": 0.38591479856640915, "88": 0.5665688759314216, "99": 0.41842043066510104}, "nmse_episode_sem": 0.01903998827212184}
|
| 17 |
+
{"step": 4250, "utc": "2026-11-25T17:25:40Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0013304585989013784, "mae_raw": 0.021738972897703143, "nmse": 0.4516429946669174, "groups": {"motion_token": {"mse_raw": 0.001374304860141248, "nmse": 0.11322646045230716}, "hands": {"mse_raw": 0.0010966118722887392, "nmse": 2.256531177144838}}, "nmse_by_step": [0.4240359803494349, 0.39795471772307817, 0.403551367921012, 0.43401025913651475, 0.4650984907835425, 0.49720975185265653, 0.5027766737086221, 0.4939213566323164, 0.46453421185854715, 0.4157404087781924, 0.3964816423292996, 0.3760177868952549, 0.4097403959191331, 0.4590935039228469, 0.529724150043414, 0.5613692006347365], "nmse_per_episode": {"0": 0.5367425579185322, "11": 0.40102556084589686, "22": 0.47182702879677996, "33": 0.46650298323911665, "44": 0.4354381200882866, "55": 0.3960779611709708, "66": 0.451665955959258, "77": 0.3824735690063142, "88": 0.5621447905580297, "99": 0.4143649325506364}, "nmse_episode_sem": 0.01890523745199246}
|
| 18 |
+
{"step": 4500, "utc": "2026-11-25T17:27:48Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001308692916006527, "mae_raw": 0.021506395377224416, "nmse": 0.44771947460751, "groups": {"motion_token": {"mse_raw": 0.0013502212294875544, "nmse": 0.1110811541645784}, "hands": {"mse_raw": 0.0010872085774410467, "nmse": 2.243123850303145}}, "nmse_by_step": [0.42020170108230626, 0.39346589563429807, 0.3991151547405355, 0.43040175485358334, 0.4624544163504855, 0.4952186657632694, 0.5012467092544193, 0.4916347269190226, 0.46133869515345644, 0.4110465817611667, 0.3907587603561628, 0.36961353402556163, 0.40350164741618266, 0.45410747105258453, 0.5262625934911874, 0.5580323231194921], "nmse_per_episode": {"0": 0.5321068773800387, "11": 0.39767004432554753, "22": 0.46824327079857003, "33": 0.46108142231182514, "44": 0.4313508512005692, "55": 0.39356877123267475, "66": 0.4479520397036265, "77": 0.37892603240670425, "88": 0.5578769966398959, "99": 0.41020922643215335}, "nmse_episode_sem": 0.01876762787541035}
|
| 19 |
+
{"step": 4750, "utc": "2026-11-25T17:29:59Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001289762154071163, "mae_raw": 0.021289656953472062, "nmse": 0.44445826849742703, "groups": {"motion_token": {"mse_raw": 0.001329232409480649, "nmse": 0.10917036154395915}, "hands": {"mse_raw": 0.0010792541252205724, "nmse": 2.232660438915923}}, "nmse_by_step": [0.41695202385339963, 0.38972112168397943, 0.3954289964338303, 0.42732617856051003, 0.4600025280033481, 0.49323898407520284, 0.4996747783953082, 0.48946834883340556, 0.45871754169773, 0.40739692189885485, 0.386454121499488, 0.36495928149050516, 0.3987513805226228, 0.4500863294471381, 0.5231712364303798, 0.5548187386602063], "nmse_per_episode": {"0": 0.528221652323038, "11": 0.39505741882367856, "22": 0.46555817045030834, "33": 0.45697164907007465, "44": 0.4277329237285621, "55": 0.39180586796031186, "66": 0.44510232381062487, "77": 0.37593829765221737, "88": 0.5535081308670209, "99": 0.4067419710080585}, "nmse_episode_sem": 0.018595077486732062}
|
| 20 |
+
{"step": 5000, "utc": "2026-11-25T17:32:25Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012713543950269445, "mae_raw": 0.02107672688817534, "nmse": 0.4411428053929588, "groups": {"motion_token": {"mse_raw": 0.0013088938426188636, "nmse": 0.1072956013416476}, "hands": {"mse_raw": 0.0010711440078700427, "nmse": 2.221661226999952}}, "nmse_by_step": [0.4137600862733428, 0.38597496720254115, 0.39181775330048063, 0.424292979333852, 0.4575323094680089, 0.49126596670375566, 0.49809101497858477, 0.48720558666650515, 0.45589727967303234, 0.403575307182245, 0.3818993618301544, 0.3600870221081886, 0.3939077784570541, 0.44603027718344945, 0.5200677532039586, 0.5516503595887118], "nmse_per_episode": {"0": 0.5240305080806932, "11": 0.39254729569824803, "22": 0.4631809812404163, "33": 0.4523510587297752, "44": 0.4245063957393783, "55": 0.3896969958577411, "66": 0.44223633154240055, "77": 0.3727649591764603, "88": 0.548892006900611, "99": 0.4035726872090813}, "nmse_episode_sem": 0.01839813380090578}
|
| 21 |
+
{"step": 5250, "utc": "2026-11-25T17:34:33Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012546626712575562, "mae_raw": 0.020882600270240685, "nmse": 0.43798819664134436, "groups": {"motion_token": {"mse_raw": 0.0012902682120029079, "nmse": 0.10560003033147285}, "hands": {"mse_raw": 0.0010647664539490116, "nmse": 2.210725083627326}}, "nmse_by_step": [0.410877003300167, 0.3824736662099828, 0.3884218612604313, 0.4214779408811647, 0.45524082223904844, 0.48933145025336044, 0.49650110734349195, 0.485101553139003, 0.4532232126079283, 0.399971448275182, 0.37764882422965423, 0.35556896226867774, 0.38927339312584414, 0.44212329189195304, 0.5169420928935917, 0.5483269762099013], "nmse_per_episode": {"0": 0.5202209372061235, "11": 0.3901030681121926, "22": 0.4603257239956618, "33": 0.44785266951861585, "44": 0.4216379045056016, "55": 0.3878569344034837, "66": 0.43953837209819024, "77": 0.37013705461451935, "88": 0.5442735182104727, "99": 0.40047175242542415}, "nmse_episode_sem": 0.018178604086251725}
|
| 22 |
+
{"step": 5500, "utc": "2026-11-25T17:36:41Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012390989611523644, "mae_raw": 0.020698700139382905, "nmse": 0.43511910578385105, "groups": {"motion_token": {"mse_raw": 0.0012728038173350595, "nmse": 0.10399817431304934}, "hands": {"mse_raw": 0.0010593397281779891, "nmse": 2.2010974069614604}}, "nmse_by_step": [0.40840225541443015, 0.3794577593086344, 0.38545019351423954, 0.41898925688388944, 0.4532452802730744, 0.48761712611416985, 0.4950022550232577, 0.4831514210217449, 0.4506747009729179, 0.39660051489917436, 0.37367426771896534, 0.3513149940908713, 0.38496128318258166, 0.43860135174268366, 0.5140814920633261, 0.5452834530538816], "nmse_per_episode": {"0": 0.5167187662263514, "11": 0.38789277961031027, "22": 0.4575073615110992, "33": 0.4441782416932785, "44": 0.41912797858484535, "55": 0.3856549987404452, "66": 0.4370372514086538, "77": 0.36786732978421754, "88": 0.5400863205206031, "99": 0.39775416989536416}, "nmse_episode_sem": 0.017985978437744368}
|
| 23 |
+
{"step": 5750, "utc": "2026-11-25T17:39:06Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012245661631898703, "mae_raw": 0.020519717506836527, "nmse": 0.43248567978114955, "groups": {"motion_token": {"mse_raw": 0.001256497032125885, "nmse": 0.10248531769989856}, "hands": {"mse_raw": 0.0010542681955311231, "nmse": 2.1924876108811544}}, "nmse_by_step": [0.406300537171962, 0.3769198211467479, 0.3829708437967321, 0.41687828599266175, 0.4513466370448062, 0.48580099859730863, 0.4933159474491258, 0.48105861409543355, 0.44821004985556673, 0.393568596018352, 0.37021422651624775, 0.34771623288208325, 0.38125700378136057, 0.4353910983038971, 0.511211514905281, 0.5421087024283284], "nmse_per_episode": {"0": 0.5133620964348845, "11": 0.38591917284658195, "22": 0.4553352847187743, "33": 0.4405233640953189, "44": 0.4165662339082993, "55": 0.3837902045829602, "66": 0.434931085029328, "77": 0.3656162828399269, "88": 0.5361621833108557, "99": 0.39549686317488153}, "nmse_episode_sem": 0.017799655880360782}
|
| 24 |
+
{"step": 6000, "utc": "2026-11-25T17:41:18Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012109396600345824, "mae_raw": 0.020356388894267597, "nmse": 0.4301176336907087, "groups": {"motion_token": {"mse_raw": 0.001241168520874051, "nmse": 0.10107275272438927}, "hands": {"mse_raw": 0.0010497190688907472, "nmse": 2.185023665511079}}, "nmse_by_step": [0.40417404318132144, 0.37438333037520727, 0.38057376599910037, 0.41484771398940173, 0.44966744763207306, 0.4842911754540669, 0.49205076028063227, 0.4794554770121536, 0.44617464072573343, 0.39087871101383737, 0.3670239312122853, 0.34431561928983784, 0.3777638031658327, 0.4325183435741696, 0.5087371069275335, 0.5394518644803349], "nmse_per_episode": {"0": 0.510445349801266, "11": 0.3842345648499976, "22": 0.4534570211311485, "33": 0.43714429147903067, "44": 0.4143940248485696, "55": 0.38204046152788734, "66": 0.4331326080959967, "77": 0.36337702139068806, "88": 0.5324868722588061, "99": 0.39358081475046247}, "nmse_episode_sem": 0.017634364630272535}
|
| 25 |
+
{"step": 6250, "utc": "2026-11-25T17:43:26Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011984112679393026, "mae_raw": 0.020200012172939517, "nmse": 0.4279790116145595, "groups": {"motion_token": {"mse_raw": 0.0012269346175673242, "nmse": 0.0997350264825269}, "hands": {"mse_raw": 0.0010462867365898544, "nmse": 2.1786135989854}}, "nmse_by_step": [0.40232647422112694, 0.372213808958461, 0.3784116147448156, 0.41297679428713435, 0.4480317477010334, 0.48285003245289654, 0.49075492859787245, 0.47780155257426055, 0.4442702133225658, 0.3884701940232729, 0.3641546709352623, 0.34130228619829994, 0.3747841249541909, 0.43000531549956983, 0.5065740375681809, 0.5370991660633283], "nmse_per_episode": {"0": 0.5077182463398049, "11": 0.38259856358055544, "22": 0.4519890278475109, "33": 0.4340993082615201, "44": 0.41211764805631645, "55": 0.3805271449733394, "66": 0.43138851168309134, "77": 0.36140795898081063, "88": 0.5294321023589189, "99": 0.39184978508622903}, "nmse_episode_sem": 0.01750403066467785}
|
| 26 |
+
{"step": 6500, "utc": "2026-11-25T17:45:50Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0038, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011864730482196652, "mae_raw": 0.020050637282401494, "nmse": 0.4258846790001662, "groups": {"motion_token": {"mse_raw": 0.0012133858508921636, "nmse": 0.09847860975924959}, "hands": {"mse_raw": 0.0010429381006330071, "nmse": 2.172050381618388}}, "nmse_by_step": [0.4005736637383627, 0.37011619728158973, 0.37643191701831435, 0.4111769563647445, 0.44649020315139576, 0.48147838989072606, 0.48952623533672446, 0.4761664719954404, 0.44235063019307, 0.38608728292927225, 0.3613254018886347, 0.3383177686327887, 0.3718454358788914, 0.4274775381367992, 0.5043732536429983, 0.5347062193589177], "nmse_per_episode": {"0": 0.5050325925182072, "11": 0.38097264869958947, "22": 0.450675593432144, "33": 0.43142046475155565, "44": 0.40999009478787396, "55": 0.37883522920806545, "66": 0.4296088203623574, "77": 0.35959165524609815, "88": 0.5262116451385371, "99": 0.39011585379938096}, "nmse_episode_sem": 0.01736703363833701}
|
| 27 |
+
{"step": 6750, "utc": "2026-11-25T17:48:01Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011757614549351187, "mae_raw": 0.019911478312932936, "nmse": 0.4239977414238057, "groups": {"motion_token": {"mse_raw": 0.0012013119317304556, "nmse": 0.0973468040156346}, "hands": {"mse_raw": 0.001039492245359989, "nmse": 2.166136074267385}}, "nmse_by_step": [0.39902675966461515, 0.3683096780890987, 0.37465952143013664, 0.4095973618720655, 0.4450552275981657, 0.48012151462213487, 0.48827840127150013, 0.474645458324318, 0.4405816219116149, 0.38399025904698714, 0.35889459735740076, 0.3357513067961785, 0.36929024992488985, 0.4252057171917623, 0.5023311744922845, 0.5324453032303167], "nmse_per_episode": {"0": 0.5022999125249862, "11": 0.37955591326436466, "22": 0.4494673233361261, "33": 0.4291209395027061, "44": 0.4085079603750017, "55": 0.37726364826435665, "66": 0.42788707304209234, "77": 0.35802992344992624, "88": 0.5229229275342872, "99": 0.38877094342930096}, "nmse_episode_sem": 0.017191011762512885}
|
| 28 |
+
{"step": 7000, "utc": "2026-11-25T17:50:10Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011657218495387792, "mae_raw": 0.01978196238138549, "nmse": 0.4223797077902474, "groups": {"motion_token": {"mse_raw": 0.0011899386687960656, "nmse": 0.09628267686504112}, "hands": {"mse_raw": 0.001036565480166586, "nmse": 2.1615638727246806}}, "nmse_by_step": [0.3977515426907612, 0.36687384656704775, 0.37326195752530644, 0.40828856651387024, 0.44385462441420787, 0.47891417906879247, 0.4871938756363908, 0.47333418171517655, 0.4391281204712872, 0.38228600675337476, 0.3568885036556261, 0.33364060075310914, 0.3670794984669989, 0.4231519982504832, 0.5003521764886996, 0.5302193589015242], "nmse_per_episode": {"0": 0.5002283553653245, "11": 0.3784224353615936, "22": 0.4486388285633717, "33": 0.42732775744401913, "44": 0.40717460327013505, "55": 0.375858212517018, "66": 0.42657268556288286, "77": 0.35636568242663075, "88": 0.5197699428140615, "99": 0.38771214178778696}, "nmse_episode_sem": 0.017049740093777386}
|
| 29 |
+
{"step": 7250, "utc": "2026-11-25T17:52:18Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011564842184996129, "mae_raw": 0.019660743350886925, "nmse": 0.4207328853831868, "groups": {"motion_token": {"mse_raw": 0.0011794349524431847, "nmse": 0.09530064342876038}, "hands": {"mse_raw": 0.0010340803041338973, "nmse": 2.1563715091401274}}, "nmse_by_step": [0.39633772593103117, 0.36522716720589465, 0.3716808050786957, 0.4068517998153505, 0.4426681845311629, 0.47784273894231627, 0.4862651149720751, 0.4721188657075989, 0.43767452724968353, 0.3804542348665895, 0.35464918972835063, 0.331189917923441, 0.3646697403001026, 0.4211054597894619, 0.4986255013019877, 0.5284516768233595], "nmse_per_episode": {"0": 0.4982409055392604, "11": 0.37718843253796513, "22": 0.44745046308800246, "33": 0.4255438981808264, "44": 0.40556994731812385, "55": 0.3745307616794397, "66": 0.42513355736995684, "77": 0.35465253877539743, "88": 0.5171066295311577, "99": 0.3864646256371867}, "nmse_episode_sem": 0.01694804338227419}
|
| 30 |
+
{"step": 7500, "utc": "2026-11-25T17:54:45Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011487830293446391, "mae_raw": 0.01956016885901483, "nmse": 0.4190276833407081, "groups": {"motion_token": {"mse_raw": 0.0011708446674535728, "nmse": 0.09450457609841253}, "hands": {"mse_raw": 0.001031120959430327, "nmse": 2.1498175886329514}}, "nmse_by_step": [0.3946706770020039, 0.36329549781366466, 0.3698042082575374, 0.40520389458399564, 0.44140282467299796, 0.4768138490200238, 0.48551274436351316, 0.4710517361641695, 0.43623965066450604, 0.3784826042684797, 0.35220884584378565, 0.32864636431415084, 0.3621187454136643, 0.4190555560139654, 0.4971007005855462, 0.5268914293125657], "nmse_per_episode": {"0": 0.4959971381170239, "11": 0.37586339519807377, "22": 0.44637100712384614, "33": 0.42405704382703097, "44": 0.40392757365270954, "55": 0.37292891805721073, "66": 0.4238557935007919, "77": 0.3531938324177765, "88": 0.513879706542757, "99": 0.3851443462797906}, "nmse_episode_sem": 0.016803923215008208}
|
| 31 |
+
{"step": 7750, "utc": "2026-11-25T17:56:56Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001141246747344946, "mae_raw": 0.019458628266410167, "nmse": 0.4173649762012274, "groups": {"motion_token": {"mse_raw": 0.0011624524278182357, "nmse": 0.09372068468208825}, "hands": {"mse_raw": 0.0010281497848207328, "nmse": 2.143467864303303}}, "nmse_by_step": [0.39311253057330964, 0.3614907363555011, 0.36808103362760103, 0.40362532163540604, 0.44015428790310124, 0.47575912657155756, 0.4847191227332499, 0.4699590676388066, 0.43484740886438117, 0.37661444294394136, 0.34992850988794083, 0.3262802915296363, 0.35969304400564894, 0.41700478265935786, 0.49543791863805137, 0.5251471961117289], "nmse_per_episode": {"0": 0.49389612994271276, "11": 0.37455004460646674, "22": 0.44514029855931503, "33": 0.42235971312495957, "44": 0.4024810385400354, "55": 0.3717072133823161, "66": 0.4225149108491164, "77": 0.35166696170370987, "88": 0.5108076354991156, "99": 0.3838039846772453}, "nmse_episode_sem": 0.016663516520061542}
|
| 32 |
+
{"step": 8000, "utc": "2026-11-25T17:59:04Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011338294818892963, "mae_raw": 0.01936294546233855, "nmse": 0.41575093487745063, "groups": {"motion_token": {"mse_raw": 0.001154169182570146, "nmse": 0.0929600008514756}, "hands": {"mse_raw": 0.0010253510782580989, "nmse": 2.137302583015984}}, "nmse_by_step": [0.391664628924544, 0.3598104179471858, 0.36646039495753646, 0.40217284103536194, 0.43904352138951425, 0.474816457126627, 0.4839904542523678, 0.46889880341347134, 0.43341635115921523, 0.3747250211947016, 0.34763249875197505, 0.32385777600884813, 0.3572414835640163, 0.41495645749430937, 0.4938315300618516, 0.523459004072687], "nmse_per_episode": {"0": 0.49210531965857707, "11": 0.37332106347938043, "22": 0.4441728087700411, "33": 0.42049539965800853, "44": 0.400901715882103, "55": 0.3703974724132493, "66": 0.4210924913494812, "77": 0.35019775859495306, "88": 0.5078121457901006, "99": 0.382668681127542}, "nmse_episode_sem": 0.016542970821192268}
|
| 33 |
+
{"step": 8250, "utc": "2026-11-25T18:01:37Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011270687741759442, "mae_raw": 0.01927296319628752, "nmse": 0.4142007891594424, "groups": {"motion_token": {"mse_raw": 0.0011466636710366171, "nmse": 0.09226625884113225}, "hands": {"mse_raw": 0.0010225626575856893, "nmse": 2.1311849508570964}}, "nmse_by_step": [0.39018352086929003, 0.35809491487405287, 0.36481819321503073, 0.4007538592611168, 0.43798189474677945, 0.4739769215109919, 0.48341134173703293, 0.46796984561312077, 0.4320812098426973, 0.3729162470640765, 0.34539672200689137, 0.32144797296010164, 0.3548494658088553, 0.4130168040414721, 0.492313831906316, 0.5219201933738358], "nmse_per_episode": {"0": 0.4905034092347158, "11": 0.3721506567555827, "22": 0.44299763499560463, "33": 0.4187897371050379, "44": 0.3993384972205747, "55": 0.3692067361397608, "66": 0.4195759252693101, "77": 0.3488336641191308, "88": 0.5051089208220894, "99": 0.3814382439543814}, "nmse_episode_sem": 0.016439071211340302}
|
| 34 |
+
{"step": 8500, "utc": "2026-11-25T18:03:47Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011207695527126983, "mae_raw": 0.01919124858370194, "nmse": 0.41275870108095375, "groups": {"motion_token": {"mse_raw": 0.0011396439734079652, "nmse": 0.0916315434532652}, "hands": {"mse_raw": 0.0010201059756712774, "nmse": 2.125436875095292}}, "nmse_by_step": [0.38890457282936025, 0.3565923820454725, 0.36335857075149286, 0.3994702899784784, 0.43699794275002546, 0.47320127047480104, 0.4828203592856955, 0.4670651667339388, 0.43078567867258005, 0.371139102535224, 0.34322964210627305, 0.3191554569484189, 0.35255565161496455, 0.4111993023631393, 0.4909803023854578, 0.5205565996956487], "nmse_per_episode": {"0": 0.48895398043973326, "11": 0.3710228288700498, "22": 0.44216261444335725, "33": 0.41734092342077755, "44": 0.3979228783220943, "55": 0.3679492486538487, "66": 0.41818525777574395, "77": 0.34752446912418294, "88": 0.5025180452231719, "99": 0.38026892969393944}, "nmse_episode_sem": 0.016348474391289815}
|
| 35 |
+
{"step": 8750, "utc": "2026-11-25T18:05:55Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011144769504114133, "mae_raw": 0.019113470083647086, "nmse": 0.41113971390514326, "groups": {"motion_token": {"mse_raw": 0.0011327013383501789, "nmse": 0.09101446139064978}, "hands": {"mse_raw": 0.0010172802147379969, "nmse": 2.1184743939824418}}, "nmse_by_step": [0.3873048155168157, 0.3546831908093396, 0.36151374588837276, 0.39792737528768574, 0.4359629572841172, 0.4725057604297093, 0.48237961861697815, 0.4662570003083493, 0.42942337744011855, 0.3690610100966584, 0.3406060365394147, 0.3163836404622214, 0.34986637570399975, 0.409121229324766, 0.4896886141855587, 0.5193912293579452], "nmse_per_episode": {"0": 0.486862644501835, "11": 0.3696906003059795, "22": 0.4410562148851064, "33": 0.4156655779319694, "44": 0.3964213475263791, "55": 0.36672267652955004, "66": 0.4166114267213516, "77": 0.3460370894777747, "88": 0.49981323947879736, "99": 0.37903028637375197}, "nmse_episode_sem": 0.01623269433355898}
|
| 36 |
+
{"step": 9000, "utc": "2026-11-25T18:08:19Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001108524794465395, "mae_raw": 0.01904136240978054, "nmse": 0.4095486018258621, "groups": {"motion_token": {"mse_raw": 0.0011261477736544782, "nmse": 0.09042167431149345}, "hands": {"mse_raw": 0.0010145355721236197, "nmse": 2.111558881902495}}, "nmse_by_step": [0.38575605277369024, 0.3527483917459074, 0.3596905884752148, 0.39642670992503765, 0.43503067969383574, 0.4718729843989193, 0.48201938830604985, 0.4655156783951601, 0.42806637412358167, 0.36701808049167983, 0.3379666047759036, 0.3135243259124351, 0.3471152991408092, 0.4070312806111501, 0.488467522227398, 0.5183345183389865], "nmse_per_episode": {"0": 0.4850587937579457, "11": 0.36827025571764954, "22": 0.43982066032611505, "33": 0.41397882530715024, "44": 0.39493495597233846, "55": 0.36545999845016425, "66": 0.41516640931998194, "77": 0.34450385295897673, "88": 0.49732847252213086, "99": 0.37771401561392337}, "nmse_episode_sem": 0.016150558327944715}
|
| 37 |
+
{"step": 9250, "utc": "2026-11-25T18:10:27Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011033486415943567, "mae_raw": 0.018976204965898094, "nmse": 0.40813577106284193, "groups": {"motion_token": {"mse_raw": 0.001120456134871317, "nmse": 0.0899102478793663}, "hands": {"mse_raw": 0.0010121086774505681, "nmse": 2.1053385613747118}}, "nmse_by_step": [0.38435924330690624, 0.35105356586438974, 0.35805090272647033, 0.395095108353108, 0.4341485505648028, 0.47127924621323586, 0.48166408210785644, 0.4648497322422359, 0.42687836845629645, 0.3652512874497469, 0.33574225628295723, 0.3111039793571782, 0.34470992489006486, 0.40516141438521186, 0.4873073086837364, 0.5172952803851701], "nmse_per_episode": {"0": 0.4832456342687457, "11": 0.36694721337941166, "22": 0.43871406536265506, "33": 0.4126911238457484, "44": 0.3937628706494606, "55": 0.36450904481251767, "66": 0.41388103287604416, "77": 0.34328139345479464, "88": 0.4948459049061083, "99": 0.37646551745320955}, "nmse_episode_sem": 0.016041444144912802}
|
| 38 |
+
{"step": 9500, "utc": "2026-11-25T18:12:36Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010988478857480288, "mae_raw": 0.018919509063568575, "nmse": 0.4070334575047891, "groups": {"motion_token": {"mse_raw": 0.0011154479552426453, "nmse": 0.08945374613978013}, "hands": {"mse_raw": 0.0010103141817767406, "nmse": 2.10079191811817}}, "nmse_by_step": [0.3833426125888658, 0.34986101689516363, 0.35690241601239003, 0.39412235110859195, 0.43349607802264406, 0.4707237717239857, 0.4812582833676835, 0.4642423182663599, 0.4258745618711855, 0.3638918305362891, 0.33407579031470114, 0.30933981898366203, 0.3428752788772551, 0.40370022265049815, 0.48626991105185324, 0.5163014188050976], "nmse_per_episode": {"0": 0.4818515694941182, "11": 0.3659771549509313, "22": 0.43803047429032627, "33": 0.411617209491421, "44": 0.39290491171672426, "55": 0.3637424194918602, "66": 0.4128466658778715, "77": 0.34230602900335927, "88": 0.4925629872289094, "99": 0.3757670012675939}, "nmse_episode_sem": 0.015933878172939838}
|
| 39 |
+
{"step": 9750, "utc": "2026-11-25T18:15:02Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001094818503243732, "mae_raw": 0.018870881508228198, "nmse": 0.40587051365067717, "groups": {"motion_token": {"mse_raw": 0.0011110703979491415, "nmse": 0.08906142301608544}, "hands": {"mse_raw": 0.0010081417314815482, "nmse": 2.0955189970351666}}, "nmse_by_step": [0.3821758411599136, 0.3484471244075367, 0.35553321556399015, 0.3929731225063927, 0.43280041698596766, 0.47031187129504326, 0.48105530142083697, 0.46381693019599485, 0.4249533198895687, 0.36244424125942376, 0.33219741839166805, 0.3073016082783868, 0.3408338641444003, 0.40212825376016276, 0.48527897121045954, 0.5153925056768577], "nmse_per_episode": {"0": 0.48036050827217996, "11": 0.36498263314861285, "22": 0.43731852475684435, "33": 0.4105196602414638, "44": 0.3918558444382983, "55": 0.36300009809000383, "66": 0.411505232581165, "77": 0.34126496658293914, "88": 0.49047496059639756, "99": 0.3749090966590499}, "nmse_episode_sem": 0.01584017307472345}
|
| 40 |
+
{"step": 10000, "utc": "2026-11-25T18:17:12Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010907704106974405, "mae_raw": 0.01882320808151426, "nmse": 0.40474879648378764, "groups": {"motion_token": {"mse_raw": 0.0011066209538451036, "nmse": 0.08866741144542882}, "hands": {"mse_raw": 0.00100623418057657, "nmse": 2.0905161833550348}}, "nmse_by_step": [0.38102014856983635, 0.34705329976659693, 0.35421700760756886, 0.3918810379389004, 0.43216557407883155, 0.4699345240547754, 0.4808713804453139, 0.46338424280785423, 0.4240492500868934, 0.36104907091282695, 0.3303755249087843, 0.3053424557387175, 0.33888612920808214, 0.40059833192583594, 0.48434343458249923, 0.5145003952455356], "nmse_per_episode": {"0": 0.4790486423591808, "11": 0.3639879203691887, "22": 0.43646463735536595, "33": 0.4093546247570264, "44": 0.39083220503177624, "55": 0.362195244135689, "66": 0.4104398157073658, "77": 0.3403174811185939, "88": 0.488469144730163, "99": 0.37406483711315597}, "nmse_episode_sem": 0.01575576666193428}
|
| 41 |
+
{"step": 10250, "utc": "2026-11-25T18:19:21Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010871569456452229, "mae_raw": 0.018782362178800922, "nmse": 0.4036150205292761, "groups": {"motion_token": {"mse_raw": 0.0011027824309977603, "nmse": 0.0883362760620494}, "hands": {"mse_raw": 0.001003821023765024, "nmse": 2.0851016576878187}}, "nmse_by_step": [0.3798324714404223, 0.3456142660703426, 0.3528088584935811, 0.3907266944103118, 0.43150167437992654, 0.46961016485193036, 0.4807562717829698, 0.4629925832098736, 0.4231102304941138, 0.3595544085894026, 0.3284379719502874, 0.30328761129237286, 0.336845444149117, 0.3990833837489121, 0.48353856944535767, 0.5138139203378886], "nmse_per_episode": {"0": 0.477775703340506, "11": 0.3629617497377215, "22": 0.4355153587252678, "33": 0.4082174144449541, "44": 0.38988664180299537, "55": 0.361346453673352, "66": 0.4092633896959542, "77": 0.3394533301026718, "88": 0.4864410844660776, "99": 0.3731416909671325}, "nmse_episode_sem": 0.015669379182863923}
|
| 42 |
+
{"step": 10500, "utc": "2026-11-25T18:21:44Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010836787299058294, "mae_raw": 0.018745734353467665, "nmse": 0.4024626342410695, "groups": {"motion_token": {"mse_raw": 0.001099157764058017, "nmse": 0.08802968397393551}, "hands": {"mse_raw": 0.0010011238810941603, "nmse": 2.079438368999117}}, "nmse_by_step": [0.3786531817199714, 0.3441150015516059, 0.35136773970268476, 0.38958959555387995, 0.43088494040792863, 0.46935819332501577, 0.48071663482674376, 0.4626588011660413, 0.4221000756123359, 0.35795048077802605, 0.32637454878128735, 0.3010625932335243, 0.33470792805357347, 0.3975071482627596, 0.4827809019507597, 0.5132294442583807], "nmse_per_episode": {"0": 0.47631925697217686, "11": 0.36189556496440667, "22": 0.43450711099719663, "33": 0.407028407510744, "44": 0.38909170147412514, "55": 0.36039038811979834, "66": 0.40809156351541553, "77": 0.33849375606957616, "88": 0.48461147362508433, "99": 0.3721393253527691}, "nmse_episode_sem": 0.015592864312907573}
|
| 43 |
+
{"step": 10750, "utc": "2026-11-25T18:23:53Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010807782636323574, "mae_raw": 0.01871332988537751, "nmse": 0.4015472154451755, "groups": {"motion_token": {"mse_raw": 0.0010960683898084468, "nmse": 0.08776864292996839}, "hands": {"mse_raw": 0.000999230924026547, "nmse": 2.07503293552628}}, "nmse_by_step": [0.37773028703382083, 0.3429684844782496, 0.3502631750088057, 0.3887065457438721, 0.4304037536580257, 0.46913149083279027, 0.48064387106715156, 0.46236490943092956, 0.4213119690476714, 0.35671303683973327, 0.32475412213778965, 0.2993295697518699, 0.33304154763109123, 0.3962449560643807, 0.48211205205794533, 0.5126705109437569], "nmse_per_episode": {"0": 0.4751210472206991, "11": 0.3610891783408497, "22": 0.4337977704783359, "33": 0.40628025039217297, "44": 0.38842180073105353, "55": 0.3596495821732395, "66": 0.4071293797261221, "77": 0.3377203319176165, "88": 0.48306101785873706, "99": 0.371257915700185}, "nmse_episode_sem": 0.015527979323432353}
|
| 44 |
+
{"step": 11000, "utc": "2026-11-25T18:26:00Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010783844603619727, "mae_raw": 0.018688118774218217, "nmse": 0.40072171537616447, "groups": {"motion_token": {"mse_raw": 0.001093555003362455, "nmse": 0.08755872398127655}, "hands": {"mse_raw": 0.0009974748976927332, "nmse": 2.0709243361489005}}, "nmse_by_step": [0.37686804284052805, 0.34188633624547854, 0.3492492319977738, 0.3879014836259729, 0.42994287030395795, 0.46892972837406677, 0.4805940014940117, 0.4621100822325676, 0.42060681431420327, 0.3555908892336701, 0.3232987456302646, 0.29779229044060157, 0.3315525499827013, 0.395116392004618, 0.48153902746408656, 0.5121903106180321], "nmse_per_episode": {"0": 0.47410915932110004, "11": 0.36032230336418114, "22": 0.43314608646387076, "33": 0.4054658592093883, "44": 0.3877275329481442, "55": 0.35905862558388807, "66": 0.40630655235189617, "77": 0.3370596277883886, "88": 0.48168486569287655, "99": 0.37049847918136997}, "nmse_episode_sem": 0.015471193224393533}
|
| 45 |
+
{"step": 11250, "utc": "2026-11-25T18:28:14Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010761013586993334, "mae_raw": 0.01866464380036288, "nmse": 0.39991464973719415, "groups": {"motion_token": {"mse_raw": 0.0010911681218939335, "nmse": 0.08736375821219608}, "hands": {"mse_raw": 0.0009957452883281334, "nmse": 2.066852737870517}}, "nmse_by_step": [0.3760083084024749, 0.34082701679105215, 0.34825309134981314, 0.387121952595378, 0.4295212535866168, 0.46875702395742336, 0.4805836323925556, 0.4618894065598638, 0.41994127116226204, 0.35448604509514997, 0.3218321598142753, 0.296218467658564, 0.3300353041136253, 0.3940042171344427, 0.4809978385485166, 0.511764675164023], "nmse_per_episode": {"0": 0.47313051532634504, "11": 0.3596079702052663, "22": 0.4323984688009964, "33": 0.4047530875732698, "44": 0.3870129409435837, "55": 0.3585072927953057, "66": 0.405512122486576, "77": 0.3363809311189338, "88": 0.48032618438085617, "99": 0.3697789085683641}, "nmse_episode_sem": 0.015412852007778711}
|
| 46 |
+
{"step": 11500, "utc": "2026-11-25T18:30:39Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010740961905604891, "mae_raw": 0.018644539642685247, "nmse": 0.3992153188080155, "groups": {"motion_token": {"mse_raw": 0.0010890787252835657, "nmse": 0.08719632160213446}, "hands": {"mse_raw": 0.000994189338704082, "nmse": 2.0633166372393807}}, "nmse_by_step": [0.37524173258796784, 0.33985572324906305, 0.3473202200368008, 0.3864063148002471, 0.42914527344649717, 0.4686450532863277, 0.48061349218216504, 0.4617267037354734, 0.4193665050339991, 0.3535156770299984, 0.3205444375942415, 0.2948360083995598, 0.32869697754151755, 0.3930328059877055, 0.48059427301058966, 0.5115058878620907], "nmse_per_episode": {"0": 0.472326692165994, "11": 0.3590016368568562, "22": 0.4317144898539358, "33": 0.40414767949860514, "44": 0.3863904128931078, "55": 0.3579658613632473, "66": 0.4048249185980242, "77": 0.33575255856364256, "88": 0.47922923034781506, "99": 0.3691331145883969}, "nmse_episode_sem": 0.015372465794341063}
|
| 47 |
+
{"step": 11750, "utc": "2026-11-25T18:33:01Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010722669520727124, "mae_raw": 0.018626876485750708, "nmse": 0.3985677273531247, "groups": {"motion_token": {"mse_raw": 0.0010871833838945722, "nmse": 0.08704514525580406}, "hands": {"mse_raw": 0.000992712649022793, "nmse": 2.060021498538834}}, "nmse_by_step": [0.3745386488128213, 0.33895561686137216, 0.3464474829676911, 0.3857268801787109, 0.42879608091873694, 0.4685406788825327, 0.4806526970220375, 0.4615893264020907, 0.41884728439536717, 0.3526162953573995, 0.31935012184016737, 0.2935378535831394, 0.3274584094319138, 0.39212485310908113, 0.4802238587166616, 0.5112748452141344], "nmse_per_episode": {"0": 0.4716072533202905, "11": 0.3584087431249734, "22": 0.43105252166753394, "33": 0.4034795319769211, "44": 0.3857880048046927, "55": 0.3574907479612328, "66": 0.40421454692797704, "77": 0.33520084872192907, "88": 0.47826699110800036, "99": 0.3685500878920573}, "nmse_episode_sem": 0.015337244790967975}
|
| 48 |
+
{"step": 12000, "utc": "2026-11-25T18:35:07Z", "model": "flash", "task": "a29", "split": "train10", "queries": 198, "ranks": 1, "wall_s": 0.7, "infer_s_per_query": 0.0033, "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/a29/train10", "rows": 3082, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0010710125162045174, "mae_raw": 0.018615536858863028, "nmse": 0.3980873139093506, "groups": {"motion_token": {"mse_raw": 0.0010859144812843068, "nmse": 0.08694592445945389}, "hands": {"mse_raw": 0.0009915353691123071, "nmse": 2.057508057642133}}, "nmse_by_step": [0.37400465407523986, 0.3382822986631817, 0.3457976240257145, 0.3852186139210041, 0.4285418753238708, 0.46848019940953517, 0.4807000118887628, 0.4614969383809285, 0.4184613728336121, 0.35193809367362966, 0.31844613017466683, 0.2925605713193928, 0.3265244178405244, 0.39145486540287494, 0.47996026495193744, 0.5111234120817841], "nmse_per_episode": {"0": 0.4711027083021007, "11": 0.3579526463908443, "22": 0.43056319547477734, "33": 0.40301399940925625, "44": 0.3853726284424405, "55": 0.35711458425614434, "66": 0.4037586541726566, "77": 0.3347836568802435, "88": 0.47752212216143675, "99": 0.36811862685132135}, "nmse_episode_sem": 0.015312247956774412}
|
a29-drawer-close/b512/step-012000/training_records/pip_freeze_hb-baselines.txt
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
anyio==4.16.0
|
| 2 |
+
av==15.1.0
|
| 3 |
+
certifi==2026.11.20
|
| 4 |
+
charset-normalizer==3.5.3
|
| 5 |
+
click==8.5.1
|
| 6 |
+
diffusers==0.35.1
|
| 7 |
+
filelock==4.3.1
|
| 8 |
+
fsspec==2026.9.0
|
| 9 |
+
h11==0.16.0
|
| 10 |
+
hf-xet==1.8.0
|
| 11 |
+
httpcore2==2.16.2
|
| 12 |
+
httpx2==2.16.2
|
| 13 |
+
huggingface_hub==2.4.0
|
| 14 |
+
idna==3.20
|
| 15 |
+
importlib_metadata==10.2.0
|
| 16 |
+
iniconfig==2.3.1
|
| 17 |
+
Jinja2==3.1.6
|
| 18 |
+
lazy-importer==0.1.0
|
| 19 |
+
MarkupSafe==3.0.4
|
| 20 |
+
mpmath==1.3.0
|
| 21 |
+
networkx==3.7
|
| 22 |
+
numpy==2.2.6
|
| 23 |
+
nvidia-cublas-cu12==12.8.4.1
|
| 24 |
+
nvidia-cuda-cupti-cu12==12.8.90
|
| 25 |
+
nvidia-cuda-nvrtc-cu12==12.8.93
|
| 26 |
+
nvidia-cuda-runtime-cu12==12.8.90
|
| 27 |
+
nvidia-cudnn-cu12==9.10.2.21
|
| 28 |
+
nvidia-cufft-cu12==11.3.3.83
|
| 29 |
+
nvidia-cufile-cu12==1.13.1.3
|
| 30 |
+
nvidia-curand-cu12==10.3.9.90
|
| 31 |
+
nvidia-cusolver-cu12==11.7.3.90
|
| 32 |
+
nvidia-cusparse-cu12==12.5.8.93
|
| 33 |
+
nvidia-cusparselt-cu12==0.7.1
|
| 34 |
+
nvidia-nccl-cu12==2.27.5
|
| 35 |
+
nvidia-nvjitlink-cu12==12.8.93
|
| 36 |
+
nvidia-nvshmem-cu12==3.3.20
|
| 37 |
+
nvidia-nvtx-cu12==12.8.90
|
| 38 |
+
opencv-python-headless==4.11.0.86
|
| 39 |
+
packaging==26.4
|
| 40 |
+
pillow==13.0.0
|
| 41 |
+
pluggy==1.7.0
|
| 42 |
+
pyarrow==23.0.1
|
| 43 |
+
Pygments==2.21.0
|
| 44 |
+
pytest==8.4.2
|
| 45 |
+
PyYAML==6.0.4
|
| 46 |
+
regex==2026.11.19
|
| 47 |
+
requests==2.34.2
|
| 48 |
+
safetensors==0.8.0
|
| 49 |
+
setuptools==84.2.1
|
| 50 |
+
sympy==1.14.0
|
| 51 |
+
torch==2.9.0+cu128
|
| 52 |
+
torchvision==0.24.0+cu128
|
| 53 |
+
tqdm==4.70.1
|
| 54 |
+
triton==3.5.0
|
| 55 |
+
truststore==0.10.5
|
| 56 |
+
typing_extensions==4.16.0
|
| 57 |
+
urllib3==2.8.0
|
| 58 |
+
zipp==4.1.2
|
a29-drawer-close/b512/step-012000/training_records/run.json
ADDED
|
@@ -0,0 +1,936 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"argv": [
|
| 3 |
+
"evaluation/baselines/train.py",
|
| 4 |
+
"--policy",
|
| 5 |
+
"flash",
|
| 6 |
+
"--contract",
|
| 7 |
+
"g1_sonic_dfx6",
|
| 8 |
+
"--dataset",
|
| 9 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a29-drawer-close-black-marble-30hz-d03c19e/data",
|
| 10 |
+
"--out",
|
| 11 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000",
|
| 12 |
+
"--steps",
|
| 13 |
+
"12000",
|
| 14 |
+
"--batch-size",
|
| 15 |
+
"512",
|
| 16 |
+
"--workers",
|
| 17 |
+
"40",
|
| 18 |
+
"--save-every",
|
| 19 |
+
"4000",
|
| 20 |
+
"--log-every",
|
| 21 |
+
"50",
|
| 22 |
+
"--cache-dir",
|
| 23 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/flash-cache/a29",
|
| 24 |
+
"--inloop-task",
|
| 25 |
+
"a29",
|
| 26 |
+
"--inloop-code",
|
| 27 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse"
|
| 28 |
+
],
|
| 29 |
+
"started": "2026-11-26T00:46:24",
|
| 30 |
+
"host": "dlc1plp7nvyo11cd-master-0",
|
| 31 |
+
"torch": "2.9.0+cu128",
|
| 32 |
+
"policy": {
|
| 33 |
+
"policy": "flash",
|
| 34 |
+
"n_cameras": 2,
|
| 35 |
+
"state_dim": 44,
|
| 36 |
+
"action_dim": 76,
|
| 37 |
+
"horizon": 16,
|
| 38 |
+
"backbone": "resnet18",
|
| 39 |
+
"backbone_weights": null,
|
| 40 |
+
"backbone_norm": "group",
|
| 41 |
+
"hidden_dim": 512,
|
| 42 |
+
"num_layers": 4,
|
| 43 |
+
"num_heads": 8,
|
| 44 |
+
"mlp_ratio": 4.0,
|
| 45 |
+
"dropout": 0.0,
|
| 46 |
+
"time_embed_dim": 256,
|
| 47 |
+
"num_inference_steps": 1,
|
| 48 |
+
"num_train_timesteps": 100,
|
| 49 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 50 |
+
"prediction_type": "epsilon",
|
| 51 |
+
"clip_sample": true,
|
| 52 |
+
"act_hidden_dim": 512,
|
| 53 |
+
"dim_feedforward": 3200,
|
| 54 |
+
"enc_layers": 4,
|
| 55 |
+
"dec_layers": 7,
|
| 56 |
+
"nheads": 8,
|
| 57 |
+
"latent_dim": 32,
|
| 58 |
+
"kl_weight": 10.0,
|
| 59 |
+
"extra": {
|
| 60 |
+
"flash": {
|
| 61 |
+
"stride": 2,
|
| 62 |
+
"n_history": 8,
|
| 63 |
+
"n_action": 8,
|
| 64 |
+
"rows": 16,
|
| 65 |
+
"poly_order": 6,
|
| 66 |
+
"fit_pad": 1,
|
| 67 |
+
"boundary_constraint": true,
|
| 68 |
+
"poly_prefix": 1,
|
| 69 |
+
"poly_suffix": 1,
|
| 70 |
+
"history_noise_std": 0.5,
|
| 71 |
+
"history_reg_lambda": 0.1,
|
| 72 |
+
"consistency_weight": 1.0,
|
| 73 |
+
"solver": "euler"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"contract": {
|
| 78 |
+
"name": "g1_sonic_dfx6",
|
| 79 |
+
"robot": "g1",
|
| 80 |
+
"cameras": [
|
| 81 |
+
"ego_view",
|
| 82 |
+
"chest"
|
| 83 |
+
],
|
| 84 |
+
"state": [
|
| 85 |
+
[
|
| 86 |
+
"observation.state",
|
| 87 |
+
0,
|
| 88 |
+
29
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
"observation.inspire_left_hand_state",
|
| 92 |
+
0,
|
| 93 |
+
6
|
| 94 |
+
],
|
| 95 |
+
[
|
| 96 |
+
"observation.inspire_right_hand_state",
|
| 97 |
+
0,
|
| 98 |
+
6
|
| 99 |
+
],
|
| 100 |
+
[
|
| 101 |
+
"observation.projected_gravity",
|
| 102 |
+
0,
|
| 103 |
+
3
|
| 104 |
+
]
|
| 105 |
+
],
|
| 106 |
+
"action": [
|
| 107 |
+
[
|
| 108 |
+
"action.motion_token",
|
| 109 |
+
0,
|
| 110 |
+
64
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
"observation.inspire_left_hand_state",
|
| 114 |
+
0,
|
| 115 |
+
6
|
| 116 |
+
],
|
| 117 |
+
[
|
| 118 |
+
"observation.inspire_right_hand_state",
|
| 119 |
+
0,
|
| 120 |
+
6
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"state_dim": 44,
|
| 124 |
+
"action_dim": 76,
|
| 125 |
+
"action_space": "sonic_dfx6",
|
| 126 |
+
"body_dims": 29
|
| 127 |
+
},
|
| 128 |
+
"image_hw": [
|
| 129 |
+
168,
|
| 130 |
+
224
|
| 131 |
+
],
|
| 132 |
+
"task_text": "Walk to the cabinet beside the worktop and close its pulled-out top drawer. Approach with both hands open, raising the left hand on the way, stop square in front of the cabinet, lay the open hand on the drawer front and push it home in one motion, then take the hand away and stand. Keep the pushing hand visible in the head or torso camera.",
|
| 133 |
+
"dataset": {
|
| 134 |
+
"name": "data",
|
| 135 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a29-drawer-close-black-marble-30hz-d03c19e/data",
|
| 136 |
+
"robot_type": null,
|
| 137 |
+
"fps": 30.0,
|
| 138 |
+
"episodes": [
|
| 139 |
+
0,
|
| 140 |
+
1,
|
| 141 |
+
2,
|
| 142 |
+
3,
|
| 143 |
+
4,
|
| 144 |
+
5,
|
| 145 |
+
6,
|
| 146 |
+
7,
|
| 147 |
+
8,
|
| 148 |
+
9,
|
| 149 |
+
10,
|
| 150 |
+
11,
|
| 151 |
+
12,
|
| 152 |
+
13,
|
| 153 |
+
14,
|
| 154 |
+
15,
|
| 155 |
+
16,
|
| 156 |
+
17,
|
| 157 |
+
18,
|
| 158 |
+
19,
|
| 159 |
+
20,
|
| 160 |
+
21,
|
| 161 |
+
22,
|
| 162 |
+
23,
|
| 163 |
+
24,
|
| 164 |
+
25,
|
| 165 |
+
26,
|
| 166 |
+
27,
|
| 167 |
+
28,
|
| 168 |
+
29,
|
| 169 |
+
30,
|
| 170 |
+
31,
|
| 171 |
+
32,
|
| 172 |
+
33,
|
| 173 |
+
34,
|
| 174 |
+
35,
|
| 175 |
+
36,
|
| 176 |
+
37,
|
| 177 |
+
38,
|
| 178 |
+
39,
|
| 179 |
+
40,
|
| 180 |
+
41,
|
| 181 |
+
42,
|
| 182 |
+
43,
|
| 183 |
+
44,
|
| 184 |
+
45,
|
| 185 |
+
46,
|
| 186 |
+
47,
|
| 187 |
+
48,
|
| 188 |
+
49,
|
| 189 |
+
50,
|
| 190 |
+
51,
|
| 191 |
+
52,
|
| 192 |
+
53,
|
| 193 |
+
54,
|
| 194 |
+
55,
|
| 195 |
+
56,
|
| 196 |
+
57,
|
| 197 |
+
58,
|
| 198 |
+
59,
|
| 199 |
+
60,
|
| 200 |
+
61,
|
| 201 |
+
62,
|
| 202 |
+
63,
|
| 203 |
+
64,
|
| 204 |
+
65,
|
| 205 |
+
66,
|
| 206 |
+
67,
|
| 207 |
+
68,
|
| 208 |
+
69,
|
| 209 |
+
70,
|
| 210 |
+
71,
|
| 211 |
+
72,
|
| 212 |
+
73,
|
| 213 |
+
74,
|
| 214 |
+
75,
|
| 215 |
+
76,
|
| 216 |
+
77,
|
| 217 |
+
78,
|
| 218 |
+
79,
|
| 219 |
+
80,
|
| 220 |
+
81,
|
| 221 |
+
82,
|
| 222 |
+
83,
|
| 223 |
+
84,
|
| 224 |
+
85,
|
| 225 |
+
86,
|
| 226 |
+
87,
|
| 227 |
+
88,
|
| 228 |
+
89,
|
| 229 |
+
90,
|
| 230 |
+
91,
|
| 231 |
+
92,
|
| 232 |
+
93,
|
| 233 |
+
94,
|
| 234 |
+
95,
|
| 235 |
+
96,
|
| 236 |
+
97,
|
| 237 |
+
98,
|
| 238 |
+
99
|
| 239 |
+
],
|
| 240 |
+
"train_episodes": [
|
| 241 |
+
0,
|
| 242 |
+
1,
|
| 243 |
+
2,
|
| 244 |
+
3,
|
| 245 |
+
4,
|
| 246 |
+
5,
|
| 247 |
+
6,
|
| 248 |
+
7,
|
| 249 |
+
8,
|
| 250 |
+
9,
|
| 251 |
+
10,
|
| 252 |
+
11,
|
| 253 |
+
12,
|
| 254 |
+
13,
|
| 255 |
+
14,
|
| 256 |
+
15,
|
| 257 |
+
16,
|
| 258 |
+
17,
|
| 259 |
+
18,
|
| 260 |
+
19,
|
| 261 |
+
20,
|
| 262 |
+
21,
|
| 263 |
+
22,
|
| 264 |
+
23,
|
| 265 |
+
24,
|
| 266 |
+
25,
|
| 267 |
+
26,
|
| 268 |
+
27,
|
| 269 |
+
28,
|
| 270 |
+
29,
|
| 271 |
+
30,
|
| 272 |
+
31,
|
| 273 |
+
32,
|
| 274 |
+
33,
|
| 275 |
+
34,
|
| 276 |
+
35,
|
| 277 |
+
36,
|
| 278 |
+
37,
|
| 279 |
+
38,
|
| 280 |
+
39,
|
| 281 |
+
40,
|
| 282 |
+
41,
|
| 283 |
+
42,
|
| 284 |
+
43,
|
| 285 |
+
44,
|
| 286 |
+
45,
|
| 287 |
+
46,
|
| 288 |
+
47,
|
| 289 |
+
48,
|
| 290 |
+
49,
|
| 291 |
+
50,
|
| 292 |
+
51,
|
| 293 |
+
52,
|
| 294 |
+
53,
|
| 295 |
+
54,
|
| 296 |
+
55,
|
| 297 |
+
56,
|
| 298 |
+
57,
|
| 299 |
+
58,
|
| 300 |
+
59,
|
| 301 |
+
60,
|
| 302 |
+
61,
|
| 303 |
+
62,
|
| 304 |
+
63,
|
| 305 |
+
64,
|
| 306 |
+
65,
|
| 307 |
+
66,
|
| 308 |
+
67,
|
| 309 |
+
68,
|
| 310 |
+
69,
|
| 311 |
+
70,
|
| 312 |
+
71,
|
| 313 |
+
72,
|
| 314 |
+
73,
|
| 315 |
+
74,
|
| 316 |
+
75,
|
| 317 |
+
76,
|
| 318 |
+
77,
|
| 319 |
+
78,
|
| 320 |
+
79,
|
| 321 |
+
80,
|
| 322 |
+
81,
|
| 323 |
+
82,
|
| 324 |
+
83,
|
| 325 |
+
84,
|
| 326 |
+
85,
|
| 327 |
+
86,
|
| 328 |
+
87,
|
| 329 |
+
88,
|
| 330 |
+
89,
|
| 331 |
+
90,
|
| 332 |
+
91,
|
| 333 |
+
92,
|
| 334 |
+
93,
|
| 335 |
+
94,
|
| 336 |
+
95,
|
| 337 |
+
96,
|
| 338 |
+
97,
|
| 339 |
+
98,
|
| 340 |
+
99
|
| 341 |
+
],
|
| 342 |
+
"val_episodes": [],
|
| 343 |
+
"train_frames": 30041,
|
| 344 |
+
"git_commit": "28db084daee2521e9f0912d7262bc95e1b6eefd9"
|
| 345 |
+
},
|
| 346 |
+
"training": {
|
| 347 |
+
"steps": 12000,
|
| 348 |
+
"batch_size": 512,
|
| 349 |
+
"lr": 0.0001,
|
| 350 |
+
"betas": [
|
| 351 |
+
0.95,
|
| 352 |
+
0.999
|
| 353 |
+
],
|
| 354 |
+
"weight_decay": 1e-06,
|
| 355 |
+
"warmup": 500,
|
| 356 |
+
"schedule": "diffusers_cosine",
|
| 357 |
+
"backbone_lr_scale": 1.0,
|
| 358 |
+
"ema": 0.9999,
|
| 359 |
+
"shift_px": 0,
|
| 360 |
+
"amp": true,
|
| 361 |
+
"seed": 42,
|
| 362 |
+
"augmentation": {
|
| 363 |
+
"spec": "docs/augmentation_v2.md",
|
| 364 |
+
"version": "hb-aug-v2-20261109",
|
| 365 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 366 |
+
"visual": {
|
| 367 |
+
"effects": [
|
| 368 |
+
"exposure",
|
| 369 |
+
"contrast",
|
| 370 |
+
"saturation",
|
| 371 |
+
"hue",
|
| 372 |
+
"gamma",
|
| 373 |
+
"temperature",
|
| 374 |
+
"rotation_crop",
|
| 375 |
+
"noise",
|
| 376 |
+
"gaussian_blur",
|
| 377 |
+
"jpeg",
|
| 378 |
+
"motion_blur",
|
| 379 |
+
"sharpen",
|
| 380 |
+
"defocus",
|
| 381 |
+
"light_shadow",
|
| 382 |
+
"wb_channel"
|
| 383 |
+
],
|
| 384 |
+
"boosted_per_sample": 1,
|
| 385 |
+
"boost": 1.5,
|
| 386 |
+
"pixel_scale": "H / 224",
|
| 387 |
+
"future_targets": "none (one observation frame)"
|
| 388 |
+
},
|
| 389 |
+
"proprio": {
|
| 390 |
+
"robot": "g1",
|
| 391 |
+
"body_dims": 29,
|
| 392 |
+
"bias_deg": 2.0,
|
| 393 |
+
"bias_scope": "per_sample",
|
| 394 |
+
"noise_deg": 0.25,
|
| 395 |
+
"noise_clip_sigma": 3,
|
| 396 |
+
"delay_probability": 0.0,
|
| 397 |
+
"history_drop_probability": 0.0,
|
| 398 |
+
"velocity": false
|
| 399 |
+
},
|
| 400 |
+
"native_image_augmentation": "off",
|
| 401 |
+
"evaluation": "off"
|
| 402 |
+
},
|
| 403 |
+
"preflight": {
|
| 404 |
+
"samples": 64,
|
| 405 |
+
"state_dim": 44,
|
| 406 |
+
"body_dims": 29,
|
| 407 |
+
"images_changed": 64,
|
| 408 |
+
"body_values_moved": 1.0,
|
| 409 |
+
"max_body_offset_deg": 2.6033,
|
| 410 |
+
"actions_bit_identical": true,
|
| 411 |
+
"non_body_state_bit_identical": true,
|
| 412 |
+
"eval_items_deterministic": 8
|
| 413 |
+
},
|
| 414 |
+
"aug_seed": 42,
|
| 415 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 416 |
+
"layout": {
|
| 417 |
+
"nodes": 1,
|
| 418 |
+
"gpus": 1,
|
| 419 |
+
"per_gpu_batch": 512,
|
| 420 |
+
"global_batch": 512,
|
| 421 |
+
"gradient_accumulation": 1,
|
| 422 |
+
"num_workers": 40,
|
| 423 |
+
"prefetch": 2
|
| 424 |
+
},
|
| 425 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 426 |
+
"inloop": {
|
| 427 |
+
"task": "a29",
|
| 428 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 429 |
+
"every": 250,
|
| 430 |
+
"exception": null
|
| 431 |
+
}
|
| 432 |
+
},
|
| 433 |
+
"stats": {
|
| 434 |
+
"state": {
|
| 435 |
+
"min": [
|
| 436 |
+
-0.534028172492981,
|
| 437 |
+
-0.14577800035476685,
|
| 438 |
+
-0.10741252452135086,
|
| 439 |
+
0.1223539188504219,
|
| 440 |
+
-0.876969575881958,
|
| 441 |
+
-0.1527269333600998,
|
| 442 |
+
-0.6530642509460449,
|
| 443 |
+
-0.34237927198410034,
|
| 444 |
+
-0.5516390204429626,
|
| 445 |
+
0.11220990866422653,
|
| 446 |
+
-0.7392274141311646,
|
| 447 |
+
-0.13110315799713135,
|
| 448 |
+
-0.06260737776756287,
|
| 449 |
+
-0.12067101150751114,
|
| 450 |
+
-0.011655419133603573,
|
| 451 |
+
-0.3356657326221466,
|
| 452 |
+
-0.1486136019229889,
|
| 453 |
+
-0.14513139426708221,
|
| 454 |
+
-0.2398998737335205,
|
| 455 |
+
-1.6966043710708618,
|
| 456 |
+
-0.33168429136276245,
|
| 457 |
+
-1.6061123609542847,
|
| 458 |
+
0.09308633953332901,
|
| 459 |
+
-0.2865353524684906,
|
| 460 |
+
-0.3184954524040222,
|
| 461 |
+
0.3765525221824646,
|
| 462 |
+
-0.1930495649576187,
|
| 463 |
+
-0.090675950050354,
|
| 464 |
+
-0.060834407806396484,
|
| 465 |
+
0.9033362865447998,
|
| 466 |
+
0.9876859784126282,
|
| 467 |
+
0.9490998387336731,
|
| 468 |
+
0.704720675945282,
|
| 469 |
+
0.3992108106613159,
|
| 470 |
+
0.2467861771583557,
|
| 471 |
+
0.9998832941055298,
|
| 472 |
+
0.9998472929000854,
|
| 473 |
+
0.9998288154602051,
|
| 474 |
+
0.9937314391136169,
|
| 475 |
+
0.9971558451652527,
|
| 476 |
+
0.9992426633834839,
|
| 477 |
+
-0.20440885424613953,
|
| 478 |
+
-0.14709624648094177,
|
| 479 |
+
-1.0
|
| 480 |
+
],
|
| 481 |
+
"max": [
|
| 482 |
+
0.35993677377700806,
|
| 483 |
+
0.26245301961898804,
|
| 484 |
+
0.49964162707328796,
|
| 485 |
+
1.3215410709381104,
|
| 486 |
+
0.40844595432281494,
|
| 487 |
+
0.13166311383247375,
|
| 488 |
+
0.25757214426994324,
|
| 489 |
+
0.14982159435749054,
|
| 490 |
+
0.1273796558380127,
|
| 491 |
+
1.1904000043869019,
|
| 492 |
+
0.24902525544166565,
|
| 493 |
+
0.17109742760658264,
|
| 494 |
+
0.130329892039299,
|
| 495 |
+
0.10224339365959167,
|
| 496 |
+
0.31962135434150696,
|
| 497 |
+
0.7473008036613464,
|
| 498 |
+
0.3672693073749542,
|
| 499 |
+
0.43278905749320984,
|
| 500 |
+
1.1210671663284302,
|
| 501 |
+
0.43844008445739746,
|
| 502 |
+
1.6189088821411133,
|
| 503 |
+
0.13420991599559784,
|
| 504 |
+
0.3154947757720947,
|
| 505 |
+
-0.043002914637327194,
|
| 506 |
+
0.17981280386447906,
|
| 507 |
+
0.7492755055427551,
|
| 508 |
+
0.1251305788755417,
|
| 509 |
+
0.12946312129497528,
|
| 510 |
+
0.393763929605484,
|
| 511 |
+
1.0,
|
| 512 |
+
1.0,
|
| 513 |
+
1.0,
|
| 514 |
+
1.0,
|
| 515 |
+
1.0,
|
| 516 |
+
1.0,
|
| 517 |
+
1.0,
|
| 518 |
+
1.0,
|
| 519 |
+
1.0,
|
| 520 |
+
1.0,
|
| 521 |
+
0.9983106255531311,
|
| 522 |
+
1.0,
|
| 523 |
+
0.12773169577121735,
|
| 524 |
+
0.0766577422618866,
|
| 525 |
+
-0.9782990217208862
|
| 526 |
+
],
|
| 527 |
+
"mean": [
|
| 528 |
+
-0.07639565424004759,
|
| 529 |
+
0.050363496258068484,
|
| 530 |
+
0.11190579194565965,
|
| 531 |
+
0.3352824723715888,
|
| 532 |
+
-0.16446315379641738,
|
| 533 |
+
-0.004820057547270692,
|
| 534 |
+
-0.13251833722055958,
|
| 535 |
+
-0.09894207439502213,
|
| 536 |
+
-0.22471050008766882,
|
| 537 |
+
0.35335772407383864,
|
| 538 |
+
-0.1578437133899749,
|
| 539 |
+
-0.004799717887673335,
|
| 540 |
+
0.0051573811196815025,
|
| 541 |
+
-0.005317487551886401,
|
| 542 |
+
0.17810973136776315,
|
| 543 |
+
0.36619768105360534,
|
| 544 |
+
0.11644517436654425,
|
| 545 |
+
0.09414850376552313,
|
| 546 |
+
0.6287014354496157,
|
| 547 |
+
-0.9161356656609858,
|
| 548 |
+
0.17411387559158406,
|
| 549 |
+
-0.7752402640286278,
|
| 550 |
+
0.21060188387805423,
|
| 551 |
+
-0.1514891714274562,
|
| 552 |
+
-0.10547201964816742,
|
| 553 |
+
0.5737247461545031,
|
| 554 |
+
-0.037919477344890894,
|
| 555 |
+
0.015712656495776245,
|
| 556 |
+
0.11961978892214573,
|
| 557 |
+
0.999767607126877,
|
| 558 |
+
0.9999772788486961,
|
| 559 |
+
0.9991153764989015,
|
| 560 |
+
0.9988341203487006,
|
| 561 |
+
0.9913370663400044,
|
| 562 |
+
0.9943634353287667,
|
| 563 |
+
0.9999858952743991,
|
| 564 |
+
0.999983983695644,
|
| 565 |
+
0.9999830005453912,
|
| 566 |
+
0.9999809726224013,
|
| 567 |
+
0.9977059502849399,
|
| 568 |
+
0.9997620721269846,
|
| 569 |
+
-0.03676242497621179,
|
| 570 |
+
-0.00941232424061437,
|
| 571 |
+
-0.9981359134544676
|
| 572 |
+
],
|
| 573 |
+
"std": [
|
| 574 |
+
0.1410995541738054,
|
| 575 |
+
0.05190414605088492,
|
| 576 |
+
0.06481903067910577,
|
| 577 |
+
0.22648556308788673,
|
| 578 |
+
0.1130201572355957,
|
| 579 |
+
0.03953136689725532,
|
| 580 |
+
0.13585459180431816,
|
| 581 |
+
0.06194837365496525,
|
| 582 |
+
0.09114925692127998,
|
| 583 |
+
0.2043189143430019,
|
| 584 |
+
0.10959535562238933,
|
| 585 |
+
0.053788605629977296,
|
| 586 |
+
0.029423028574725455,
|
| 587 |
+
0.017899930793111005,
|
| 588 |
+
0.0995278800935876,
|
| 589 |
+
0.1756297985235062,
|
| 590 |
+
0.058331696673118535,
|
| 591 |
+
0.06995047474784861,
|
| 592 |
+
0.19866770445276463,
|
| 593 |
+
0.6503511571055091,
|
| 594 |
+
0.1975001944932491,
|
| 595 |
+
0.5829143542240596,
|
| 596 |
+
0.024794860724430334,
|
| 597 |
+
0.04435919061627581,
|
| 598 |
+
0.09630628837307029,
|
| 599 |
+
0.03493410883940767,
|
| 600 |
+
0.047272328035600705,
|
| 601 |
+
0.027637270728491276,
|
| 602 |
+
0.09908078695331715,
|
| 603 |
+
0.002364994656301731,
|
| 604 |
+
0.00022827900944685637,
|
| 605 |
+
0.0033686901419259932,
|
| 606 |
+
0.00935260939272013,
|
| 607 |
+
0.04256951376192157,
|
| 608 |
+
0.044924818964100645,
|
| 609 |
+
1.761350993960167e-05,
|
| 610 |
+
2.2025409350164893e-05,
|
| 611 |
+
2.4250215716281934e-05,
|
| 612 |
+
8.191872159154288e-05,
|
| 613 |
+
0.00011415496042436977,
|
| 614 |
+
0.00010596427076493072,
|
| 615 |
+
0.04155546555026311,
|
| 616 |
+
0.023449121186542934,
|
| 617 |
+
0.0028129244868599045
|
| 618 |
+
]
|
| 619 |
+
},
|
| 620 |
+
"action": {
|
| 621 |
+
"min": [
|
| 622 |
+
-0.125,
|
| 623 |
+
-0.5625,
|
| 624 |
+
-0.375,
|
| 625 |
+
-0.375,
|
| 626 |
+
-0.5,
|
| 627 |
+
-0.375,
|
| 628 |
+
-0.1875,
|
| 629 |
+
-0.4375,
|
| 630 |
+
-0.3125,
|
| 631 |
+
-0.3125,
|
| 632 |
+
-0.4375,
|
| 633 |
+
-0.3125,
|
| 634 |
+
0.125,
|
| 635 |
+
-0.4375,
|
| 636 |
+
-0.1875,
|
| 637 |
+
-0.3125,
|
| 638 |
+
-0.3125,
|
| 639 |
+
-0.375,
|
| 640 |
+
-0.3125,
|
| 641 |
+
-0.5625,
|
| 642 |
+
-0.3125,
|
| 643 |
+
-0.375,
|
| 644 |
+
-0.5,
|
| 645 |
+
-0.5,
|
| 646 |
+
-0.625,
|
| 647 |
+
0.0,
|
| 648 |
+
-0.1875,
|
| 649 |
+
-0.1875,
|
| 650 |
+
-0.0625,
|
| 651 |
+
-0.5625,
|
| 652 |
+
-0.0625,
|
| 653 |
+
-0.6875,
|
| 654 |
+
-0.4375,
|
| 655 |
+
-0.5,
|
| 656 |
+
0.0,
|
| 657 |
+
-0.125,
|
| 658 |
+
-0.375,
|
| 659 |
+
-0.125,
|
| 660 |
+
-0.0625,
|
| 661 |
+
-0.1875,
|
| 662 |
+
-0.3125,
|
| 663 |
+
-0.1875,
|
| 664 |
+
-0.1875,
|
| 665 |
+
-0.1875,
|
| 666 |
+
-0.125,
|
| 667 |
+
0.1875,
|
| 668 |
+
0.1875,
|
| 669 |
+
-0.4375,
|
| 670 |
+
-0.625,
|
| 671 |
+
-0.4375,
|
| 672 |
+
-0.3125,
|
| 673 |
+
-0.25,
|
| 674 |
+
-0.4375,
|
| 675 |
+
-0.5,
|
| 676 |
+
-0.3125,
|
| 677 |
+
-0.3125,
|
| 678 |
+
0.1875,
|
| 679 |
+
-0.125,
|
| 680 |
+
-0.0625,
|
| 681 |
+
-0.25,
|
| 682 |
+
-0.1875,
|
| 683 |
+
-0.1875,
|
| 684 |
+
-0.0625,
|
| 685 |
+
-0.375,
|
| 686 |
+
0.9033362865447998,
|
| 687 |
+
0.9876859784126282,
|
| 688 |
+
0.9490998387336731,
|
| 689 |
+
0.704720675945282,
|
| 690 |
+
0.3992108106613159,
|
| 691 |
+
0.2467861771583557,
|
| 692 |
+
0.9998832941055298,
|
| 693 |
+
0.9998472929000854,
|
| 694 |
+
0.9998288154602051,
|
| 695 |
+
0.9937314391136169,
|
| 696 |
+
0.9971558451652527,
|
| 697 |
+
0.9992426633834839
|
| 698 |
+
],
|
| 699 |
+
"max": [
|
| 700 |
+
0.375,
|
| 701 |
+
0.0625,
|
| 702 |
+
0.1875,
|
| 703 |
+
0.375,
|
| 704 |
+
0.375,
|
| 705 |
+
0.25,
|
| 706 |
+
0.375,
|
| 707 |
+
0.125,
|
| 708 |
+
0.0,
|
| 709 |
+
0.3125,
|
| 710 |
+
0.1875,
|
| 711 |
+
0.1875,
|
| 712 |
+
0.5,
|
| 713 |
+
0.3125,
|
| 714 |
+
0.3125,
|
| 715 |
+
0.3125,
|
| 716 |
+
0.0625,
|
| 717 |
+
0.1875,
|
| 718 |
+
0.3125,
|
| 719 |
+
0.125,
|
| 720 |
+
0.375,
|
| 721 |
+
0.0625,
|
| 722 |
+
0.0625,
|
| 723 |
+
0.3125,
|
| 724 |
+
-0.0625,
|
| 725 |
+
0.5,
|
| 726 |
+
0.125,
|
| 727 |
+
0.25,
|
| 728 |
+
0.375,
|
| 729 |
+
0.0,
|
| 730 |
+
0.4375,
|
| 731 |
+
0.1875,
|
| 732 |
+
0.125,
|
| 733 |
+
0.3125,
|
| 734 |
+
0.5625,
|
| 735 |
+
0.3125,
|
| 736 |
+
0.4375,
|
| 737 |
+
0.1875,
|
| 738 |
+
0.5625,
|
| 739 |
+
0.375,
|
| 740 |
+
0.25,
|
| 741 |
+
0.3125,
|
| 742 |
+
0.375,
|
| 743 |
+
0.4375,
|
| 744 |
+
0.5,
|
| 745 |
+
0.4375,
|
| 746 |
+
0.625,
|
| 747 |
+
0.125,
|
| 748 |
+
0.125,
|
| 749 |
+
0.0,
|
| 750 |
+
0.375,
|
| 751 |
+
0.125,
|
| 752 |
+
0.0,
|
| 753 |
+
0.125,
|
| 754 |
+
0.25,
|
| 755 |
+
0.25,
|
| 756 |
+
0.5,
|
| 757 |
+
0.25,
|
| 758 |
+
0.3125,
|
| 759 |
+
0.4375,
|
| 760 |
+
0.3125,
|
| 761 |
+
0.25,
|
| 762 |
+
0.6875,
|
| 763 |
+
0.1875,
|
| 764 |
+
1.0,
|
| 765 |
+
1.0,
|
| 766 |
+
1.0,
|
| 767 |
+
1.0,
|
| 768 |
+
1.0,
|
| 769 |
+
1.0,
|
| 770 |
+
1.0,
|
| 771 |
+
1.0,
|
| 772 |
+
1.0,
|
| 773 |
+
1.0,
|
| 774 |
+
0.9983106255531311,
|
| 775 |
+
1.0
|
| 776 |
+
],
|
| 777 |
+
"mean": [
|
| 778 |
+
0.1705918577943477,
|
| 779 |
+
-0.2530999300955361,
|
| 780 |
+
-0.06875811391098832,
|
| 781 |
+
0.02347000765620319,
|
| 782 |
+
-0.019656469491694684,
|
| 783 |
+
-0.05156286408574948,
|
| 784 |
+
0.03171915049432442,
|
| 785 |
+
-0.1440094371026264,
|
| 786 |
+
-0.13838795313072136,
|
| 787 |
+
0.02956376285742818,
|
| 788 |
+
-0.21193327452481608,
|
| 789 |
+
-0.09570878133217936,
|
| 790 |
+
0.32858010718684466,
|
| 791 |
+
-0.04470764954562099,
|
| 792 |
+
0.11257947471788556,
|
| 793 |
+
-0.0030895276455510804,
|
| 794 |
+
-0.12385989148164175,
|
| 795 |
+
-0.13941571518924137,
|
| 796 |
+
0.019219566592323826,
|
| 797 |
+
-0.2361793049499018,
|
| 798 |
+
0.03677890216703838,
|
| 799 |
+
-0.15651318198462102,
|
| 800 |
+
-0.2274412469624846,
|
| 801 |
+
-0.14134224892646716,
|
| 802 |
+
-0.3545695882294198,
|
| 803 |
+
0.24737650211377785,
|
| 804 |
+
-0.015869977697147233,
|
| 805 |
+
0.035607586298725076,
|
| 806 |
+
0.16090301587829967,
|
| 807 |
+
-0.29230260310908424,
|
| 808 |
+
0.18102551512932324,
|
| 809 |
+
-0.35666048067640893,
|
| 810 |
+
-0.16304175959521985,
|
| 811 |
+
-0.14047676508771345,
|
| 812 |
+
0.3327119603208948,
|
| 813 |
+
0.15131403748210778,
|
| 814 |
+
-0.0891240304916614,
|
| 815 |
+
-0.0054425618321627105,
|
| 816 |
+
0.18380296927532372,
|
| 817 |
+
0.08557679504676942,
|
| 818 |
+
-0.09318722745581039,
|
| 819 |
+
0.08817740754302453,
|
| 820 |
+
0.11623905662261576,
|
| 821 |
+
0.21342290536267103,
|
| 822 |
+
0.1559015179255018,
|
| 823 |
+
0.3040656935521454,
|
| 824 |
+
0.3925801404746846,
|
| 825 |
+
-0.1896366632269232,
|
| 826 |
+
-0.3108231250624147,
|
| 827 |
+
-0.2585653773176659,
|
| 828 |
+
-0.004643653673313139,
|
| 829 |
+
-0.05059335574714557,
|
| 830 |
+
-0.2170325555074731,
|
| 831 |
+
-0.22278927132918344,
|
| 832 |
+
-0.02914766485802736,
|
| 833 |
+
-0.0018183482573815785,
|
| 834 |
+
0.3720540261642422,
|
| 835 |
+
0.060465280782929995,
|
| 836 |
+
0.17466545720848173,
|
| 837 |
+
0.07812031889750674,
|
| 838 |
+
0.020719599880163777,
|
| 839 |
+
0.02491802869411804,
|
| 840 |
+
0.35415349023001896,
|
| 841 |
+
-0.10424919276988116,
|
| 842 |
+
0.999767607126877,
|
| 843 |
+
0.9999772788486961,
|
| 844 |
+
0.9991153764989015,
|
| 845 |
+
0.9988341203487006,
|
| 846 |
+
0.9913370663400044,
|
| 847 |
+
0.9943634353287667,
|
| 848 |
+
0.9999858952743991,
|
| 849 |
+
0.999983983695644,
|
| 850 |
+
0.9999830005453912,
|
| 851 |
+
0.9999809726224013,
|
| 852 |
+
0.9977059502849399,
|
| 853 |
+
0.9997620721269846
|
| 854 |
+
],
|
| 855 |
+
"std": [
|
| 856 |
+
0.07861391484475255,
|
| 857 |
+
0.11456685397394184,
|
| 858 |
+
0.07555772502365608,
|
| 859 |
+
0.12073976936766533,
|
| 860 |
+
0.17310583962466786,
|
| 861 |
+
0.09805672738062948,
|
| 862 |
+
0.08413334391920739,
|
| 863 |
+
0.1109703415316925,
|
| 864 |
+
0.06497421956251394,
|
| 865 |
+
0.13934210663953223,
|
| 866 |
+
0.13814459940640186,
|
| 867 |
+
0.08709513838997342,
|
| 868 |
+
0.08245982354043184,
|
| 869 |
+
0.20011686244773508,
|
| 870 |
+
0.07920482559452219,
|
| 871 |
+
0.08282887709555811,
|
| 872 |
+
0.10681848054589681,
|
| 873 |
+
0.12673905951906927,
|
| 874 |
+
0.09672031072116966,
|
| 875 |
+
0.18222778130573336,
|
| 876 |
+
0.15581870632558198,
|
| 877 |
+
0.0882983550620938,
|
| 878 |
+
0.14760089281967495,
|
| 879 |
+
0.19344678169686744,
|
| 880 |
+
0.13316453359940944,
|
| 881 |
+
0.11665767902225674,
|
| 882 |
+
0.07802343808121218,
|
| 883 |
+
0.07686754849751828,
|
| 884 |
+
0.07159632899793833,
|
| 885 |
+
0.1323028487525391,
|
| 886 |
+
0.08971101604043516,
|
| 887 |
+
0.20554012065236432,
|
| 888 |
+
0.10300065062373649,
|
| 889 |
+
0.20787533158835977,
|
| 890 |
+
0.14730191157543784,
|
| 891 |
+
0.08823291929139707,
|
| 892 |
+
0.1534789425452636,
|
| 893 |
+
0.06539474514059188,
|
| 894 |
+
0.11560732208721157,
|
| 895 |
+
0.13951935888640377,
|
| 896 |
+
0.06605515500083993,
|
| 897 |
+
0.08928226830223088,
|
| 898 |
+
0.10083892517653374,
|
| 899 |
+
0.19827032002099382,
|
| 900 |
+
0.1045641725731635,
|
| 901 |
+
0.05822162471761631,
|
| 902 |
+
0.10190258643916436,
|
| 903 |
+
0.11380376107460125,
|
| 904 |
+
0.21232811107873922,
|
| 905 |
+
0.05700269175439421,
|
| 906 |
+
0.11427141798904378,
|
| 907 |
+
0.07635370499957993,
|
| 908 |
+
0.07173043558808945,
|
| 909 |
+
0.08916520126042561,
|
| 910 |
+
0.13167800663790963,
|
| 911 |
+
0.07519871154293578,
|
| 912 |
+
0.09160545650949894,
|
| 913 |
+
0.06782318394972403,
|
| 914 |
+
0.06876188546289838,
|
| 915 |
+
0.11512247605529641,
|
| 916 |
+
0.09994049073163953,
|
| 917 |
+
0.0809394280854295,
|
| 918 |
+
0.13684661473368023,
|
| 919 |
+
0.12652017809673582,
|
| 920 |
+
0.002364994656301731,
|
| 921 |
+
0.00022827900944685637,
|
| 922 |
+
0.0033686901419259932,
|
| 923 |
+
0.00935260939272013,
|
| 924 |
+
0.04256951376192157,
|
| 925 |
+
0.044924818964100645,
|
| 926 |
+
1.761350993960167e-05,
|
| 927 |
+
2.2025409350164893e-05,
|
| 928 |
+
2.4250215716281934e-05,
|
| 929 |
+
8.191872159154288e-05,
|
| 930 |
+
0.00011415496042436977,
|
| 931 |
+
0.00010596427076493072
|
| 932 |
+
]
|
| 933 |
+
}
|
| 934 |
+
},
|
| 935 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258"
|
| 936 |
+
}
|
a29-drawer-close/b512/step-012000/training_records/train.log
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
HB_AUG_SEED=42
|
| 2 |
+
{"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 44, "body_dims": 29, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.6033, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
|
| 3 |
+
HB_INLOOP flash installed: task a29 split train10, every 250 steps, cache checked on episodes [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], code /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse, G=<default>
|
| 4 |
+
{"event": "start", "policy": "flash", "params": 42673868, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 30041, "steps": 12000, "from_step": 0, "cameras": ["ego_view", "chest"], "hw": [168, 224], "seed": 42}
|
| 5 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.72, "data_frac": 0.789, "fm": 1.2152260267734527, "consistency": 1.287933658361435, "loss": 2.5031596779823304}
|
| 6 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.7, "data_frac": 0.55, "fm": 0.4834549957513809, "consistency": 0.48274161756038664, "loss": 0.9661966180801391}
|
| 7 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.72, "data_frac": 0.543, "fm": 0.45926774680614474, "consistency": 0.4514560580253601, "loss": 0.9107238066196441}
|
| 8 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.73, "data_frac": 0.541, "fm": 0.4506350976228714, "consistency": 0.43294051706790926, "loss": 0.8835756170749665}
|
| 9 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 1.75, "data_frac": 0.536, "fm": 0.43265129029750826, "consistency": 0.37192442715168, "loss": 0.8045757138729095}
|
| 10 |
+
HB_INLOOP flash ready: task a29 split train10 queries 198 (rank 0/1: 198), every 250 steps, batch 8, cams ['ego_view', 'chest']
|
| 11 |
+
HB_INLOOP flash step 250: a29/train10 nMSE 1.2029 (motion_token 0.8151 hands 3.2712) on 198 queries, 2.4 s
|
| 12 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.43, "data_frac": 0.552, "fm": 0.36612861573696137, "consistency": 0.25557425677776335, "loss": 0.6217028713226318}
|
| 13 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.73, "data_frac": 0.544, "fm": 0.29755268156528475, "consistency": 0.16183308988809586, "loss": 0.4593857675790787}
|
| 14 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 3.71, "data_frac": 0.018, "fm": 0.2508068990707397, "consistency": 0.11565730646252632, "loss": 0.36646420538425445}
|
| 15 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.59, "data_frac": 0.578, "fm": 0.22269589364528655, "consistency": 0.09652242124080658, "loss": 0.3192183142900467}
|
| 16 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 1.72, "data_frac": 0.545, "fm": 0.20131905406713485, "consistency": 0.08597740933299064, "loss": 0.2872964626550674}
|
| 17 |
+
HB_INLOOP flash step 500: a29/train10 nMSE 1.0277 (motion_token 0.6927 hands 2.8148) on 198 queries, 0.7 s
|
| 18 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 1.72, "data_frac": 0.52, "fm": 0.18480787992477418, "consistency": 0.07406294777989388, "loss": 0.25887083023786545}
|
| 19 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 1.77, "data_frac": 0.53, "fm": 0.17314757108688356, "consistency": 0.06723444543778896, "loss": 0.24038201779127122}
|
| 20 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 1.71, "data_frac": 0.548, "fm": 0.16265360206365587, "consistency": 0.06193778321146965, "loss": 0.224591383934021}
|
| 21 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 1.71, "data_frac": 0.548, "fm": 0.15284727066755294, "consistency": 0.05590359903872013, "loss": 0.2087508699297905}
|
| 22 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 3.78, "data_frac": 0.001, "fm": 0.14617378115653992, "consistency": 0.0525483662635088, "loss": 0.19872214704751967}
|
| 23 |
+
HB_INLOOP flash step 750: a29/train10 nMSE 0.7518 (motion_token 0.3809 hands 2.7299) on 198 queries, 0.7 s
|
| 24 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 1.68, "data_frac": 0.533, "fm": 0.14100782096385955, "consistency": 0.05006532035768032, "loss": 0.19107314109802245}
|
| 25 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 1.69, "data_frac": 0.553, "fm": 0.13568892568349838, "consistency": 0.04785369098186493, "loss": 0.18354261696338653}
|
| 26 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 1.64, "data_frac": 0.566, "fm": 0.131903365701437, "consistency": 0.04547831125557423, "loss": 0.1773816764354706}
|
| 27 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 1.73, "data_frac": 0.543, "fm": 0.12844500347971916, "consistency": 0.04324080348014832, "loss": 0.1716858059167862}
|
| 28 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 1.73, "data_frac": 0.542, "fm": 0.1256651195883751, "consistency": 0.04145884044468403, "loss": 0.167123960852623}
|
| 29 |
+
HB_INLOOP flash step 1000: a29/train10 nMSE 0.6012 (motion_token 0.2256 hands 2.6047) on 198 queries, 0.7 s
|
| 30 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 1.71, "data_frac": 0.523, "fm": 0.12279374271631241, "consistency": 0.04064517877995968, "loss": 0.16343892127275467}
|
| 31 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 3.75, "data_frac": 0.007, "fm": 0.11871530890464782, "consistency": 0.03882682979106903, "loss": 0.15754213988780974}
|
| 32 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 1.76, "data_frac": 0.535, "fm": 0.11713583275675774, "consistency": 0.03761998027563095, "loss": 0.15475581139326094}
|
| 33 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 1.78, "data_frac": 0.529, "fm": 0.11613193437457085, "consistency": 0.03728771291673184, "loss": 0.1534196478128433}
|
| 34 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 1.74, "data_frac": 0.538, "fm": 0.11334401816129684, "consistency": 0.0363885124027729, "loss": 0.14973253041505813}
|
| 35 |
+
HB_INLOOP flash step 1250: a29/train10 nMSE 0.5485 (motion_token 0.1805 hands 2.5109) on 198 queries, 0.7 s
|
| 36 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 1.72, "data_frac": 0.52, "fm": 0.11145174756646156, "consistency": 0.0346331375092268, "loss": 0.14608488440513612}
|
| 37 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 1.75, "data_frac": 0.538, "fm": 0.11105634853243827, "consistency": 0.034712927564978596, "loss": 0.14576927572488785}
|
| 38 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 1.74, "data_frac": 0.539, "fm": 0.10907835498452187, "consistency": 0.03371890306472778, "loss": 0.14279725819826125}
|
| 39 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 3.68, "data_frac": 0.027, "fm": 0.10849635511636734, "consistency": 0.03277627106755972, "loss": 0.14127262622117998}
|
| 40 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 1.5, "data_frac": 0.604, "fm": 0.10652644962072372, "consistency": 0.032603730112314225, "loss": 0.13913018018007278}
|
| 41 |
+
HB_INLOOP flash step 1500: a29/train10 nMSE 0.5226 (motion_token 0.1616 hands 2.4482) on 198 queries, 0.7 s
|
| 42 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 1.69, "data_frac": 0.529, "fm": 0.10577678352594376, "consistency": 0.03189750883728266, "loss": 0.1376742935180664}
|
| 43 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 1.74, "data_frac": 0.539, "fm": 0.10485953345894813, "consistency": 0.031100542582571507, "loss": 0.13596007406711577}
|
| 44 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 1.75, "data_frac": 0.537, "fm": 0.10312844067811966, "consistency": 0.03121959038078785, "loss": 0.13434803143143653}
|
| 45 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 1.75, "data_frac": 0.538, "fm": 0.10219146266579628, "consistency": 0.03027350902557373, "loss": 0.13246497124433518}
|
| 46 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 1.74, "data_frac": 0.539, "fm": 0.10184433460235595, "consistency": 0.030251141153275967, "loss": 0.13209547534584998}
|
| 47 |
+
HB_INLOOP flash step 1750: a29/train10 nMSE 0.5072 (motion_token 0.1516 hands 2.4042) on 198 queries, 0.7 s
|
| 48 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 1.7, "data_frac": 0.527, "fm": 0.1006775015592575, "consistency": 0.02973868068307638, "loss": 0.13041618168354036}
|
| 49 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 3.79, "data_frac": 0.001, "fm": 0.10025902822613716, "consistency": 0.029404690377414226, "loss": 0.12966371908783914}
|
| 50 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 1.74, "data_frac": 0.541, "fm": 0.09800470009446144, "consistency": 0.028811745718121527, "loss": 0.12681644558906555}
|
| 51 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 1.75, "data_frac": 0.535, "fm": 0.09741052344441414, "consistency": 0.02854286916553974, "loss": 0.1259533928334713}
|
| 52 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 1.75, "data_frac": 0.537, "fm": 0.09901914969086648, "consistency": 0.028754938505589963, "loss": 0.12777408823370934}
|
| 53 |
+
HB_INLOOP flash step 2000: a29/train10 nMSE 0.4975 (motion_token 0.1449 hands 2.3781) on 198 queries, 0.7 s
|
| 54 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 1.67, "data_frac": 0.525, "fm": 0.09654087379574776, "consistency": 0.027730957604944706, "loss": 0.12427183121442795}
|
| 55 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 1.73, "data_frac": 0.539, "fm": 0.09665992617607116, "consistency": 0.027557515650987626, "loss": 0.12421744212508201}
|
| 56 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 1.74, "data_frac": 0.541, "fm": 0.094900913387537, "consistency": 0.027168835178017617, "loss": 0.12206974789500237}
|
| 57 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 3.72, "data_frac": 0.018, "fm": 0.09504494681954384, "consistency": 0.02694015543907881, "loss": 0.12198510244488717}
|
| 58 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 1.73, "data_frac": 0.543, "fm": 0.09410915315151215, "consistency": 0.026678706742823122, "loss": 0.12078785955905914}
|
| 59 |
+
HB_INLOOP flash step 2250: a29/train10 nMSE 0.4895 (motion_token 0.1391 hands 2.3587) on 198 queries, 0.7 s
|
| 60 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 1.51, "data_frac": 0.581, "fm": 0.09427205607295036, "consistency": 0.026574084423482417, "loss": 0.12084614053368568}
|
| 61 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 1.75, "data_frac": 0.537, "fm": 0.09380236685276032, "consistency": 0.025943657234311104, "loss": 0.11974602460861206}
|
| 62 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 1.66, "data_frac": 0.56, "fm": 0.0933516164124012, "consistency": 0.0259005219489336, "loss": 0.11925213903188706}
|
| 63 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 1.64, "data_frac": 0.567, "fm": 0.09265212208032608, "consistency": 0.02560754004865885, "loss": 0.1182596617937088}
|
| 64 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 1.77, "data_frac": 0.532, "fm": 0.09193608358502388, "consistency": 0.02551612798124552, "loss": 0.11745221123099327}
|
| 65 |
+
HB_INLOOP flash step 2500: a29/train10 nMSE 0.4828 (motion_token 0.1344 hands 2.3412) on 198 queries, 0.7 s
|
| 66 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 3.55, "data_frac": 0.001, "fm": 0.09174417898058891, "consistency": 0.02498819913715124, "loss": 0.11673237815499306}
|
| 67 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 1.74, "data_frac": 0.54, "fm": 0.09187744051218033, "consistency": 0.025286877490580083, "loss": 0.11716431841254234}
|
| 68 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 1.77, "data_frac": 0.531, "fm": 0.09031548470258713, "consistency": 0.024151010811328887, "loss": 0.1144664953649044}
|
| 69 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 1.73, "data_frac": 0.542, "fm": 0.0891270412504673, "consistency": 0.024191779755055903, "loss": 0.11331882074475289}
|
| 70 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 1.74, "data_frac": 0.54, "fm": 0.08896666824817658, "consistency": 0.024242196194827557, "loss": 0.11320886477828025}
|
| 71 |
+
HB_INLOOP flash step 2750: a29/train10 nMSE 0.4773 (motion_token 0.1304 hands 2.3275) on 198 queries, 0.7 s
|
| 72 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 1.71, "data_frac": 0.522, "fm": 0.08948840320110321, "consistency": 0.024120120592415334, "loss": 0.11360852375626564}
|
| 73 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 1.75, "data_frac": 0.537, "fm": 0.08863777756690978, "consistency": 0.024079330265522003, "loss": 0.11271710753440857}
|
| 74 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 3.79, "data_frac": 0.001, "fm": 0.08876090049743653, "consistency": 0.023744011856615545, "loss": 0.11250491216778755}
|
| 75 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 1.72, "data_frac": 0.545, "fm": 0.08734915882349015, "consistency": 0.023651643879711626, "loss": 0.11100080281496048}
|
| 76 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 1.78, "data_frac": 0.531, "fm": 0.08775940313935279, "consistency": 0.023640760220587254, "loss": 0.11140016287565231}
|
| 77 |
+
HB_INLOOP flash step 3000: a29/train10 nMSE 0.4723 (motion_token 0.1269 hands 2.3140) on 198 queries, 0.7 s
|
| 78 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 1.71, "data_frac": 0.524, "fm": 0.08630816251039505, "consistency": 0.02325416885316372, "loss": 0.10956233128905296}
|
| 79 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 1.76, "data_frac": 0.536, "fm": 0.08753203451633454, "consistency": 0.02301029473543167, "loss": 0.11054232910275459}
|
| 80 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 1.55, "data_frac": 0.589, "fm": 0.08678695023059844, "consistency": 0.023099797405302526, "loss": 0.10988674744963646}
|
| 81 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 1.78, "data_frac": 0.53, "fm": 0.08619789108633995, "consistency": 0.02249577682465315, "loss": 0.10869366765022277}
|
| 82 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 1.78, "data_frac": 0.529, "fm": 0.08603369265794754, "consistency": 0.022216774374246597, "loss": 0.10825046703219414}
|
| 83 |
+
HB_INLOOP flash step 3250: a29/train10 nMSE 0.4678 (motion_token 0.1237 hands 2.3030) on 198 queries, 0.8 s
|
| 84 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 3.58, "data_frac": 0.001, "fm": 0.08622240275144577, "consistency": 0.022007840573787688, "loss": 0.10823024317622185}
|
| 85 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 1.72, "data_frac": 0.546, "fm": 0.08511225298047066, "consistency": 0.02204082641750574, "loss": 0.10715307950973511}
|
| 86 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 1.74, "data_frac": 0.54, "fm": 0.08589538469910622, "consistency": 0.02168571125715971, "loss": 0.10758109599351882}
|
| 87 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 1.69, "data_frac": 0.552, "fm": 0.08506718039512634, "consistency": 0.02170698631554842, "loss": 0.10677416741847992}
|
| 88 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 1.74, "data_frac": 0.541, "fm": 0.08499275743961335, "consistency": 0.021795899122953415, "loss": 0.10678865671157838}
|
| 89 |
+
HB_INLOOP flash step 3500: a29/train10 nMSE 0.4634 (motion_token 0.1207 hands 2.2909) on 198 queries, 0.8 s
|
| 90 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 1.7, "data_frac": 0.523, "fm": 0.08557601809501648, "consistency": 0.021354719065129757, "loss": 0.10693073704838753}
|
| 91 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 1.74, "data_frac": 0.539, "fm": 0.08321987584233284, "consistency": 0.02096050765365362, "loss": 0.10418038293719292}
|
| 92 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 3.79, "data_frac": 0.001, "fm": 0.08352062553167343, "consistency": 0.0207850381731987, "loss": 0.10430566310882568}
|
| 93 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 1.76, "data_frac": 0.534, "fm": 0.08285030245780944, "consistency": 0.020628729797899724, "loss": 0.1034790325164795}
|
| 94 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 1.75, "data_frac": 0.538, "fm": 0.08391816794872284, "consistency": 0.02113301236182451, "loss": 0.10505117982625961}
|
| 95 |
+
HB_INLOOP flash step 3750: a29/train10 nMSE 0.4592 (motion_token 0.1181 hands 2.2788) on 198 queries, 0.7 s
|
| 96 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 1.7, "data_frac": 0.525, "fm": 0.08302312031388283, "consistency": 0.020637948848307133, "loss": 0.1036610695719719}
|
| 97 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 1.78, "data_frac": 0.532, "fm": 0.08235504016280175, "consistency": 0.020436951369047166, "loss": 0.10279199168086052}
|
| 98 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 1.78, "data_frac": 0.526, "fm": 0.0826601567864418, "consistency": 0.020363067090511323, "loss": 0.10302322387695312}
|
| 99 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 1.74, "data_frac": 0.541, "fm": 0.08176884666085243, "consistency": 0.02028751265257597, "loss": 0.10205635949969291}
|
| 100 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 3.78, "data_frac": 0.001, "fm": 0.08219418913125992, "consistency": 0.0204597981646657, "loss": 0.10265398740768433}
|
| 101 |
+
HB_INLOOP flash step 4000: a29/train10 nMSE 0.4554 (motion_token 0.1155 hands 2.2677) on 198 queries, 0.7 s
|
| 102 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/step-004000", "mse": 0.012135122902691364, "mse_row0": 0.009436894208192825, "mse_motion_token": 0.011886981315910816, "mse_inspire_left_hand_state": 0.008797809481620789, "mse_inspire_right_hand_state": 0.018119260668754578}
|
| 103 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 1.37, "data_frac": 0.419, "fm": 0.0824325393140316, "consistency": 0.019892634712159633, "loss": 0.10232517376542091}
|
| 104 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 1.76, "data_frac": 0.534, "fm": 0.08109182685613632, "consistency": 0.01992111101746559, "loss": 0.10101293817162514}
|
| 105 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 1.75, "data_frac": 0.537, "fm": 0.08143107533454895, "consistency": 0.019861610420048238, "loss": 0.10129268556833267}
|
| 106 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 1.77, "data_frac": 0.532, "fm": 0.08169702619314194, "consistency": 0.01984542228281498, "loss": 0.10154244899749756}
|
| 107 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 1.69, "data_frac": 0.553, "fm": 0.07977827176451684, "consistency": 0.01917485013604164, "loss": 0.09895312264561654}
|
| 108 |
+
HB_INLOOP flash step 4250: a29/train10 nMSE 0.4516 (motion_token 0.1132 hands 2.2565) on 198 queries, 0.7 s
|
| 109 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 1.72, "data_frac": 0.519, "fm": 0.07972273543477058, "consistency": 0.01933297552168369, "loss": 0.09905571073293686}
|
| 110 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 3.77, "data_frac": 0.001, "fm": 0.08049179419875145, "consistency": 0.019130775406956672, "loss": 0.09962256997823715}
|
| 111 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 1.77, "data_frac": 0.532, "fm": 0.07945719689130783, "consistency": 0.01900002855807543, "loss": 0.09845722571015358}
|
| 112 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 1.74, "data_frac": 0.536, "fm": 0.07900418594479561, "consistency": 0.018634259328246118, "loss": 0.09763844475150109}
|
| 113 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 1.76, "data_frac": 0.535, "fm": 0.07920486718416214, "consistency": 0.018828099146485328, "loss": 0.09803296640515327}
|
| 114 |
+
HB_INLOOP flash step 4500: a29/train10 nMSE 0.4477 (motion_token 0.1111 hands 2.2431) on 198 queries, 0.7 s
|
| 115 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 1.57, "data_frac": 0.56, "fm": 0.07889328688383103, "consistency": 0.018673085011541843, "loss": 0.0975663721561432}
|
| 116 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 1.74, "data_frac": 0.538, "fm": 0.07908617943525315, "consistency": 0.018552430085837842, "loss": 0.09763860926032067}
|
| 117 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 1.76, "data_frac": 0.536, "fm": 0.07934860214591026, "consistency": 0.018940072283148767, "loss": 0.09828867435455323}
|
| 118 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 1.81, "data_frac": 0.523, "fm": 0.0782668861746788, "consistency": 0.018268819600343704, "loss": 0.09653570547699929}
|
| 119 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 3.36, "data_frac": 0.113, "fm": 0.07858965128660202, "consistency": 0.018584366217255593, "loss": 0.09717401787638665}
|
| 120 |
+
HB_INLOOP flash step 4750: a29/train10 nMSE 0.4445 (motion_token 0.1092 hands 2.2327) on 198 queries, 0.7 s
|
| 121 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 1.56, "data_frac": 0.564, "fm": 0.07808896020054817, "consistency": 0.01819832056760788, "loss": 0.09628728076815606}
|
| 122 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 1.79, "data_frac": 0.527, "fm": 0.07868612170219422, "consistency": 0.018343890868127346, "loss": 0.09703001216053962}
|
| 123 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 1.73, "data_frac": 0.544, "fm": 0.0782674877345562, "consistency": 0.018081961423158644, "loss": 0.09634944900870324}
|
| 124 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 1.72, "data_frac": 0.544, "fm": 0.07772308275103569, "consistency": 0.017979629077017306, "loss": 0.09570271238684654}
|
| 125 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 1.77, "data_frac": 0.533, "fm": 0.07816546738147735, "consistency": 0.018074304312467575, "loss": 0.09623977124691009}
|
| 126 |
+
HB_INLOOP flash step 5000: a29/train10 nMSE 0.4411 (motion_token 0.1073 hands 2.2217) on 198 queries, 0.8 s
|
| 127 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 1.72, "data_frac": 0.517, "fm": 0.07755601316690446, "consistency": 0.017680948525667192, "loss": 0.09523696124553681}
|
| 128 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 3.79, "data_frac": 0.001, "fm": 0.07727916821837426, "consistency": 0.01775701854377985, "loss": 0.0950361867249012}
|
| 129 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 1.75, "data_frac": 0.536, "fm": 0.07778940588235855, "consistency": 0.017585165239870547, "loss": 0.09537457078695297}
|
| 130 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 1.74, "data_frac": 0.54, "fm": 0.07730596333742142, "consistency": 0.017529670372605322, "loss": 0.09483563408255577}
|
| 131 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 1.75, "data_frac": 0.539, "fm": 0.07711486220359802, "consistency": 0.017212334237992764, "loss": 0.09432719647884369}
|
| 132 |
+
HB_INLOOP flash step 5250: a29/train10 nMSE 0.4380 (motion_token 0.1056 hands 2.2107) on 198 queries, 0.7 s
|
| 133 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 1.72, "data_frac": 0.519, "fm": 0.07688946828246117, "consistency": 0.017315768748521806, "loss": 0.09420523673295975}
|
| 134 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 1.77, "data_frac": 0.534, "fm": 0.07634314641356468, "consistency": 0.01729711078107357, "loss": 0.09364025712013245}
|
| 135 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 1.77, "data_frac": 0.533, "fm": 0.0755331003665924, "consistency": 0.016947394013404848, "loss": 0.09248049408197404}
|
| 136 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 3.79, "data_frac": 0.001, "fm": 0.0761804486811161, "consistency": 0.01707885928452015, "loss": 0.09325930833816529}
|
| 137 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 1.72, "data_frac": 0.547, "fm": 0.0755405467748642, "consistency": 0.01704225139692426, "loss": 0.09258279770612717}
|
| 138 |
+
HB_INLOOP flash step 5500: a29/train10 nMSE 0.4351 (motion_token 0.1040 hands 2.2011) on 198 queries, 0.7 s
|
| 139 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 1.7, "data_frac": 0.529, "fm": 0.07569573268294334, "consistency": 0.016491946298629045, "loss": 0.09218767926096916}
|
| 140 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 1.74, "data_frac": 0.54, "fm": 0.07630650877952576, "consistency": 0.016912667341530324, "loss": 0.09321917653083801}
|
| 141 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07588107362389565, "consistency": 0.016575424801558256, "loss": 0.09245649829506875}
|
| 142 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07466437920928001, "consistency": 0.0167966603115201, "loss": 0.09146103858947754}
|
| 143 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07547350630164146, "consistency": 0.016603993009775875, "loss": 0.09207749933004379}
|
| 144 |
+
HB_INLOOP flash step 5750: a29/train10 nMSE 0.4325 (motion_token 0.1025 hands 2.1925) on 198 queries, 0.7 s
|
| 145 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 3.58, "data_frac": 0.001, "fm": 0.07379468381404877, "consistency": 0.016276330649852754, "loss": 0.09007101386785507}
|
| 146 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 1.73, "data_frac": 0.542, "fm": 0.0741775530576706, "consistency": 0.016264303810894488, "loss": 0.09044185727834701}
|
| 147 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 1.74, "data_frac": 0.539, "fm": 0.07431750074028969, "consistency": 0.01633781077340245, "loss": 0.09065531149506569}
|
| 148 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 1.69, "data_frac": 0.554, "fm": 0.07408656567335128, "consistency": 0.016317972782999277, "loss": 0.09040453806519508}
|
| 149 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 1.62, "data_frac": 0.57, "fm": 0.07455821767449379, "consistency": 0.01612136799842119, "loss": 0.09067958548665046}
|
| 150 |
+
HB_INLOOP flash step 6000: a29/train10 nMSE 0.4301 (motion_token 0.1011 hands 2.1850) on 198 queries, 0.7 s
|
| 151 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 1.72, "data_frac": 0.52, "fm": 0.07432284206151962, "consistency": 0.016419214066118, "loss": 0.09074205622076988}
|
| 152 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.76, "data_frac": 0.536, "fm": 0.07476484075188637, "consistency": 0.01627495126798749, "loss": 0.09103979155421257}
|
| 153 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 1.75, "data_frac": 0.539, "fm": 0.07436850607395172, "consistency": 0.016310677882283926, "loss": 0.09067918345332146}
|
| 154 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 3.78, "data_frac": 0.001, "fm": 0.07360082328319549, "consistency": 0.016013854052871465, "loss": 0.08961467683315277}
|
| 155 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 1.76, "data_frac": 0.535, "fm": 0.0733430403470993, "consistency": 0.015677880253642796, "loss": 0.08902092069387436}
|
| 156 |
+
HB_INLOOP flash step 6250: a29/train10 nMSE 0.4280 (motion_token 0.0997 hands 2.1786) on 198 queries, 0.7 s
|
| 157 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 1.72, "data_frac": 0.522, "fm": 0.07337137445807457, "consistency": 0.015780953392386436, "loss": 0.08915232762694358}
|
| 158 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 1.71, "data_frac": 0.546, "fm": 0.07327533647418022, "consistency": 0.015618863459676504, "loss": 0.08889419972896576}
|
| 159 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 1.74, "data_frac": 0.538, "fm": 0.07320476472377777, "consistency": 0.015785937197506428, "loss": 0.08899070143699646}
|
| 160 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07224365770816803, "consistency": 0.015645272601395845, "loss": 0.08788893088698387}
|
| 161 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 1.74, "data_frac": 0.54, "fm": 0.0730066141486168, "consistency": 0.01558709092438221, "loss": 0.0885937049984932}
|
| 162 |
+
HB_INLOOP flash step 6500: a29/train10 nMSE 0.4259 (motion_token 0.0985 hands 2.1721) on 198 queries, 0.8 s
|
| 163 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 3.57, "data_frac": 0.001, "fm": 0.07333390220999718, "consistency": 0.015673818215727806, "loss": 0.08900772020220757}
|
| 164 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 1.55, "data_frac": 0.59, "fm": 0.07221624970436097, "consistency": 0.015550643056631088, "loss": 0.08776689231395722}
|
| 165 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 1.75, "data_frac": 0.534, "fm": 0.07266312271356583, "consistency": 0.015455823279917241, "loss": 0.08811894595623017}
|
| 166 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 1.78, "data_frac": 0.53, "fm": 0.07337957412004471, "consistency": 0.015507395379245281, "loss": 0.08888696953654289}
|
| 167 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 1.75, "data_frac": 0.537, "fm": 0.07240394309163094, "consistency": 0.01528857946395874, "loss": 0.08769252195954323}
|
| 168 |
+
HB_INLOOP flash step 6750: a29/train10 nMSE 0.4240 (motion_token 0.0973 hands 2.1661) on 198 queries, 0.8 s
|
| 169 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 1.7, "data_frac": 0.524, "fm": 0.07229548692703247, "consistency": 0.015504297725856304, "loss": 0.08779978454113006}
|
| 170 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 1.78, "data_frac": 0.531, "fm": 0.07202677875757217, "consistency": 0.01496795641258359, "loss": 0.08699473530054093}
|
| 171 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 3.47, "data_frac": 0.085, "fm": 0.07220071136951446, "consistency": 0.015256115086376667, "loss": 0.08745682626962661}
|
| 172 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 1.78, "data_frac": 0.53, "fm": 0.07142157331109047, "consistency": 0.01505147436633706, "loss": 0.0864730478823185}
|
| 173 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 1.76, "data_frac": 0.534, "fm": 0.07149853363633156, "consistency": 0.015079109836369753, "loss": 0.08657764375209809}
|
| 174 |
+
HB_INLOOP flash step 7000: a29/train10 nMSE 0.4224 (motion_token 0.0963 hands 2.1616) on 198 queries, 0.7 s
|
| 175 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 1.71, "data_frac": 0.527, "fm": 0.07193399474024773, "consistency": 0.014825824350118637, "loss": 0.08675981938838959}
|
| 176 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 1.75, "data_frac": 0.534, "fm": 0.07148553550243378, "consistency": 0.01493095487356186, "loss": 0.08641649037599564}
|
| 177 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 1.74, "data_frac": 0.539, "fm": 0.07157071337103843, "consistency": 0.014802208468317986, "loss": 0.08637292221188546}
|
| 178 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 1.76, "data_frac": 0.534, "fm": 0.07149825751781463, "consistency": 0.014865511264652014, "loss": 0.08636376917362214}
|
| 179 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 3.79, "data_frac": 0.001, "fm": 0.07039944350719451, "consistency": 0.014838701337575913, "loss": 0.08523814499378204}
|
| 180 |
+
HB_INLOOP flash step 7250: a29/train10 nMSE 0.4207 (motion_token 0.0953 hands 2.1564) on 198 queries, 0.7 s
|
| 181 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 1.7, "data_frac": 0.527, "fm": 0.07118474021553993, "consistency": 0.014976163655519485, "loss": 0.08616090431809426}
|
| 182 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 1.74, "data_frac": 0.539, "fm": 0.07098197653889655, "consistency": 0.015056064184755087, "loss": 0.08603804126381874}
|
| 183 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 1.77, "data_frac": 0.533, "fm": 0.07054526127874851, "consistency": 0.014553995858877898, "loss": 0.08509925782680511}
|
| 184 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 1.78, "data_frac": 0.529, "fm": 0.07084692373871804, "consistency": 0.014542550519108773, "loss": 0.08538947403430938}
|
| 185 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 1.53, "data_frac": 0.591, "fm": 0.07132542863488198, "consistency": 0.014554392080754042, "loss": 0.08587982058525086}
|
| 186 |
+
HB_INLOOP flash step 7500: a29/train10 nMSE 0.4190 (motion_token 0.0945 hands 2.1498) on 198 queries, 0.7 s
|
| 187 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 1.65, "data_frac": 0.539, "fm": 0.07030770175158978, "consistency": 0.01438907066360116, "loss": 0.08469677284359932}
|
| 188 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 1.72, "data_frac": 0.546, "fm": 0.07050510108470917, "consistency": 0.014301032442599535, "loss": 0.08480613395571708}
|
| 189 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 3.65, "data_frac": 0.037, "fm": 0.07049520373344421, "consistency": 0.014199301339685918, "loss": 0.08469450533390045}
|
| 190 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 1.74, "data_frac": 0.539, "fm": 0.0711683501303196, "consistency": 0.014559832680970431, "loss": 0.08572818234562873}
|
| 191 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 1.74, "data_frac": 0.532, "fm": 0.07041509509086609, "consistency": 0.014386435952037573, "loss": 0.0848015308380127}
|
| 192 |
+
HB_INLOOP flash step 7750: a29/train10 nMSE 0.4174 (motion_token 0.0937 hands 2.1435) on 198 queries, 0.7 s
|
| 193 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 1.72, "data_frac": 0.521, "fm": 0.0698157249391079, "consistency": 0.014272858668118716, "loss": 0.08408858373761177}
|
| 194 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 1.79, "data_frac": 0.527, "fm": 0.07037521585822105, "consistency": 0.01423804383724928, "loss": 0.08461325988173485}
|
| 195 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 1.7, "data_frac": 0.551, "fm": 0.07014750212430954, "consistency": 0.014124868586659432, "loss": 0.08427237078547478}
|
| 196 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 1.75, "data_frac": 0.536, "fm": 0.06957589298486709, "consistency": 0.014183102939277888, "loss": 0.08375899583101272}
|
| 197 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 3.79, "data_frac": 0.001, "fm": 0.06992252759635448, "consistency": 0.014131806138902903, "loss": 0.08405433386564255}
|
| 198 |
+
HB_INLOOP flash step 8000: a29/train10 nMSE 0.4158 (motion_token 0.0930 hands 2.1373) on 198 queries, 0.7 s
|
| 199 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/step-008000", "mse": 0.009229084476828575, "mse_row0": 0.0075033619068562984, "mse_motion_token": 0.008846057578921318, "mse_inspire_left_hand_state": 0.0074179829098284245, "mse_inspire_right_hand_state": 0.015125807374715805}
|
| 200 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 1.31, "data_frac": 0.391, "fm": 0.06965529344975949, "consistency": 0.014134428109973668, "loss": 0.08378972128033638}
|
| 201 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 1.75, "data_frac": 0.537, "fm": 0.06962243914604187, "consistency": 0.013860555179417134, "loss": 0.08348299399018287}
|
| 202 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 1.71, "data_frac": 0.545, "fm": 0.06912514984607697, "consistency": 0.01388143738731742, "loss": 0.08300658747553825}
|
| 203 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 1.75, "data_frac": 0.536, "fm": 0.0693520674854517, "consistency": 0.013850381057709455, "loss": 0.08320244818925858}
|
| 204 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 1.76, "data_frac": 0.536, "fm": 0.06947113379836083, "consistency": 0.01380726022645831, "loss": 0.08327839374542237}
|
| 205 |
+
HB_INLOOP flash step 8250: a29/train10 nMSE 0.4142 (motion_token 0.0923 hands 2.1312) on 198 queries, 0.7 s
|
| 206 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 1.56, "data_frac": 0.565, "fm": 0.069137057736516, "consistency": 0.013971249479800463, "loss": 0.08310830757021904}
|
| 207 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 3.79, "data_frac": 0.002, "fm": 0.06945295922458172, "consistency": 0.01365574711933732, "loss": 0.0831087064743042}
|
| 208 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 1.73, "data_frac": 0.542, "fm": 0.06964525066316128, "consistency": 0.013906073197722435, "loss": 0.08355132356286049}
|
| 209 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 1.77, "data_frac": 0.531, "fm": 0.06903713658452033, "consistency": 0.013745532687753439, "loss": 0.08278266921639442}
|
| 210 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 1.8, "data_frac": 0.524, "fm": 0.06919108003377915, "consistency": 0.013640241175889968, "loss": 0.08283132135868072}
|
| 211 |
+
HB_INLOOP flash step 8500: a29/train10 nMSE 0.4128 (motion_token 0.0916 hands 2.1254) on 198 queries, 0.7 s
|
| 212 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 1.7, "data_frac": 0.526, "fm": 0.06887938424944878, "consistency": 0.013599264156073331, "loss": 0.08247864872217178}
|
| 213 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 1.73, "data_frac": 0.543, "fm": 0.0689110404253006, "consistency": 0.01359637437388301, "loss": 0.08250741481781006}
|
| 214 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 1.75, "data_frac": 0.537, "fm": 0.06933633595705033, "consistency": 0.013560945857316256, "loss": 0.0828972814977169}
|
| 215 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 3.79, "data_frac": 0.001, "fm": 0.06983009308576583, "consistency": 0.013448958024382592, "loss": 0.08327905118465423}
|
| 216 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 1.77, "data_frac": 0.529, "fm": 0.06926725372672081, "consistency": 0.013532194513827563, "loss": 0.08279944807291031}
|
| 217 |
+
HB_INLOOP flash step 8750: a29/train10 nMSE 0.4111 (motion_token 0.0910 hands 2.1185) on 198 queries, 0.7 s
|
| 218 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 1.7, "data_frac": 0.525, "fm": 0.06905431173741818, "consistency": 0.013593137562274933, "loss": 0.0826474492251873}
|
| 219 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 1.75, "data_frac": 0.533, "fm": 0.0695493270456791, "consistency": 0.013341749459505082, "loss": 0.08289107650518418}
|
| 220 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 1.75, "data_frac": 0.536, "fm": 0.06817990504205226, "consistency": 0.013477146569639444, "loss": 0.08165705129504204}
|
| 221 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 1.73, "data_frac": 0.541, "fm": 0.06905240714550018, "consistency": 0.013381554186344147, "loss": 0.08243396207690239}
|
| 222 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 1.74, "data_frac": 0.541, "fm": 0.06842628762125968, "consistency": 0.013461076654493809, "loss": 0.08188736394047737}
|
| 223 |
+
HB_INLOOP flash step 9000: a29/train10 nMSE 0.4095 (motion_token 0.0904 hands 2.1116) on 198 queries, 0.7 s
|
| 224 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 1.71, "data_frac": 0.523, "fm": 0.06802343539893627, "consistency": 0.013365177195519209, "loss": 0.08138861283659934}
|
| 225 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 3.74, "data_frac": 0.012, "fm": 0.06876904398202896, "consistency": 0.013350127767771482, "loss": 0.08211917206645011}
|
| 226 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 1.77, "data_frac": 0.531, "fm": 0.06769454903900624, "consistency": 0.013274388257414102, "loss": 0.08096893683075905}
|
| 227 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 1.75, "data_frac": 0.538, "fm": 0.06871101208031177, "consistency": 0.013272912576794624, "loss": 0.08198392510414124}
|
| 228 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06817765876650811, "consistency": 0.013248914387077093, "loss": 0.08142657339572906}
|
| 229 |
+
HB_INLOOP flash step 9250: a29/train10 nMSE 0.4081 (motion_token 0.0899 hands 2.1053) on 198 queries, 0.7 s
|
| 230 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 1.7, "data_frac": 0.519, "fm": 0.06751905515789985, "consistency": 0.013374533578753471, "loss": 0.08089358910918236}
|
| 231 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 1.74, "data_frac": 0.54, "fm": 0.06822562955319882, "consistency": 0.01317253002896905, "loss": 0.0813981595635414}
|
| 232 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 1.77, "data_frac": 0.53, "fm": 0.06837447106838226, "consistency": 0.013037760071456432, "loss": 0.08141223147511482}
|
| 233 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 3.78, "data_frac": 0.001, "fm": 0.06769766099750996, "consistency": 0.013232770580798388, "loss": 0.08093043133616447}
|
| 234 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 1.69, "data_frac": 0.552, "fm": 0.06713546559214592, "consistency": 0.013068291265517474, "loss": 0.08020375728607178}
|
| 235 |
+
HB_INLOOP flash step 9500: a29/train10 nMSE 0.4070 (motion_token 0.0895 hands 2.1008) on 198 queries, 0.7 s
|
| 236 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 1.7, "data_frac": 0.528, "fm": 0.06770830027759075, "consistency": 0.013136100750416517, "loss": 0.08084440067410469}
|
| 237 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 1.73, "data_frac": 0.544, "fm": 0.06766016229987144, "consistency": 0.013186214137822389, "loss": 0.08084637686610222}
|
| 238 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 1.74, "data_frac": 0.53, "fm": 0.0680242345482111, "consistency": 0.012983572091907264, "loss": 0.0810078063607216}
|
| 239 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 1.78, "data_frac": 0.524, "fm": 0.06811203815042972, "consistency": 0.0129919527284801, "loss": 0.08110399141907693}
|
| 240 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 1.64, "data_frac": 0.566, "fm": 0.06774940811097623, "consistency": 0.013085306771099568, "loss": 0.08083471521735192}
|
| 241 |
+
HB_INLOOP flash step 9750: a29/train10 nMSE 0.4059 (motion_token 0.0891 hands 2.0955) on 198 queries, 0.8 s
|
| 242 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 3.59, "data_frac": 0.001, "fm": 0.06702284730970859, "consistency": 0.012949957791715861, "loss": 0.07997280523180962}
|
| 243 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 1.72, "data_frac": 0.545, "fm": 0.06744148060679436, "consistency": 0.012908393535763025, "loss": 0.08034987419843674}
|
| 244 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 1.74, "data_frac": 0.54, "fm": 0.0666957001388073, "consistency": 0.012872455343604088, "loss": 0.07956815585494041}
|
| 245 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 1.72, "data_frac": 0.54, "fm": 0.06679048456251621, "consistency": 0.012941785603761673, "loss": 0.07973227068781853}
|
| 246 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06788197375833988, "consistency": 0.012919635865837336, "loss": 0.08080160975456238}
|
| 247 |
+
HB_INLOOP flash step 10000: a29/train10 nMSE 0.4047 (motion_token 0.0887 hands 2.0905) on 198 queries, 0.7 s
|
| 248 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 1.64, "data_frac": 0.539, "fm": 0.06824146278202534, "consistency": 0.01294601645320654, "loss": 0.08118747860193253}
|
| 249 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 1.73, "data_frac": 0.543, "fm": 0.06681911565363408, "consistency": 0.012788074314594269, "loss": 0.07960718974471093}
|
| 250 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 3.79, "data_frac": 0.001, "fm": 0.06791864544153213, "consistency": 0.012845159750431776, "loss": 0.08076380521059036}
|
| 251 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 1.74, "data_frac": 0.538, "fm": 0.06761604994535446, "consistency": 0.012886725571006537, "loss": 0.08050277620553971}
|
| 252 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 1.76, "data_frac": 0.534, "fm": 0.06708434008061886, "consistency": 0.012744592521339655, "loss": 0.079828931838274}
|
| 253 |
+
HB_INLOOP flash step 10250: a29/train10 nMSE 0.4036 (motion_token 0.0883 hands 2.0851) on 198 queries, 0.7 s
|
| 254 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 1.74, "data_frac": 0.517, "fm": 0.067559355199337, "consistency": 0.012831364516168833, "loss": 0.08039071977138519}
|
| 255 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 1.72, "data_frac": 0.545, "fm": 0.06739909529685974, "consistency": 0.012850534711033106, "loss": 0.08024963036179543}
|
| 256 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 1.76, "data_frac": 0.534, "fm": 0.06743902012705803, "consistency": 0.012761692516505718, "loss": 0.08020071282982827}
|
| 257 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 1.78, "data_frac": 0.53, "fm": 0.06739811539649963, "consistency": 0.01270578933879733, "loss": 0.0801039044559002}
|
| 258 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06722405388951301, "consistency": 0.012674082051962614, "loss": 0.07989813596010208}
|
| 259 |
+
HB_INLOOP flash step 10500: a29/train10 nMSE 0.4025 (motion_token 0.0880 hands 2.0794) on 198 queries, 0.7 s
|
| 260 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 3.58, "data_frac": 0.001, "fm": 0.06685953423380851, "consistency": 0.012752036955207586, "loss": 0.07961157143115997}
|
| 261 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 1.73, "data_frac": 0.531, "fm": 0.06579909764230252, "consistency": 0.012658837921917439, "loss": 0.07845793560147285}
|
| 262 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 1.76, "data_frac": 0.536, "fm": 0.0665645607560873, "consistency": 0.01273906335234642, "loss": 0.07930362388491631}
|
| 263 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 1.73, "data_frac": 0.542, "fm": 0.06696932755410671, "consistency": 0.012541390731930733, "loss": 0.07951071813702583}
|
| 264 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 1.77, "data_frac": 0.532, "fm": 0.06661588571965694, "consistency": 0.012887146044522523, "loss": 0.07950303182005883}
|
| 265 |
+
HB_INLOOP flash step 10750: a29/train10 nMSE 0.4015 (motion_token 0.0878 hands 2.0750) on 198 queries, 0.7 s
|
| 266 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 1.69, "data_frac": 0.526, "fm": 0.06676429942250252, "consistency": 0.012545833066105842, "loss": 0.0793101318180561}
|
| 267 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 1.78, "data_frac": 0.529, "fm": 0.06637241929769516, "consistency": 0.012699937988072634, "loss": 0.07907235711812972}
|
| 268 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 3.77, "data_frac": 0.001, "fm": 0.06728490494191647, "consistency": 0.012702675368636847, "loss": 0.07998758032917977}
|
| 269 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06664463087916374, "consistency": 0.0125894177518785, "loss": 0.07923404887318611}
|
| 270 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 1.79, "data_frac": 0.526, "fm": 0.06687848739326001, "consistency": 0.012678707893937826, "loss": 0.07955719515681267}
|
| 271 |
+
HB_INLOOP flash step 11000: a29/train10 nMSE 0.4007 (motion_token 0.0876 hands 2.0709) on 198 queries, 0.7 s
|
| 272 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 1.7, "data_frac": 0.525, "fm": 0.06671269156038762, "consistency": 0.012582475673407317, "loss": 0.0792951674759388}
|
| 273 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 1.66, "data_frac": 0.562, "fm": 0.06687955565750599, "consistency": 0.012459353972226382, "loss": 0.07933891013264656}
|
| 274 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 1.64, "data_frac": 0.564, "fm": 0.06684624306857585, "consistency": 0.012680729757994414, "loss": 0.07952697277069092}
|
| 275 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 1.66, "data_frac": 0.561, "fm": 0.06731710918247699, "consistency": 0.01251963671296835, "loss": 0.07983674556016922}
|
| 276 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 3.77, "data_frac": 0.008, "fm": 0.06692501559853553, "consistency": 0.012607547510415316, "loss": 0.0795325630903244}
|
| 277 |
+
HB_INLOOP flash step 11250: a29/train10 nMSE 0.3999 (motion_token 0.0874 hands 2.0669) on 198 queries, 0.7 s
|
| 278 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 1.66, "data_frac": 0.54, "fm": 0.06706661336123944, "consistency": 0.01259540555998683, "loss": 0.07966201916337014}
|
| 279 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 1.75, "data_frac": 0.536, "fm": 0.06643300831317901, "consistency": 0.012405164893716574, "loss": 0.07883817300200463}
|
| 280 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 1.78, "data_frac": 0.528, "fm": 0.06797536566853524, "consistency": 0.012624536454677582, "loss": 0.08059990212321282}
|
| 281 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 1.66, "data_frac": 0.562, "fm": 0.0666927120834589, "consistency": 0.012663229741156102, "loss": 0.07935594171285629}
|
| 282 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 1.74, "data_frac": 0.534, "fm": 0.0665398020297289, "consistency": 0.012522380873560906, "loss": 0.07906218305230141}
|
| 283 |
+
HB_INLOOP flash step 11500: a29/train10 nMSE 0.3992 (motion_token 0.0872 hands 2.0633) on 198 queries, 0.7 s
|
| 284 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 1.42, "data_frac": 0.601, "fm": 0.06733528830111027, "consistency": 0.012470784652978182, "loss": 0.07980607315897942}
|
| 285 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 3.78, "data_frac": 0.001, "fm": 0.06789549559354782, "consistency": 0.012560524176806212, "loss": 0.08045601978898048}
|
| 286 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 1.56, "data_frac": 0.589, "fm": 0.06695163980126381, "consistency": 0.012531460709869862, "loss": 0.07948310106992722}
|
| 287 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.71, "data_frac": 0.547, "fm": 0.06735586263239383, "consistency": 0.012427376173436642, "loss": 0.07978323847055435}
|
| 288 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 1.59, "data_frac": 0.581, "fm": 0.06665726207196712, "consistency": 0.012577432580292225, "loss": 0.07923469454050064}
|
| 289 |
+
HB_INLOOP flash step 11750: a29/train10 nMSE 0.3986 (motion_token 0.0870 hands 2.0600) on 198 queries, 0.7 s
|
| 290 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 1.73, "data_frac": 0.521, "fm": 0.06675085611641407, "consistency": 0.012457785829901695, "loss": 0.07920864194631577}
|
| 291 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 1.77, "data_frac": 0.532, "fm": 0.06657465487718582, "consistency": 0.01261835340410471, "loss": 0.07919300854206085}
|
| 292 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.78, "data_frac": 0.53, "fm": 0.06631763257086278, "consistency": 0.012452451251447201, "loss": 0.07877008438110351}
|
| 293 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 1.79, "data_frac": 0.527, "fm": 0.06640467219054699, "consistency": 0.012615754622966052, "loss": 0.07902042672038079}
|
| 294 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 3.77, "data_frac": 0.001, "fm": 0.06660607725381851, "consistency": 0.012517269160598516, "loss": 0.07912334620952606}
|
| 295 |
+
HB_INLOOP flash step 12000: a29/train10 nMSE 0.3981 (motion_token 0.0869 hands 2.0575) on 198 queries, 0.7 s
|
| 296 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/step-012000", "mse": 0.00856785848736763, "mse_row0": 0.006914603989571333, "mse_motion_token": 0.008198298513889313, "mse_inspire_left_hand_state": 0.00695809256285429, "mse_inspire_right_hand_state": 0.014119600877165794}
|
| 297 |
+
{"event": "done", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/final"}
|
a29-drawer-close/b512/step-012000/training_records/train_log.jsonl
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.72, "data_frac": 0.789, "fm": 1.2152260267734527, "consistency": 1.287933658361435, "loss": 2.5031596779823304}
|
| 2 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.7, "data_frac": 0.55, "fm": 0.4834549957513809, "consistency": 0.48274161756038664, "loss": 0.9661966180801391}
|
| 3 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.72, "data_frac": 0.543, "fm": 0.45926774680614474, "consistency": 0.4514560580253601, "loss": 0.9107238066196441}
|
| 4 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.73, "data_frac": 0.541, "fm": 0.4506350976228714, "consistency": 0.43294051706790926, "loss": 0.8835756170749665}
|
| 5 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 1.75, "data_frac": 0.536, "fm": 0.43265129029750826, "consistency": 0.37192442715168, "loss": 0.8045757138729095}
|
| 6 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.43, "data_frac": 0.552, "fm": 0.36612861573696137, "consistency": 0.25557425677776335, "loss": 0.6217028713226318}
|
| 7 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.73, "data_frac": 0.544, "fm": 0.29755268156528475, "consistency": 0.16183308988809586, "loss": 0.4593857675790787}
|
| 8 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 3.71, "data_frac": 0.018, "fm": 0.2508068990707397, "consistency": 0.11565730646252632, "loss": 0.36646420538425445}
|
| 9 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.59, "data_frac": 0.578, "fm": 0.22269589364528655, "consistency": 0.09652242124080658, "loss": 0.3192183142900467}
|
| 10 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 1.72, "data_frac": 0.545, "fm": 0.20131905406713485, "consistency": 0.08597740933299064, "loss": 0.2872964626550674}
|
| 11 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 1.72, "data_frac": 0.52, "fm": 0.18480787992477418, "consistency": 0.07406294777989388, "loss": 0.25887083023786545}
|
| 12 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 1.77, "data_frac": 0.53, "fm": 0.17314757108688356, "consistency": 0.06723444543778896, "loss": 0.24038201779127122}
|
| 13 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 1.71, "data_frac": 0.548, "fm": 0.16265360206365587, "consistency": 0.06193778321146965, "loss": 0.224591383934021}
|
| 14 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 1.71, "data_frac": 0.548, "fm": 0.15284727066755294, "consistency": 0.05590359903872013, "loss": 0.2087508699297905}
|
| 15 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 3.78, "data_frac": 0.001, "fm": 0.14617378115653992, "consistency": 0.0525483662635088, "loss": 0.19872214704751967}
|
| 16 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 1.68, "data_frac": 0.533, "fm": 0.14100782096385955, "consistency": 0.05006532035768032, "loss": 0.19107314109802245}
|
| 17 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 1.69, "data_frac": 0.553, "fm": 0.13568892568349838, "consistency": 0.04785369098186493, "loss": 0.18354261696338653}
|
| 18 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 1.64, "data_frac": 0.566, "fm": 0.131903365701437, "consistency": 0.04547831125557423, "loss": 0.1773816764354706}
|
| 19 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 1.73, "data_frac": 0.543, "fm": 0.12844500347971916, "consistency": 0.04324080348014832, "loss": 0.1716858059167862}
|
| 20 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 1.73, "data_frac": 0.542, "fm": 0.1256651195883751, "consistency": 0.04145884044468403, "loss": 0.167123960852623}
|
| 21 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 1.71, "data_frac": 0.523, "fm": 0.12279374271631241, "consistency": 0.04064517877995968, "loss": 0.16343892127275467}
|
| 22 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 3.75, "data_frac": 0.007, "fm": 0.11871530890464782, "consistency": 0.03882682979106903, "loss": 0.15754213988780974}
|
| 23 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 1.76, "data_frac": 0.535, "fm": 0.11713583275675774, "consistency": 0.03761998027563095, "loss": 0.15475581139326094}
|
| 24 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 1.78, "data_frac": 0.529, "fm": 0.11613193437457085, "consistency": 0.03728771291673184, "loss": 0.1534196478128433}
|
| 25 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 1.74, "data_frac": 0.538, "fm": 0.11334401816129684, "consistency": 0.0363885124027729, "loss": 0.14973253041505813}
|
| 26 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 1.72, "data_frac": 0.52, "fm": 0.11145174756646156, "consistency": 0.0346331375092268, "loss": 0.14608488440513612}
|
| 27 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 1.75, "data_frac": 0.538, "fm": 0.11105634853243827, "consistency": 0.034712927564978596, "loss": 0.14576927572488785}
|
| 28 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 1.74, "data_frac": 0.539, "fm": 0.10907835498452187, "consistency": 0.03371890306472778, "loss": 0.14279725819826125}
|
| 29 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 3.68, "data_frac": 0.027, "fm": 0.10849635511636734, "consistency": 0.03277627106755972, "loss": 0.14127262622117998}
|
| 30 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 1.5, "data_frac": 0.604, "fm": 0.10652644962072372, "consistency": 0.032603730112314225, "loss": 0.13913018018007278}
|
| 31 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 1.69, "data_frac": 0.529, "fm": 0.10577678352594376, "consistency": 0.03189750883728266, "loss": 0.1376742935180664}
|
| 32 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 1.74, "data_frac": 0.539, "fm": 0.10485953345894813, "consistency": 0.031100542582571507, "loss": 0.13596007406711577}
|
| 33 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 1.75, "data_frac": 0.537, "fm": 0.10312844067811966, "consistency": 0.03121959038078785, "loss": 0.13434803143143653}
|
| 34 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 1.75, "data_frac": 0.538, "fm": 0.10219146266579628, "consistency": 0.03027350902557373, "loss": 0.13246497124433518}
|
| 35 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 1.74, "data_frac": 0.539, "fm": 0.10184433460235595, "consistency": 0.030251141153275967, "loss": 0.13209547534584998}
|
| 36 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 1.7, "data_frac": 0.527, "fm": 0.1006775015592575, "consistency": 0.02973868068307638, "loss": 0.13041618168354036}
|
| 37 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 3.79, "data_frac": 0.001, "fm": 0.10025902822613716, "consistency": 0.029404690377414226, "loss": 0.12966371908783914}
|
| 38 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 1.74, "data_frac": 0.541, "fm": 0.09800470009446144, "consistency": 0.028811745718121527, "loss": 0.12681644558906555}
|
| 39 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 1.75, "data_frac": 0.535, "fm": 0.09741052344441414, "consistency": 0.02854286916553974, "loss": 0.1259533928334713}
|
| 40 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 1.75, "data_frac": 0.537, "fm": 0.09901914969086648, "consistency": 0.028754938505589963, "loss": 0.12777408823370934}
|
| 41 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 1.67, "data_frac": 0.525, "fm": 0.09654087379574776, "consistency": 0.027730957604944706, "loss": 0.12427183121442795}
|
| 42 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 1.73, "data_frac": 0.539, "fm": 0.09665992617607116, "consistency": 0.027557515650987626, "loss": 0.12421744212508201}
|
| 43 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 1.74, "data_frac": 0.541, "fm": 0.094900913387537, "consistency": 0.027168835178017617, "loss": 0.12206974789500237}
|
| 44 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 3.72, "data_frac": 0.018, "fm": 0.09504494681954384, "consistency": 0.02694015543907881, "loss": 0.12198510244488717}
|
| 45 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 1.73, "data_frac": 0.543, "fm": 0.09410915315151215, "consistency": 0.026678706742823122, "loss": 0.12078785955905914}
|
| 46 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 1.51, "data_frac": 0.581, "fm": 0.09427205607295036, "consistency": 0.026574084423482417, "loss": 0.12084614053368568}
|
| 47 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 1.75, "data_frac": 0.537, "fm": 0.09380236685276032, "consistency": 0.025943657234311104, "loss": 0.11974602460861206}
|
| 48 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 1.66, "data_frac": 0.56, "fm": 0.0933516164124012, "consistency": 0.0259005219489336, "loss": 0.11925213903188706}
|
| 49 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 1.64, "data_frac": 0.567, "fm": 0.09265212208032608, "consistency": 0.02560754004865885, "loss": 0.1182596617937088}
|
| 50 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 1.77, "data_frac": 0.532, "fm": 0.09193608358502388, "consistency": 0.02551612798124552, "loss": 0.11745221123099327}
|
| 51 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 3.55, "data_frac": 0.001, "fm": 0.09174417898058891, "consistency": 0.02498819913715124, "loss": 0.11673237815499306}
|
| 52 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 1.74, "data_frac": 0.54, "fm": 0.09187744051218033, "consistency": 0.025286877490580083, "loss": 0.11716431841254234}
|
| 53 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 1.77, "data_frac": 0.531, "fm": 0.09031548470258713, "consistency": 0.024151010811328887, "loss": 0.1144664953649044}
|
| 54 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 1.73, "data_frac": 0.542, "fm": 0.0891270412504673, "consistency": 0.024191779755055903, "loss": 0.11331882074475289}
|
| 55 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 1.74, "data_frac": 0.54, "fm": 0.08896666824817658, "consistency": 0.024242196194827557, "loss": 0.11320886477828025}
|
| 56 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 1.71, "data_frac": 0.522, "fm": 0.08948840320110321, "consistency": 0.024120120592415334, "loss": 0.11360852375626564}
|
| 57 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 1.75, "data_frac": 0.537, "fm": 0.08863777756690978, "consistency": 0.024079330265522003, "loss": 0.11271710753440857}
|
| 58 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 3.79, "data_frac": 0.001, "fm": 0.08876090049743653, "consistency": 0.023744011856615545, "loss": 0.11250491216778755}
|
| 59 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 1.72, "data_frac": 0.545, "fm": 0.08734915882349015, "consistency": 0.023651643879711626, "loss": 0.11100080281496048}
|
| 60 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 1.78, "data_frac": 0.531, "fm": 0.08775940313935279, "consistency": 0.023640760220587254, "loss": 0.11140016287565231}
|
| 61 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 1.71, "data_frac": 0.524, "fm": 0.08630816251039505, "consistency": 0.02325416885316372, "loss": 0.10956233128905296}
|
| 62 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 1.76, "data_frac": 0.536, "fm": 0.08753203451633454, "consistency": 0.02301029473543167, "loss": 0.11054232910275459}
|
| 63 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 1.55, "data_frac": 0.589, "fm": 0.08678695023059844, "consistency": 0.023099797405302526, "loss": 0.10988674744963646}
|
| 64 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 1.78, "data_frac": 0.53, "fm": 0.08619789108633995, "consistency": 0.02249577682465315, "loss": 0.10869366765022277}
|
| 65 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 1.78, "data_frac": 0.529, "fm": 0.08603369265794754, "consistency": 0.022216774374246597, "loss": 0.10825046703219414}
|
| 66 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 3.58, "data_frac": 0.001, "fm": 0.08622240275144577, "consistency": 0.022007840573787688, "loss": 0.10823024317622185}
|
| 67 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 1.72, "data_frac": 0.546, "fm": 0.08511225298047066, "consistency": 0.02204082641750574, "loss": 0.10715307950973511}
|
| 68 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 1.74, "data_frac": 0.54, "fm": 0.08589538469910622, "consistency": 0.02168571125715971, "loss": 0.10758109599351882}
|
| 69 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 1.69, "data_frac": 0.552, "fm": 0.08506718039512634, "consistency": 0.02170698631554842, "loss": 0.10677416741847992}
|
| 70 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 1.74, "data_frac": 0.541, "fm": 0.08499275743961335, "consistency": 0.021795899122953415, "loss": 0.10678865671157838}
|
| 71 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 1.7, "data_frac": 0.523, "fm": 0.08557601809501648, "consistency": 0.021354719065129757, "loss": 0.10693073704838753}
|
| 72 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 1.74, "data_frac": 0.539, "fm": 0.08321987584233284, "consistency": 0.02096050765365362, "loss": 0.10418038293719292}
|
| 73 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 3.79, "data_frac": 0.001, "fm": 0.08352062553167343, "consistency": 0.0207850381731987, "loss": 0.10430566310882568}
|
| 74 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 1.76, "data_frac": 0.534, "fm": 0.08285030245780944, "consistency": 0.020628729797899724, "loss": 0.1034790325164795}
|
| 75 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 1.75, "data_frac": 0.538, "fm": 0.08391816794872284, "consistency": 0.02113301236182451, "loss": 0.10505117982625961}
|
| 76 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 1.7, "data_frac": 0.525, "fm": 0.08302312031388283, "consistency": 0.020637948848307133, "loss": 0.1036610695719719}
|
| 77 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 1.78, "data_frac": 0.532, "fm": 0.08235504016280175, "consistency": 0.020436951369047166, "loss": 0.10279199168086052}
|
| 78 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 1.78, "data_frac": 0.526, "fm": 0.0826601567864418, "consistency": 0.020363067090511323, "loss": 0.10302322387695312}
|
| 79 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 1.74, "data_frac": 0.541, "fm": 0.08176884666085243, "consistency": 0.02028751265257597, "loss": 0.10205635949969291}
|
| 80 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 3.78, "data_frac": 0.001, "fm": 0.08219418913125992, "consistency": 0.0204597981646657, "loss": 0.10265398740768433}
|
| 81 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/step-004000", "mse": 0.012135122902691364, "mse_row0": 0.009436894208192825, "mse_motion_token": 0.011886981315910816, "mse_inspire_left_hand_state": 0.008797809481620789, "mse_inspire_right_hand_state": 0.018119260668754578}
|
| 82 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 1.37, "data_frac": 0.419, "fm": 0.0824325393140316, "consistency": 0.019892634712159633, "loss": 0.10232517376542091}
|
| 83 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 1.76, "data_frac": 0.534, "fm": 0.08109182685613632, "consistency": 0.01992111101746559, "loss": 0.10101293817162514}
|
| 84 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 1.75, "data_frac": 0.537, "fm": 0.08143107533454895, "consistency": 0.019861610420048238, "loss": 0.10129268556833267}
|
| 85 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 1.77, "data_frac": 0.532, "fm": 0.08169702619314194, "consistency": 0.01984542228281498, "loss": 0.10154244899749756}
|
| 86 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 1.69, "data_frac": 0.553, "fm": 0.07977827176451684, "consistency": 0.01917485013604164, "loss": 0.09895312264561654}
|
| 87 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 1.72, "data_frac": 0.519, "fm": 0.07972273543477058, "consistency": 0.01933297552168369, "loss": 0.09905571073293686}
|
| 88 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 3.77, "data_frac": 0.001, "fm": 0.08049179419875145, "consistency": 0.019130775406956672, "loss": 0.09962256997823715}
|
| 89 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 1.77, "data_frac": 0.532, "fm": 0.07945719689130783, "consistency": 0.01900002855807543, "loss": 0.09845722571015358}
|
| 90 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 1.74, "data_frac": 0.536, "fm": 0.07900418594479561, "consistency": 0.018634259328246118, "loss": 0.09763844475150109}
|
| 91 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 1.76, "data_frac": 0.535, "fm": 0.07920486718416214, "consistency": 0.018828099146485328, "loss": 0.09803296640515327}
|
| 92 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 1.57, "data_frac": 0.56, "fm": 0.07889328688383103, "consistency": 0.018673085011541843, "loss": 0.0975663721561432}
|
| 93 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 1.74, "data_frac": 0.538, "fm": 0.07908617943525315, "consistency": 0.018552430085837842, "loss": 0.09763860926032067}
|
| 94 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 1.76, "data_frac": 0.536, "fm": 0.07934860214591026, "consistency": 0.018940072283148767, "loss": 0.09828867435455323}
|
| 95 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 1.81, "data_frac": 0.523, "fm": 0.0782668861746788, "consistency": 0.018268819600343704, "loss": 0.09653570547699929}
|
| 96 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 3.36, "data_frac": 0.113, "fm": 0.07858965128660202, "consistency": 0.018584366217255593, "loss": 0.09717401787638665}
|
| 97 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 1.56, "data_frac": 0.564, "fm": 0.07808896020054817, "consistency": 0.01819832056760788, "loss": 0.09628728076815606}
|
| 98 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 1.79, "data_frac": 0.527, "fm": 0.07868612170219422, "consistency": 0.018343890868127346, "loss": 0.09703001216053962}
|
| 99 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 1.73, "data_frac": 0.544, "fm": 0.0782674877345562, "consistency": 0.018081961423158644, "loss": 0.09634944900870324}
|
| 100 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 1.72, "data_frac": 0.544, "fm": 0.07772308275103569, "consistency": 0.017979629077017306, "loss": 0.09570271238684654}
|
| 101 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 1.77, "data_frac": 0.533, "fm": 0.07816546738147735, "consistency": 0.018074304312467575, "loss": 0.09623977124691009}
|
| 102 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 1.72, "data_frac": 0.517, "fm": 0.07755601316690446, "consistency": 0.017680948525667192, "loss": 0.09523696124553681}
|
| 103 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 3.79, "data_frac": 0.001, "fm": 0.07727916821837426, "consistency": 0.01775701854377985, "loss": 0.0950361867249012}
|
| 104 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 1.75, "data_frac": 0.536, "fm": 0.07778940588235855, "consistency": 0.017585165239870547, "loss": 0.09537457078695297}
|
| 105 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 1.74, "data_frac": 0.54, "fm": 0.07730596333742142, "consistency": 0.017529670372605322, "loss": 0.09483563408255577}
|
| 106 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 1.75, "data_frac": 0.539, "fm": 0.07711486220359802, "consistency": 0.017212334237992764, "loss": 0.09432719647884369}
|
| 107 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 1.72, "data_frac": 0.519, "fm": 0.07688946828246117, "consistency": 0.017315768748521806, "loss": 0.09420523673295975}
|
| 108 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 1.77, "data_frac": 0.534, "fm": 0.07634314641356468, "consistency": 0.01729711078107357, "loss": 0.09364025712013245}
|
| 109 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 1.77, "data_frac": 0.533, "fm": 0.0755331003665924, "consistency": 0.016947394013404848, "loss": 0.09248049408197404}
|
| 110 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 3.79, "data_frac": 0.001, "fm": 0.0761804486811161, "consistency": 0.01707885928452015, "loss": 0.09325930833816529}
|
| 111 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 1.72, "data_frac": 0.547, "fm": 0.0755405467748642, "consistency": 0.01704225139692426, "loss": 0.09258279770612717}
|
| 112 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 1.7, "data_frac": 0.529, "fm": 0.07569573268294334, "consistency": 0.016491946298629045, "loss": 0.09218767926096916}
|
| 113 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 1.74, "data_frac": 0.54, "fm": 0.07630650877952576, "consistency": 0.016912667341530324, "loss": 0.09321917653083801}
|
| 114 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07588107362389565, "consistency": 0.016575424801558256, "loss": 0.09245649829506875}
|
| 115 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07466437920928001, "consistency": 0.0167966603115201, "loss": 0.09146103858947754}
|
| 116 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07547350630164146, "consistency": 0.016603993009775875, "loss": 0.09207749933004379}
|
| 117 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 3.58, "data_frac": 0.001, "fm": 0.07379468381404877, "consistency": 0.016276330649852754, "loss": 0.09007101386785507}
|
| 118 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 1.73, "data_frac": 0.542, "fm": 0.0741775530576706, "consistency": 0.016264303810894488, "loss": 0.09044185727834701}
|
| 119 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 1.74, "data_frac": 0.539, "fm": 0.07431750074028969, "consistency": 0.01633781077340245, "loss": 0.09065531149506569}
|
| 120 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 1.69, "data_frac": 0.554, "fm": 0.07408656567335128, "consistency": 0.016317972782999277, "loss": 0.09040453806519508}
|
| 121 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 1.62, "data_frac": 0.57, "fm": 0.07455821767449379, "consistency": 0.01612136799842119, "loss": 0.09067958548665046}
|
| 122 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 1.72, "data_frac": 0.52, "fm": 0.07432284206151962, "consistency": 0.016419214066118, "loss": 0.09074205622076988}
|
| 123 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.76, "data_frac": 0.536, "fm": 0.07476484075188637, "consistency": 0.01627495126798749, "loss": 0.09103979155421257}
|
| 124 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 1.75, "data_frac": 0.539, "fm": 0.07436850607395172, "consistency": 0.016310677882283926, "loss": 0.09067918345332146}
|
| 125 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 3.78, "data_frac": 0.001, "fm": 0.07360082328319549, "consistency": 0.016013854052871465, "loss": 0.08961467683315277}
|
| 126 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 1.76, "data_frac": 0.535, "fm": 0.0733430403470993, "consistency": 0.015677880253642796, "loss": 0.08902092069387436}
|
| 127 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 1.72, "data_frac": 0.522, "fm": 0.07337137445807457, "consistency": 0.015780953392386436, "loss": 0.08915232762694358}
|
| 128 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 1.71, "data_frac": 0.546, "fm": 0.07327533647418022, "consistency": 0.015618863459676504, "loss": 0.08889419972896576}
|
| 129 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 1.74, "data_frac": 0.538, "fm": 0.07320476472377777, "consistency": 0.015785937197506428, "loss": 0.08899070143699646}
|
| 130 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 1.74, "data_frac": 0.541, "fm": 0.07224365770816803, "consistency": 0.015645272601395845, "loss": 0.08788893088698387}
|
| 131 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 1.74, "data_frac": 0.54, "fm": 0.0730066141486168, "consistency": 0.01558709092438221, "loss": 0.0885937049984932}
|
| 132 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 3.57, "data_frac": 0.001, "fm": 0.07333390220999718, "consistency": 0.015673818215727806, "loss": 0.08900772020220757}
|
| 133 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 1.55, "data_frac": 0.59, "fm": 0.07221624970436097, "consistency": 0.015550643056631088, "loss": 0.08776689231395722}
|
| 134 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 1.75, "data_frac": 0.534, "fm": 0.07266312271356583, "consistency": 0.015455823279917241, "loss": 0.08811894595623017}
|
| 135 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 1.78, "data_frac": 0.53, "fm": 0.07337957412004471, "consistency": 0.015507395379245281, "loss": 0.08888696953654289}
|
| 136 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 1.75, "data_frac": 0.537, "fm": 0.07240394309163094, "consistency": 0.01528857946395874, "loss": 0.08769252195954323}
|
| 137 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 1.7, "data_frac": 0.524, "fm": 0.07229548692703247, "consistency": 0.015504297725856304, "loss": 0.08779978454113006}
|
| 138 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 1.78, "data_frac": 0.531, "fm": 0.07202677875757217, "consistency": 0.01496795641258359, "loss": 0.08699473530054093}
|
| 139 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 3.47, "data_frac": 0.085, "fm": 0.07220071136951446, "consistency": 0.015256115086376667, "loss": 0.08745682626962661}
|
| 140 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 1.78, "data_frac": 0.53, "fm": 0.07142157331109047, "consistency": 0.01505147436633706, "loss": 0.0864730478823185}
|
| 141 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 1.76, "data_frac": 0.534, "fm": 0.07149853363633156, "consistency": 0.015079109836369753, "loss": 0.08657764375209809}
|
| 142 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 1.71, "data_frac": 0.527, "fm": 0.07193399474024773, "consistency": 0.014825824350118637, "loss": 0.08675981938838959}
|
| 143 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 1.75, "data_frac": 0.534, "fm": 0.07148553550243378, "consistency": 0.01493095487356186, "loss": 0.08641649037599564}
|
| 144 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 1.74, "data_frac": 0.539, "fm": 0.07157071337103843, "consistency": 0.014802208468317986, "loss": 0.08637292221188546}
|
| 145 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 1.76, "data_frac": 0.534, "fm": 0.07149825751781463, "consistency": 0.014865511264652014, "loss": 0.08636376917362214}
|
| 146 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 3.79, "data_frac": 0.001, "fm": 0.07039944350719451, "consistency": 0.014838701337575913, "loss": 0.08523814499378204}
|
| 147 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 1.7, "data_frac": 0.527, "fm": 0.07118474021553993, "consistency": 0.014976163655519485, "loss": 0.08616090431809426}
|
| 148 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 1.74, "data_frac": 0.539, "fm": 0.07098197653889655, "consistency": 0.015056064184755087, "loss": 0.08603804126381874}
|
| 149 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 1.77, "data_frac": 0.533, "fm": 0.07054526127874851, "consistency": 0.014553995858877898, "loss": 0.08509925782680511}
|
| 150 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 1.78, "data_frac": 0.529, "fm": 0.07084692373871804, "consistency": 0.014542550519108773, "loss": 0.08538947403430938}
|
| 151 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 1.53, "data_frac": 0.591, "fm": 0.07132542863488198, "consistency": 0.014554392080754042, "loss": 0.08587982058525086}
|
| 152 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 1.65, "data_frac": 0.539, "fm": 0.07030770175158978, "consistency": 0.01438907066360116, "loss": 0.08469677284359932}
|
| 153 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 1.72, "data_frac": 0.546, "fm": 0.07050510108470917, "consistency": 0.014301032442599535, "loss": 0.08480613395571708}
|
| 154 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 3.65, "data_frac": 0.037, "fm": 0.07049520373344421, "consistency": 0.014199301339685918, "loss": 0.08469450533390045}
|
| 155 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 1.74, "data_frac": 0.539, "fm": 0.0711683501303196, "consistency": 0.014559832680970431, "loss": 0.08572818234562873}
|
| 156 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 1.74, "data_frac": 0.532, "fm": 0.07041509509086609, "consistency": 0.014386435952037573, "loss": 0.0848015308380127}
|
| 157 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 1.72, "data_frac": 0.521, "fm": 0.0698157249391079, "consistency": 0.014272858668118716, "loss": 0.08408858373761177}
|
| 158 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 1.79, "data_frac": 0.527, "fm": 0.07037521585822105, "consistency": 0.01423804383724928, "loss": 0.08461325988173485}
|
| 159 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 1.7, "data_frac": 0.551, "fm": 0.07014750212430954, "consistency": 0.014124868586659432, "loss": 0.08427237078547478}
|
| 160 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 1.75, "data_frac": 0.536, "fm": 0.06957589298486709, "consistency": 0.014183102939277888, "loss": 0.08375899583101272}
|
| 161 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 3.79, "data_frac": 0.001, "fm": 0.06992252759635448, "consistency": 0.014131806138902903, "loss": 0.08405433386564255}
|
| 162 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/step-008000", "mse": 0.009229084476828575, "mse_row0": 0.0075033619068562984, "mse_motion_token": 0.008846057578921318, "mse_inspire_left_hand_state": 0.0074179829098284245, "mse_inspire_right_hand_state": 0.015125807374715805}
|
| 163 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 1.31, "data_frac": 0.391, "fm": 0.06965529344975949, "consistency": 0.014134428109973668, "loss": 0.08378972128033638}
|
| 164 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 1.75, "data_frac": 0.537, "fm": 0.06962243914604187, "consistency": 0.013860555179417134, "loss": 0.08348299399018287}
|
| 165 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 1.71, "data_frac": 0.545, "fm": 0.06912514984607697, "consistency": 0.01388143738731742, "loss": 0.08300658747553825}
|
| 166 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 1.75, "data_frac": 0.536, "fm": 0.0693520674854517, "consistency": 0.013850381057709455, "loss": 0.08320244818925858}
|
| 167 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 1.76, "data_frac": 0.536, "fm": 0.06947113379836083, "consistency": 0.01380726022645831, "loss": 0.08327839374542237}
|
| 168 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 1.56, "data_frac": 0.565, "fm": 0.069137057736516, "consistency": 0.013971249479800463, "loss": 0.08310830757021904}
|
| 169 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 3.79, "data_frac": 0.002, "fm": 0.06945295922458172, "consistency": 0.01365574711933732, "loss": 0.0831087064743042}
|
| 170 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 1.73, "data_frac": 0.542, "fm": 0.06964525066316128, "consistency": 0.013906073197722435, "loss": 0.08355132356286049}
|
| 171 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 1.77, "data_frac": 0.531, "fm": 0.06903713658452033, "consistency": 0.013745532687753439, "loss": 0.08278266921639442}
|
| 172 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 1.8, "data_frac": 0.524, "fm": 0.06919108003377915, "consistency": 0.013640241175889968, "loss": 0.08283132135868072}
|
| 173 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 1.7, "data_frac": 0.526, "fm": 0.06887938424944878, "consistency": 0.013599264156073331, "loss": 0.08247864872217178}
|
| 174 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 1.73, "data_frac": 0.543, "fm": 0.0689110404253006, "consistency": 0.01359637437388301, "loss": 0.08250741481781006}
|
| 175 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 1.75, "data_frac": 0.537, "fm": 0.06933633595705033, "consistency": 0.013560945857316256, "loss": 0.0828972814977169}
|
| 176 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 3.79, "data_frac": 0.001, "fm": 0.06983009308576583, "consistency": 0.013448958024382592, "loss": 0.08327905118465423}
|
| 177 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 1.77, "data_frac": 0.529, "fm": 0.06926725372672081, "consistency": 0.013532194513827563, "loss": 0.08279944807291031}
|
| 178 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 1.7, "data_frac": 0.525, "fm": 0.06905431173741818, "consistency": 0.013593137562274933, "loss": 0.0826474492251873}
|
| 179 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 1.75, "data_frac": 0.533, "fm": 0.0695493270456791, "consistency": 0.013341749459505082, "loss": 0.08289107650518418}
|
| 180 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 1.75, "data_frac": 0.536, "fm": 0.06817990504205226, "consistency": 0.013477146569639444, "loss": 0.08165705129504204}
|
| 181 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 1.73, "data_frac": 0.541, "fm": 0.06905240714550018, "consistency": 0.013381554186344147, "loss": 0.08243396207690239}
|
| 182 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 1.74, "data_frac": 0.541, "fm": 0.06842628762125968, "consistency": 0.013461076654493809, "loss": 0.08188736394047737}
|
| 183 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 1.71, "data_frac": 0.523, "fm": 0.06802343539893627, "consistency": 0.013365177195519209, "loss": 0.08138861283659934}
|
| 184 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 3.74, "data_frac": 0.012, "fm": 0.06876904398202896, "consistency": 0.013350127767771482, "loss": 0.08211917206645011}
|
| 185 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 1.77, "data_frac": 0.531, "fm": 0.06769454903900624, "consistency": 0.013274388257414102, "loss": 0.08096893683075905}
|
| 186 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 1.75, "data_frac": 0.538, "fm": 0.06871101208031177, "consistency": 0.013272912576794624, "loss": 0.08198392510414124}
|
| 187 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06817765876650811, "consistency": 0.013248914387077093, "loss": 0.08142657339572906}
|
| 188 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 1.7, "data_frac": 0.519, "fm": 0.06751905515789985, "consistency": 0.013374533578753471, "loss": 0.08089358910918236}
|
| 189 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 1.74, "data_frac": 0.54, "fm": 0.06822562955319882, "consistency": 0.01317253002896905, "loss": 0.0813981595635414}
|
| 190 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 1.77, "data_frac": 0.53, "fm": 0.06837447106838226, "consistency": 0.013037760071456432, "loss": 0.08141223147511482}
|
| 191 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 3.78, "data_frac": 0.001, "fm": 0.06769766099750996, "consistency": 0.013232770580798388, "loss": 0.08093043133616447}
|
| 192 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 1.69, "data_frac": 0.552, "fm": 0.06713546559214592, "consistency": 0.013068291265517474, "loss": 0.08020375728607178}
|
| 193 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 1.7, "data_frac": 0.528, "fm": 0.06770830027759075, "consistency": 0.013136100750416517, "loss": 0.08084440067410469}
|
| 194 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 1.73, "data_frac": 0.544, "fm": 0.06766016229987144, "consistency": 0.013186214137822389, "loss": 0.08084637686610222}
|
| 195 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 1.74, "data_frac": 0.53, "fm": 0.0680242345482111, "consistency": 0.012983572091907264, "loss": 0.0810078063607216}
|
| 196 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 1.78, "data_frac": 0.524, "fm": 0.06811203815042972, "consistency": 0.0129919527284801, "loss": 0.08110399141907693}
|
| 197 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 1.64, "data_frac": 0.566, "fm": 0.06774940811097623, "consistency": 0.013085306771099568, "loss": 0.08083471521735192}
|
| 198 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 3.59, "data_frac": 0.001, "fm": 0.06702284730970859, "consistency": 0.012949957791715861, "loss": 0.07997280523180962}
|
| 199 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 1.72, "data_frac": 0.545, "fm": 0.06744148060679436, "consistency": 0.012908393535763025, "loss": 0.08034987419843674}
|
| 200 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 1.74, "data_frac": 0.54, "fm": 0.0666957001388073, "consistency": 0.012872455343604088, "loss": 0.07956815585494041}
|
| 201 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 1.72, "data_frac": 0.54, "fm": 0.06679048456251621, "consistency": 0.012941785603761673, "loss": 0.07973227068781853}
|
| 202 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06788197375833988, "consistency": 0.012919635865837336, "loss": 0.08080160975456238}
|
| 203 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 1.64, "data_frac": 0.539, "fm": 0.06824146278202534, "consistency": 0.01294601645320654, "loss": 0.08118747860193253}
|
| 204 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 1.73, "data_frac": 0.543, "fm": 0.06681911565363408, "consistency": 0.012788074314594269, "loss": 0.07960718974471093}
|
| 205 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 3.79, "data_frac": 0.001, "fm": 0.06791864544153213, "consistency": 0.012845159750431776, "loss": 0.08076380521059036}
|
| 206 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 1.74, "data_frac": 0.538, "fm": 0.06761604994535446, "consistency": 0.012886725571006537, "loss": 0.08050277620553971}
|
| 207 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 1.76, "data_frac": 0.534, "fm": 0.06708434008061886, "consistency": 0.012744592521339655, "loss": 0.079828931838274}
|
| 208 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 1.74, "data_frac": 0.517, "fm": 0.067559355199337, "consistency": 0.012831364516168833, "loss": 0.08039071977138519}
|
| 209 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 1.72, "data_frac": 0.545, "fm": 0.06739909529685974, "consistency": 0.012850534711033106, "loss": 0.08024963036179543}
|
| 210 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 1.76, "data_frac": 0.534, "fm": 0.06743902012705803, "consistency": 0.012761692516505718, "loss": 0.08020071282982827}
|
| 211 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 1.78, "data_frac": 0.53, "fm": 0.06739811539649963, "consistency": 0.01270578933879733, "loss": 0.0801039044559002}
|
| 212 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06722405388951301, "consistency": 0.012674082051962614, "loss": 0.07989813596010208}
|
| 213 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 3.58, "data_frac": 0.001, "fm": 0.06685953423380851, "consistency": 0.012752036955207586, "loss": 0.07961157143115997}
|
| 214 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 1.73, "data_frac": 0.531, "fm": 0.06579909764230252, "consistency": 0.012658837921917439, "loss": 0.07845793560147285}
|
| 215 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 1.76, "data_frac": 0.536, "fm": 0.0665645607560873, "consistency": 0.01273906335234642, "loss": 0.07930362388491631}
|
| 216 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 1.73, "data_frac": 0.542, "fm": 0.06696932755410671, "consistency": 0.012541390731930733, "loss": 0.07951071813702583}
|
| 217 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 1.77, "data_frac": 0.532, "fm": 0.06661588571965694, "consistency": 0.012887146044522523, "loss": 0.07950303182005883}
|
| 218 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 1.69, "data_frac": 0.526, "fm": 0.06676429942250252, "consistency": 0.012545833066105842, "loss": 0.0793101318180561}
|
| 219 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 1.78, "data_frac": 0.529, "fm": 0.06637241929769516, "consistency": 0.012699937988072634, "loss": 0.07907235711812972}
|
| 220 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 3.77, "data_frac": 0.001, "fm": 0.06728490494191647, "consistency": 0.012702675368636847, "loss": 0.07998758032917977}
|
| 221 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 1.74, "data_frac": 0.539, "fm": 0.06664463087916374, "consistency": 0.0125894177518785, "loss": 0.07923404887318611}
|
| 222 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 1.79, "data_frac": 0.526, "fm": 0.06687848739326001, "consistency": 0.012678707893937826, "loss": 0.07955719515681267}
|
| 223 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 1.7, "data_frac": 0.525, "fm": 0.06671269156038762, "consistency": 0.012582475673407317, "loss": 0.0792951674759388}
|
| 224 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 1.66, "data_frac": 0.562, "fm": 0.06687955565750599, "consistency": 0.012459353972226382, "loss": 0.07933891013264656}
|
| 225 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 1.64, "data_frac": 0.564, "fm": 0.06684624306857585, "consistency": 0.012680729757994414, "loss": 0.07952697277069092}
|
| 226 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 1.66, "data_frac": 0.561, "fm": 0.06731710918247699, "consistency": 0.01251963671296835, "loss": 0.07983674556016922}
|
| 227 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 3.77, "data_frac": 0.008, "fm": 0.06692501559853553, "consistency": 0.012607547510415316, "loss": 0.0795325630903244}
|
| 228 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 1.66, "data_frac": 0.54, "fm": 0.06706661336123944, "consistency": 0.01259540555998683, "loss": 0.07966201916337014}
|
| 229 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 1.75, "data_frac": 0.536, "fm": 0.06643300831317901, "consistency": 0.012405164893716574, "loss": 0.07883817300200463}
|
| 230 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 1.78, "data_frac": 0.528, "fm": 0.06797536566853524, "consistency": 0.012624536454677582, "loss": 0.08059990212321282}
|
| 231 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 1.66, "data_frac": 0.562, "fm": 0.0666927120834589, "consistency": 0.012663229741156102, "loss": 0.07935594171285629}
|
| 232 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 1.74, "data_frac": 0.534, "fm": 0.0665398020297289, "consistency": 0.012522380873560906, "loss": 0.07906218305230141}
|
| 233 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 1.42, "data_frac": 0.601, "fm": 0.06733528830111027, "consistency": 0.012470784652978182, "loss": 0.07980607315897942}
|
| 234 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 3.78, "data_frac": 0.001, "fm": 0.06789549559354782, "consistency": 0.012560524176806212, "loss": 0.08045601978898048}
|
| 235 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 1.56, "data_frac": 0.589, "fm": 0.06695163980126381, "consistency": 0.012531460709869862, "loss": 0.07948310106992722}
|
| 236 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.71, "data_frac": 0.547, "fm": 0.06735586263239383, "consistency": 0.012427376173436642, "loss": 0.07978323847055435}
|
| 237 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 1.59, "data_frac": 0.581, "fm": 0.06665726207196712, "consistency": 0.012577432580292225, "loss": 0.07923469454050064}
|
| 238 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 1.73, "data_frac": 0.521, "fm": 0.06675085611641407, "consistency": 0.012457785829901695, "loss": 0.07920864194631577}
|
| 239 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 1.77, "data_frac": 0.532, "fm": 0.06657465487718582, "consistency": 0.01261835340410471, "loss": 0.07919300854206085}
|
| 240 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.78, "data_frac": 0.53, "fm": 0.06631763257086278, "consistency": 0.012452451251447201, "loss": 0.07877008438110351}
|
| 241 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 1.79, "data_frac": 0.527, "fm": 0.06640467219054699, "consistency": 0.012615754622966052, "loss": 0.07902042672038079}
|
| 242 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 3.77, "data_frac": 0.001, "fm": 0.06660607725381851, "consistency": 0.012517269160598516, "loss": 0.07912334620952606}
|
| 243 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a29-b512-s12000/checkpoints/step-012000", "mse": 0.00856785848736763, "mse_row0": 0.006914603989571333, "mse_motion_token": 0.008198298513889313, "mse_inspire_left_hand_state": 0.00695809256285429, "mse_inspire_right_hand_state": 0.014119600877165794}
|