FLASH A18 pour water (cropped v2): A800 1 GPU x 512, 12000 steps, `step-008000`, `step-012000`
Browse files- README.md +27 -0
- a18-pour-water/b512-2cam-cropped-v2/step-008000/SHA256SUMS +3 -0
- a18-pour-water/b512-2cam-cropped-v2/step-008000/config.json +1034 -0
- a18-pour-water/b512-2cam-cropped-v2/step-008000/model.pt +3 -0
- a18-pour-water/b512-2cam-cropped-v2/step-008000/protocol.json +128 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/SHA256SUMS +25 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/config.json +1034 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/model.pt +3 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/protocol.json +216 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py +163 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py +9 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py +615 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py +57 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py +114 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py +141 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/data.py +363 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/flash.py +412 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py +110 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/nets.py +207 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/policies.py +285 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt +12 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py +151 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/baselines/train.py +500 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py +12 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_commit.txt +1 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/flash_pool_a800.sh +29 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/inloop-mse.jsonl +48 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/pip_freeze_hb-baselines.txt +58 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/run.json +1053 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/train.log +299 -0
- a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/train_log.jsonl +243 -0
README.md
CHANGED
|
@@ -24,6 +24,7 @@ the lowest in-training action MSE, unless the task's section below says otherwis
|
|
| 24 |
| `a10-trolley-push-v3/b512/` | A10 trolley push (v3) | Unitree G1 (Inspire hands) | ego_view, chest | `a10-trolley-push-v3` @6e410c5, all 148 episodes (125,290 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 25 |
| `a9-pedal-open/b512/` | A9 pedal open | Unitree G1 (Inspire hands) | ego_view, chest | `a9-pedal-open-expert-v1` @8d43206, all 100 episodes (22,763 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 26 |
| `a17-unscrew-bottle/b512-2cam-cropped-v2/` | A17 unscrew bottle (cropped v2) | Unitree H2 (Sharpa hands) | head, chest | `a17-unscrew-bottle` @3520b70f, all 100 episodes (75,184 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
|
|
|
| 27 |
## Recipe (every folder)
|
| 28 |
|
| 29 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
@@ -237,3 +238,29 @@ the model, FLASH settings, training and augmentation are the same.
|
|
| 237 |
| MSE | 0.2143 | 0.0909 | 0.0766 | 0.0700 | 0.0667 | 0.0650 | 0.0644 (lowest) |
|
| 238 |
|
| 239 |
Closed-loop evaluation: pending.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
| `a10-trolley-push-v3/b512/` | A10 trolley push (v3) | Unitree G1 (Inspire hands) | ego_view, chest | `a10-trolley-push-v3` @6e410c5, all 148 episodes (125,290 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 25 |
| `a9-pedal-open/b512/` | A9 pedal open | Unitree G1 (Inspire hands) | ego_view, chest | `a9-pedal-open-expert-v1` @8d43206, all 100 episodes (22,763 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 26 |
| `a17-unscrew-bottle/b512-2cam-cropped-v2/` | A17 unscrew bottle (cropped v2) | Unitree H2 (Sharpa hands) | head, chest | `a17-unscrew-bottle` @3520b70f, all 100 episodes (75,184 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
|
| 27 |
+
| `a18-pour-water/b512-2cam-cropped-v2/` | A18 pour water (cropped v2) | Unitree H2 (Sharpa hands) | head, chest | `a18-pour-water` @44cdd571, all 100 episodes (66,850 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-008000` |
|
| 28 |
## Recipe (every folder)
|
| 29 |
|
| 30 |
- **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
|
|
|
|
| 238 |
| MSE | 0.2143 | 0.0909 | 0.0766 | 0.0700 | 0.0667 | 0.0650 | 0.0644 (lowest) |
|
| 239 |
|
| 240 |
Closed-loop evaluation: pending.
|
| 241 |
+
|
| 242 |
+
## A18 pour water (cropped v2), batch 512, steps 8000 and 12000 (2026-11-25)
|
| 243 |
+
|
| 244 |
+
Checkpoints: [`a18-pour-water/b512-2cam-cropped-v2/step-008000/`](a18-pour-water/b512-2cam-cropped-v2/step-008000) (evaluated) and [`step-012000/`](a18-pour-water/b512-2cam-cropped-v2/step-012000).
|
| 245 |
+
|
| 246 |
+
**Data.**
|
| 247 |
+
- Source: `a18-pour-water` @44cdd571.
|
| 248 |
+
- All 100 episodes (66,850 frames) are used for training.
|
| 249 |
+
- Instruction: "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go."
|
| 250 |
+
- Humanoid_benchmark commit: 78235367.
|
| 251 |
+
|
| 252 |
+
**Robot and interface (h2_sharpa).** Unitree H2 (Sharpa hands). This replaces the G1 inputs and outputs described under Recipe;
|
| 253 |
+
the model, FLASH settings, training and augmentation are the same.
|
| 254 |
+
- State, 78-D: observation.state 75, observation.projected_gravity 3. No joint velocities.
|
| 255 |
+
- Action, 75-D: action.body_target 31, action.hands 44.
|
| 256 |
+
- Cameras (model input): head, chest.
|
| 257 |
+
|
| 258 |
+
**Training hardware.** One NVIDIA A800 80 GB (Aliyun PAI DLC), batch 512, no gradient accumulation, seed 42.
|
| 259 |
+
|
| 260 |
+
**In-training normalized action MSE on 10 equally spaced training episodes (every episode is used for training; there are no held-out episodes).**
|
| 261 |
+
|
| 262 |
+
| Step | 250 | 2,000 | 4,000 | 6,000 | 8,000 | 10,000 | 12,000 |
|
| 263 |
+
|---|---|---|---|---|---|---|---|
|
| 264 |
+
| MSE | 0.3245 | 0.1662 | 0.1293 | 0.1165 | 0.1068 | 0.1090 | 0.1161 |
|
| 265 |
+
|
| 266 |
+
Closed-loop evaluation: pending.
|
a18-pour-water/b512-2cam-cropped-v2/step-008000/SHA256SUMS
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
660dd9456fe27e98b755dc93f8af3a3782ab25e6efec32ea93ae884aa20be8da config.json
|
| 2 |
+
b6b6deee5ac4d558d93fc2e044987f4c4f0789fe9e80bbf47d69c7615c884b5d model.pt
|
| 3 |
+
6105ba3e7e34688c7941dc0db2518b9f935d8db252f1912839679621f586a0b8 protocol.json
|
a18-pour-water/b512-2cam-cropped-v2/step-008000/config.json
ADDED
|
@@ -0,0 +1,1034 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 78,
|
| 6 |
+
"action_dim": 75,
|
| 7 |
+
"horizon": 16,
|
| 8 |
+
"backbone": "resnet18",
|
| 9 |
+
"backbone_weights": null,
|
| 10 |
+
"backbone_norm": "group",
|
| 11 |
+
"hidden_dim": 512,
|
| 12 |
+
"num_layers": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"time_embed_dim": 256,
|
| 17 |
+
"num_inference_steps": 1,
|
| 18 |
+
"num_train_timesteps": 100,
|
| 19 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 20 |
+
"prediction_type": "epsilon",
|
| 21 |
+
"clip_sample": true,
|
| 22 |
+
"act_hidden_dim": 512,
|
| 23 |
+
"dim_feedforward": 3200,
|
| 24 |
+
"enc_layers": 4,
|
| 25 |
+
"dec_layers": 7,
|
| 26 |
+
"nheads": 8,
|
| 27 |
+
"latent_dim": 32,
|
| 28 |
+
"kl_weight": 10.0,
|
| 29 |
+
"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": "h2_sharpa",
|
| 49 |
+
"robot": "h2_sharpa",
|
| 50 |
+
"cameras": [
|
| 51 |
+
"head",
|
| 52 |
+
"chest"
|
| 53 |
+
],
|
| 54 |
+
"state": [
|
| 55 |
+
[
|
| 56 |
+
"observation.state",
|
| 57 |
+
0,
|
| 58 |
+
75
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"observation.projected_gravity",
|
| 62 |
+
0,
|
| 63 |
+
3
|
| 64 |
+
]
|
| 65 |
+
],
|
| 66 |
+
"action": [
|
| 67 |
+
[
|
| 68 |
+
"action.body_target",
|
| 69 |
+
0,
|
| 70 |
+
31
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
"action.hands",
|
| 74 |
+
0,
|
| 75 |
+
44
|
| 76 |
+
]
|
| 77 |
+
],
|
| 78 |
+
"state_dim": 78,
|
| 79 |
+
"action_dim": 75,
|
| 80 |
+
"action_space": null,
|
| 81 |
+
"body_dims": 31
|
| 82 |
+
},
|
| 83 |
+
"image_hw": [
|
| 84 |
+
168,
|
| 85 |
+
224
|
| 86 |
+
],
|
| 87 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 88 |
+
"dataset": {
|
| 89 |
+
"name": "data",
|
| 90 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v2-44cdd57/data",
|
| 91 |
+
"robot_type": "h2_sharpa",
|
| 92 |
+
"fps": 30.0,
|
| 93 |
+
"episodes": [
|
| 94 |
+
0,
|
| 95 |
+
1,
|
| 96 |
+
2,
|
| 97 |
+
3,
|
| 98 |
+
4,
|
| 99 |
+
5,
|
| 100 |
+
6,
|
| 101 |
+
7,
|
| 102 |
+
8,
|
| 103 |
+
9,
|
| 104 |
+
10,
|
| 105 |
+
11,
|
| 106 |
+
12,
|
| 107 |
+
13,
|
| 108 |
+
14,
|
| 109 |
+
15,
|
| 110 |
+
16,
|
| 111 |
+
17,
|
| 112 |
+
18,
|
| 113 |
+
19,
|
| 114 |
+
20,
|
| 115 |
+
21,
|
| 116 |
+
22,
|
| 117 |
+
23,
|
| 118 |
+
24,
|
| 119 |
+
25,
|
| 120 |
+
26,
|
| 121 |
+
27,
|
| 122 |
+
28,
|
| 123 |
+
29,
|
| 124 |
+
30,
|
| 125 |
+
31,
|
| 126 |
+
32,
|
| 127 |
+
33,
|
| 128 |
+
34,
|
| 129 |
+
35,
|
| 130 |
+
36,
|
| 131 |
+
37,
|
| 132 |
+
38,
|
| 133 |
+
39,
|
| 134 |
+
40,
|
| 135 |
+
41,
|
| 136 |
+
42,
|
| 137 |
+
43,
|
| 138 |
+
44,
|
| 139 |
+
45,
|
| 140 |
+
46,
|
| 141 |
+
47,
|
| 142 |
+
48,
|
| 143 |
+
49,
|
| 144 |
+
50,
|
| 145 |
+
51,
|
| 146 |
+
52,
|
| 147 |
+
53,
|
| 148 |
+
54,
|
| 149 |
+
55,
|
| 150 |
+
56,
|
| 151 |
+
57,
|
| 152 |
+
58,
|
| 153 |
+
59,
|
| 154 |
+
60,
|
| 155 |
+
61,
|
| 156 |
+
62,
|
| 157 |
+
63,
|
| 158 |
+
64,
|
| 159 |
+
65,
|
| 160 |
+
66,
|
| 161 |
+
67,
|
| 162 |
+
68,
|
| 163 |
+
69,
|
| 164 |
+
70,
|
| 165 |
+
71,
|
| 166 |
+
72,
|
| 167 |
+
73,
|
| 168 |
+
74,
|
| 169 |
+
75,
|
| 170 |
+
76,
|
| 171 |
+
77,
|
| 172 |
+
78,
|
| 173 |
+
79,
|
| 174 |
+
80,
|
| 175 |
+
81,
|
| 176 |
+
82,
|
| 177 |
+
83,
|
| 178 |
+
84,
|
| 179 |
+
85,
|
| 180 |
+
86,
|
| 181 |
+
87,
|
| 182 |
+
88,
|
| 183 |
+
89,
|
| 184 |
+
90,
|
| 185 |
+
91,
|
| 186 |
+
92,
|
| 187 |
+
93,
|
| 188 |
+
94,
|
| 189 |
+
95,
|
| 190 |
+
96,
|
| 191 |
+
97,
|
| 192 |
+
98,
|
| 193 |
+
99
|
| 194 |
+
],
|
| 195 |
+
"train_episodes": [
|
| 196 |
+
0,
|
| 197 |
+
1,
|
| 198 |
+
2,
|
| 199 |
+
3,
|
| 200 |
+
4,
|
| 201 |
+
5,
|
| 202 |
+
6,
|
| 203 |
+
7,
|
| 204 |
+
8,
|
| 205 |
+
9,
|
| 206 |
+
10,
|
| 207 |
+
11,
|
| 208 |
+
12,
|
| 209 |
+
13,
|
| 210 |
+
14,
|
| 211 |
+
15,
|
| 212 |
+
16,
|
| 213 |
+
17,
|
| 214 |
+
18,
|
| 215 |
+
19,
|
| 216 |
+
20,
|
| 217 |
+
21,
|
| 218 |
+
22,
|
| 219 |
+
23,
|
| 220 |
+
24,
|
| 221 |
+
25,
|
| 222 |
+
26,
|
| 223 |
+
27,
|
| 224 |
+
28,
|
| 225 |
+
29,
|
| 226 |
+
30,
|
| 227 |
+
31,
|
| 228 |
+
32,
|
| 229 |
+
33,
|
| 230 |
+
34,
|
| 231 |
+
35,
|
| 232 |
+
36,
|
| 233 |
+
37,
|
| 234 |
+
38,
|
| 235 |
+
39,
|
| 236 |
+
40,
|
| 237 |
+
41,
|
| 238 |
+
42,
|
| 239 |
+
43,
|
| 240 |
+
44,
|
| 241 |
+
45,
|
| 242 |
+
46,
|
| 243 |
+
47,
|
| 244 |
+
48,
|
| 245 |
+
49,
|
| 246 |
+
50,
|
| 247 |
+
51,
|
| 248 |
+
52,
|
| 249 |
+
53,
|
| 250 |
+
54,
|
| 251 |
+
55,
|
| 252 |
+
56,
|
| 253 |
+
57,
|
| 254 |
+
58,
|
| 255 |
+
59,
|
| 256 |
+
60,
|
| 257 |
+
61,
|
| 258 |
+
62,
|
| 259 |
+
63,
|
| 260 |
+
64,
|
| 261 |
+
65,
|
| 262 |
+
66,
|
| 263 |
+
67,
|
| 264 |
+
68,
|
| 265 |
+
69,
|
| 266 |
+
70,
|
| 267 |
+
71,
|
| 268 |
+
72,
|
| 269 |
+
73,
|
| 270 |
+
74,
|
| 271 |
+
75,
|
| 272 |
+
76,
|
| 273 |
+
77,
|
| 274 |
+
78,
|
| 275 |
+
79,
|
| 276 |
+
80,
|
| 277 |
+
81,
|
| 278 |
+
82,
|
| 279 |
+
83,
|
| 280 |
+
84,
|
| 281 |
+
85,
|
| 282 |
+
86,
|
| 283 |
+
87,
|
| 284 |
+
88,
|
| 285 |
+
89,
|
| 286 |
+
90,
|
| 287 |
+
91,
|
| 288 |
+
92,
|
| 289 |
+
93,
|
| 290 |
+
94,
|
| 291 |
+
95,
|
| 292 |
+
96,
|
| 293 |
+
97,
|
| 294 |
+
98,
|
| 295 |
+
99
|
| 296 |
+
],
|
| 297 |
+
"val_episodes": [],
|
| 298 |
+
"train_frames": 66850,
|
| 299 |
+
"git_commit": "69c6ae8351f490ff9ffb87a56e95b11c91bf2f55"
|
| 300 |
+
},
|
| 301 |
+
"training": {
|
| 302 |
+
"steps": 12000,
|
| 303 |
+
"batch_size": 512,
|
| 304 |
+
"lr": 0.0001,
|
| 305 |
+
"betas": [
|
| 306 |
+
0.95,
|
| 307 |
+
0.999
|
| 308 |
+
],
|
| 309 |
+
"weight_decay": 1e-06,
|
| 310 |
+
"warmup": 500,
|
| 311 |
+
"schedule": "diffusers_cosine",
|
| 312 |
+
"backbone_lr_scale": 1.0,
|
| 313 |
+
"ema": 0.9999,
|
| 314 |
+
"shift_px": 0,
|
| 315 |
+
"amp": true,
|
| 316 |
+
"seed": 42,
|
| 317 |
+
"augmentation": {
|
| 318 |
+
"spec": "docs/augmentation_v2.md",
|
| 319 |
+
"version": "hb-aug-v2-20261109",
|
| 320 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 321 |
+
"visual": {
|
| 322 |
+
"effects": [
|
| 323 |
+
"exposure",
|
| 324 |
+
"contrast",
|
| 325 |
+
"saturation",
|
| 326 |
+
"hue",
|
| 327 |
+
"gamma",
|
| 328 |
+
"temperature",
|
| 329 |
+
"rotation_crop",
|
| 330 |
+
"noise",
|
| 331 |
+
"gaussian_blur",
|
| 332 |
+
"jpeg",
|
| 333 |
+
"motion_blur",
|
| 334 |
+
"sharpen",
|
| 335 |
+
"defocus",
|
| 336 |
+
"light_shadow",
|
| 337 |
+
"wb_channel"
|
| 338 |
+
],
|
| 339 |
+
"boosted_per_sample": 1,
|
| 340 |
+
"boost": 1.5,
|
| 341 |
+
"pixel_scale": "H / 224",
|
| 342 |
+
"future_targets": "none (one observation frame)"
|
| 343 |
+
},
|
| 344 |
+
"proprio": {
|
| 345 |
+
"robot": "h2_sharpa",
|
| 346 |
+
"body_dims": 31,
|
| 347 |
+
"bias_deg": 2.0,
|
| 348 |
+
"bias_scope": "per_sample",
|
| 349 |
+
"noise_deg": 0.25,
|
| 350 |
+
"noise_clip_sigma": 3,
|
| 351 |
+
"delay_probability": 0.0,
|
| 352 |
+
"history_drop_probability": 0.0,
|
| 353 |
+
"velocity": false
|
| 354 |
+
},
|
| 355 |
+
"native_image_augmentation": "off",
|
| 356 |
+
"evaluation": "off"
|
| 357 |
+
},
|
| 358 |
+
"preflight": {
|
| 359 |
+
"samples": 64,
|
| 360 |
+
"state_dim": 78,
|
| 361 |
+
"body_dims": 31,
|
| 362 |
+
"images_changed": 64,
|
| 363 |
+
"body_values_moved": 1.0,
|
| 364 |
+
"max_body_offset_deg": 2.5208,
|
| 365 |
+
"actions_bit_identical": true,
|
| 366 |
+
"non_body_state_bit_identical": true,
|
| 367 |
+
"eval_items_deterministic": 8
|
| 368 |
+
},
|
| 369 |
+
"aug_seed": 42,
|
| 370 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 371 |
+
"layout": {
|
| 372 |
+
"nodes": 1,
|
| 373 |
+
"gpus": 1,
|
| 374 |
+
"per_gpu_batch": 512,
|
| 375 |
+
"global_batch": 512,
|
| 376 |
+
"gradient_accumulation": 1,
|
| 377 |
+
"num_workers": 40,
|
| 378 |
+
"prefetch": 2
|
| 379 |
+
},
|
| 380 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 381 |
+
"inloop": {
|
| 382 |
+
"task": "a18cr2",
|
| 383 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 384 |
+
"every": 250,
|
| 385 |
+
"exception": null
|
| 386 |
+
}
|
| 387 |
+
},
|
| 388 |
+
"stats": {
|
| 389 |
+
"state": {
|
| 390 |
+
"min": [
|
| 391 |
+
-0.12583781778812408,
|
| 392 |
+
-0.03233915567398071,
|
| 393 |
+
-0.12766100466251373,
|
| 394 |
+
0.12355858832597733,
|
| 395 |
+
-0.06983537971973419,
|
| 396 |
+
-0.25010767579078674,
|
| 397 |
+
-0.12295906990766525,
|
| 398 |
+
-0.13229477405548096,
|
| 399 |
+
-0.1533408761024475,
|
| 400 |
+
0.14615534245967865,
|
| 401 |
+
-0.03606459125876427,
|
| 402 |
+
-0.21855871379375458,
|
| 403 |
+
-0.05953621491789818,
|
| 404 |
+
-0.11040446907281876,
|
| 405 |
+
-0.01577889733016491,
|
| 406 |
+
0.05845891311764717,
|
| 407 |
+
0.025421474128961563,
|
| 408 |
+
-0.3774237632751465,
|
| 409 |
+
0.9427529573440552,
|
| 410 |
+
-0.1936495453119278,
|
| 411 |
+
-0.12422491610050201,
|
| 412 |
+
0.00011441537935752422,
|
| 413 |
+
-0.740268349647522,
|
| 414 |
+
-0.3696679174900055,
|
| 415 |
+
-0.6199629902839661,
|
| 416 |
+
-0.4936543107032776,
|
| 417 |
+
-0.09027265757322311,
|
| 418 |
+
-0.1852821260690689,
|
| 419 |
+
-0.9950985908508301,
|
| 420 |
+
0.00010179156379308552,
|
| 421 |
+
-0.27579498291015625,
|
| 422 |
+
2.4212911853283003e-07,
|
| 423 |
+
1.991089675357216e-07,
|
| 424 |
+
-2.484825699866633e-06,
|
| 425 |
+
1.5511126605360914e-07,
|
| 426 |
+
-0.07711441069841385,
|
| 427 |
+
-0.0014401556691154838,
|
| 428 |
+
-0.001440082211047411,
|
| 429 |
+
1.1005147371179191e-07,
|
| 430 |
+
-0.0014395025791600347,
|
| 431 |
+
-0.15826088190078735,
|
| 432 |
+
4.014998822299276e-08,
|
| 433 |
+
3.3918841069180417e-08,
|
| 434 |
+
-0.0014388926792889833,
|
| 435 |
+
2.7533292978887403e-08,
|
| 436 |
+
-0.06904831528663635,
|
| 437 |
+
6.039757582954053e-09,
|
| 438 |
+
5.286712401186833e-09,
|
| 439 |
+
2.0993500271515586e-08,
|
| 440 |
+
4.5118535574317775e-09,
|
| 441 |
+
-0.04190514609217644,
|
| 442 |
+
3.7183456313982788e-09,
|
| 443 |
+
-0.0002550320641603321,
|
| 444 |
+
-0.0012902324087917805,
|
| 445 |
+
-0.011018202640116215,
|
| 446 |
+
-1.4729690747117274e-06,
|
| 447 |
+
-0.008869198150932789,
|
| 448 |
+
-0.0010071652941405773,
|
| 449 |
+
-0.07318796217441559,
|
| 450 |
+
-0.14104261994361877,
|
| 451 |
+
-0.006404141429811716,
|
| 452 |
+
-0.012594389729201794,
|
| 453 |
+
-0.2601270377635956,
|
| 454 |
+
-0.005105330143123865,
|
| 455 |
+
-0.0029860667418688536,
|
| 456 |
+
-0.000577878556214273,
|
| 457 |
+
-0.004302919376641512,
|
| 458 |
+
-0.003525838255882263,
|
| 459 |
+
-0.0016964594833552837,
|
| 460 |
+
-0.0017751255072653294,
|
| 461 |
+
-0.004758988507091999,
|
| 462 |
+
1.0182914067513593e-08,
|
| 463 |
+
-0.01523496862500906,
|
| 464 |
+
-0.0019727651961147785,
|
| 465 |
+
-0.0021971184760332108,
|
| 466 |
+
-0.08454640954732895,
|
| 467 |
+
-0.09836447238922119,
|
| 468 |
+
-1.0
|
| 469 |
+
],
|
| 470 |
+
"max": [
|
| 471 |
+
0.035650208592414856,
|
| 472 |
+
0.10629415512084961,
|
| 473 |
+
0.17557011544704437,
|
| 474 |
+
0.32769498229026794,
|
| 475 |
+
0.0809067115187645,
|
| 476 |
+
-0.03284743055701256,
|
| 477 |
+
0.04188062623143196,
|
| 478 |
+
-1.1926664228667505e-05,
|
| 479 |
+
0.22258582711219788,
|
| 480 |
+
0.31865113973617554,
|
| 481 |
+
0.03910355642437935,
|
| 482 |
+
-0.08754467964172363,
|
| 483 |
+
0.06784578412771225,
|
| 484 |
+
0.030363162979483604,
|
| 485 |
+
0.0996260941028595,
|
| 486 |
+
0.24996721744537354,
|
| 487 |
+
0.14023271203041077,
|
| 488 |
+
0.24500703811645508,
|
| 489 |
+
1.1965162754058838,
|
| 490 |
+
0.19641946256160736,
|
| 491 |
+
0.30692338943481445,
|
| 492 |
+
0.26775699853897095,
|
| 493 |
+
0.6624637246131897,
|
| 494 |
+
0.2643685042858124,
|
| 495 |
+
0.4765041768550873,
|
| 496 |
+
1.14264714717865,
|
| 497 |
+
1.9407533407211304,
|
| 498 |
+
0.4451823830604553,
|
| 499 |
+
0.7307088375091553,
|
| 500 |
+
0.681303858757019,
|
| 501 |
+
0.12099187821149826,
|
| 502 |
+
0.001787454355508089,
|
| 503 |
+
0.0017886327113956213,
|
| 504 |
+
0.0001129926458816044,
|
| 505 |
+
0.00179005297832191,
|
| 506 |
+
0.07618467509746552,
|
| 507 |
+
-1.8496356233299593e-06,
|
| 508 |
+
-1.9247966065449873e-06,
|
| 509 |
+
0.0017915134085342288,
|
| 510 |
+
-1.7791824120649835e-06,
|
| 511 |
+
-0.00012538964801933616,
|
| 512 |
+
0.000348125264281407,
|
| 513 |
+
0.00034833172685466707,
|
| 514 |
+
-1.6332217001036042e-06,
|
| 515 |
+
0.0003485499764792621,
|
| 516 |
+
0.0031303067225962877,
|
| 517 |
+
6.412907532649115e-05,
|
| 518 |
+
6.415732786990702e-05,
|
| 519 |
+
0.0003487732319626957,
|
| 520 |
+
6.418681005015969e-05,
|
| 521 |
+
0.04411711171269417,
|
| 522 |
+
6.421708530979231e-05,
|
| 523 |
+
0.00032537104561924934,
|
| 524 |
+
0.38441139459609985,
|
| 525 |
+
0.7239343523979187,
|
| 526 |
+
0.041639670729637146,
|
| 527 |
+
0.6621608734130859,
|
| 528 |
+
0.7537572383880615,
|
| 529 |
+
0.01115428563207388,
|
| 530 |
+
0.003058104310184717,
|
| 531 |
+
0.5719240307807922,
|
| 532 |
+
0.0017499510431662202,
|
| 533 |
+
-7.032280700514093e-05,
|
| 534 |
+
1.7279481887817383,
|
| 535 |
+
1.6268699169158936,
|
| 536 |
+
0.14201073348522186,
|
| 537 |
+
1.5546116828918457,
|
| 538 |
+
0.5081002116203308,
|
| 539 |
+
1.247889518737793,
|
| 540 |
+
1.182234525680542,
|
| 541 |
+
1.7133269309997559,
|
| 542 |
+
0.27388203144073486,
|
| 543 |
+
0.014611090533435345,
|
| 544 |
+
0.9894230365753174,
|
| 545 |
+
0.8894627094268799,
|
| 546 |
+
0.00796288251876831,
|
| 547 |
+
0.036943208426237106,
|
| 548 |
+
-0.9915630221366882
|
| 549 |
+
],
|
| 550 |
+
"mean": [
|
| 551 |
+
-0.027299314132985846,
|
| 552 |
+
0.03502118525704448,
|
| 553 |
+
0.03100102852613158,
|
| 554 |
+
0.16613604310373362,
|
| 555 |
+
0.03438473718457337,
|
| 556 |
+
-0.12577591872585292,
|
| 557 |
+
-0.022502549316812996,
|
| 558 |
+
-0.02981686126067347,
|
| 559 |
+
0.015664867994994617,
|
| 560 |
+
0.204237678419233,
|
| 561 |
+
-0.002438673615912003,
|
| 562 |
+
-0.15014619411787794,
|
| 563 |
+
0.008272607317332287,
|
| 564 |
+
-0.014616087768575915,
|
| 565 |
+
0.03146748760076169,
|
| 566 |
+
0.14498334405644223,
|
| 567 |
+
0.08285774466001394,
|
| 568 |
+
-0.04922966991650978,
|
| 569 |
+
1.052811198806085,
|
| 570 |
+
-0.0003846764916377304,
|
| 571 |
+
0.11435445146216659,
|
| 572 |
+
0.11888704429538087,
|
| 573 |
+
-0.21785689209087752,
|
| 574 |
+
-0.04526715684811122,
|
| 575 |
+
-0.06827008329125593,
|
| 576 |
+
0.2679784969711736,
|
| 577 |
+
0.8951559524269673,
|
| 578 |
+
0.18325850527834447,
|
| 579 |
+
-0.2133016885598721,
|
| 580 |
+
0.5227057486332239,
|
| 581 |
+
-0.00867393307752262,
|
| 582 |
+
0.0011903525193419418,
|
| 583 |
+
0.0011900418411051232,
|
| 584 |
+
1.3744018852459791e-05,
|
| 585 |
+
0.0011899249339944685,
|
| 586 |
+
0.009631297507814374,
|
| 587 |
+
-0.0008670994497552636,
|
| 588 |
+
-0.0008672947037940682,
|
| 589 |
+
0.001189942699092948,
|
| 590 |
+
-0.0008662319235491903,
|
| 591 |
+
-0.09532405562396636,
|
| 592 |
+
0.00023694312429899163,
|
| 593 |
+
0.0002369377365150326,
|
| 594 |
+
-0.0008651697040884193,
|
| 595 |
+
0.00023693407247431068,
|
| 596 |
+
-0.010153125290915749,
|
| 597 |
+
4.4551195215611404e-05,
|
| 598 |
+
4.455056288244535e-05,
|
| 599 |
+
0.00023692849760654185,
|
| 600 |
+
4.455002101950541e-05,
|
| 601 |
+
0.0005994711605109827,
|
| 602 |
+
4.4549246789901255e-05,
|
| 603 |
+
2.5255336256103658e-05,
|
| 604 |
+
0.20063986066823414,
|
| 605 |
+
0.39453019920156807,
|
| 606 |
+
0.021642633469215435,
|
| 607 |
+
0.37756121257027736,
|
| 608 |
+
0.41835060696171633,
|
| 609 |
+
-0.02677748931363549,
|
| 610 |
+
-0.0767376752316338,
|
| 611 |
+
0.3158241578859499,
|
| 612 |
+
-0.004371555788508684,
|
| 613 |
+
-0.17732113780997097,
|
| 614 |
+
0.9738692216852287,
|
| 615 |
+
0.9352876523890826,
|
| 616 |
+
0.08735726361558913,
|
| 617 |
+
0.9003499899665927,
|
| 618 |
+
0.2674597784943702,
|
| 619 |
+
0.7129700967059142,
|
| 620 |
+
0.6785907389851383,
|
| 621 |
+
0.9862055464783247,
|
| 622 |
+
0.15895242961523828,
|
| 623 |
+
-0.003946556718442643,
|
| 624 |
+
0.572140311022144,
|
| 625 |
+
0.47994362783102723,
|
| 626 |
+
-0.023780074118937684,
|
| 627 |
+
-0.010027226004839414,
|
| 628 |
+
-0.9995057580501354
|
| 629 |
+
],
|
| 630 |
+
"std": [
|
| 631 |
+
0.03564172327250631,
|
| 632 |
+
0.01791832823561853,
|
| 633 |
+
0.03855816049999887,
|
| 634 |
+
0.03397291557420541,
|
| 635 |
+
0.022713257399330597,
|
| 636 |
+
0.01728797856190988,
|
| 637 |
+
0.03284158309112527,
|
| 638 |
+
0.017189178717457138,
|
| 639 |
+
0.05321919014845919,
|
| 640 |
+
0.0263137624808381,
|
| 641 |
+
0.011697035013979123,
|
| 642 |
+
0.015430167927535819,
|
| 643 |
+
0.018743646160322976,
|
| 644 |
+
0.012872016708839123,
|
| 645 |
+
0.02176294714867896,
|
| 646 |
+
0.034365092651105815,
|
| 647 |
+
0.017602363475115363,
|
| 648 |
+
0.1176684950830969,
|
| 649 |
+
0.04596510304378348,
|
| 650 |
+
0.05561679637942415,
|
| 651 |
+
0.09595170466764798,
|
| 652 |
+
0.06368600150971765,
|
| 653 |
+
0.35357612833473884,
|
| 654 |
+
0.10000879451814994,
|
| 655 |
+
0.23899944098984566,
|
| 656 |
+
0.4636814760896756,
|
| 657 |
+
0.5773448170178002,
|
| 658 |
+
0.17065926569228126,
|
| 659 |
+
0.3406379763442289,
|
| 660 |
+
0.23635163884984306,
|
| 661 |
+
0.10408614565881567,
|
| 662 |
+
0.0003766895919760071,
|
| 663 |
+
0.00037667385238766566,
|
| 664 |
+
2.0943454681919047e-05,
|
| 665 |
+
0.0003766522215170394,
|
| 666 |
+
0.024747470857055837,
|
| 667 |
+
0.0003813070935294781,
|
| 668 |
+
0.0003809286752628758,
|
| 669 |
+
0.00037665642504664687,
|
| 670 |
+
0.00038136421491826843,
|
| 671 |
+
0.01209491713676294,
|
| 672 |
+
7.69887884951569e-05,
|
| 673 |
+
7.698764529715561e-05,
|
| 674 |
+
0.00038168123507563775,
|
| 675 |
+
7.698799643739872e-05,
|
| 676 |
+
0.013209278968477425,
|
| 677 |
+
1.4927250618955172e-05,
|
| 678 |
+
1.4926968397842197e-05,
|
| 679 |
+
7.698734713838614e-05,
|
| 680 |
+
1.4926838997103143e-05,
|
| 681 |
+
0.008573914122227421,
|
| 682 |
+
1.4926564591999636e-05,
|
| 683 |
+
3.794634823442163e-05,
|
| 684 |
+
0.16025897083269225,
|
| 685 |
+
0.31994470378986223,
|
| 686 |
+
0.014540928253847304,
|
| 687 |
+
0.3069716845567673,
|
| 688 |
+
0.3498947410492231,
|
| 689 |
+
0.021697346625713036,
|
| 690 |
+
0.05449526509450836,
|
| 691 |
+
0.25693235382210217,
|
| 692 |
+
0.003981103962417204,
|
| 693 |
+
0.07617284883393763,
|
| 694 |
+
0.7627375717253893,
|
| 695 |
+
0.725618983667107,
|
| 696 |
+
0.060256511828613926,
|
| 697 |
+
0.7178305940018536,
|
| 698 |
+
0.23909690333304248,
|
| 699 |
+
0.5619280609808217,
|
| 700 |
+
0.5340338828462216,
|
| 701 |
+
0.7808440073437246,
|
| 702 |
+
0.1260922880259026,
|
| 703 |
+
0.005126074471953189,
|
| 704 |
+
0.4512728759686329,
|
| 705 |
+
0.429965625511154,
|
| 706 |
+
0.014949366301484262,
|
| 707 |
+
0.00992555400143169,
|
| 708 |
+
0.00044978008437642386
|
| 709 |
+
]
|
| 710 |
+
},
|
| 711 |
+
"action": {
|
| 712 |
+
"min": [
|
| 713 |
+
-0.1784663051366806,
|
| 714 |
+
-0.13318756222724915,
|
| 715 |
+
-0.1307600885629654,
|
| 716 |
+
0.0,
|
| 717 |
+
-0.05743294209241867,
|
| 718 |
+
-0.3024138808250427,
|
| 719 |
+
-0.12985824048519135,
|
| 720 |
+
-0.266737699508667,
|
| 721 |
+
-0.15798582136631012,
|
| 722 |
+
0.0,
|
| 723 |
+
-0.0613182857632637,
|
| 724 |
+
-0.4162753224372864,
|
| 725 |
+
-0.06568841636180878,
|
| 726 |
+
-0.21089573204517365,
|
| 727 |
+
-0.046035848557949066,
|
| 728 |
+
0.0,
|
| 729 |
+
0.0,
|
| 730 |
+
-0.40408286452293396,
|
| 731 |
+
0.0,
|
| 732 |
+
-0.19912302494049072,
|
| 733 |
+
-0.156949982047081,
|
| 734 |
+
0.0,
|
| 735 |
+
-0.7415577173233032,
|
| 736 |
+
-0.37339621782302856,
|
| 737 |
+
-0.6357685327529907,
|
| 738 |
+
-0.4724564254283905,
|
| 739 |
+
-0.1029481366276741,
|
| 740 |
+
-0.1933467984199524,
|
| 741 |
+
-0.99897301197052,
|
| 742 |
+
0.0,
|
| 743 |
+
-0.2813774645328522,
|
| 744 |
+
0.0,
|
| 745 |
+
0.0,
|
| 746 |
+
0.0,
|
| 747 |
+
0.0,
|
| 748 |
+
0.0,
|
| 749 |
+
0.0,
|
| 750 |
+
0.0,
|
| 751 |
+
0.0,
|
| 752 |
+
0.0,
|
| 753 |
+
0.0,
|
| 754 |
+
0.0,
|
| 755 |
+
0.0,
|
| 756 |
+
0.0,
|
| 757 |
+
0.0,
|
| 758 |
+
0.0,
|
| 759 |
+
0.0,
|
| 760 |
+
0.0,
|
| 761 |
+
0.0,
|
| 762 |
+
0.0,
|
| 763 |
+
0.0,
|
| 764 |
+
0.0,
|
| 765 |
+
0.0,
|
| 766 |
+
0.0,
|
| 767 |
+
0.0,
|
| 768 |
+
0.0,
|
| 769 |
+
0.0,
|
| 770 |
+
0.0,
|
| 771 |
+
0.0,
|
| 772 |
+
-0.2870999872684479,
|
| 773 |
+
0.0,
|
| 774 |
+
-0.01590000092983246,
|
| 775 |
+
-0.17630000412464142,
|
| 776 |
+
0.0,
|
| 777 |
+
0.0,
|
| 778 |
+
0.0,
|
| 779 |
+
0.0,
|
| 780 |
+
0.0,
|
| 781 |
+
0.0,
|
| 782 |
+
0.0,
|
| 783 |
+
0.0,
|
| 784 |
+
0.0,
|
| 785 |
+
-0.006200000178068876,
|
| 786 |
+
0.0,
|
| 787 |
+
0.0
|
| 788 |
+
],
|
| 789 |
+
"max": [
|
| 790 |
+
0.041423577815294266,
|
| 791 |
+
0.24960044026374817,
|
| 792 |
+
0.17349489033222198,
|
| 793 |
+
0.3818897604942322,
|
| 794 |
+
0.09517528861761093,
|
| 795 |
+
0.33370673656463623,
|
| 796 |
+
0.08997327834367752,
|
| 797 |
+
0.1119127869606018,
|
| 798 |
+
0.2282232642173767,
|
| 799 |
+
0.3609016537666321,
|
| 800 |
+
0.020472919568419456,
|
| 801 |
+
0.19194680452346802,
|
| 802 |
+
0.0703074038028717,
|
| 803 |
+
0.03390442579984665,
|
| 804 |
+
0.16752633452415466,
|
| 805 |
+
0.2617945075035095,
|
| 806 |
+
0.21634480357170105,
|
| 807 |
+
0.2762379050254822,
|
| 808 |
+
1.1804041862487793,
|
| 809 |
+
0.20910896360874176,
|
| 810 |
+
0.33972981572151184,
|
| 811 |
+
0.28348755836486816,
|
| 812 |
+
0.5959668159484863,
|
| 813 |
+
0.2778860032558441,
|
| 814 |
+
0.4788244366645813,
|
| 815 |
+
1.1417303085327148,
|
| 816 |
+
1.9401861429214478,
|
| 817 |
+
0.4363322854042053,
|
| 818 |
+
0.737479031085968,
|
| 819 |
+
0.6173598170280457,
|
| 820 |
+
0.12206494063138962,
|
| 821 |
+
0.0,
|
| 822 |
+
0.0,
|
| 823 |
+
0.0,
|
| 824 |
+
0.0,
|
| 825 |
+
0.0,
|
| 826 |
+
0.0,
|
| 827 |
+
0.0,
|
| 828 |
+
0.0,
|
| 829 |
+
0.0,
|
| 830 |
+
0.0,
|
| 831 |
+
0.0,
|
| 832 |
+
0.0,
|
| 833 |
+
0.0,
|
| 834 |
+
0.0,
|
| 835 |
+
0.0,
|
| 836 |
+
0.0,
|
| 837 |
+
0.0,
|
| 838 |
+
0.0,
|
| 839 |
+
0.0,
|
| 840 |
+
0.0,
|
| 841 |
+
0.0,
|
| 842 |
+
0.0,
|
| 843 |
+
0.3626999855041504,
|
| 844 |
+
0.777400016784668,
|
| 845 |
+
0.04019999876618385,
|
| 846 |
+
0.6610000133514404,
|
| 847 |
+
0.7699999809265137,
|
| 848 |
+
0.07270000129938126,
|
| 849 |
+
0.0,
|
| 850 |
+
0.5733000040054321,
|
| 851 |
+
0.0,
|
| 852 |
+
0.0,
|
| 853 |
+
1.745300054550171,
|
| 854 |
+
1.745300054550171,
|
| 855 |
+
0.12300000339746475,
|
| 856 |
+
1.5556999444961548,
|
| 857 |
+
0.5410000085830688,
|
| 858 |
+
1.2592999935150146,
|
| 859 |
+
1.2130999565124512,
|
| 860 |
+
1.745300054550171,
|
| 861 |
+
0.27469998598098755,
|
| 862 |
+
0.0,
|
| 863 |
+
1.0023000240325928,
|
| 864 |
+
0.8996000289916992
|
| 865 |
+
],
|
| 866 |
+
"mean": [
|
| 867 |
+
-0.03915027158851709,
|
| 868 |
+
0.041798695985307284,
|
| 869 |
+
0.031142753381219936,
|
| 870 |
+
0.16082399759750893,
|
| 871 |
+
0.051418053530562696,
|
| 872 |
+
-0.15212109962025247,
|
| 873 |
+
-0.008473993662599044,
|
| 874 |
+
-0.024333539499570046,
|
| 875 |
+
0.016388625621048106,
|
| 876 |
+
0.22511315863013892,
|
| 877 |
+
-0.025490226046553127,
|
| 878 |
+
-0.03298149929822268,
|
| 879 |
+
0.009544487190767226,
|
| 880 |
+
-0.0507607624751253,
|
| 881 |
+
0.035238015547481634,
|
| 882 |
+
0.14339655689772557,
|
| 883 |
+
0.11653374008990396,
|
| 884 |
+
-0.04866296844496732,
|
| 885 |
+
0.9892958045308948,
|
| 886 |
+
0.004534672408143486,
|
| 887 |
+
0.09968768553222704,
|
| 888 |
+
0.12222258854262634,
|
| 889 |
+
-0.21161511438028,
|
| 890 |
+
-0.04689023419493438,
|
| 891 |
+
-0.06461094893431682,
|
| 892 |
+
0.2604158884226581,
|
| 893 |
+
0.8931353269555453,
|
| 894 |
+
0.18261436535072875,
|
| 895 |
+
-0.21068947147093564,
|
| 896 |
+
0.484797646327358,
|
| 897 |
+
-0.008713774209257742,
|
| 898 |
+
0.0,
|
| 899 |
+
0.0,
|
| 900 |
+
0.0,
|
| 901 |
+
0.0,
|
| 902 |
+
0.0,
|
| 903 |
+
0.0,
|
| 904 |
+
0.0,
|
| 905 |
+
0.0,
|
| 906 |
+
0.0,
|
| 907 |
+
0.0,
|
| 908 |
+
0.0,
|
| 909 |
+
0.0,
|
| 910 |
+
0.0,
|
| 911 |
+
0.0,
|
| 912 |
+
0.0,
|
| 913 |
+
0.0,
|
| 914 |
+
0.0,
|
| 915 |
+
0.0,
|
| 916 |
+
0.0,
|
| 917 |
+
0.0,
|
| 918 |
+
0.0,
|
| 919 |
+
0.0,
|
| 920 |
+
0.20526771472389418,
|
| 921 |
+
0.4470283264267918,
|
| 922 |
+
0.02411653931183433,
|
| 923 |
+
0.37916715661908174,
|
| 924 |
+
0.42093950027703936,
|
| 925 |
+
0.047333192494126666,
|
| 926 |
+
-0.18692377974541982,
|
| 927 |
+
0.3280395560384697,
|
| 928 |
+
-0.010352101630720843,
|
| 929 |
+
-0.1147846200617952,
|
| 930 |
+
1.0202862817115708,
|
| 931 |
+
1.0228963021122806,
|
| 932 |
+
0.0800822933937967,
|
| 933 |
+
0.9014555564774542,
|
| 934 |
+
0.29319758588405,
|
| 935 |
+
0.7348336099462863,
|
| 936 |
+
0.7079068065545167,
|
| 937 |
+
1.0145611862124293,
|
| 938 |
+
0.1608308564825218,
|
| 939 |
+
-0.0040366684489894274,
|
| 940 |
+
0.5850152348853517,
|
| 941 |
+
0.49027914795245864
|
| 942 |
+
],
|
| 943 |
+
"std": [
|
| 944 |
+
0.04093795777149919,
|
| 945 |
+
0.037024461352442334,
|
| 946 |
+
0.03900465972156236,
|
| 947 |
+
0.047101798285536074,
|
| 948 |
+
0.026935657924288075,
|
| 949 |
+
0.05626555432265536,
|
| 950 |
+
0.04267144721347996,
|
| 951 |
+
0.03333504254848674,
|
| 952 |
+
0.054555676253345106,
|
| 953 |
+
0.03382845217831349,
|
| 954 |
+
0.013084019245591928,
|
| 955 |
+
0.07339846349618599,
|
| 956 |
+
0.015648795919696874,
|
| 957 |
+
0.03649498917967855,
|
| 958 |
+
0.03141421359595501,
|
| 959 |
+
0.051302578129439606,
|
| 960 |
+
0.01862269735310515,
|
| 961 |
+
0.12168237133956654,
|
| 962 |
+
0.0836412926009975,
|
| 963 |
+
0.05608500641521471,
|
| 964 |
+
0.1064735073172025,
|
| 965 |
+
0.07222603249530614,
|
| 966 |
+
0.3574849129757724,
|
| 967 |
+
0.09978852551431328,
|
| 968 |
+
0.23952434390872934,
|
| 969 |
+
0.44895305770637045,
|
| 970 |
+
0.5780964898970155,
|
| 971 |
+
0.1756179850327701,
|
| 972 |
+
0.3452238254144235,
|
| 973 |
+
0.21978821914137392,
|
| 974 |
+
0.10528946181002134,
|
| 975 |
+
0.0,
|
| 976 |
+
0.0,
|
| 977 |
+
0.0,
|
| 978 |
+
0.0,
|
| 979 |
+
0.0,
|
| 980 |
+
0.0,
|
| 981 |
+
0.0,
|
| 982 |
+
0.0,
|
| 983 |
+
0.0,
|
| 984 |
+
0.0,
|
| 985 |
+
0.0,
|
| 986 |
+
0.0,
|
| 987 |
+
0.0,
|
| 988 |
+
0.0,
|
| 989 |
+
0.0,
|
| 990 |
+
0.0,
|
| 991 |
+
0.0,
|
| 992 |
+
0.0,
|
| 993 |
+
0.0,
|
| 994 |
+
0.0,
|
| 995 |
+
0.0,
|
| 996 |
+
0.0,
|
| 997 |
+
0.16899087507839172,
|
| 998 |
+
0.36061269807519125,
|
| 999 |
+
0.018346050512407827,
|
| 1000 |
+
0.3067678379125852,
|
| 1001 |
+
0.37916464886435025,
|
| 1002 |
+
0.03371227909206793,
|
| 1003 |
+
0.13313335278828217,
|
| 1004 |
+
0.26621827690365046,
|
| 1005 |
+
0.007373112223379239,
|
| 1006 |
+
0.08175343654569882,
|
| 1007 |
+
0.8066954888400839,
|
| 1008 |
+
0.8053910953672813,
|
| 1009 |
+
0.05703728154338706,
|
| 1010 |
+
0.7205423072557381,
|
| 1011 |
+
0.26502718107487067,
|
| 1012 |
+
0.5829912699322716,
|
| 1013 |
+
0.5615860233728246,
|
| 1014 |
+
0.8082091676938215,
|
| 1015 |
+
0.1268958217964043,
|
| 1016 |
+
0.002875049966023487,
|
| 1017 |
+
0.46393539497497377,
|
| 1018 |
+
0.4403587818325293
|
| 1019 |
+
]
|
| 1020 |
+
}
|
| 1021 |
+
},
|
| 1022 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
|
| 1023 |
+
"step": 8000,
|
| 1024 |
+
"weights": "ema",
|
| 1025 |
+
"offline_eval": {
|
| 1026 |
+
"mse": 0.006035998929291964,
|
| 1027 |
+
"mse_row0": 0.0050738416612148285,
|
| 1028 |
+
"mse_body_target": 0.006411456037312746,
|
| 1029 |
+
"mse_hands": 0.005771471653133631,
|
| 1030 |
+
"samples": 256,
|
| 1031 |
+
"frames": "train"
|
| 1032 |
+
},
|
| 1033 |
+
"format": "hb_baselines/1"
|
| 1034 |
+
}
|
a18-pour-water/b512-2cam-cropped-v2/step-008000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6b6deee5ac4d558d93fc2e044987f4c4f0789fe9e80bbf47d69c7615c884b5d
|
| 3 |
+
size 170846077
|
a18-pour-water/b512-2cam-cropped-v2/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": 19501,
|
| 8 |
+
"sha256": "660dd9456fe27e98b755dc93f8af3a3782ab25e6efec32ea93ae884aa20be8da"
|
| 9 |
+
},
|
| 10 |
+
"model.pt": {
|
| 11 |
+
"bytes": 170846077,
|
| 12 |
+
"sha256": "b6b6deee5ac4d558d93fc2e044987f4c4f0789fe9e80bbf47d69c7615c884b5d"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"task_dir": "a18-pour-water",
|
| 16 |
+
"training_data": "a18-pour-water @44cdd571, all episodes (A800 FLASH pool 2026-11-25)",
|
| 17 |
+
"episodes": 100,
|
| 18 |
+
"frames": 66850,
|
| 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": 78,
|
| 33 |
+
"action_dim": 75,
|
| 34 |
+
"cameras": [
|
| 35 |
+
"head",
|
| 36 |
+
"chest"
|
| 37 |
+
],
|
| 38 |
+
"contract": "h2_sharpa",
|
| 39 |
+
"image_hw": [
|
| 40 |
+
168,
|
| 41 |
+
224
|
| 42 |
+
],
|
| 43 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 44 |
+
"inloop_mse": {
|
| 45 |
+
"task": "a18cr2",
|
| 46 |
+
"split": "train10",
|
| 47 |
+
"every": 250,
|
| 48 |
+
"seed": 1234,
|
| 49 |
+
"weights": "ema",
|
| 50 |
+
"nmse_at_this_step": 0.1068,
|
| 51 |
+
"curve": {
|
| 52 |
+
"250": 0.3245,
|
| 53 |
+
"500": 0.2881,
|
| 54 |
+
"750": 0.2402,
|
| 55 |
+
"1000": 0.211,
|
| 56 |
+
"1250": 0.1998,
|
| 57 |
+
"1500": 0.1897,
|
| 58 |
+
"1750": 0.1774,
|
| 59 |
+
"2000": 0.1662,
|
| 60 |
+
"2250": 0.1579,
|
| 61 |
+
"2500": 0.1514,
|
| 62 |
+
"2750": 0.1462,
|
| 63 |
+
"3000": 0.141,
|
| 64 |
+
"3250": 0.1375,
|
| 65 |
+
"3500": 0.1344,
|
| 66 |
+
"3750": 0.1318,
|
| 67 |
+
"4000": 0.1293,
|
| 68 |
+
"4250": 0.1272,
|
| 69 |
+
"4500": 0.1254,
|
| 70 |
+
"4750": 0.1237,
|
| 71 |
+
"5000": 0.1221,
|
| 72 |
+
"5250": 0.1207,
|
| 73 |
+
"5500": 0.1192,
|
| 74 |
+
"5750": 0.1179,
|
| 75 |
+
"6000": 0.1165,
|
| 76 |
+
"6250": 0.1152,
|
| 77 |
+
"6500": 0.1142,
|
| 78 |
+
"6750": 0.1129,
|
| 79 |
+
"7000": 0.1116,
|
| 80 |
+
"7250": 0.1104,
|
| 81 |
+
"7500": 0.1093,
|
| 82 |
+
"7750": 0.1079,
|
| 83 |
+
"8000": 0.1068,
|
| 84 |
+
"8250": 0.1056,
|
| 85 |
+
"8500": 0.1046,
|
| 86 |
+
"8750": 0.1043,
|
| 87 |
+
"9000": 0.1045,
|
| 88 |
+
"9250": 0.1047,
|
| 89 |
+
"9500": 0.106,
|
| 90 |
+
"9750": 0.1073,
|
| 91 |
+
"10000": 0.109,
|
| 92 |
+
"10250": 0.1104,
|
| 93 |
+
"10500": 0.1118,
|
| 94 |
+
"10750": 0.1129,
|
| 95 |
+
"11000": 0.1137,
|
| 96 |
+
"11250": 0.1144,
|
| 97 |
+
"11500": 0.1151,
|
| 98 |
+
"11750": 0.1156,
|
| 99 |
+
"12000": 0.1161
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"seed": 42,
|
| 103 |
+
"reproducibility": {
|
| 104 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 105 |
+
"protocol_commit": "9cd4b974",
|
| 106 |
+
"training_seed": 42,
|
| 107 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 108 |
+
"training_seed_verified_from_run_files": true,
|
| 109 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 110 |
+
"inloop_mse_seed": 1234,
|
| 111 |
+
"layout": {
|
| 112 |
+
"nodes": 1,
|
| 113 |
+
"gpus_per_node": 1,
|
| 114 |
+
"per_gpu_batch": 512,
|
| 115 |
+
"global_batch": 512,
|
| 116 |
+
"gradient_accumulation": 1,
|
| 117 |
+
"num_workers": 40,
|
| 118 |
+
"prefetch": 2
|
| 119 |
+
},
|
| 120 |
+
"environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
|
| 121 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 122 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 123 |
+
"determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
|
| 124 |
+
"exceptions": []
|
| 125 |
+
},
|
| 126 |
+
"inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
|
| 127 |
+
"resume_state_included": false
|
| 128 |
+
}
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/SHA256SUMS
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cc8bab5d54f69f9746de4bf1a60d3a70db3b16588bdbc7be317a9e6617d5fbda config.json
|
| 2 |
+
6128f02fa41ae1a1f9837f704635522a7c4222bfc8a26c54f354899ce4bac6a7 model.pt
|
| 3 |
+
3648602e7b45df4e5ea13eeddaa34ed51d46b0a49dad92786858fde34ebe346b 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 |
+
8c5a8124cdd594b88c3fbeb4af4b68cdce9c58345701da65970479795ce1d766 training_records/inloop-mse.jsonl
|
| 22 |
+
72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2 training_records/pip_freeze_hb-baselines.txt
|
| 23 |
+
1ae7dd5a442e20d436b5ca29f370bd3d637539d3b35923ac46458cf40a83b8c8 training_records/run.json
|
| 24 |
+
6d44033edde48b9b1b44f8ec9e0de1f890893c7690feb00ea6a11927e04cb9a1 training_records/train.log
|
| 25 |
+
7a60feba2c1f7b39e05c230064cba134ad2a6436088224a36d416fc7c8b59b4a training_records/train_log.jsonl
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/config.json
ADDED
|
@@ -0,0 +1,1034 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": {
|
| 3 |
+
"policy": "flash",
|
| 4 |
+
"n_cameras": 2,
|
| 5 |
+
"state_dim": 78,
|
| 6 |
+
"action_dim": 75,
|
| 7 |
+
"horizon": 16,
|
| 8 |
+
"backbone": "resnet18",
|
| 9 |
+
"backbone_weights": null,
|
| 10 |
+
"backbone_norm": "group",
|
| 11 |
+
"hidden_dim": 512,
|
| 12 |
+
"num_layers": 4,
|
| 13 |
+
"num_heads": 8,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"time_embed_dim": 256,
|
| 17 |
+
"num_inference_steps": 1,
|
| 18 |
+
"num_train_timesteps": 100,
|
| 19 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 20 |
+
"prediction_type": "epsilon",
|
| 21 |
+
"clip_sample": true,
|
| 22 |
+
"act_hidden_dim": 512,
|
| 23 |
+
"dim_feedforward": 3200,
|
| 24 |
+
"enc_layers": 4,
|
| 25 |
+
"dec_layers": 7,
|
| 26 |
+
"nheads": 8,
|
| 27 |
+
"latent_dim": 32,
|
| 28 |
+
"kl_weight": 10.0,
|
| 29 |
+
"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": "h2_sharpa",
|
| 49 |
+
"robot": "h2_sharpa",
|
| 50 |
+
"cameras": [
|
| 51 |
+
"head",
|
| 52 |
+
"chest"
|
| 53 |
+
],
|
| 54 |
+
"state": [
|
| 55 |
+
[
|
| 56 |
+
"observation.state",
|
| 57 |
+
0,
|
| 58 |
+
75
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"observation.projected_gravity",
|
| 62 |
+
0,
|
| 63 |
+
3
|
| 64 |
+
]
|
| 65 |
+
],
|
| 66 |
+
"action": [
|
| 67 |
+
[
|
| 68 |
+
"action.body_target",
|
| 69 |
+
0,
|
| 70 |
+
31
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
"action.hands",
|
| 74 |
+
0,
|
| 75 |
+
44
|
| 76 |
+
]
|
| 77 |
+
],
|
| 78 |
+
"state_dim": 78,
|
| 79 |
+
"action_dim": 75,
|
| 80 |
+
"action_space": null,
|
| 81 |
+
"body_dims": 31
|
| 82 |
+
},
|
| 83 |
+
"image_hw": [
|
| 84 |
+
168,
|
| 85 |
+
224
|
| 86 |
+
],
|
| 87 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 88 |
+
"dataset": {
|
| 89 |
+
"name": "data",
|
| 90 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v2-44cdd57/data",
|
| 91 |
+
"robot_type": "h2_sharpa",
|
| 92 |
+
"fps": 30.0,
|
| 93 |
+
"episodes": [
|
| 94 |
+
0,
|
| 95 |
+
1,
|
| 96 |
+
2,
|
| 97 |
+
3,
|
| 98 |
+
4,
|
| 99 |
+
5,
|
| 100 |
+
6,
|
| 101 |
+
7,
|
| 102 |
+
8,
|
| 103 |
+
9,
|
| 104 |
+
10,
|
| 105 |
+
11,
|
| 106 |
+
12,
|
| 107 |
+
13,
|
| 108 |
+
14,
|
| 109 |
+
15,
|
| 110 |
+
16,
|
| 111 |
+
17,
|
| 112 |
+
18,
|
| 113 |
+
19,
|
| 114 |
+
20,
|
| 115 |
+
21,
|
| 116 |
+
22,
|
| 117 |
+
23,
|
| 118 |
+
24,
|
| 119 |
+
25,
|
| 120 |
+
26,
|
| 121 |
+
27,
|
| 122 |
+
28,
|
| 123 |
+
29,
|
| 124 |
+
30,
|
| 125 |
+
31,
|
| 126 |
+
32,
|
| 127 |
+
33,
|
| 128 |
+
34,
|
| 129 |
+
35,
|
| 130 |
+
36,
|
| 131 |
+
37,
|
| 132 |
+
38,
|
| 133 |
+
39,
|
| 134 |
+
40,
|
| 135 |
+
41,
|
| 136 |
+
42,
|
| 137 |
+
43,
|
| 138 |
+
44,
|
| 139 |
+
45,
|
| 140 |
+
46,
|
| 141 |
+
47,
|
| 142 |
+
48,
|
| 143 |
+
49,
|
| 144 |
+
50,
|
| 145 |
+
51,
|
| 146 |
+
52,
|
| 147 |
+
53,
|
| 148 |
+
54,
|
| 149 |
+
55,
|
| 150 |
+
56,
|
| 151 |
+
57,
|
| 152 |
+
58,
|
| 153 |
+
59,
|
| 154 |
+
60,
|
| 155 |
+
61,
|
| 156 |
+
62,
|
| 157 |
+
63,
|
| 158 |
+
64,
|
| 159 |
+
65,
|
| 160 |
+
66,
|
| 161 |
+
67,
|
| 162 |
+
68,
|
| 163 |
+
69,
|
| 164 |
+
70,
|
| 165 |
+
71,
|
| 166 |
+
72,
|
| 167 |
+
73,
|
| 168 |
+
74,
|
| 169 |
+
75,
|
| 170 |
+
76,
|
| 171 |
+
77,
|
| 172 |
+
78,
|
| 173 |
+
79,
|
| 174 |
+
80,
|
| 175 |
+
81,
|
| 176 |
+
82,
|
| 177 |
+
83,
|
| 178 |
+
84,
|
| 179 |
+
85,
|
| 180 |
+
86,
|
| 181 |
+
87,
|
| 182 |
+
88,
|
| 183 |
+
89,
|
| 184 |
+
90,
|
| 185 |
+
91,
|
| 186 |
+
92,
|
| 187 |
+
93,
|
| 188 |
+
94,
|
| 189 |
+
95,
|
| 190 |
+
96,
|
| 191 |
+
97,
|
| 192 |
+
98,
|
| 193 |
+
99
|
| 194 |
+
],
|
| 195 |
+
"train_episodes": [
|
| 196 |
+
0,
|
| 197 |
+
1,
|
| 198 |
+
2,
|
| 199 |
+
3,
|
| 200 |
+
4,
|
| 201 |
+
5,
|
| 202 |
+
6,
|
| 203 |
+
7,
|
| 204 |
+
8,
|
| 205 |
+
9,
|
| 206 |
+
10,
|
| 207 |
+
11,
|
| 208 |
+
12,
|
| 209 |
+
13,
|
| 210 |
+
14,
|
| 211 |
+
15,
|
| 212 |
+
16,
|
| 213 |
+
17,
|
| 214 |
+
18,
|
| 215 |
+
19,
|
| 216 |
+
20,
|
| 217 |
+
21,
|
| 218 |
+
22,
|
| 219 |
+
23,
|
| 220 |
+
24,
|
| 221 |
+
25,
|
| 222 |
+
26,
|
| 223 |
+
27,
|
| 224 |
+
28,
|
| 225 |
+
29,
|
| 226 |
+
30,
|
| 227 |
+
31,
|
| 228 |
+
32,
|
| 229 |
+
33,
|
| 230 |
+
34,
|
| 231 |
+
35,
|
| 232 |
+
36,
|
| 233 |
+
37,
|
| 234 |
+
38,
|
| 235 |
+
39,
|
| 236 |
+
40,
|
| 237 |
+
41,
|
| 238 |
+
42,
|
| 239 |
+
43,
|
| 240 |
+
44,
|
| 241 |
+
45,
|
| 242 |
+
46,
|
| 243 |
+
47,
|
| 244 |
+
48,
|
| 245 |
+
49,
|
| 246 |
+
50,
|
| 247 |
+
51,
|
| 248 |
+
52,
|
| 249 |
+
53,
|
| 250 |
+
54,
|
| 251 |
+
55,
|
| 252 |
+
56,
|
| 253 |
+
57,
|
| 254 |
+
58,
|
| 255 |
+
59,
|
| 256 |
+
60,
|
| 257 |
+
61,
|
| 258 |
+
62,
|
| 259 |
+
63,
|
| 260 |
+
64,
|
| 261 |
+
65,
|
| 262 |
+
66,
|
| 263 |
+
67,
|
| 264 |
+
68,
|
| 265 |
+
69,
|
| 266 |
+
70,
|
| 267 |
+
71,
|
| 268 |
+
72,
|
| 269 |
+
73,
|
| 270 |
+
74,
|
| 271 |
+
75,
|
| 272 |
+
76,
|
| 273 |
+
77,
|
| 274 |
+
78,
|
| 275 |
+
79,
|
| 276 |
+
80,
|
| 277 |
+
81,
|
| 278 |
+
82,
|
| 279 |
+
83,
|
| 280 |
+
84,
|
| 281 |
+
85,
|
| 282 |
+
86,
|
| 283 |
+
87,
|
| 284 |
+
88,
|
| 285 |
+
89,
|
| 286 |
+
90,
|
| 287 |
+
91,
|
| 288 |
+
92,
|
| 289 |
+
93,
|
| 290 |
+
94,
|
| 291 |
+
95,
|
| 292 |
+
96,
|
| 293 |
+
97,
|
| 294 |
+
98,
|
| 295 |
+
99
|
| 296 |
+
],
|
| 297 |
+
"val_episodes": [],
|
| 298 |
+
"train_frames": 66850,
|
| 299 |
+
"git_commit": "69c6ae8351f490ff9ffb87a56e95b11c91bf2f55"
|
| 300 |
+
},
|
| 301 |
+
"training": {
|
| 302 |
+
"steps": 12000,
|
| 303 |
+
"batch_size": 512,
|
| 304 |
+
"lr": 0.0001,
|
| 305 |
+
"betas": [
|
| 306 |
+
0.95,
|
| 307 |
+
0.999
|
| 308 |
+
],
|
| 309 |
+
"weight_decay": 1e-06,
|
| 310 |
+
"warmup": 500,
|
| 311 |
+
"schedule": "diffusers_cosine",
|
| 312 |
+
"backbone_lr_scale": 1.0,
|
| 313 |
+
"ema": 0.9999,
|
| 314 |
+
"shift_px": 0,
|
| 315 |
+
"amp": true,
|
| 316 |
+
"seed": 42,
|
| 317 |
+
"augmentation": {
|
| 318 |
+
"spec": "docs/augmentation_v2.md",
|
| 319 |
+
"version": "hb-aug-v2-20261109",
|
| 320 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 321 |
+
"visual": {
|
| 322 |
+
"effects": [
|
| 323 |
+
"exposure",
|
| 324 |
+
"contrast",
|
| 325 |
+
"saturation",
|
| 326 |
+
"hue",
|
| 327 |
+
"gamma",
|
| 328 |
+
"temperature",
|
| 329 |
+
"rotation_crop",
|
| 330 |
+
"noise",
|
| 331 |
+
"gaussian_blur",
|
| 332 |
+
"jpeg",
|
| 333 |
+
"motion_blur",
|
| 334 |
+
"sharpen",
|
| 335 |
+
"defocus",
|
| 336 |
+
"light_shadow",
|
| 337 |
+
"wb_channel"
|
| 338 |
+
],
|
| 339 |
+
"boosted_per_sample": 1,
|
| 340 |
+
"boost": 1.5,
|
| 341 |
+
"pixel_scale": "H / 224",
|
| 342 |
+
"future_targets": "none (one observation frame)"
|
| 343 |
+
},
|
| 344 |
+
"proprio": {
|
| 345 |
+
"robot": "h2_sharpa",
|
| 346 |
+
"body_dims": 31,
|
| 347 |
+
"bias_deg": 2.0,
|
| 348 |
+
"bias_scope": "per_sample",
|
| 349 |
+
"noise_deg": 0.25,
|
| 350 |
+
"noise_clip_sigma": 3,
|
| 351 |
+
"delay_probability": 0.0,
|
| 352 |
+
"history_drop_probability": 0.0,
|
| 353 |
+
"velocity": false
|
| 354 |
+
},
|
| 355 |
+
"native_image_augmentation": "off",
|
| 356 |
+
"evaluation": "off"
|
| 357 |
+
},
|
| 358 |
+
"preflight": {
|
| 359 |
+
"samples": 64,
|
| 360 |
+
"state_dim": 78,
|
| 361 |
+
"body_dims": 31,
|
| 362 |
+
"images_changed": 64,
|
| 363 |
+
"body_values_moved": 1.0,
|
| 364 |
+
"max_body_offset_deg": 2.5208,
|
| 365 |
+
"actions_bit_identical": true,
|
| 366 |
+
"non_body_state_bit_identical": true,
|
| 367 |
+
"eval_items_deterministic": 8
|
| 368 |
+
},
|
| 369 |
+
"aug_seed": 42,
|
| 370 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 371 |
+
"layout": {
|
| 372 |
+
"nodes": 1,
|
| 373 |
+
"gpus": 1,
|
| 374 |
+
"per_gpu_batch": 512,
|
| 375 |
+
"global_batch": 512,
|
| 376 |
+
"gradient_accumulation": 1,
|
| 377 |
+
"num_workers": 40,
|
| 378 |
+
"prefetch": 2
|
| 379 |
+
},
|
| 380 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 381 |
+
"inloop": {
|
| 382 |
+
"task": "a18cr2",
|
| 383 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 384 |
+
"every": 250,
|
| 385 |
+
"exception": null
|
| 386 |
+
}
|
| 387 |
+
},
|
| 388 |
+
"stats": {
|
| 389 |
+
"state": {
|
| 390 |
+
"min": [
|
| 391 |
+
-0.12583781778812408,
|
| 392 |
+
-0.03233915567398071,
|
| 393 |
+
-0.12766100466251373,
|
| 394 |
+
0.12355858832597733,
|
| 395 |
+
-0.06983537971973419,
|
| 396 |
+
-0.25010767579078674,
|
| 397 |
+
-0.12295906990766525,
|
| 398 |
+
-0.13229477405548096,
|
| 399 |
+
-0.1533408761024475,
|
| 400 |
+
0.14615534245967865,
|
| 401 |
+
-0.03606459125876427,
|
| 402 |
+
-0.21855871379375458,
|
| 403 |
+
-0.05953621491789818,
|
| 404 |
+
-0.11040446907281876,
|
| 405 |
+
-0.01577889733016491,
|
| 406 |
+
0.05845891311764717,
|
| 407 |
+
0.025421474128961563,
|
| 408 |
+
-0.3774237632751465,
|
| 409 |
+
0.9427529573440552,
|
| 410 |
+
-0.1936495453119278,
|
| 411 |
+
-0.12422491610050201,
|
| 412 |
+
0.00011441537935752422,
|
| 413 |
+
-0.740268349647522,
|
| 414 |
+
-0.3696679174900055,
|
| 415 |
+
-0.6199629902839661,
|
| 416 |
+
-0.4936543107032776,
|
| 417 |
+
-0.09027265757322311,
|
| 418 |
+
-0.1852821260690689,
|
| 419 |
+
-0.9950985908508301,
|
| 420 |
+
0.00010179156379308552,
|
| 421 |
+
-0.27579498291015625,
|
| 422 |
+
2.4212911853283003e-07,
|
| 423 |
+
1.991089675357216e-07,
|
| 424 |
+
-2.484825699866633e-06,
|
| 425 |
+
1.5511126605360914e-07,
|
| 426 |
+
-0.07711441069841385,
|
| 427 |
+
-0.0014401556691154838,
|
| 428 |
+
-0.001440082211047411,
|
| 429 |
+
1.1005147371179191e-07,
|
| 430 |
+
-0.0014395025791600347,
|
| 431 |
+
-0.15826088190078735,
|
| 432 |
+
4.014998822299276e-08,
|
| 433 |
+
3.3918841069180417e-08,
|
| 434 |
+
-0.0014388926792889833,
|
| 435 |
+
2.7533292978887403e-08,
|
| 436 |
+
-0.06904831528663635,
|
| 437 |
+
6.039757582954053e-09,
|
| 438 |
+
5.286712401186833e-09,
|
| 439 |
+
2.0993500271515586e-08,
|
| 440 |
+
4.5118535574317775e-09,
|
| 441 |
+
-0.04190514609217644,
|
| 442 |
+
3.7183456313982788e-09,
|
| 443 |
+
-0.0002550320641603321,
|
| 444 |
+
-0.0012902324087917805,
|
| 445 |
+
-0.011018202640116215,
|
| 446 |
+
-1.4729690747117274e-06,
|
| 447 |
+
-0.008869198150932789,
|
| 448 |
+
-0.0010071652941405773,
|
| 449 |
+
-0.07318796217441559,
|
| 450 |
+
-0.14104261994361877,
|
| 451 |
+
-0.006404141429811716,
|
| 452 |
+
-0.012594389729201794,
|
| 453 |
+
-0.2601270377635956,
|
| 454 |
+
-0.005105330143123865,
|
| 455 |
+
-0.0029860667418688536,
|
| 456 |
+
-0.000577878556214273,
|
| 457 |
+
-0.004302919376641512,
|
| 458 |
+
-0.003525838255882263,
|
| 459 |
+
-0.0016964594833552837,
|
| 460 |
+
-0.0017751255072653294,
|
| 461 |
+
-0.004758988507091999,
|
| 462 |
+
1.0182914067513593e-08,
|
| 463 |
+
-0.01523496862500906,
|
| 464 |
+
-0.0019727651961147785,
|
| 465 |
+
-0.0021971184760332108,
|
| 466 |
+
-0.08454640954732895,
|
| 467 |
+
-0.09836447238922119,
|
| 468 |
+
-1.0
|
| 469 |
+
],
|
| 470 |
+
"max": [
|
| 471 |
+
0.035650208592414856,
|
| 472 |
+
0.10629415512084961,
|
| 473 |
+
0.17557011544704437,
|
| 474 |
+
0.32769498229026794,
|
| 475 |
+
0.0809067115187645,
|
| 476 |
+
-0.03284743055701256,
|
| 477 |
+
0.04188062623143196,
|
| 478 |
+
-1.1926664228667505e-05,
|
| 479 |
+
0.22258582711219788,
|
| 480 |
+
0.31865113973617554,
|
| 481 |
+
0.03910355642437935,
|
| 482 |
+
-0.08754467964172363,
|
| 483 |
+
0.06784578412771225,
|
| 484 |
+
0.030363162979483604,
|
| 485 |
+
0.0996260941028595,
|
| 486 |
+
0.24996721744537354,
|
| 487 |
+
0.14023271203041077,
|
| 488 |
+
0.24500703811645508,
|
| 489 |
+
1.1965162754058838,
|
| 490 |
+
0.19641946256160736,
|
| 491 |
+
0.30692338943481445,
|
| 492 |
+
0.26775699853897095,
|
| 493 |
+
0.6624637246131897,
|
| 494 |
+
0.2643685042858124,
|
| 495 |
+
0.4765041768550873,
|
| 496 |
+
1.14264714717865,
|
| 497 |
+
1.9407533407211304,
|
| 498 |
+
0.4451823830604553,
|
| 499 |
+
0.7307088375091553,
|
| 500 |
+
0.681303858757019,
|
| 501 |
+
0.12099187821149826,
|
| 502 |
+
0.001787454355508089,
|
| 503 |
+
0.0017886327113956213,
|
| 504 |
+
0.0001129926458816044,
|
| 505 |
+
0.00179005297832191,
|
| 506 |
+
0.07618467509746552,
|
| 507 |
+
-1.8496356233299593e-06,
|
| 508 |
+
-1.9247966065449873e-06,
|
| 509 |
+
0.0017915134085342288,
|
| 510 |
+
-1.7791824120649835e-06,
|
| 511 |
+
-0.00012538964801933616,
|
| 512 |
+
0.000348125264281407,
|
| 513 |
+
0.00034833172685466707,
|
| 514 |
+
-1.6332217001036042e-06,
|
| 515 |
+
0.0003485499764792621,
|
| 516 |
+
0.0031303067225962877,
|
| 517 |
+
6.412907532649115e-05,
|
| 518 |
+
6.415732786990702e-05,
|
| 519 |
+
0.0003487732319626957,
|
| 520 |
+
6.418681005015969e-05,
|
| 521 |
+
0.04411711171269417,
|
| 522 |
+
6.421708530979231e-05,
|
| 523 |
+
0.00032537104561924934,
|
| 524 |
+
0.38441139459609985,
|
| 525 |
+
0.7239343523979187,
|
| 526 |
+
0.041639670729637146,
|
| 527 |
+
0.6621608734130859,
|
| 528 |
+
0.7537572383880615,
|
| 529 |
+
0.01115428563207388,
|
| 530 |
+
0.003058104310184717,
|
| 531 |
+
0.5719240307807922,
|
| 532 |
+
0.0017499510431662202,
|
| 533 |
+
-7.032280700514093e-05,
|
| 534 |
+
1.7279481887817383,
|
| 535 |
+
1.6268699169158936,
|
| 536 |
+
0.14201073348522186,
|
| 537 |
+
1.5546116828918457,
|
| 538 |
+
0.5081002116203308,
|
| 539 |
+
1.247889518737793,
|
| 540 |
+
1.182234525680542,
|
| 541 |
+
1.7133269309997559,
|
| 542 |
+
0.27388203144073486,
|
| 543 |
+
0.014611090533435345,
|
| 544 |
+
0.9894230365753174,
|
| 545 |
+
0.8894627094268799,
|
| 546 |
+
0.00796288251876831,
|
| 547 |
+
0.036943208426237106,
|
| 548 |
+
-0.9915630221366882
|
| 549 |
+
],
|
| 550 |
+
"mean": [
|
| 551 |
+
-0.027299314132985846,
|
| 552 |
+
0.03502118525704448,
|
| 553 |
+
0.03100102852613158,
|
| 554 |
+
0.16613604310373362,
|
| 555 |
+
0.03438473718457337,
|
| 556 |
+
-0.12577591872585292,
|
| 557 |
+
-0.022502549316812996,
|
| 558 |
+
-0.02981686126067347,
|
| 559 |
+
0.015664867994994617,
|
| 560 |
+
0.204237678419233,
|
| 561 |
+
-0.002438673615912003,
|
| 562 |
+
-0.15014619411787794,
|
| 563 |
+
0.008272607317332287,
|
| 564 |
+
-0.014616087768575915,
|
| 565 |
+
0.03146748760076169,
|
| 566 |
+
0.14498334405644223,
|
| 567 |
+
0.08285774466001394,
|
| 568 |
+
-0.04922966991650978,
|
| 569 |
+
1.052811198806085,
|
| 570 |
+
-0.0003846764916377304,
|
| 571 |
+
0.11435445146216659,
|
| 572 |
+
0.11888704429538087,
|
| 573 |
+
-0.21785689209087752,
|
| 574 |
+
-0.04526715684811122,
|
| 575 |
+
-0.06827008329125593,
|
| 576 |
+
0.2679784969711736,
|
| 577 |
+
0.8951559524269673,
|
| 578 |
+
0.18325850527834447,
|
| 579 |
+
-0.2133016885598721,
|
| 580 |
+
0.5227057486332239,
|
| 581 |
+
-0.00867393307752262,
|
| 582 |
+
0.0011903525193419418,
|
| 583 |
+
0.0011900418411051232,
|
| 584 |
+
1.3744018852459791e-05,
|
| 585 |
+
0.0011899249339944685,
|
| 586 |
+
0.009631297507814374,
|
| 587 |
+
-0.0008670994497552636,
|
| 588 |
+
-0.0008672947037940682,
|
| 589 |
+
0.001189942699092948,
|
| 590 |
+
-0.0008662319235491903,
|
| 591 |
+
-0.09532405562396636,
|
| 592 |
+
0.00023694312429899163,
|
| 593 |
+
0.0002369377365150326,
|
| 594 |
+
-0.0008651697040884193,
|
| 595 |
+
0.00023693407247431068,
|
| 596 |
+
-0.010153125290915749,
|
| 597 |
+
4.4551195215611404e-05,
|
| 598 |
+
4.455056288244535e-05,
|
| 599 |
+
0.00023692849760654185,
|
| 600 |
+
4.455002101950541e-05,
|
| 601 |
+
0.0005994711605109827,
|
| 602 |
+
4.4549246789901255e-05,
|
| 603 |
+
2.5255336256103658e-05,
|
| 604 |
+
0.20063986066823414,
|
| 605 |
+
0.39453019920156807,
|
| 606 |
+
0.021642633469215435,
|
| 607 |
+
0.37756121257027736,
|
| 608 |
+
0.41835060696171633,
|
| 609 |
+
-0.02677748931363549,
|
| 610 |
+
-0.0767376752316338,
|
| 611 |
+
0.3158241578859499,
|
| 612 |
+
-0.004371555788508684,
|
| 613 |
+
-0.17732113780997097,
|
| 614 |
+
0.9738692216852287,
|
| 615 |
+
0.9352876523890826,
|
| 616 |
+
0.08735726361558913,
|
| 617 |
+
0.9003499899665927,
|
| 618 |
+
0.2674597784943702,
|
| 619 |
+
0.7129700967059142,
|
| 620 |
+
0.6785907389851383,
|
| 621 |
+
0.9862055464783247,
|
| 622 |
+
0.15895242961523828,
|
| 623 |
+
-0.003946556718442643,
|
| 624 |
+
0.572140311022144,
|
| 625 |
+
0.47994362783102723,
|
| 626 |
+
-0.023780074118937684,
|
| 627 |
+
-0.010027226004839414,
|
| 628 |
+
-0.9995057580501354
|
| 629 |
+
],
|
| 630 |
+
"std": [
|
| 631 |
+
0.03564172327250631,
|
| 632 |
+
0.01791832823561853,
|
| 633 |
+
0.03855816049999887,
|
| 634 |
+
0.03397291557420541,
|
| 635 |
+
0.022713257399330597,
|
| 636 |
+
0.01728797856190988,
|
| 637 |
+
0.03284158309112527,
|
| 638 |
+
0.017189178717457138,
|
| 639 |
+
0.05321919014845919,
|
| 640 |
+
0.0263137624808381,
|
| 641 |
+
0.011697035013979123,
|
| 642 |
+
0.015430167927535819,
|
| 643 |
+
0.018743646160322976,
|
| 644 |
+
0.012872016708839123,
|
| 645 |
+
0.02176294714867896,
|
| 646 |
+
0.034365092651105815,
|
| 647 |
+
0.017602363475115363,
|
| 648 |
+
0.1176684950830969,
|
| 649 |
+
0.04596510304378348,
|
| 650 |
+
0.05561679637942415,
|
| 651 |
+
0.09595170466764798,
|
| 652 |
+
0.06368600150971765,
|
| 653 |
+
0.35357612833473884,
|
| 654 |
+
0.10000879451814994,
|
| 655 |
+
0.23899944098984566,
|
| 656 |
+
0.4636814760896756,
|
| 657 |
+
0.5773448170178002,
|
| 658 |
+
0.17065926569228126,
|
| 659 |
+
0.3406379763442289,
|
| 660 |
+
0.23635163884984306,
|
| 661 |
+
0.10408614565881567,
|
| 662 |
+
0.0003766895919760071,
|
| 663 |
+
0.00037667385238766566,
|
| 664 |
+
2.0943454681919047e-05,
|
| 665 |
+
0.0003766522215170394,
|
| 666 |
+
0.024747470857055837,
|
| 667 |
+
0.0003813070935294781,
|
| 668 |
+
0.0003809286752628758,
|
| 669 |
+
0.00037665642504664687,
|
| 670 |
+
0.00038136421491826843,
|
| 671 |
+
0.01209491713676294,
|
| 672 |
+
7.69887884951569e-05,
|
| 673 |
+
7.698764529715561e-05,
|
| 674 |
+
0.00038168123507563775,
|
| 675 |
+
7.698799643739872e-05,
|
| 676 |
+
0.013209278968477425,
|
| 677 |
+
1.4927250618955172e-05,
|
| 678 |
+
1.4926968397842197e-05,
|
| 679 |
+
7.698734713838614e-05,
|
| 680 |
+
1.4926838997103143e-05,
|
| 681 |
+
0.008573914122227421,
|
| 682 |
+
1.4926564591999636e-05,
|
| 683 |
+
3.794634823442163e-05,
|
| 684 |
+
0.16025897083269225,
|
| 685 |
+
0.31994470378986223,
|
| 686 |
+
0.014540928253847304,
|
| 687 |
+
0.3069716845567673,
|
| 688 |
+
0.3498947410492231,
|
| 689 |
+
0.021697346625713036,
|
| 690 |
+
0.05449526509450836,
|
| 691 |
+
0.25693235382210217,
|
| 692 |
+
0.003981103962417204,
|
| 693 |
+
0.07617284883393763,
|
| 694 |
+
0.7627375717253893,
|
| 695 |
+
0.725618983667107,
|
| 696 |
+
0.060256511828613926,
|
| 697 |
+
0.7178305940018536,
|
| 698 |
+
0.23909690333304248,
|
| 699 |
+
0.5619280609808217,
|
| 700 |
+
0.5340338828462216,
|
| 701 |
+
0.7808440073437246,
|
| 702 |
+
0.1260922880259026,
|
| 703 |
+
0.005126074471953189,
|
| 704 |
+
0.4512728759686329,
|
| 705 |
+
0.429965625511154,
|
| 706 |
+
0.014949366301484262,
|
| 707 |
+
0.00992555400143169,
|
| 708 |
+
0.00044978008437642386
|
| 709 |
+
]
|
| 710 |
+
},
|
| 711 |
+
"action": {
|
| 712 |
+
"min": [
|
| 713 |
+
-0.1784663051366806,
|
| 714 |
+
-0.13318756222724915,
|
| 715 |
+
-0.1307600885629654,
|
| 716 |
+
0.0,
|
| 717 |
+
-0.05743294209241867,
|
| 718 |
+
-0.3024138808250427,
|
| 719 |
+
-0.12985824048519135,
|
| 720 |
+
-0.266737699508667,
|
| 721 |
+
-0.15798582136631012,
|
| 722 |
+
0.0,
|
| 723 |
+
-0.0613182857632637,
|
| 724 |
+
-0.4162753224372864,
|
| 725 |
+
-0.06568841636180878,
|
| 726 |
+
-0.21089573204517365,
|
| 727 |
+
-0.046035848557949066,
|
| 728 |
+
0.0,
|
| 729 |
+
0.0,
|
| 730 |
+
-0.40408286452293396,
|
| 731 |
+
0.0,
|
| 732 |
+
-0.19912302494049072,
|
| 733 |
+
-0.156949982047081,
|
| 734 |
+
0.0,
|
| 735 |
+
-0.7415577173233032,
|
| 736 |
+
-0.37339621782302856,
|
| 737 |
+
-0.6357685327529907,
|
| 738 |
+
-0.4724564254283905,
|
| 739 |
+
-0.1029481366276741,
|
| 740 |
+
-0.1933467984199524,
|
| 741 |
+
-0.99897301197052,
|
| 742 |
+
0.0,
|
| 743 |
+
-0.2813774645328522,
|
| 744 |
+
0.0,
|
| 745 |
+
0.0,
|
| 746 |
+
0.0,
|
| 747 |
+
0.0,
|
| 748 |
+
0.0,
|
| 749 |
+
0.0,
|
| 750 |
+
0.0,
|
| 751 |
+
0.0,
|
| 752 |
+
0.0,
|
| 753 |
+
0.0,
|
| 754 |
+
0.0,
|
| 755 |
+
0.0,
|
| 756 |
+
0.0,
|
| 757 |
+
0.0,
|
| 758 |
+
0.0,
|
| 759 |
+
0.0,
|
| 760 |
+
0.0,
|
| 761 |
+
0.0,
|
| 762 |
+
0.0,
|
| 763 |
+
0.0,
|
| 764 |
+
0.0,
|
| 765 |
+
0.0,
|
| 766 |
+
0.0,
|
| 767 |
+
0.0,
|
| 768 |
+
0.0,
|
| 769 |
+
0.0,
|
| 770 |
+
0.0,
|
| 771 |
+
0.0,
|
| 772 |
+
-0.2870999872684479,
|
| 773 |
+
0.0,
|
| 774 |
+
-0.01590000092983246,
|
| 775 |
+
-0.17630000412464142,
|
| 776 |
+
0.0,
|
| 777 |
+
0.0,
|
| 778 |
+
0.0,
|
| 779 |
+
0.0,
|
| 780 |
+
0.0,
|
| 781 |
+
0.0,
|
| 782 |
+
0.0,
|
| 783 |
+
0.0,
|
| 784 |
+
0.0,
|
| 785 |
+
-0.006200000178068876,
|
| 786 |
+
0.0,
|
| 787 |
+
0.0
|
| 788 |
+
],
|
| 789 |
+
"max": [
|
| 790 |
+
0.041423577815294266,
|
| 791 |
+
0.24960044026374817,
|
| 792 |
+
0.17349489033222198,
|
| 793 |
+
0.3818897604942322,
|
| 794 |
+
0.09517528861761093,
|
| 795 |
+
0.33370673656463623,
|
| 796 |
+
0.08997327834367752,
|
| 797 |
+
0.1119127869606018,
|
| 798 |
+
0.2282232642173767,
|
| 799 |
+
0.3609016537666321,
|
| 800 |
+
0.020472919568419456,
|
| 801 |
+
0.19194680452346802,
|
| 802 |
+
0.0703074038028717,
|
| 803 |
+
0.03390442579984665,
|
| 804 |
+
0.16752633452415466,
|
| 805 |
+
0.2617945075035095,
|
| 806 |
+
0.21634480357170105,
|
| 807 |
+
0.2762379050254822,
|
| 808 |
+
1.1804041862487793,
|
| 809 |
+
0.20910896360874176,
|
| 810 |
+
0.33972981572151184,
|
| 811 |
+
0.28348755836486816,
|
| 812 |
+
0.5959668159484863,
|
| 813 |
+
0.2778860032558441,
|
| 814 |
+
0.4788244366645813,
|
| 815 |
+
1.1417303085327148,
|
| 816 |
+
1.9401861429214478,
|
| 817 |
+
0.4363322854042053,
|
| 818 |
+
0.737479031085968,
|
| 819 |
+
0.6173598170280457,
|
| 820 |
+
0.12206494063138962,
|
| 821 |
+
0.0,
|
| 822 |
+
0.0,
|
| 823 |
+
0.0,
|
| 824 |
+
0.0,
|
| 825 |
+
0.0,
|
| 826 |
+
0.0,
|
| 827 |
+
0.0,
|
| 828 |
+
0.0,
|
| 829 |
+
0.0,
|
| 830 |
+
0.0,
|
| 831 |
+
0.0,
|
| 832 |
+
0.0,
|
| 833 |
+
0.0,
|
| 834 |
+
0.0,
|
| 835 |
+
0.0,
|
| 836 |
+
0.0,
|
| 837 |
+
0.0,
|
| 838 |
+
0.0,
|
| 839 |
+
0.0,
|
| 840 |
+
0.0,
|
| 841 |
+
0.0,
|
| 842 |
+
0.0,
|
| 843 |
+
0.3626999855041504,
|
| 844 |
+
0.777400016784668,
|
| 845 |
+
0.04019999876618385,
|
| 846 |
+
0.6610000133514404,
|
| 847 |
+
0.7699999809265137,
|
| 848 |
+
0.07270000129938126,
|
| 849 |
+
0.0,
|
| 850 |
+
0.5733000040054321,
|
| 851 |
+
0.0,
|
| 852 |
+
0.0,
|
| 853 |
+
1.745300054550171,
|
| 854 |
+
1.745300054550171,
|
| 855 |
+
0.12300000339746475,
|
| 856 |
+
1.5556999444961548,
|
| 857 |
+
0.5410000085830688,
|
| 858 |
+
1.2592999935150146,
|
| 859 |
+
1.2130999565124512,
|
| 860 |
+
1.745300054550171,
|
| 861 |
+
0.27469998598098755,
|
| 862 |
+
0.0,
|
| 863 |
+
1.0023000240325928,
|
| 864 |
+
0.8996000289916992
|
| 865 |
+
],
|
| 866 |
+
"mean": [
|
| 867 |
+
-0.03915027158851709,
|
| 868 |
+
0.041798695985307284,
|
| 869 |
+
0.031142753381219936,
|
| 870 |
+
0.16082399759750893,
|
| 871 |
+
0.051418053530562696,
|
| 872 |
+
-0.15212109962025247,
|
| 873 |
+
-0.008473993662599044,
|
| 874 |
+
-0.024333539499570046,
|
| 875 |
+
0.016388625621048106,
|
| 876 |
+
0.22511315863013892,
|
| 877 |
+
-0.025490226046553127,
|
| 878 |
+
-0.03298149929822268,
|
| 879 |
+
0.009544487190767226,
|
| 880 |
+
-0.0507607624751253,
|
| 881 |
+
0.035238015547481634,
|
| 882 |
+
0.14339655689772557,
|
| 883 |
+
0.11653374008990396,
|
| 884 |
+
-0.04866296844496732,
|
| 885 |
+
0.9892958045308948,
|
| 886 |
+
0.004534672408143486,
|
| 887 |
+
0.09968768553222704,
|
| 888 |
+
0.12222258854262634,
|
| 889 |
+
-0.21161511438028,
|
| 890 |
+
-0.04689023419493438,
|
| 891 |
+
-0.06461094893431682,
|
| 892 |
+
0.2604158884226581,
|
| 893 |
+
0.8931353269555453,
|
| 894 |
+
0.18261436535072875,
|
| 895 |
+
-0.21068947147093564,
|
| 896 |
+
0.484797646327358,
|
| 897 |
+
-0.008713774209257742,
|
| 898 |
+
0.0,
|
| 899 |
+
0.0,
|
| 900 |
+
0.0,
|
| 901 |
+
0.0,
|
| 902 |
+
0.0,
|
| 903 |
+
0.0,
|
| 904 |
+
0.0,
|
| 905 |
+
0.0,
|
| 906 |
+
0.0,
|
| 907 |
+
0.0,
|
| 908 |
+
0.0,
|
| 909 |
+
0.0,
|
| 910 |
+
0.0,
|
| 911 |
+
0.0,
|
| 912 |
+
0.0,
|
| 913 |
+
0.0,
|
| 914 |
+
0.0,
|
| 915 |
+
0.0,
|
| 916 |
+
0.0,
|
| 917 |
+
0.0,
|
| 918 |
+
0.0,
|
| 919 |
+
0.0,
|
| 920 |
+
0.20526771472389418,
|
| 921 |
+
0.4470283264267918,
|
| 922 |
+
0.02411653931183433,
|
| 923 |
+
0.37916715661908174,
|
| 924 |
+
0.42093950027703936,
|
| 925 |
+
0.047333192494126666,
|
| 926 |
+
-0.18692377974541982,
|
| 927 |
+
0.3280395560384697,
|
| 928 |
+
-0.010352101630720843,
|
| 929 |
+
-0.1147846200617952,
|
| 930 |
+
1.0202862817115708,
|
| 931 |
+
1.0228963021122806,
|
| 932 |
+
0.0800822933937967,
|
| 933 |
+
0.9014555564774542,
|
| 934 |
+
0.29319758588405,
|
| 935 |
+
0.7348336099462863,
|
| 936 |
+
0.7079068065545167,
|
| 937 |
+
1.0145611862124293,
|
| 938 |
+
0.1608308564825218,
|
| 939 |
+
-0.0040366684489894274,
|
| 940 |
+
0.5850152348853517,
|
| 941 |
+
0.49027914795245864
|
| 942 |
+
],
|
| 943 |
+
"std": [
|
| 944 |
+
0.04093795777149919,
|
| 945 |
+
0.037024461352442334,
|
| 946 |
+
0.03900465972156236,
|
| 947 |
+
0.047101798285536074,
|
| 948 |
+
0.026935657924288075,
|
| 949 |
+
0.05626555432265536,
|
| 950 |
+
0.04267144721347996,
|
| 951 |
+
0.03333504254848674,
|
| 952 |
+
0.054555676253345106,
|
| 953 |
+
0.03382845217831349,
|
| 954 |
+
0.013084019245591928,
|
| 955 |
+
0.07339846349618599,
|
| 956 |
+
0.015648795919696874,
|
| 957 |
+
0.03649498917967855,
|
| 958 |
+
0.03141421359595501,
|
| 959 |
+
0.051302578129439606,
|
| 960 |
+
0.01862269735310515,
|
| 961 |
+
0.12168237133956654,
|
| 962 |
+
0.0836412926009975,
|
| 963 |
+
0.05608500641521471,
|
| 964 |
+
0.1064735073172025,
|
| 965 |
+
0.07222603249530614,
|
| 966 |
+
0.3574849129757724,
|
| 967 |
+
0.09978852551431328,
|
| 968 |
+
0.23952434390872934,
|
| 969 |
+
0.44895305770637045,
|
| 970 |
+
0.5780964898970155,
|
| 971 |
+
0.1756179850327701,
|
| 972 |
+
0.3452238254144235,
|
| 973 |
+
0.21978821914137392,
|
| 974 |
+
0.10528946181002134,
|
| 975 |
+
0.0,
|
| 976 |
+
0.0,
|
| 977 |
+
0.0,
|
| 978 |
+
0.0,
|
| 979 |
+
0.0,
|
| 980 |
+
0.0,
|
| 981 |
+
0.0,
|
| 982 |
+
0.0,
|
| 983 |
+
0.0,
|
| 984 |
+
0.0,
|
| 985 |
+
0.0,
|
| 986 |
+
0.0,
|
| 987 |
+
0.0,
|
| 988 |
+
0.0,
|
| 989 |
+
0.0,
|
| 990 |
+
0.0,
|
| 991 |
+
0.0,
|
| 992 |
+
0.0,
|
| 993 |
+
0.0,
|
| 994 |
+
0.0,
|
| 995 |
+
0.0,
|
| 996 |
+
0.0,
|
| 997 |
+
0.16899087507839172,
|
| 998 |
+
0.36061269807519125,
|
| 999 |
+
0.018346050512407827,
|
| 1000 |
+
0.3067678379125852,
|
| 1001 |
+
0.37916464886435025,
|
| 1002 |
+
0.03371227909206793,
|
| 1003 |
+
0.13313335278828217,
|
| 1004 |
+
0.26621827690365046,
|
| 1005 |
+
0.007373112223379239,
|
| 1006 |
+
0.08175343654569882,
|
| 1007 |
+
0.8066954888400839,
|
| 1008 |
+
0.8053910953672813,
|
| 1009 |
+
0.05703728154338706,
|
| 1010 |
+
0.7205423072557381,
|
| 1011 |
+
0.26502718107487067,
|
| 1012 |
+
0.5829912699322716,
|
| 1013 |
+
0.5615860233728246,
|
| 1014 |
+
0.8082091676938215,
|
| 1015 |
+
0.1268958217964043,
|
| 1016 |
+
0.002875049966023487,
|
| 1017 |
+
0.46393539497497377,
|
| 1018 |
+
0.4403587818325293
|
| 1019 |
+
]
|
| 1020 |
+
}
|
| 1021 |
+
},
|
| 1022 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
|
| 1023 |
+
"step": 12000,
|
| 1024 |
+
"weights": "ema",
|
| 1025 |
+
"offline_eval": {
|
| 1026 |
+
"mse": 0.007937061600387096,
|
| 1027 |
+
"mse_row0": 0.01318359375,
|
| 1028 |
+
"mse_body_target": 0.0067878663539886475,
|
| 1029 |
+
"mse_hands": 0.008746722713112831,
|
| 1030 |
+
"samples": 256,
|
| 1031 |
+
"frames": "train"
|
| 1032 |
+
},
|
| 1033 |
+
"format": "hb_baselines/1"
|
| 1034 |
+
}
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6128f02fa41ae1a1f9837f704635522a7c4222bfc8a26c54f354899ce4bac6a7
|
| 3 |
+
size 170846013
|
a18-pour-water/b512-2cam-cropped-v2/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": 19495,
|
| 8 |
+
"sha256": "cc8bab5d54f69f9746de4bf1a60d3a70db3b16588bdbc7be317a9e6617d5fbda"
|
| 9 |
+
},
|
| 10 |
+
"model.pt": {
|
| 11 |
+
"bytes": 170846013,
|
| 12 |
+
"sha256": "6128f02fa41ae1a1f9837f704635522a7c4222bfc8a26c54f354899ce4bac6a7"
|
| 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": 89339,
|
| 84 |
+
"sha256": "8c5a8124cdd594b88c3fbeb4af4b68cdce9c58345701da65970479795ce1d766"
|
| 85 |
+
},
|
| 86 |
+
"training_records/pip_freeze_hb-baselines.txt": {
|
| 87 |
+
"bytes": 1185,
|
| 88 |
+
"sha256": "72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2"
|
| 89 |
+
},
|
| 90 |
+
"training_records/run.json": {
|
| 91 |
+
"bytes": 20204,
|
| 92 |
+
"sha256": "1ae7dd5a442e20d436b5ca29f370bd3d637539d3b35923ac46458cf40a83b8c8"
|
| 93 |
+
},
|
| 94 |
+
"training_records/train.log": {
|
| 95 |
+
"bytes": 67794,
|
| 96 |
+
"sha256": "6d44033edde48b9b1b44f8ec9e0de1f890893c7690feb00ea6a11927e04cb9a1"
|
| 97 |
+
},
|
| 98 |
+
"training_records/train_log.jsonl": {
|
| 99 |
+
"bytes": 60756,
|
| 100 |
+
"sha256": "7a60feba2c1f7b39e05c230064cba134ad2a6436088224a36d416fc7c8b59b4a"
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"task_dir": "a18-pour-water",
|
| 104 |
+
"training_data": "a18-pour-water @44cdd571, all episodes (A800 FLASH pool 2026-11-25)",
|
| 105 |
+
"episodes": 100,
|
| 106 |
+
"frames": 66850,
|
| 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": 78,
|
| 121 |
+
"action_dim": 75,
|
| 122 |
+
"cameras": [
|
| 123 |
+
"head",
|
| 124 |
+
"chest"
|
| 125 |
+
],
|
| 126 |
+
"contract": "h2_sharpa",
|
| 127 |
+
"image_hw": [
|
| 128 |
+
168,
|
| 129 |
+
224
|
| 130 |
+
],
|
| 131 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 132 |
+
"inloop_mse": {
|
| 133 |
+
"task": "a18cr2",
|
| 134 |
+
"split": "train10",
|
| 135 |
+
"every": 250,
|
| 136 |
+
"seed": 1234,
|
| 137 |
+
"weights": "ema",
|
| 138 |
+
"nmse_at_this_step": 0.1161,
|
| 139 |
+
"curve": {
|
| 140 |
+
"250": 0.3245,
|
| 141 |
+
"500": 0.2881,
|
| 142 |
+
"750": 0.2402,
|
| 143 |
+
"1000": 0.211,
|
| 144 |
+
"1250": 0.1998,
|
| 145 |
+
"1500": 0.1897,
|
| 146 |
+
"1750": 0.1774,
|
| 147 |
+
"2000": 0.1662,
|
| 148 |
+
"2250": 0.1579,
|
| 149 |
+
"2500": 0.1514,
|
| 150 |
+
"2750": 0.1462,
|
| 151 |
+
"3000": 0.141,
|
| 152 |
+
"3250": 0.1375,
|
| 153 |
+
"3500": 0.1344,
|
| 154 |
+
"3750": 0.1318,
|
| 155 |
+
"4000": 0.1293,
|
| 156 |
+
"4250": 0.1272,
|
| 157 |
+
"4500": 0.1254,
|
| 158 |
+
"4750": 0.1237,
|
| 159 |
+
"5000": 0.1221,
|
| 160 |
+
"5250": 0.1207,
|
| 161 |
+
"5500": 0.1192,
|
| 162 |
+
"5750": 0.1179,
|
| 163 |
+
"6000": 0.1165,
|
| 164 |
+
"6250": 0.1152,
|
| 165 |
+
"6500": 0.1142,
|
| 166 |
+
"6750": 0.1129,
|
| 167 |
+
"7000": 0.1116,
|
| 168 |
+
"7250": 0.1104,
|
| 169 |
+
"7500": 0.1093,
|
| 170 |
+
"7750": 0.1079,
|
| 171 |
+
"8000": 0.1068,
|
| 172 |
+
"8250": 0.1056,
|
| 173 |
+
"8500": 0.1046,
|
| 174 |
+
"8750": 0.1043,
|
| 175 |
+
"9000": 0.1045,
|
| 176 |
+
"9250": 0.1047,
|
| 177 |
+
"9500": 0.106,
|
| 178 |
+
"9750": 0.1073,
|
| 179 |
+
"10000": 0.109,
|
| 180 |
+
"10250": 0.1104,
|
| 181 |
+
"10500": 0.1118,
|
| 182 |
+
"10750": 0.1129,
|
| 183 |
+
"11000": 0.1137,
|
| 184 |
+
"11250": 0.1144,
|
| 185 |
+
"11500": 0.1151,
|
| 186 |
+
"11750": 0.1156,
|
| 187 |
+
"12000": 0.1161
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"seed": 42,
|
| 191 |
+
"reproducibility": {
|
| 192 |
+
"protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
|
| 193 |
+
"protocol_commit": "9cd4b974",
|
| 194 |
+
"training_seed": 42,
|
| 195 |
+
"training_seed_source": "FLASH-Policy upstream default (42)",
|
| 196 |
+
"training_seed_verified_from_run_files": true,
|
| 197 |
+
"augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
|
| 198 |
+
"inloop_mse_seed": 1234,
|
| 199 |
+
"layout": {
|
| 200 |
+
"nodes": 1,
|
| 201 |
+
"gpus_per_node": 1,
|
| 202 |
+
"per_gpu_batch": 512,
|
| 203 |
+
"global_batch": 512,
|
| 204 |
+
"gradient_accumulation": 1,
|
| 205 |
+
"num_workers": 40,
|
| 206 |
+
"prefetch": 2
|
| 207 |
+
},
|
| 208 |
+
"environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
|
| 209 |
+
"hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
|
| 210 |
+
"upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
|
| 211 |
+
"determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
|
| 212 |
+
"exceptions": []
|
| 213 |
+
},
|
| 214 |
+
"inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
|
| 215 |
+
"resume_state_included": false
|
| 216 |
+
}
|
a18-pour-water/b512-2cam-cropped-v2/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)
|
a18-pour-water/b512-2cam-cropped-v2/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 |
+
"""
|
a18-pour-water/b512-2cam-cropped-v2/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()
|
a18-pour-water/b512-2cam-cropped-v2/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
|
a18-pour-water/b512-2cam-cropped-v2/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()
|
a18-pour-water/b512-2cam-cropped-v2/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()
|
a18-pour-water/b512-2cam-cropped-v2/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)
|
a18-pour-water/b512-2cam-cropped-v2/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
|
a18-pour-water/b512-2cam-cropped-v2/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
|
a18-pour-water/b512-2cam-cropped-v2/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)
|
a18-pour-water/b512-2cam-cropped-v2/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)
|
a18-pour-water/b512-2cam-cropped-v2/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
|
a18-pour-water/b512-2cam-cropped-v2/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)
|
a18-pour-water/b512-2cam-cropped-v2/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()
|
a18-pour-water/b512-2cam-cropped-v2/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')
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/code_commit.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
78235367c03e0ea376ca1880ec3026c28dd93258
|
a18-pour-water/b512-2cam-cropped-v2/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
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/inloop-mse.jsonl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"step": 250, "utc": "2026-11-25T04:12:51Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 5.3, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.01488072634145058, "mae_raw": 0.0439077076241608, "nmse": 0.32452999129008314, "groups": {"body_target": {"mse_raw": 0.00841030890055469, "nmse": 0.46561863446533436}, "hands": {"mse_raw": 0.02399813273544023, "nmse": 0.1257232668158656}}, "nmse_by_step": [0.3003274567625824, 0.2887981534104757, 0.30021420321704434, 0.2866542107742167, 0.2966113472774343, 0.2930794702808697, 0.2868347649799171, 0.299329847693343, 0.3074036529969199, 0.3474564725182186, 0.3554310741772456, 0.34470216441832363, 0.362051333242323, 0.3681589239903593, 0.3617295522868279, 0.39717496817507913], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001682262863786998, "rms_raw": 0.0410153978864889, "mae_raw": 0.03156293719000172}, "nmse_per_episode": {"0": 0.3078153627691416, "11": 0.32246261179290275, "22": 0.32061698750693474, "33": 0.33308243543099647, "44": 0.33389703599387965, "55": 0.3110846812349795, "66": 0.3177140937331799, "77": 0.3715100941990808, "88": 0.30170952754037833, "99": 0.32497896411852933}, "nmse_episode_sem": 0.006160059519532226}
|
| 2 |
+
{"step": 500, "utc": "2026-11-25T04:16:10Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.7, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.010647174790885923, "mae_raw": 0.04635779141064304, "nmse": 0.28813137402782074, "groups": {"body_target": {"mse_raw": 0.0064109804835714825, "nmse": 0.43036381529758383}, "hands": {"mse_raw": 0.016616357678465362, "nmse": 0.087712934056791}}, "nmse_by_step": [0.26568227033996844, 0.2528580970200166, 0.2262269380868325, 0.19180268150875357, 0.19017059860051191, 0.20227998499760969, 0.21328138650408981, 0.22269365886618883, 0.23375444937929113, 0.28582837724996224, 0.35745474811524436, 0.42440822680658236, 0.45666643801631834, 0.40711930301974447, 0.3223481723317339, 0.3650012395687978], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.004552534579144801, "rms_raw": 0.0674724727510768, "mae_raw": 0.05183950752505654}, "nmse_per_episode": {"0": 0.2679874610544724, "11": 0.28638095569464234, "22": 0.2744759547653731, "33": 0.27942886555435853, "44": 0.279740223616835, "55": 0.2681003403012679, "66": 0.28926068482361444, "77": 0.34964633736230033, "88": 0.27740338177679563, "99": 0.3081818553595571}, "nmse_episode_sem": 0.0077782650420195635}
|
| 3 |
+
{"step": 750, "utc": "2026-11-25T04:19:26Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.7, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.008458451248768534, "mae_raw": 0.043944107419435, "nmse": 0.24017143781715786, "groups": {"body_target": {"mse_raw": 0.004648186540507911, "nmse": 0.3585481083980035}, "hands": {"mse_raw": 0.013827460610408503, "nmse": 0.07336794745323924}}, "nmse_by_step": [0.23667366592589784, 0.2196241215616713, 0.19173029330545363, 0.16469676263478, 0.16191894212652191, 0.17128535975360817, 0.18014264356986873, 0.1845995715029074, 0.19087633139456753, 0.2245095850613366, 0.2809485772190821, 0.3406367467764401, 0.37318487310020626, 0.33979203565678395, 0.2714589305131841, 0.3166168651232938], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.002754296573706575, "rms_raw": 0.05248139264259834, "mae_raw": 0.039740748063384124}, "nmse_per_episode": {"0": 0.2207170865363592, "11": 0.23355396624718952, "22": 0.2274989673108805, "33": 0.23004115095014827, "44": 0.23240365922331566, "55": 0.22151773959130977, "66": 0.23912024773010898, "77": 0.3061878040428327, "88": 0.2288555890219391, "99": 0.26104174883086545}, "nmse_episode_sem": 0.008176252482830562}
|
| 4 |
+
{"step": 1000, "utc": "2026-11-25T04:22:44Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.7, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00843918600717388, "mae_raw": 0.044427623777116496, "nmse": 0.21095599782242336, "groups": {"body_target": {"mse_raw": 0.0037506183274360005, "nmse": 0.3033852798752726}, "hands": {"mse_raw": 0.015045804101349987, "nmse": 0.08071473674795392}}, "nmse_by_step": [0.21137802375708292, 0.19834384456267734, 0.17568604197010965, 0.1560008590447389, 0.15429647207758032, 0.1610239286057816, 0.1664784051787436, 0.16686390751559885, 0.17024198565335028, 0.1908346560578514, 0.23530663070683114, 0.287814366802376, 0.3199118770504522, 0.29385354834033695, 0.23238835903021435, 0.25931704249151943], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.002037821685915452, "rms_raw": 0.045142238379542635, "mae_raw": 0.03366650966105941}, "nmse_per_episode": {"0": 0.20496660369142672, "11": 0.2019727188969592, "22": 0.19700385438595455, "33": 0.21236460535715013, "44": 0.20571750518767487, "55": 0.1975322407089856, "66": 0.20566225551060363, "77": 0.2628912218416033, "88": 0.19549220317794924, "99": 0.22515772375128587}, "nmse_episode_sem": 0.006400436619167839}
|
| 5 |
+
{"step": 1250, "utc": "2026-11-25T04:26:02Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.7, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.009361138375000862, "mae_raw": 0.04432957317375855, "nmse": 0.1998179492173925, "groups": {"body_target": {"mse_raw": 0.0032792866677200556, "nmse": 0.2732122299143729}, "hands": {"mse_raw": 0.01793102032616927, "nmse": 0.09639873550801101}}, "nmse_by_step": [0.1941857483391721, 0.18333164659538365, 0.16283216415044927, 0.14642095431738317, 0.14586481716060332, 0.15279747586080122, 0.15889615857941403, 0.16036237738501985, 0.16569791209477333, 0.1834752177098493, 0.22511130401308516, 0.27548814933992166, 0.3056134595105052, 0.2799726957272268, 0.22131111745211654, 0.240082222927468], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0015249078181428662, "rms_raw": 0.0390500680939594, "mae_raw": 0.02902445022693605}, "nmse_per_episode": {"0": 0.19963774576758964, "11": 0.1883781638145307, "22": 0.1916160581420146, "33": 0.2085284002855831, "44": 0.19385866126126464, "55": 0.1894768959012078, "66": 0.18758025231898445, "77": 0.24599500167746371, "88": 0.1823464024929028, "99": 0.2096053731760713}, "nmse_episode_sem": 0.005868457008175313}
|
| 6 |
+
{"step": 1500, "utc": "2026-11-25T04:29:15Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.4, "infer_s_per_query": 0.0103, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.009542520766589482, "mae_raw": 0.04282060179245444, "nmse": 0.18967844109429918, "groups": {"body_target": {"mse_raw": 0.002960719261913446, "nmse": 0.2527188345524892}, "hands": {"mse_raw": 0.018816877432269345, "nmse": 0.10084879576684949}}, "nmse_by_step": [0.17769634491981115, 0.1684586537214117, 0.15091866973966242, 0.13678649994501468, 0.13735551902519647, 0.14502346726687546, 0.15238148365701867, 0.15478423135028058, 0.16103489320046385, 0.17531096026836449, 0.21388650590400232, 0.26185171736393714, 0.29048622260339013, 0.2674325047859065, 0.21442977102728675, 0.23143200820150836], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0011619194863772943, "rms_raw": 0.034086940114614196, "mae_raw": 0.025344217175983074}, "nmse_per_episode": {"0": 0.18728412195447527, "11": 0.17670834391836285, "22": 0.18708818669151261, "33": 0.19845735397217115, "44": 0.18189345938855297, "55": 0.17931082525278835, "66": 0.17512307522910053, "77": 0.23763921425202184, "88": 0.1739094784351689, "99": 0.19799825313939556}, "nmse_episode_sem": 0.006014439975925698}
|
| 7 |
+
{"step": 1750, "utc": "2026-11-25T04:32:30Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 2.9, "infer_s_per_query": 0.0067, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00873909198215152, "mae_raw": 0.040440941799154626, "nmse": 0.1773607096085578, "groups": {"body_target": {"mse_raw": 0.002727525422724374, "nmse": 0.23782028897305005}, "hands": {"mse_raw": 0.01720993577043523, "nmse": 0.0921676659585913}}, "nmse_by_step": [0.16265726891443505, 0.1558118342588078, 0.14256128623548697, 0.13053319922445153, 0.1319499920021214, 0.13994631267910088, 0.14763947824465656, 0.1493063487885937, 0.15362225351147582, 0.16121055380620802, 0.19381054473117793, 0.23719848016213604, 0.2648653732841998, 0.2466196086206596, 0.2027731737627869, 0.22131821657336315], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0009273780063880136, "rms_raw": 0.030452881741930657, "mae_raw": 0.022518669772650563}, "nmse_per_episode": {"0": 0.17441554810761606, "11": 0.16546266477947208, "22": 0.1779086003996071, "33": 0.18373038545111012, "44": 0.16785455059084467, "55": 0.16440641574428894, "66": 0.16567680856111713, "77": 0.22351855004874205, "88": 0.16449232892884125, "99": 0.18482320550770823}, "nmse_episode_sem": 0.0057130078789201615}
|
| 8 |
+
{"step": 2000, "utc": "2026-11-25T04:35:44Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 3.8, "infer_s_per_query": 0.0088, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00773378360114973, "mae_raw": 0.038081963536049125, "nmse": 0.16615515566838818, "groups": {"body_target": {"mse_raw": 0.0025577310453311773, "nmse": 0.22692615648403172}, "hands": {"mse_raw": 0.015027312202530417, "nmse": 0.08052329088270868}}, "nmse_by_step": [0.15146803380700205, 0.14690414818037337, 0.13731007391447145, 0.12663705489317365, 0.1282702469201872, 0.13614926723296866, 0.1434555274553855, 0.1438235345423496, 0.14572610577450917, 0.14716047683698125, 0.17431301019423487, 0.21339345775375954, 0.240430934597097, 0.22612802236495805, 0.19019680169775383, 0.21067703774945498], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0007932607390745529, "rms_raw": 0.02816488485818028, "mae_raw": 0.02070836078058912}, "nmse_per_episode": {"0": 0.16242371478663245, "11": 0.15520527276535528, "22": 0.16461232421548858, "33": 0.1740903832292428, "44": 0.15665020024456705, "55": 0.15254480720475055, "66": 0.15918258817953865, "77": 0.2061191976253064, "88": 0.15622620291617953, "99": 0.17335516571799253}, "nmse_episode_sem": 0.005023049938297841}
|
| 9 |
+
{"step": 2250, "utc": "2026-11-25T04:38:34Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 3.9, "infer_s_per_query": 0.0091, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0070622599468177505, "mae_raw": 0.03627400026835488, "nmse": 0.15792796668368606, "groups": {"body_target": {"mse_raw": 0.002424122402250236, "nmse": 0.21833093039441667}, "hands": {"mse_raw": 0.013597817395981069, "nmse": 0.0728146996367476}}, "nmse_by_step": [0.14323819499386162, 0.14056495217105539, 0.13394491466064723, 0.1243309707930422, 0.12603845759900725, 0.13378322924824665, 0.14080707070716542, 0.1402040584459929, 0.14033693564112637, 0.13687654891592477, 0.15981315351425723, 0.19543751670260504, 0.22193365524605382, 0.21029154814151627, 0.18036674893019816, 0.2020335039493818], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0007158352308296846, "rms_raw": 0.02675509728686638, "mae_raw": 0.019500724123077462}, "nmse_per_episode": {"0": 0.15498059086406551, "11": 0.14821750420350135, "22": 0.15404412812342905, "33": 0.1675398396998496, "44": 0.1484888742230778, "55": 0.14636104145438136, "66": 0.15369577133875909, "77": 0.1939886438994158, "88": 0.14738142737389506, "99": 0.16362207930048842}, "nmse_episode_sem": 0.004588859516792385}
|
| 10 |
+
{"step": 2500, "utc": "2026-11-25T04:41:52Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 3.9, "infer_s_per_query": 0.0089, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.006527427038706344, "mae_raw": 0.03479519004011973, "nmse": 0.15138369589980746, "groups": {"body_target": {"mse_raw": 0.0023185910166417176, "nmse": 0.21156007652748396}, "hands": {"mse_raw": 0.012458059615251956, "nmse": 0.06658970501535418}}, "nmse_by_step": [0.1372498885497294, 0.1358020791904915, 0.1313750120150153, 0.12250427566211106, 0.12421520322113125, 0.13179235122707167, 0.13852020898327488, 0.13718299581799967, 0.13603509733101904, 0.12890918954672706, 0.1486986053952381, 0.18150754105461014, 0.20748950697918786, 0.19746174347820533, 0.17191607431011754, 0.19428541528341284], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0006601234688102071, "rms_raw": 0.025692868053415273, "mae_raw": 0.018519567683349135}, "nmse_per_episode": {"0": 0.14670224392738854, "11": 0.14300550091333508, "22": 0.14577863177603928, "33": 0.16162544051095704, "44": 0.142671104543096, "55": 0.14189894893997068, "66": 0.14944038098476292, "77": 0.18604025193306228, "88": 0.13858340399814892, "99": 0.15728832024132983}, "nmse_episode_sem": 0.004469390793607766}
|
| 11 |
+
{"step": 2750, "utc": "2026-11-25T04:45:04Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.2, "infer_s_per_query": 0.0098, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.006114284354960908, "mae_raw": 0.03343466281294017, "nmse": 0.146191744271886, "groups": {"body_target": {"mse_raw": 0.0022328397392878526, "nmse": 0.20608653342315628}, "hands": {"mse_raw": 0.011583592677045666, "nmse": 0.06179454137691427}}, "nmse_by_step": [0.13233325050585307, 0.1319999948989485, 0.1292938747296152, 0.12112660088590507, 0.12271083192013964, 0.13007023895201875, 0.13667099391061086, 0.1350024827305216, 0.13323243618439617, 0.12306827895096029, 0.14014828449069264, 0.17041652363195875, 0.19580564525242286, 0.1872038015847855, 0.16527004949209873, 0.1872335169179472], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0005959698784821574, "rms_raw": 0.02441249431094982, "mae_raw": 0.017506802570022743}, "nmse_per_episode": {"0": 0.14077797454944674, "11": 0.1389441191654187, "22": 0.1403701541188474, "33": 0.1565698618570388, "44": 0.1385533672115464, "55": 0.13772474092054698, "66": 0.14557513364446745, "77": 0.17963947673119685, "88": 0.13152494151891325, "99": 0.15155737781758247}, "nmse_episode_sem": 0.004367122139354084}
|
| 12 |
+
{"step": 3000, "utc": "2026-11-25T04:48:30Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 3.1, "infer_s_per_query": 0.0073, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.005643407686499844, "mae_raw": 0.03203468841986018, "nmse": 0.1410116070208975, "groups": {"body_target": {"mse_raw": 0.0021631396254242754, "nmse": 0.20124918129292435}, "hands": {"mse_raw": 0.010547421772560874, "nmse": 0.05613138872849592}}, "nmse_by_step": [0.12794422560667967, 0.1285502967878008, 0.12744112125119852, 0.11969741505557847, 0.12095776322558535, 0.1279266387165389, 0.1342859534554344, 0.13229453695655166, 0.1299839104031743, 0.11731571790309403, 0.13180653226221584, 0.15950335002396165, 0.18430365007569638, 0.17739536465703507, 0.15884820231905736, 0.1801658751909147], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0005437483974631828, "rms_raw": 0.023318413270700535, "mae_raw": 0.01660895146563563}, "nmse_per_episode": {"0": 0.1349168654574038, "11": 0.1352289641185898, "22": 0.135253627374757, "33": 0.15016085961323739, "44": 0.13458264735188016, "55": 0.13312456005808534, "66": 0.14214184875952332, "77": 0.17352790434613152, "88": 0.12469051694107539, "99": 0.14596911582935698}, "nmse_episode_sem": 0.00426940013851438}
|
| 13 |
+
{"step": 3250, "utc": "2026-11-25T04:51:11Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.5, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.005414642166445048, "mae_raw": 0.031051995889764743, "nmse": 0.13748937639362166, "groups": {"body_target": {"mse_raw": 0.0021093021541736287, "nmse": 0.19711266851054446}, "hands": {"mse_raw": 0.010072166729191138, "nmse": 0.053474737501594066}}, "nmse_by_step": [0.12444413178112514, 0.12574114680287002, 0.125932118785946, 0.11862525960408181, 0.11967994615716214, 0.12643981744633515, 0.13280689934936993, 0.13076796408307662, 0.1283208479502448, 0.11391549360999842, 0.12641045713162344, 0.15209053361125652, 0.17642309380867985, 0.17072602022542605, 0.15456379860800706, 0.17499237610043147], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.000505174524247746, "rms_raw": 0.02247608783235521, "mae_raw": 0.015961687036679807}, "nmse_per_episode": {"0": 0.12951332461266254, "11": 0.1319589036900144, "22": 0.13223798083700258, "33": 0.14727826851461967, "44": 0.13161991670649298, "55": 0.1301573944468781, "66": 0.13921058447254187, "77": 0.16880795337256546, "88": 0.12182076112579382, "99": 0.14180082863000787}, "nmse_episode_sem": 0.004154913767505353}
|
| 14 |
+
{"step": 3500, "utc": "2026-11-25T04:54:32Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.5, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.005189873196231454, "mae_raw": 0.03014024226317085, "nmse": 0.13440349330221055, "groups": {"body_target": {"mse_raw": 0.002064884153642929, "nmse": 0.19368275157665435}, "hands": {"mse_raw": 0.009593266847151649, "nmse": 0.05087362937003956}}, "nmse_by_step": [0.12131178490191648, 0.12320700679154994, 0.12438161750121852, 0.11747945885149134, 0.11842623718060188, 0.1250584468945658, 0.1314999810909637, 0.12945947965661656, 0.12693141116463497, 0.1106792091574041, 0.12157648127036158, 0.14568313327164528, 0.16978988049687138, 0.16502555582418502, 0.15116110062717844, 0.17068960434491526], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0004633582821696865, "rms_raw": 0.021525758573617947, "mae_raw": 0.01533332930918009}, "nmse_per_episode": {"0": 0.12540753074589045, "11": 0.1294234378724513, "22": 0.1297552665782563, "33": 0.14368887118506285, "44": 0.12898435730324126, "55": 0.12691979214496873, "66": 0.13677187157030327, "77": 0.16492727819166703, "88": 0.11926129892357705, "99": 0.13844971623134406}, "nmse_episode_sem": 0.004057741775587696}
|
| 15 |
+
{"step": 3750, "utc": "2026-11-25T04:57:47Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.5, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00503249109970462, "mae_raw": 0.0294447227740801, "nmse": 0.13178222962487818, "groups": {"body_target": {"mse_raw": 0.0020282123878151096, "nmse": 0.19048882587103533}, "hands": {"mse_raw": 0.009265792921003475, "nmse": 0.04905929855074755}}, "nmse_by_step": [0.11857130192096221, 0.12093801102786168, 0.12281862454076276, 0.11631367700973817, 0.11720185768743475, 0.12373811308370555, 0.1301801543649541, 0.12809952147810305, 0.1254415604329621, 0.10812324754582703, 0.11765126352932076, 0.1404411897079263, 0.1644068003306258, 0.16066243336117544, 0.14860758576286015, 0.16712165628523673], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0004373570887928548, "rms_raw": 0.020913084153057263, "mae_raw": 0.014896046127609378}, "nmse_per_episode": {"0": 0.12336584450283468, "11": 0.12707317515175098, "22": 0.1269045931031384, "33": 0.13936050357631347, "44": 0.12684360945090545, "55": 0.1251811215316395, "66": 0.13463633742030773, "77": 0.1617908392799603, "88": 0.11696881180650365, "99": 0.1353502207833751}, "nmse_episode_sem": 0.003920055752901432}
|
| 16 |
+
{"step": 4000, "utc": "2026-11-25T05:01:03Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.7, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004902028309361358, "mae_raw": 0.028796326181030132, "nmse": 0.12928286989953408, "groups": {"body_target": {"mse_raw": 0.0019924077371506247, "nmse": 0.18724845717853952}, "hands": {"mse_raw": 0.00900194820656739, "nmse": 0.04760408782457185}}, "nmse_by_step": [0.11608031444158437, 0.11879974613015963, 0.12143069985307757, 0.11501593658402615, 0.11562046448427546, 0.12185621975592995, 0.12822008807376967, 0.12630348271376587, 0.12383391720315766, 0.10625906367828988, 0.11454539109103763, 0.13604735454768196, 0.15976002503405262, 0.1568457448755066, 0.1461397964563849, 0.16348270895326486], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0004086224416234651, "rms_raw": 0.020214411730828705, "mae_raw": 0.014415922364805015}, "nmse_per_episode": {"0": 0.12050252789125068, "11": 0.12464255087889116, "22": 0.12432066807350549, "33": 0.1363425992680981, "44": 0.12471790173920795, "55": 0.12301159016674353, "66": 0.1326861161422523, "77": 0.15869986603842157, "88": 0.11463614606025284, "99": 0.13296833512635367}, "nmse_episode_sem": 0.0038561638566222867}
|
| 17 |
+
{"step": 4250, "utc": "2026-11-25T05:06:01Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0057, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004803214556753495, "mae_raw": 0.02822610313412825, "nmse": 0.12724134028581616, "groups": {"body_target": {"mse_raw": 0.001962534537553234, "nmse": 0.18450625415987892}, "hands": {"mse_raw": 0.008805990947444772, "nmse": 0.04654987073600034}}, "nmse_by_step": [0.11393987522110664, 0.11699820611845323, 0.12015627757127154, 0.11386892238467816, 0.1142703447765342, 0.12040039895656564, 0.12681385120290703, 0.12510904102392092, 0.12275354096851883, 0.10470686697044418, 0.11196525908914809, 0.1324811403957759, 0.15605075345454059, 0.15355658160738364, 0.1440641794080278, 0.1603703534483223], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0003832403907623623, "rms_raw": 0.019576526524446625, "mae_raw": 0.013978069358437487}, "nmse_per_episode": {"0": 0.11814056950673368, "11": 0.12254364571535052, "22": 0.12269316403642296, "33": 0.13350153885446245, "44": 0.1227069499199639, "55": 0.12140352931805116, "66": 0.13086872110026312, "77": 0.15654395753246272, "88": 0.1128002771400914, "99": 0.1309366472330043}, "nmse_episode_sem": 0.0038201256914552183}
|
| 18 |
+
{"step": 4500, "utc": "2026-11-25T05:11:10Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 5.0, "infer_s_per_query": 0.0118, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004727688590829388, "mae_raw": 0.027725689392368774, "nmse": 0.12543889454873577, "groups": {"body_target": {"mse_raw": 0.001935915704806715, "nmse": 0.18197362978899526}, "hands": {"mse_raw": 0.008661550384770426, "nmse": 0.045776313073824765}}, "nmse_by_step": [0.11194951979140037, 0.11516301379720725, 0.11899845886163458, 0.11275873264066252, 0.1130572092507512, 0.119148098471738, 0.12570123342880835, 0.1242003466013305, 0.12204286175706032, 0.10338686957785553, 0.10965165925047089, 0.1291802727055151, 0.1526076893223569, 0.15078661641874366, 0.1423792295379073, 0.15759644434825373], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.000359358880521904, "rms_raw": 0.018956763450597363, "mae_raw": 0.013566385691403827}, "nmse_per_episode": {"0": 0.11621386877577151, "11": 0.12060490279108009, "22": 0.12187195924530436, "33": 0.13150473110350983, "44": 0.12066292648196937, "55": 0.1199319198953338, "66": 0.12945117666138786, "77": 0.15381728808889983, "88": 0.11092203224482716, "99": 0.12914158206434312}, "nmse_episode_sem": 0.003737194917370663}
|
| 19 |
+
{"step": 4750, "utc": "2026-11-25T05:16:08Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0055, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004651197941224359, "mae_raw": 0.02721618369331889, "nmse": 0.12367798719039796, "groups": {"body_target": {"mse_raw": 0.0019112975181050844, "nmse": 0.17952412932959855}, "hands": {"mse_raw": 0.008511966719256065, "nmse": 0.04498569599425163}}, "nmse_by_step": [0.11016878087463113, 0.11340126610715247, 0.11772717215289084, 0.11142228028711243, 0.11155245151845201, 0.11749011875021013, 0.12412107402906696, 0.1230440207591522, 0.12115099648090873, 0.1022899784234813, 0.10771345460546984, 0.12641049735063722, 0.14972012576576194, 0.14838928506730298, 0.140789493775798, 0.15500236973982223], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0003412751280875898, "rms_raw": 0.01847363332123894, "mae_raw": 0.013242653019102178}, "nmse_per_episode": {"0": 0.11366360890809768, "11": 0.11875647856729998, "22": 0.12020831841911564, "33": 0.1309237211491861, "44": 0.11858754952261948, "55": 0.11831974779643467, "66": 0.12764609822108003, "77": 0.15162504767242552, "88": 0.1092416376059966, "99": 0.12749953401917136}, "nmse_episode_sem": 0.0037467891088520957}
|
| 20 |
+
{"step": 5000, "utc": "2026-11-25T05:20:59Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.0052, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0045656334376026455, "mae_raw": 0.02674815213994617, "nmse": 0.12206054068200911, "groups": {"body_target": {"mse_raw": 0.0018886753632232321, "nmse": 0.1774216905866568}, "hands": {"mse_raw": 0.008337710724228179, "nmse": 0.044051647634551105}}, "nmse_by_step": [0.10858545509348606, 0.11183452702756978, 0.1168863483458826, 0.11041092140986063, 0.11031414941045821, 0.11607457623529162, 0.12278602162944095, 0.12207407623103994, 0.12028543512410118, 0.10101008098921488, 0.10561773197949606, 0.12356848431978881, 0.1468684158643914, 0.14611546180332974, 0.13936356089732968, 0.15267271282552627], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00032592354465379374, "rms_raw": 0.018053352726122473, "mae_raw": 0.012955500865635709}, "nmse_per_episode": {"0": 0.1110812239205743, "11": 0.11708340445282699, "22": 0.11894482999027199, "33": 0.13000948957198036, "44": 0.11683644732336869, "55": 0.11680229686700806, "66": 0.12637554725362843, "77": 0.1495628212165836, "88": 0.10781418603894108, "99": 0.12577635087698896}, "nmse_episode_sem": 0.0037489278778498527}
|
| 21 |
+
{"step": 5250, "utc": "2026-11-25T05:25:19Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0099, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0045158793106973025, "mae_raw": 0.026300611767618998, "nmse": 0.12068700730519147, "groups": {"body_target": {"mse_raw": 0.0018683909603904336, "nmse": 0.17542384427830923}, "hands": {"mse_raw": 0.0082464310770388, "nmse": 0.04355782793398014}}, "nmse_by_step": [0.10708710255657332, 0.11035871135069583, 0.11591726679606455, 0.10937756565515638, 0.10911594698378602, 0.11479032818934289, 0.12166813030820103, 0.12135905639038191, 0.11969319375967939, 0.10017554067568854, 0.10422790122842973, 0.12155603979349631, 0.1446891958828412, 0.14409791668253588, 0.1379970933393054, 0.15034570631306368], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00031167870565278015, "rms_raw": 0.0176544245347386, "mae_raw": 0.012708549261761931}, "nmse_per_episode": {"0": 0.11033393620578079, "11": 0.11548737455309831, "22": 0.11740315222474745, "33": 0.12972059797255342, "44": 0.11529378046207034, "55": 0.11567730119427883, "66": 0.1250847132539962, "77": 0.14786869669029937, "88": 0.10610514006634933, "99": 0.12357728838922392}, "nmse_episode_sem": 0.0037415895191482314}
|
| 22 |
+
{"step": 5500, "utc": "2026-11-25T05:29:54Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 7.7, "infer_s_per_query": 0.0178, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00441907693927409, "mae_raw": 0.02581903667076892, "nmse": 0.119212273341673, "groups": {"body_target": {"mse_raw": 0.0018509857560807751, "nmse": 0.17368433928518368}, "hands": {"mse_raw": 0.008037750879228305, "nmse": 0.04245618042127166}}, "nmse_by_step": [0.1056950380467016, 0.10898871302492627, 0.11511950195578914, 0.10850992831156064, 0.10808819139373409, 0.11372864229904207, 0.1207412459750845, 0.12069349852776043, 0.11900807544592092, 0.09886593164399288, 0.10232893357970843, 0.11903251603870654, 0.14205594468475885, 0.14177816249243036, 0.13628118812750672, 0.14788941000059003], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0002968963205174533, "rms_raw": 0.01723067963016704, "mae_raw": 0.012427699411254383}, "nmse_per_episode": {"0": 0.10822280491310139, "11": 0.11410966916058282, "22": 0.11615090493721825, "33": 0.12803044312693165, "44": 0.11396853375063119, "55": 0.11434634840858071, "66": 0.12393272945783579, "77": 0.14652400781026248, "88": 0.10511031290213799, "99": 0.12143732437439286}, "nmse_episode_sem": 0.0037373972033139923}
|
| 23 |
+
{"step": 5750, "utc": "2026-11-25T05:34:59Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 5.8, "infer_s_per_query": 0.0135, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004368274004137421, "mae_raw": 0.025432843353689973, "nmse": 0.11785494248288239, "groups": {"body_target": {"mse_raw": 0.0018327268802589137, "nmse": 0.17173987145352124}, "hands": {"mse_raw": 0.007941090405966229, "nmse": 0.041926178933345944}}, "nmse_by_step": [0.10434459877742085, 0.10760352283092493, 0.11415889818585676, 0.1075034108496165, 0.10698220730056826, 0.11259376882412195, 0.11977897010200157, 0.11999923600441062, 0.11831521999410387, 0.09815594807833312, 0.10100139243228534, 0.11702656715770203, 0.13978191018842817, 0.13962797210915315, 0.13456216561853085, 0.1456074816993323], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.000284290516902775, "rms_raw": 0.01686091684644625, "mae_raw": 0.012179356588645086}, "nmse_per_episode": {"0": 0.10619580462642274, "11": 0.11260752451406411, "22": 0.1154499098293387, "33": 0.12682650232016981, "44": 0.11253818358971629, "55": 0.11382539881284734, "66": 0.1226806893501366, "77": 0.14483588074223275, "88": 0.10371878227659959, "99": 0.11959048925073112}, "nmse_episode_sem": 0.0037243094241213794}
|
| 24 |
+
{"step": 6000, "utc": "2026-11-25T05:39:55Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 8.3, "infer_s_per_query": 0.0193, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004304955523172986, "mae_raw": 0.025075904537885205, "nmse": 0.1165131063509563, "groups": {"body_target": {"mse_raw": 0.0018162770007547982, "nmse": 0.169922236577341}, "hands": {"mse_raw": 0.007811729804762251, "nmse": 0.04125478648650512}}, "nmse_by_step": [0.10304543312197384, 0.10631760387761696, 0.11335325094932626, 0.1066493889795793, 0.10600834857757468, 0.11157060860864829, 0.11885979452922467, 0.1192022022916529, 0.11754873938184557, 0.09728634345837789, 0.09966327011224961, 0.11507563953538688, 0.13755517529573316, 0.13734038932824782, 0.13273790303475094, 0.14330878368467237], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0002755829698386764, "rms_raw": 0.016600691848193447, "mae_raw": 0.011985311003800703}, "nmse_per_episode": {"0": 0.10441767571720957, "11": 0.11142127547432527, "22": 0.11430049009413551, "33": 0.12505458903419372, "44": 0.11141099848267591, "55": 0.11325799104569445, "66": 0.12135508848883643, "77": 0.14343829212532197, "88": 0.10226374385515397, "99": 0.11796008709557426}, "nmse_episode_sem": 0.0037122144851164706}
|
| 25 |
+
{"step": 6250, "utc": "2026-11-25T05:44:40Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 7.0, "infer_s_per_query": 0.0162, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004235162801781865, "mae_raw": 0.02471005414922739, "nmse": 0.11522539274232828, "groups": {"body_target": {"mse_raw": 0.001799733020662014, "nmse": 0.16825435374929754}, "hands": {"mse_raw": 0.007666904766087113, "nmse": 0.0405027658688716}}, "nmse_by_step": [0.10192877639846101, 0.10510548918131381, 0.11248061053239272, 0.1057290625012245, 0.10498553641813436, 0.11038518039955851, 0.11764798557127908, 0.1181115479247819, 0.11647993045393362, 0.09633404243751592, 0.0982367347452514, 0.11323118920701727, 0.1356978397729866, 0.13561153205193813, 0.1313996428916698, 0.1415244790066731], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00026400458212365, "rms_raw": 0.01624821781376807, "mae_raw": 0.011756727631730059}, "nmse_per_episode": {"0": 0.10292868914148245, "11": 0.11017312755912745, "22": 0.11302255017062075, "33": 0.12280065722945782, "44": 0.11031512427113337, "55": 0.11247029447811394, "66": 0.12013814119662843, "77": 0.1421705466886074, "88": 0.10122761396537855, "99": 0.11678828066197568}, "nmse_episode_sem": 0.0036806171121600917}
|
| 26 |
+
{"step": 6500, "utc": "2026-11-25T05:48:19Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 3.2, "infer_s_per_query": 0.0074, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0042014419060789005, "mae_raw": 0.024408111679424322, "nmse": 0.11417729974800367, "groups": {"body_target": {"mse_raw": 0.0017846939550574645, "nmse": 0.16668531860504557}, "hands": {"mse_raw": 0.007606859473427286, "nmse": 0.04018872772217174}}, "nmse_by_step": [0.10085967992381296, 0.10395080527768877, 0.1116070283257112, 0.10486787481404154, 0.10406460843770127, 0.10939161666009582, 0.11675909380411242, 0.11753737505816224, 0.11595759317956891, 0.09598001893345687, 0.09753179514901117, 0.11209343566297723, 0.13423619105336757, 0.13388986368154762, 0.12989329884400633, 0.1394679458848528], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00025468800372980855, "rms_raw": 0.015958947450562287, "mae_raw": 0.01155859109752561}, "nmse_per_episode": {"0": 0.10146156994762726, "11": 0.10915421188816105, "22": 0.11160789792741939, "33": 0.12285323977458555, "44": 0.10917392681453006, "55": 0.11175804545987349, "66": 0.11889880595440701, "77": 0.14105762929902738, "88": 0.1000976891468013, "99": 0.11546913055872655}, "nmse_episode_sem": 0.0037184594888710586}
|
| 27 |
+
{"step": 6750, "utc": "2026-11-25T05:53:22Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0059, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004119725664771923, "mae_raw": 0.024060603876132864, "nmse": 0.11286728701181345, "groups": {"body_target": {"mse_raw": 0.0017695014295561835, "nmse": 0.1651057023343958}, "hands": {"mse_raw": 0.007431405268939558, "nmse": 0.039258610875447415}}, "nmse_by_step": [0.09994415783866357, 0.10284695886161133, 0.11083377332723011, 0.10401846067624618, 0.10313446332315705, 0.10831854306534544, 0.11567666438736578, 0.11661806654022658, 0.11493000802560849, 0.09500881414421035, 0.09620931904032416, 0.11037974269305298, 0.13222656426005186, 0.13159303134960507, 0.12798047661544582, 0.1373565961407038], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0002465387989154221, "rms_raw": 0.0157015540286757, "mae_raw": 0.011377837688080393}, "nmse_per_episode": {"0": 0.10019344053186406, "11": 0.108100189976773, "22": 0.10953668488395275, "33": 0.1209228593057276, "44": 0.10797811416400804, "55": 0.11115135678295296, "66": 0.11775370415157246, "77": 0.13995052943569292, "88": 0.09902508894935338, "99": 0.11386695818674143}, "nmse_episode_sem": 0.003706100530561218}
|
| 28 |
+
{"step": 7000, "utc": "2026-11-25T05:59:25Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 3.7, "infer_s_per_query": 0.0086, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004044639403309879, "mae_raw": 0.02371121318732481, "nmse": 0.11161178946917479, "groups": {"body_target": {"mse_raw": 0.0017563675444508726, "nmse": 0.1635582721255232}, "hands": {"mse_raw": 0.007269022477156659, "nmse": 0.03841447299886566}}, "nmse_by_step": [0.0989327549564098, 0.10165640894311004, 0.11019228963432076, 0.10332543696960445, 0.10234615103110974, 0.10733291980429091, 0.11463458773033228, 0.1156847745347177, 0.11379876448370801, 0.09409950879895808, 0.0948909479892855, 0.10859165543328603, 0.13017214108026914, 0.1295784867272429, 0.12634083595688747, 0.13536310938020338], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00023983559715564084, "rms_raw": 0.015486626396850956, "mae_raw": 0.011233719191468627}, "nmse_per_episode": {"0": 0.09888579666987597, "11": 0.1070371412541873, "22": 0.10810602990698055, "33": 0.11911770702898357, "44": 0.10695227235190362, "55": 0.11076207075323355, "66": 0.11658845043021633, "77": 0.13846908531351623, "88": 0.09782008416985447, "99": 0.11222961807886427}, "nmse_episode_sem": 0.0036675948396045154}
|
| 29 |
+
{"step": 7250, "utc": "2026-11-25T06:05:07Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.1, "infer_s_per_query": 0.0094, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003975253450337345, "mae_raw": 0.023350719753279396, "nmse": 0.11044111386286251, "groups": {"body_target": {"mse_raw": 0.0017436873162764936, "nmse": 0.1621020484120012}, "hands": {"mse_raw": 0.007119733002877638, "nmse": 0.03764616063453074}}, "nmse_by_step": [0.09800747441167044, 0.10056055929824799, 0.10946783152366031, 0.10257417255289883, 0.10147710699000177, 0.10626106495035986, 0.11352871721527327, 0.11467275502519288, 0.1128282524643017, 0.09330119818644518, 0.09383501264889593, 0.10714211647524507, 0.12843973720721408, 0.12775473618464314, 0.12482500109998192, 0.13349663393959527], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00023059669192284385, "rms_raw": 0.015185410495697634, "mae_raw": 0.01102323849041062}, "nmse_per_episode": {"0": 0.09762687889687316, "11": 0.10613072712709329, "22": 0.10614082129485694, "33": 0.11777455093309741, "44": 0.10605892616885648, "55": 0.10983732861773814, "66": 0.11534110167346477, "77": 0.13729719591634185, "88": 0.09690128405168233, "99": 0.11117083458937932}, "nmse_episode_sem": 0.0036571706901697234}
|
| 30 |
+
{"step": 7500, "utc": "2026-11-25T06:10:51Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.0, "infer_s_per_query": 0.0093, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003922338175162616, "mae_raw": 0.02301509835364411, "nmse": 0.1093171240916158, "groups": {"body_target": {"mse_raw": 0.001729649814446542, "nmse": 0.1605758573874612}, "hands": {"mse_raw": 0.007012035410717086, "nmse": 0.03708890899292463}}, "nmse_by_step": [0.09713114654098445, 0.09955331063511992, 0.10873381731603728, 0.10186013135732361, 0.10067140286254402, 0.10523777181878023, 0.11242502825009697, 0.11369306824012189, 0.11185342742014606, 0.09267755345638401, 0.09288326965731283, 0.10572440830611392, 0.12666257565652733, 0.12595091110290482, 0.12337203332257807, 0.13172043952729737], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00022349311965518475, "rms_raw": 0.014949686272801337, "mae_raw": 0.010855883257397413}, "nmse_per_episode": {"0": 0.09656156729152568, "11": 0.10512226499630414, "22": 0.10486883009352393, "33": 0.11605590706485022, "44": 0.10520064572309257, "55": 0.10914672015665515, "66": 0.11400575582055035, "77": 0.13587024215871782, "88": 0.09593093904486016, "99": 0.11029262460845678}, "nmse_episode_sem": 0.0036050359491137584}
|
| 31 |
+
{"step": 7750, "utc": "2026-11-25T06:15:40Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 5.5, "infer_s_per_query": 0.0128, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003845633541763557, "mae_raw": 0.022633966534514653, "nmse": 0.10794669863546769, "groups": {"body_target": {"mse_raw": 0.0017115334721790484, "nmse": 0.1588305390410031}, "hands": {"mse_raw": 0.006852774548905365, "nmse": 0.03624674170039502}}, "nmse_by_step": [0.09608909431258056, 0.09834747852152093, 0.10778243840082853, 0.10099276858833409, 0.09980230098146907, 0.10427290404137264, 0.11142958612828394, 0.11282178640583397, 0.11083301083123218, 0.09170966596318084, 0.09148503985325337, 0.10372899595399444, 0.12411412362803545, 0.12344145696970281, 0.12156910173805527, 0.12974848290459684], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00021816367485089658, "rms_raw": 0.014770364750096613, "mae_raw": 0.010732763747690307}, "nmse_per_episode": {"0": 0.09525955494218144, "11": 0.10395739299102666, "22": 0.10351559068415252, "33": 0.11370636051529086, "44": 0.10412387834218027, "55": 0.10791335531054899, "66": 0.11251528570435283, "77": 0.13424494900653486, "88": 0.09496383952067977, "99": 0.10917249815909788}, "nmse_episode_sem": 0.0035384050876613}
|
| 32 |
+
{"step": 8000, "utc": "2026-11-25T06:21:09Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 8.5, "infer_s_per_query": 0.0197, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003795760032095151, "mae_raw": 0.022274077158277075, "nmse": 0.10680175093594281, "groups": {"body_target": {"mse_raw": 0.0016932387803364778, "nmse": 0.15722205568061232}, "hands": {"mse_raw": 0.0067584036141187355, "nmse": 0.035754957886635796}}, "nmse_by_step": [0.09501311696059007, 0.0970552090750704, 0.10670445071821266, 0.10013506909753209, 0.09909326004101567, 0.10358094294400455, 0.11078158535220842, 0.11228289794552371, 0.11005728069562783, 0.09092453064267272, 0.0902667159233495, 0.10196580821401317, 0.12192717974382168, 0.1213789407810903, 0.12031071734464385, 0.12833716474653287], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00021445265429798215, "rms_raw": 0.014644202071058094, "mae_raw": 0.010647250289606983}, "nmse_per_episode": {"0": 0.09409269708665972, "11": 0.10280655013596234, "22": 0.10233614164098952, "33": 0.1125381759788103, "44": 0.1030115201340779, "55": 0.1068413202442925, "66": 0.1110811725455461, "77": 0.13285294218360572, "88": 0.09421542997417132, "99": 0.1081346376906973}, "nmse_episode_sem": 0.0034989939300829353}
|
| 33 |
+
{"step": 8250, "utc": "2026-11-25T06:26:37Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 8.3, "infer_s_per_query": 0.0196, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0037207936225777077, "mae_raw": 0.021870342630550644, "nmse": 0.105555999210038, "groups": {"body_target": {"mse_raw": 0.0016711856273281017, "nmse": 0.15564227822278742}, "hands": {"mse_raw": 0.006608877615883969, "nmse": 0.03497987878298203}}, "nmse_by_step": [0.09360410062547518, 0.09538343048187148, 0.10516336526373476, 0.09905772517963433, 0.0983564268955244, 0.10301032762056271, 0.11024195998841446, 0.1116238176084014, 0.1089424027985961, 0.08979939201081084, 0.08846543763922174, 0.09959328352820476, 0.11948896193553472, 0.11977276436161494, 0.11969540498865909, 0.1276776891704204], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0002111696470901279, "rms_raw": 0.014531677366709182, "mae_raw": 0.010584391162032223}, "nmse_per_episode": {"0": 0.09284352822986791, "11": 0.10171849208136656, "22": 0.10125423332941609, "33": 0.11113173702415012, "44": 0.10191018467817098, "55": 0.10580505417932912, "66": 0.10953865785110477, "77": 0.1313491039447975, "88": 0.09324152150776435, "99": 0.10666117018958862}, "nmse_episode_sem": 0.003453329904675576}
|
| 34 |
+
{"step": 8500, "utc": "2026-11-25T06:31:44Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 10.7, "infer_s_per_query": 0.0248, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0036249968658436174, "mae_raw": 0.021466622368181535, "nmse": 0.1045975324522469, "groups": {"body_target": {"mse_raw": 0.0016507225338386145, "nmse": 0.15474087148504548}, "hands": {"mse_raw": 0.006406928879123395, "nmse": 0.03394100926966706}}, "nmse_by_step": [0.09213259353100696, 0.09365209765283071, 0.1035899605562945, 0.09791432427226088, 0.09760708896820909, 0.10246573925653148, 0.10968024097352781, 0.11078428564562329, 0.10750355385291598, 0.08818606093464489, 0.0860023900240602, 0.09701689843468754, 0.11816697450663592, 0.12019849491876564, 0.12091901866304938, 0.12878924193500016], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020827664343205817, "rms_raw": 0.014431792800343905, "mae_raw": 0.010516460935497202}, "nmse_per_episode": {"0": 0.09194772925519906, "11": 0.10095637995025147, "22": 0.10028273252610756, "33": 0.11004089532954146, "44": 0.10119505922451749, "55": 0.10464620237322411, "66": 0.1085989748100575, "77": 0.1303518509946401, "88": 0.09233858599851448, "99": 0.10552283120697696}, "nmse_episode_sem": 0.003437595943579959}
|
| 35 |
+
{"step": 8750, "utc": "2026-11-25T06:36:49Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 6.1, "infer_s_per_query": 0.0142, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0035648451102183484, "mae_raw": 0.02121388680319038, "nmse": 0.10434612538795779, "groups": {"body_target": {"mse_raw": 0.0016335114983364802, "nmse": 0.1547348770403842}, "hands": {"mse_raw": 0.0062862697451428, "nmse": 0.033343793514084216}}, "nmse_by_step": [0.09087398615912758, 0.09212325988037437, 0.10202406656063782, 0.09675410334343977, 0.09686765243780324, 0.10205553442180748, 0.10935717618393095, 0.1102006698040289, 0.10634648579778742, 0.08653480164892452, 0.08341882547403684, 0.09493160563725968, 0.11862876139828253, 0.12343984763189661, 0.12474142538573113, 0.1324576694971043], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020656390045867542, "rms_raw": 0.014372331072539187, "mae_raw": 0.010467460861578343}, "nmse_per_episode": {"0": 0.09184869679168474, "11": 0.10072312237630464, "22": 0.09994691627660787, "33": 0.10964673902828392, "44": 0.10102060867822109, "55": 0.10447011021619158, "66": 0.10832630716384806, "77": 0.13011615553329908, "88": 0.09206469884891991, "99": 0.10521232754563149}, "nmse_episode_sem": 0.0034308326883021427}
|
| 36 |
+
{"step": 9000, "utc": "2026-11-25T06:42:17Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 6.4, "infer_s_per_query": 0.0148, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0035184539483423334, "mae_raw": 0.02108060366772125, "nmse": 0.1044671495656021, "groups": {"body_target": {"mse_raw": 0.0016193689163379343, "nmse": 0.15526288766100477}, "hands": {"mse_raw": 0.006194437402530352, "nmse": 0.03289133679480745}}, "nmse_by_step": [0.09006077345625728, 0.09087379594720557, 0.10077345158261591, 0.0957540168384772, 0.0962292508526698, 0.10172354879321831, 0.10918694824798905, 0.10984607985441061, 0.10538119065794484, 0.08488387337823489, 0.08107993372904367, 0.09333654502808257, 0.11973403628441337, 0.12749556407049104, 0.12949787571936258, 0.13703021783024946], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020517357913088188, "rms_raw": 0.014323881426864783, "mae_raw": 0.010421370581398984}, "nmse_per_episode": {"0": 0.09213874265604698, "11": 0.10096950508959407, "22": 0.09983309523526492, "33": 0.1095036224681715, "44": 0.10127834451394144, "55": 0.10456874037958881, "66": 0.10849570844872111, "77": 0.1302167405205002, "88": 0.09215476671184429, "99": 0.10544020511001899}, "nmse_episode_sem": 0.003420614405321078}
|
| 37 |
+
{"step": 9250, "utc": "2026-11-25T06:47:23Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0101, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0035047259184570433, "mae_raw": 0.021019400613136098, "nmse": 0.10474809653179512, "groups": {"body_target": {"mse_raw": 0.0016093489762439134, "nmse": 0.15580098645287788}, "hands": {"mse_raw": 0.0061754843370300915, "nmse": 0.03280993346117844}}, "nmse_by_step": [0.08964024552398044, 0.09004829742769284, 0.09980575354745053, 0.09493176431217287, 0.09563711995649753, 0.10135132114439516, 0.10893868420930727, 0.10949771477699677, 0.10461774050510304, 0.08387167821954666, 0.0796280197165286, 0.09251573897740584, 0.12107767287575864, 0.13108072478328445, 0.13375191650143514, 0.14116049773018086], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020350221773471317, "rms_raw": 0.014265420349036799, "mae_raw": 0.01037967699739034}, "nmse_per_episode": {"0": 0.0924818449909423, "11": 0.1013415103694505, "22": 0.09998407845602912, "33": 0.1095029082218082, "44": 0.10177624972351823, "55": 0.10479765794249771, "66": 0.10873647398360248, "77": 0.13049308462408285, "88": 0.09245883169469574, "99": 0.1058459963301767}, "nmse_episode_sem": 0.003411006336760044}
|
| 38 |
+
{"step": 9500, "utc": "2026-11-25T06:52:39Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 10.6, "infer_s_per_query": 0.0247, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003545993677023474, "mae_raw": 0.021122882362475892, "nmse": 0.10597257185635982, "groups": {"body_target": {"mse_raw": 0.0016059795285224717, "nmse": 0.15750234509796207}, "hands": {"mse_raw": 0.006279649977183979, "nmse": 0.03336243683410207}}, "nmse_by_step": [0.09011404838424796, 0.08988628726941647, 0.09930884889046389, 0.0943841229580895, 0.09521496099323724, 0.1010918763873288, 0.10883628773850429, 0.10940082064675886, 0.10422639906430291, 0.08333913315853687, 0.07884324649331474, 0.09270616024885386, 0.12402991211949423, 0.1369739580899908, 0.14061890261077403, 0.1484289933439786], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020245192205551376, "rms_raw": 0.014228560083701856, "mae_raw": 0.010339031782232428}, "nmse_per_episode": {"0": 0.0936099025290676, "11": 0.10261725655986767, "22": 0.10110029566986553, "33": 0.11079546801924318, "44": 0.10311514771552407, "55": 0.10601286370761755, "66": 0.10997748439145798, "77": 0.13178857988090908, "88": 0.0934759230412251, "99": 0.1071727853161942}, "nmse_episode_sem": 0.0034308593205699253}
|
| 39 |
+
{"step": 9750, "utc": "2026-11-25T06:57:34Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.6, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0036286714109866596, "mae_raw": 0.02127628902983856, "nmse": 0.10730210877810101, "groups": {"body_target": {"mse_raw": 0.0016072386475808422, "nmse": 0.1590420152620667}, "hands": {"mse_raw": 0.0064770539412403105, "nmse": 0.034395876914331186}}, "nmse_by_step": [0.09106278867842148, 0.09029989955169107, 0.09935120346292516, 0.09425576570076158, 0.09501452914932253, 0.1008899551961364, 0.10867696204447086, 0.10928397284801705, 0.10413886143734484, 0.08345546797648194, 0.07885893245240891, 0.09345631483773191, 0.12677580820458664, 0.14200212361892448, 0.14653725830237724, 0.15482544907276966], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00020081804265897768, "rms_raw": 0.014171028285166101, "mae_raw": 0.010279999529653654}, "nmse_per_episode": {"0": 0.09467877879722277, "11": 0.10393105506851491, "22": 0.10255166448817961, "33": 0.11254497175469833, "44": 0.10445660140770949, "55": 0.10757784722617059, "66": 0.11111388292552546, "77": 0.13301437285464646, "88": 0.09468941535197756, "99": 0.10838932749226282}, "nmse_episode_sem": 0.003439721291430142}
|
| 40 |
+
{"step": 10000, "utc": "2026-11-25T07:02:34Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.7, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0037324869680393762, "mae_raw": 0.021481102829038687, "nmse": 0.10895443008607948, "groups": {"body_target": {"mse_raw": 0.001615308502615967, "nmse": 0.1609838967146183}, "hands": {"mse_raw": 0.006715783896590544, "nmse": 0.03564018165495664}}, "nmse_by_step": [0.09259621503380353, 0.0912582119315399, 0.09990000690389454, 0.094517221354385, 0.09508146041177956, 0.10085143691379991, 0.10865470220531381, 0.10929664142125547, 0.10424345789940662, 0.08387140475712615, 0.07933445608442793, 0.09465438815540941, 0.12979567442305454, 0.14710662404506275, 0.15268730038091133, 0.16167429633753727], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019977593685171778, "rms_raw": 0.014134211575171704, "mae_raw": 0.010228354429685145}, "nmse_per_episode": {"0": 0.0961669099769636, "11": 0.10556332853374857, "22": 0.10437333912467331, "33": 0.11403472430848409, "44": 0.10606592789696802, "55": 0.10980708299245016, "66": 0.1125550130825248, "77": 0.1346900601731612, "88": 0.09629144409462954, "99": 0.109924643125945}, "nmse_episode_sem": 0.0034439404941843566}
|
| 41 |
+
{"step": 10250, "utc": "2026-11-25T07:08:01Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 4.1, "infer_s_per_query": 0.0096, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003821084102462089, "mae_raw": 0.02164724638611295, "nmse": 0.11038770971735619, "groups": {"body_target": {"mse_raw": 0.0016240989622643169, "nmse": 0.16269329426301177}, "hands": {"mse_raw": 0.006916835890922584, "nmse": 0.03668438603938707}}, "nmse_by_step": [0.09424408536455324, 0.09233747113099229, 0.10051188695452856, 0.09479621911265557, 0.09509989710672706, 0.10070733922963597, 0.10847501071353133, 0.10916703877308807, 0.10428067877894656, 0.08423568608672476, 0.07985737967179107, 0.09576873598845144, 0.13232221193721502, 0.15130521093059066, 0.1578941876573612, 0.16761655311606483], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019882444014505984, "rms_raw": 0.014100512052583758, "mae_raw": 0.010185979719039583}, "nmse_per_episode": {"0": 0.09751991728953112, "11": 0.1070721579228393, "22": 0.10588317918092717, "33": 0.11541136727544998, "44": 0.10753383572602032, "55": 0.11138726529871835, "66": 0.11398580470934126, "77": 0.1361371650811025, "88": 0.09763441264633542, "99": 0.11124591073516711}, "nmse_episode_sem": 0.0034490063013322284}
|
| 42 |
+
{"step": 10500, "utc": "2026-11-25T07:13:33Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0055, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.003915088891544794, "mae_raw": 0.021819637936047503, "nmse": 0.11177394333145717, "groups": {"body_target": {"mse_raw": 0.0016349338197448383, "nmse": 0.16428598069642203}, "hands": {"mse_raw": 0.007128034674535641, "nmse": 0.03777970886264294}}, "nmse_by_step": [0.09609922020780957, 0.09359422615043568, 0.10138808193058145, 0.09524005481594286, 0.09519786892923121, 0.1005323601334261, 0.10820891432189209, 0.10900355558894263, 0.10437719618688807, 0.08476750661545118, 0.08059710866855878, 0.09699531701537725, 0.13462306092668108, 0.15490960291802144, 0.16244441406105356, 0.17295492300487716], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019816134228920975, "rms_raw": 0.014076979160644152, "mae_raw": 0.010145302321081271}, "nmse_per_episode": {"0": 0.09877351761156748, "11": 0.10850475314467779, "22": 0.10730588854845158, "33": 0.11698611369619526, "44": 0.10899022859729751, "55": 0.112815057769881, "66": 0.11546152384885834, "77": 0.13745824425709224, "88": 0.0988113880333469, "99": 0.11257032234656356}, "nmse_episode_sem": 0.003460258705822092}
|
| 43 |
+
{"step": 10750, "utc": "2026-11-25T07:18:42Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 1.8, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0039908408732506635, "mae_raw": 0.02193560283484266, "nmse": 0.11289396465601996, "groups": {"body_target": {"mse_raw": 0.0016439379504713842, "nmse": 0.16557650433746515}, "hands": {"mse_raw": 0.007297840446257827, "nmse": 0.03865947692307444}}, "nmse_by_step": [0.09762447154407712, 0.09463742350379507, 0.10209001425502265, 0.09561248598202661, 0.0953028701128141, 0.10043507288681823, 0.1080460736864165, 0.10889418735748413, 0.10443694157779383, 0.08511094802354005, 0.0811727028336141, 0.09804157737392685, 0.13657709792783104, 0.15786486916352244, 0.1660623187063281, 0.17705078092939552], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019774264027851802, "rms_raw": 0.01406209942641987, "mae_raw": 0.01011938061391842}, "nmse_per_episode": {"0": 0.09975563709546957, "11": 0.10966565713378157, "22": 0.10845202272216797, "33": 0.11836826209564828, "44": 0.11023749142425426, "55": 0.1138297113311495, "66": 0.11660900041544353, "77": 0.13853720036609568, "88": 0.09975586940319188, "99": 0.11366469104590793}, "nmse_episode_sem": 0.0034725095896345143}
|
| 44 |
+
{"step": 11000, "utc": "2026-11-25T07:23:53Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 9.3, "infer_s_per_query": 0.0216, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004041406545883965, "mae_raw": 0.021995965286188215, "nmse": 0.11367220321212479, "groups": {"body_target": {"mse_raw": 0.0016511408590696795, "nmse": 0.1664991380770403}, "hands": {"mse_raw": 0.007409508195485912, "nmse": 0.03923424953883479}}, "nmse_by_step": [0.0987533441434157, 0.09541084989555507, 0.10268078912491169, 0.0959370630046598, 0.09538445019158147, 0.10028637658736413, 0.10779713104571975, 0.10867761282772107, 0.1043475558507695, 0.08533513452586615, 0.08158671290114333, 0.09883078101503441, 0.13805446059420098, 0.16002496332091246, 0.16856066806754066, 0.17981717274813086], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019714264503234983, "rms_raw": 0.014040749446961506, "mae_raw": 0.010095089478408184}, "nmse_per_episode": {"0": 0.10038974560786917, "11": 0.1104960350950825, "22": 0.10916910114560156, "33": 0.11941709879872398, "44": 0.11118331438156112, "55": 0.11428797586200147, "66": 0.11744379518082827, "77": 0.1393137730238815, "88": 0.10041823175496534, "99": 0.11453468984225994}, "nmse_episode_sem": 0.0034872679626056263}
|
| 45 |
+
{"step": 11250, "utc": "2026-11-25T07:29:32Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 8.5, "infer_s_per_query": 0.0197, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.00408923705706362, "mae_raw": 0.022057467349728074, "nmse": 0.11442238123876058, "groups": {"body_target": {"mse_raw": 0.001658114704431707, "nmse": 0.16739765053393105}, "hands": {"mse_raw": 0.007514909463044952, "nmse": 0.039775410868293164}}, "nmse_by_step": [0.09986791113299846, 0.09617523780122735, 0.10326227484853785, 0.09626783710741653, 0.09548060868299596, 0.10015516654678953, 0.10755254219412805, 0.10846673180976311, 0.10422602035085902, 0.08555006993584979, 0.08196207502667123, 0.0995169802320598, 0.13936623617491614, 0.16205343031712524, 0.1710116506137544, 0.18264335648680327], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019660152420467638, "rms_raw": 0.014021466549711424, "mae_raw": 0.010070785189950193}, "nmse_per_episode": {"0": 0.10104420394091287, "11": 0.11127646614718838, "22": 0.10992249658669179, "33": 0.12038164884788373, "44": 0.11198431675090456, "55": 0.11490241191250156, "66": 0.11819738710206777, "77": 0.14006029770627465, "88": 0.10112538426401331, "99": 0.11525632860573447}, "nmse_episode_sem": 0.0034958186540796445}
|
| 46 |
+
{"step": 11500, "utc": "2026-11-25T07:35:09Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 7.6, "infer_s_per_query": 0.0177, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0041353299256483515, "mae_raw": 0.0221237143698577, "nmse": 0.11508421403319141, "groups": {"body_target": {"mse_raw": 0.0016646699640558084, "nmse": 0.16815643356804508}, "hands": {"mse_raw": 0.007616714416983299, "nmse": 0.04030063196135218}}, "nmse_by_step": [0.10085247326043463, 0.09688791244586797, 0.10377085882975647, 0.09656842157719603, 0.0955976693979259, 0.10012370652623254, 0.10746087219798771, 0.10842153800673981, 0.10425864039256766, 0.08578756827046018, 0.08234846160878076, 0.10014643642400463, 0.14043233662721738, 0.1636306729405545, 0.17296682009229933, 0.1849462708207364], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019617295169394497, "rms_raw": 0.014006175484190713, "mae_raw": 0.010053325582920089}, "nmse_per_episode": {"0": 0.10168702709421433, "11": 0.11195755268054403, "22": 0.11064802699551272, "33": 0.12118030612767386, "44": 0.11268510428421649, "55": 0.11547713715926411, "66": 0.1187736430181304, "77": 0.14071041531254827, "88": 0.1017225677386606, "99": 0.11592049948620788}, "nmse_episode_sem": 0.0034985064195001427}
|
| 47 |
+
{"step": 11750, "utc": "2026-11-25T07:40:40Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 7.6, "infer_s_per_query": 0.0177, "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/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.004171901028660023, "mae_raw": 0.02217366100696712, "nmse": 0.1156122481194957, "groups": {"body_target": {"mse_raw": 0.0016700921060905933, "nmse": 0.16876560854984016}, "hands": {"mse_raw": 0.007697177237735127, "nmse": 0.04071433114946485}}, "nmse_by_step": [0.10172677957534167, 0.09752543626318196, 0.10423303493298142, 0.0968425255162203, 0.0957052186732105, 0.10009334108529565, 0.10737396883050354, 0.10836867050162684, 0.10426798483695779, 0.08595692612212028, 0.08266410342354337, 0.10065859263483543, 0.1412691421629503, 0.16482310333412117, 0.17446582287943796, 0.18671244089986402], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019600624917078376, "rms_raw": 0.014000223182891899, "mae_raw": 0.010044580831011776}, "nmse_per_episode": {"0": 0.1021926194684718, "11": 0.11251971952779652, "22": 0.11114496064276919, "33": 0.1218442039714272, "44": 0.11330593519656891, "55": 0.1158938662986686, "66": 0.11925187198028589, "77": 0.1412684318046225, "88": 0.10217706203611786, "99": 0.11644090770636359}, "nmse_episode_sem": 0.0035063740738431083}
|
| 48 |
+
{"step": 12000, "utc": "2026-11-25T07:44:17Z", "model": "flash", "task": "a18cr2", "split": "train10", "queries": 422, "ranks": 1, "wall_s": 10.1, "infer_s_per_query": 0.0236, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/a18cr2/train10", "rows": 6682, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 53, "mse_raw": 0.0042023346533981865, "mae_raw": 0.022219466742691332, "nmse": 0.11607303589610306, "groups": {"body_target": {"mse_raw": 0.001674930486004544, "nmse": 0.1693102648094707}, "hands": {"mse_raw": 0.007763676889271046, "nmse": 0.04105694060908501}}, "nmse_by_step": [0.10252163117561792, 0.09810863933764814, 0.10464192067822425, 0.0970849122294626, 0.09580025846055455, 0.10006213769047186, 0.10728132347830384, 0.10828534770126699, 0.10422385427687626, 0.08610391523341991, 0.08291579119447226, 0.1010746916446441, 0.14198282569545967, 0.16588967376470762, 0.17579707863896704, 0.18831913601137076], "const_dims": {"n": 22, "idx": [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00019588422078827263, "rms_raw": 0.013995864417329593, "mae_raw": 0.010036998590324902}, "nmse_per_episode": {"0": 0.1026543529504419, "11": 0.11301992753394714, "22": 0.11160295556109184, "33": 0.12226686912594018, "44": 0.11386843878980447, "55": 0.11631385769099864, "66": 0.11968233785574388, "77": 0.14174289518592617, "88": 0.10257224745417107, "99": 0.11692558484515413}, "nmse_episode_sem": 0.0035081051628006966}
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/pip_freeze_hb-baselines.txt
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
anyio==4.16.0
|
| 2 |
+
av==15.1.0
|
| 3 |
+
certifi==2026.11.20
|
| 4 |
+
charset-normalizer==3.5.3
|
| 5 |
+
click==8.5.1
|
| 6 |
+
diffusers==0.35.1
|
| 7 |
+
filelock==4.3.1
|
| 8 |
+
fsspec==2026.9.0
|
| 9 |
+
h11==0.16.0
|
| 10 |
+
hf-xet==1.8.0
|
| 11 |
+
httpcore2==2.16.2
|
| 12 |
+
httpx2==2.16.2
|
| 13 |
+
huggingface_hub==2.4.0
|
| 14 |
+
idna==3.20
|
| 15 |
+
importlib_metadata==10.2.0
|
| 16 |
+
iniconfig==2.3.1
|
| 17 |
+
Jinja2==3.1.6
|
| 18 |
+
lazy-importer==0.1.0
|
| 19 |
+
MarkupSafe==3.0.4
|
| 20 |
+
mpmath==1.3.0
|
| 21 |
+
networkx==3.7
|
| 22 |
+
numpy==2.2.6
|
| 23 |
+
nvidia-cublas-cu12==12.8.4.1
|
| 24 |
+
nvidia-cuda-cupti-cu12==12.8.90
|
| 25 |
+
nvidia-cuda-nvrtc-cu12==12.8.93
|
| 26 |
+
nvidia-cuda-runtime-cu12==12.8.90
|
| 27 |
+
nvidia-cudnn-cu12==9.10.2.21
|
| 28 |
+
nvidia-cufft-cu12==11.3.3.83
|
| 29 |
+
nvidia-cufile-cu12==1.13.1.3
|
| 30 |
+
nvidia-curand-cu12==10.3.9.90
|
| 31 |
+
nvidia-cusolver-cu12==11.7.3.90
|
| 32 |
+
nvidia-cusparse-cu12==12.5.8.93
|
| 33 |
+
nvidia-cusparselt-cu12==0.7.1
|
| 34 |
+
nvidia-nccl-cu12==2.27.5
|
| 35 |
+
nvidia-nvjitlink-cu12==12.8.93
|
| 36 |
+
nvidia-nvshmem-cu12==3.3.20
|
| 37 |
+
nvidia-nvtx-cu12==12.8.90
|
| 38 |
+
opencv-python-headless==4.11.0.86
|
| 39 |
+
packaging==26.4
|
| 40 |
+
pillow==13.0.0
|
| 41 |
+
pluggy==1.7.0
|
| 42 |
+
pyarrow==23.0.1
|
| 43 |
+
Pygments==2.21.0
|
| 44 |
+
pytest==8.4.2
|
| 45 |
+
PyYAML==6.0.4
|
| 46 |
+
regex==2026.11.19
|
| 47 |
+
requests==2.34.2
|
| 48 |
+
safetensors==0.8.0
|
| 49 |
+
setuptools==84.2.1
|
| 50 |
+
sympy==1.14.0
|
| 51 |
+
torch==2.9.0+cu128
|
| 52 |
+
torchvision==0.24.0+cu128
|
| 53 |
+
tqdm==4.70.1
|
| 54 |
+
triton==3.5.0
|
| 55 |
+
truststore==0.10.5
|
| 56 |
+
typing_extensions==4.16.0
|
| 57 |
+
urllib3==2.8.0
|
| 58 |
+
zipp==4.1.2
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/run.json
ADDED
|
@@ -0,0 +1,1053 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"argv": [
|
| 3 |
+
"evaluation/baselines/train.py",
|
| 4 |
+
"--policy",
|
| 5 |
+
"flash",
|
| 6 |
+
"--contract",
|
| 7 |
+
"h2_sharpa",
|
| 8 |
+
"--dataset",
|
| 9 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v2-44cdd57/data",
|
| 10 |
+
"--out",
|
| 11 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-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/a18cr2",
|
| 24 |
+
"--inloop-task",
|
| 25 |
+
"a18cr2",
|
| 26 |
+
"--inloop-code",
|
| 27 |
+
"/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse"
|
| 28 |
+
],
|
| 29 |
+
"started": "2026-11-25T12:09:23",
|
| 30 |
+
"host": "dlc19te5fv9wtn5t-worker-2",
|
| 31 |
+
"torch": "2.9.0+cu128",
|
| 32 |
+
"policy": {
|
| 33 |
+
"policy": "flash",
|
| 34 |
+
"n_cameras": 2,
|
| 35 |
+
"state_dim": 78,
|
| 36 |
+
"action_dim": 75,
|
| 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": "h2_sharpa",
|
| 79 |
+
"robot": "h2_sharpa",
|
| 80 |
+
"cameras": [
|
| 81 |
+
"head",
|
| 82 |
+
"chest"
|
| 83 |
+
],
|
| 84 |
+
"state": [
|
| 85 |
+
[
|
| 86 |
+
"observation.state",
|
| 87 |
+
0,
|
| 88 |
+
75
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
"observation.projected_gravity",
|
| 92 |
+
0,
|
| 93 |
+
3
|
| 94 |
+
]
|
| 95 |
+
],
|
| 96 |
+
"action": [
|
| 97 |
+
[
|
| 98 |
+
"action.body_target",
|
| 99 |
+
0,
|
| 100 |
+
31
|
| 101 |
+
],
|
| 102 |
+
[
|
| 103 |
+
"action.hands",
|
| 104 |
+
0,
|
| 105 |
+
44
|
| 106 |
+
]
|
| 107 |
+
],
|
| 108 |
+
"state_dim": 78,
|
| 109 |
+
"action_dim": 75,
|
| 110 |
+
"action_space": null,
|
| 111 |
+
"body_dims": 31
|
| 112 |
+
},
|
| 113 |
+
"image_hw": [
|
| 114 |
+
168,
|
| 115 |
+
224
|
| 116 |
+
],
|
| 117 |
+
"task_text": "Grasp the pitcher's handle with the right hand, lift it, pour water into the glass tumbler, then put the pitcher back where it stood and let go.",
|
| 118 |
+
"dataset": {
|
| 119 |
+
"name": "data",
|
| 120 |
+
"root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v2-44cdd57/data",
|
| 121 |
+
"robot_type": "h2_sharpa",
|
| 122 |
+
"fps": 30.0,
|
| 123 |
+
"episodes": [
|
| 124 |
+
0,
|
| 125 |
+
1,
|
| 126 |
+
2,
|
| 127 |
+
3,
|
| 128 |
+
4,
|
| 129 |
+
5,
|
| 130 |
+
6,
|
| 131 |
+
7,
|
| 132 |
+
8,
|
| 133 |
+
9,
|
| 134 |
+
10,
|
| 135 |
+
11,
|
| 136 |
+
12,
|
| 137 |
+
13,
|
| 138 |
+
14,
|
| 139 |
+
15,
|
| 140 |
+
16,
|
| 141 |
+
17,
|
| 142 |
+
18,
|
| 143 |
+
19,
|
| 144 |
+
20,
|
| 145 |
+
21,
|
| 146 |
+
22,
|
| 147 |
+
23,
|
| 148 |
+
24,
|
| 149 |
+
25,
|
| 150 |
+
26,
|
| 151 |
+
27,
|
| 152 |
+
28,
|
| 153 |
+
29,
|
| 154 |
+
30,
|
| 155 |
+
31,
|
| 156 |
+
32,
|
| 157 |
+
33,
|
| 158 |
+
34,
|
| 159 |
+
35,
|
| 160 |
+
36,
|
| 161 |
+
37,
|
| 162 |
+
38,
|
| 163 |
+
39,
|
| 164 |
+
40,
|
| 165 |
+
41,
|
| 166 |
+
42,
|
| 167 |
+
43,
|
| 168 |
+
44,
|
| 169 |
+
45,
|
| 170 |
+
46,
|
| 171 |
+
47,
|
| 172 |
+
48,
|
| 173 |
+
49,
|
| 174 |
+
50,
|
| 175 |
+
51,
|
| 176 |
+
52,
|
| 177 |
+
53,
|
| 178 |
+
54,
|
| 179 |
+
55,
|
| 180 |
+
56,
|
| 181 |
+
57,
|
| 182 |
+
58,
|
| 183 |
+
59,
|
| 184 |
+
60,
|
| 185 |
+
61,
|
| 186 |
+
62,
|
| 187 |
+
63,
|
| 188 |
+
64,
|
| 189 |
+
65,
|
| 190 |
+
66,
|
| 191 |
+
67,
|
| 192 |
+
68,
|
| 193 |
+
69,
|
| 194 |
+
70,
|
| 195 |
+
71,
|
| 196 |
+
72,
|
| 197 |
+
73,
|
| 198 |
+
74,
|
| 199 |
+
75,
|
| 200 |
+
76,
|
| 201 |
+
77,
|
| 202 |
+
78,
|
| 203 |
+
79,
|
| 204 |
+
80,
|
| 205 |
+
81,
|
| 206 |
+
82,
|
| 207 |
+
83,
|
| 208 |
+
84,
|
| 209 |
+
85,
|
| 210 |
+
86,
|
| 211 |
+
87,
|
| 212 |
+
88,
|
| 213 |
+
89,
|
| 214 |
+
90,
|
| 215 |
+
91,
|
| 216 |
+
92,
|
| 217 |
+
93,
|
| 218 |
+
94,
|
| 219 |
+
95,
|
| 220 |
+
96,
|
| 221 |
+
97,
|
| 222 |
+
98,
|
| 223 |
+
99
|
| 224 |
+
],
|
| 225 |
+
"train_episodes": [
|
| 226 |
+
0,
|
| 227 |
+
1,
|
| 228 |
+
2,
|
| 229 |
+
3,
|
| 230 |
+
4,
|
| 231 |
+
5,
|
| 232 |
+
6,
|
| 233 |
+
7,
|
| 234 |
+
8,
|
| 235 |
+
9,
|
| 236 |
+
10,
|
| 237 |
+
11,
|
| 238 |
+
12,
|
| 239 |
+
13,
|
| 240 |
+
14,
|
| 241 |
+
15,
|
| 242 |
+
16,
|
| 243 |
+
17,
|
| 244 |
+
18,
|
| 245 |
+
19,
|
| 246 |
+
20,
|
| 247 |
+
21,
|
| 248 |
+
22,
|
| 249 |
+
23,
|
| 250 |
+
24,
|
| 251 |
+
25,
|
| 252 |
+
26,
|
| 253 |
+
27,
|
| 254 |
+
28,
|
| 255 |
+
29,
|
| 256 |
+
30,
|
| 257 |
+
31,
|
| 258 |
+
32,
|
| 259 |
+
33,
|
| 260 |
+
34,
|
| 261 |
+
35,
|
| 262 |
+
36,
|
| 263 |
+
37,
|
| 264 |
+
38,
|
| 265 |
+
39,
|
| 266 |
+
40,
|
| 267 |
+
41,
|
| 268 |
+
42,
|
| 269 |
+
43,
|
| 270 |
+
44,
|
| 271 |
+
45,
|
| 272 |
+
46,
|
| 273 |
+
47,
|
| 274 |
+
48,
|
| 275 |
+
49,
|
| 276 |
+
50,
|
| 277 |
+
51,
|
| 278 |
+
52,
|
| 279 |
+
53,
|
| 280 |
+
54,
|
| 281 |
+
55,
|
| 282 |
+
56,
|
| 283 |
+
57,
|
| 284 |
+
58,
|
| 285 |
+
59,
|
| 286 |
+
60,
|
| 287 |
+
61,
|
| 288 |
+
62,
|
| 289 |
+
63,
|
| 290 |
+
64,
|
| 291 |
+
65,
|
| 292 |
+
66,
|
| 293 |
+
67,
|
| 294 |
+
68,
|
| 295 |
+
69,
|
| 296 |
+
70,
|
| 297 |
+
71,
|
| 298 |
+
72,
|
| 299 |
+
73,
|
| 300 |
+
74,
|
| 301 |
+
75,
|
| 302 |
+
76,
|
| 303 |
+
77,
|
| 304 |
+
78,
|
| 305 |
+
79,
|
| 306 |
+
80,
|
| 307 |
+
81,
|
| 308 |
+
82,
|
| 309 |
+
83,
|
| 310 |
+
84,
|
| 311 |
+
85,
|
| 312 |
+
86,
|
| 313 |
+
87,
|
| 314 |
+
88,
|
| 315 |
+
89,
|
| 316 |
+
90,
|
| 317 |
+
91,
|
| 318 |
+
92,
|
| 319 |
+
93,
|
| 320 |
+
94,
|
| 321 |
+
95,
|
| 322 |
+
96,
|
| 323 |
+
97,
|
| 324 |
+
98,
|
| 325 |
+
99
|
| 326 |
+
],
|
| 327 |
+
"val_episodes": [],
|
| 328 |
+
"train_frames": 66850,
|
| 329 |
+
"git_commit": "69c6ae8351f490ff9ffb87a56e95b11c91bf2f55"
|
| 330 |
+
},
|
| 331 |
+
"training": {
|
| 332 |
+
"steps": 12000,
|
| 333 |
+
"batch_size": 512,
|
| 334 |
+
"lr": 0.0001,
|
| 335 |
+
"betas": [
|
| 336 |
+
0.95,
|
| 337 |
+
0.999
|
| 338 |
+
],
|
| 339 |
+
"weight_decay": 1e-06,
|
| 340 |
+
"warmup": 500,
|
| 341 |
+
"schedule": "diffusers_cosine",
|
| 342 |
+
"backbone_lr_scale": 1.0,
|
| 343 |
+
"ema": 0.9999,
|
| 344 |
+
"shift_px": 0,
|
| 345 |
+
"amp": true,
|
| 346 |
+
"seed": 42,
|
| 347 |
+
"augmentation": {
|
| 348 |
+
"spec": "docs/augmentation_v2.md",
|
| 349 |
+
"version": "hb-aug-v2-20261109",
|
| 350 |
+
"implementation": "evaluation/augmentation/hb_aug_v2.py",
|
| 351 |
+
"visual": {
|
| 352 |
+
"effects": [
|
| 353 |
+
"exposure",
|
| 354 |
+
"contrast",
|
| 355 |
+
"saturation",
|
| 356 |
+
"hue",
|
| 357 |
+
"gamma",
|
| 358 |
+
"temperature",
|
| 359 |
+
"rotation_crop",
|
| 360 |
+
"noise",
|
| 361 |
+
"gaussian_blur",
|
| 362 |
+
"jpeg",
|
| 363 |
+
"motion_blur",
|
| 364 |
+
"sharpen",
|
| 365 |
+
"defocus",
|
| 366 |
+
"light_shadow",
|
| 367 |
+
"wb_channel"
|
| 368 |
+
],
|
| 369 |
+
"boosted_per_sample": 1,
|
| 370 |
+
"boost": 1.5,
|
| 371 |
+
"pixel_scale": "H / 224",
|
| 372 |
+
"future_targets": "none (one observation frame)"
|
| 373 |
+
},
|
| 374 |
+
"proprio": {
|
| 375 |
+
"robot": "h2_sharpa",
|
| 376 |
+
"body_dims": 31,
|
| 377 |
+
"bias_deg": 2.0,
|
| 378 |
+
"bias_scope": "per_sample",
|
| 379 |
+
"noise_deg": 0.25,
|
| 380 |
+
"noise_clip_sigma": 3,
|
| 381 |
+
"delay_probability": 0.0,
|
| 382 |
+
"history_drop_probability": 0.0,
|
| 383 |
+
"velocity": false
|
| 384 |
+
},
|
| 385 |
+
"native_image_augmentation": "off",
|
| 386 |
+
"evaluation": "off"
|
| 387 |
+
},
|
| 388 |
+
"preflight": {
|
| 389 |
+
"samples": 64,
|
| 390 |
+
"state_dim": 78,
|
| 391 |
+
"body_dims": 31,
|
| 392 |
+
"images_changed": 64,
|
| 393 |
+
"body_values_moved": 1.0,
|
| 394 |
+
"max_body_offset_deg": 2.5208,
|
| 395 |
+
"actions_bit_identical": true,
|
| 396 |
+
"non_body_state_bit_identical": true,
|
| 397 |
+
"eval_items_deterministic": 8
|
| 398 |
+
},
|
| 399 |
+
"aug_seed": 42,
|
| 400 |
+
"ema_schedule": "diffusion_policy_emamodel",
|
| 401 |
+
"layout": {
|
| 402 |
+
"nodes": 1,
|
| 403 |
+
"gpus": 1,
|
| 404 |
+
"per_gpu_batch": 512,
|
| 405 |
+
"global_batch": 512,
|
| 406 |
+
"gradient_accumulation": 1,
|
| 407 |
+
"num_workers": 40,
|
| 408 |
+
"prefetch": 2
|
| 409 |
+
},
|
| 410 |
+
"upstream": "NTUMARS/FLASH-Policy@f47e490",
|
| 411 |
+
"inloop": {
|
| 412 |
+
"task": "a18cr2",
|
| 413 |
+
"code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
|
| 414 |
+
"every": 250,
|
| 415 |
+
"exception": null
|
| 416 |
+
}
|
| 417 |
+
},
|
| 418 |
+
"stats": {
|
| 419 |
+
"state": {
|
| 420 |
+
"min": [
|
| 421 |
+
-0.12583781778812408,
|
| 422 |
+
-0.03233915567398071,
|
| 423 |
+
-0.12766100466251373,
|
| 424 |
+
0.12355858832597733,
|
| 425 |
+
-0.06983537971973419,
|
| 426 |
+
-0.25010767579078674,
|
| 427 |
+
-0.12295906990766525,
|
| 428 |
+
-0.13229477405548096,
|
| 429 |
+
-0.1533408761024475,
|
| 430 |
+
0.14615534245967865,
|
| 431 |
+
-0.03606459125876427,
|
| 432 |
+
-0.21855871379375458,
|
| 433 |
+
-0.05953621491789818,
|
| 434 |
+
-0.11040446907281876,
|
| 435 |
+
-0.01577889733016491,
|
| 436 |
+
0.05845891311764717,
|
| 437 |
+
0.025421474128961563,
|
| 438 |
+
-0.3774237632751465,
|
| 439 |
+
0.9427529573440552,
|
| 440 |
+
-0.1936495453119278,
|
| 441 |
+
-0.12422491610050201,
|
| 442 |
+
0.00011441537935752422,
|
| 443 |
+
-0.740268349647522,
|
| 444 |
+
-0.3696679174900055,
|
| 445 |
+
-0.6199629902839661,
|
| 446 |
+
-0.4936543107032776,
|
| 447 |
+
-0.09027265757322311,
|
| 448 |
+
-0.1852821260690689,
|
| 449 |
+
-0.9950985908508301,
|
| 450 |
+
0.00010179156379308552,
|
| 451 |
+
-0.27579498291015625,
|
| 452 |
+
2.4212911853283003e-07,
|
| 453 |
+
1.991089675357216e-07,
|
| 454 |
+
-2.484825699866633e-06,
|
| 455 |
+
1.5511126605360914e-07,
|
| 456 |
+
-0.07711441069841385,
|
| 457 |
+
-0.0014401556691154838,
|
| 458 |
+
-0.001440082211047411,
|
| 459 |
+
1.1005147371179191e-07,
|
| 460 |
+
-0.0014395025791600347,
|
| 461 |
+
-0.15826088190078735,
|
| 462 |
+
4.014998822299276e-08,
|
| 463 |
+
3.3918841069180417e-08,
|
| 464 |
+
-0.0014388926792889833,
|
| 465 |
+
2.7533292978887403e-08,
|
| 466 |
+
-0.06904831528663635,
|
| 467 |
+
6.039757582954053e-09,
|
| 468 |
+
5.286712401186833e-09,
|
| 469 |
+
2.0993500271515586e-08,
|
| 470 |
+
4.5118535574317775e-09,
|
| 471 |
+
-0.04190514609217644,
|
| 472 |
+
3.7183456313982788e-09,
|
| 473 |
+
-0.0002550320641603321,
|
| 474 |
+
-0.0012902324087917805,
|
| 475 |
+
-0.011018202640116215,
|
| 476 |
+
-1.4729690747117274e-06,
|
| 477 |
+
-0.008869198150932789,
|
| 478 |
+
-0.0010071652941405773,
|
| 479 |
+
-0.07318796217441559,
|
| 480 |
+
-0.14104261994361877,
|
| 481 |
+
-0.006404141429811716,
|
| 482 |
+
-0.012594389729201794,
|
| 483 |
+
-0.2601270377635956,
|
| 484 |
+
-0.005105330143123865,
|
| 485 |
+
-0.0029860667418688536,
|
| 486 |
+
-0.000577878556214273,
|
| 487 |
+
-0.004302919376641512,
|
| 488 |
+
-0.003525838255882263,
|
| 489 |
+
-0.0016964594833552837,
|
| 490 |
+
-0.0017751255072653294,
|
| 491 |
+
-0.004758988507091999,
|
| 492 |
+
1.0182914067513593e-08,
|
| 493 |
+
-0.01523496862500906,
|
| 494 |
+
-0.0019727651961147785,
|
| 495 |
+
-0.0021971184760332108,
|
| 496 |
+
-0.08454640954732895,
|
| 497 |
+
-0.09836447238922119,
|
| 498 |
+
-1.0
|
| 499 |
+
],
|
| 500 |
+
"max": [
|
| 501 |
+
0.035650208592414856,
|
| 502 |
+
0.10629415512084961,
|
| 503 |
+
0.17557011544704437,
|
| 504 |
+
0.32769498229026794,
|
| 505 |
+
0.0809067115187645,
|
| 506 |
+
-0.03284743055701256,
|
| 507 |
+
0.04188062623143196,
|
| 508 |
+
-1.1926664228667505e-05,
|
| 509 |
+
0.22258582711219788,
|
| 510 |
+
0.31865113973617554,
|
| 511 |
+
0.03910355642437935,
|
| 512 |
+
-0.08754467964172363,
|
| 513 |
+
0.06784578412771225,
|
| 514 |
+
0.030363162979483604,
|
| 515 |
+
0.0996260941028595,
|
| 516 |
+
0.24996721744537354,
|
| 517 |
+
0.14023271203041077,
|
| 518 |
+
0.24500703811645508,
|
| 519 |
+
1.1965162754058838,
|
| 520 |
+
0.19641946256160736,
|
| 521 |
+
0.30692338943481445,
|
| 522 |
+
0.26775699853897095,
|
| 523 |
+
0.6624637246131897,
|
| 524 |
+
0.2643685042858124,
|
| 525 |
+
0.4765041768550873,
|
| 526 |
+
1.14264714717865,
|
| 527 |
+
1.9407533407211304,
|
| 528 |
+
0.4451823830604553,
|
| 529 |
+
0.7307088375091553,
|
| 530 |
+
0.681303858757019,
|
| 531 |
+
0.12099187821149826,
|
| 532 |
+
0.001787454355508089,
|
| 533 |
+
0.0017886327113956213,
|
| 534 |
+
0.0001129926458816044,
|
| 535 |
+
0.00179005297832191,
|
| 536 |
+
0.07618467509746552,
|
| 537 |
+
-1.8496356233299593e-06,
|
| 538 |
+
-1.9247966065449873e-06,
|
| 539 |
+
0.0017915134085342288,
|
| 540 |
+
-1.7791824120649835e-06,
|
| 541 |
+
-0.00012538964801933616,
|
| 542 |
+
0.000348125264281407,
|
| 543 |
+
0.00034833172685466707,
|
| 544 |
+
-1.6332217001036042e-06,
|
| 545 |
+
0.0003485499764792621,
|
| 546 |
+
0.0031303067225962877,
|
| 547 |
+
6.412907532649115e-05,
|
| 548 |
+
6.415732786990702e-05,
|
| 549 |
+
0.0003487732319626957,
|
| 550 |
+
6.418681005015969e-05,
|
| 551 |
+
0.04411711171269417,
|
| 552 |
+
6.421708530979231e-05,
|
| 553 |
+
0.00032537104561924934,
|
| 554 |
+
0.38441139459609985,
|
| 555 |
+
0.7239343523979187,
|
| 556 |
+
0.041639670729637146,
|
| 557 |
+
0.6621608734130859,
|
| 558 |
+
0.7537572383880615,
|
| 559 |
+
0.01115428563207388,
|
| 560 |
+
0.003058104310184717,
|
| 561 |
+
0.5719240307807922,
|
| 562 |
+
0.0017499510431662202,
|
| 563 |
+
-7.032280700514093e-05,
|
| 564 |
+
1.7279481887817383,
|
| 565 |
+
1.6268699169158936,
|
| 566 |
+
0.14201073348522186,
|
| 567 |
+
1.5546116828918457,
|
| 568 |
+
0.5081002116203308,
|
| 569 |
+
1.247889518737793,
|
| 570 |
+
1.182234525680542,
|
| 571 |
+
1.7133269309997559,
|
| 572 |
+
0.27388203144073486,
|
| 573 |
+
0.014611090533435345,
|
| 574 |
+
0.9894230365753174,
|
| 575 |
+
0.8894627094268799,
|
| 576 |
+
0.00796288251876831,
|
| 577 |
+
0.036943208426237106,
|
| 578 |
+
-0.9915630221366882
|
| 579 |
+
],
|
| 580 |
+
"mean": [
|
| 581 |
+
-0.027299314132985846,
|
| 582 |
+
0.03502118525704448,
|
| 583 |
+
0.03100102852613158,
|
| 584 |
+
0.16613604310373362,
|
| 585 |
+
0.03438473718457337,
|
| 586 |
+
-0.12577591872585292,
|
| 587 |
+
-0.022502549316812996,
|
| 588 |
+
-0.02981686126067347,
|
| 589 |
+
0.015664867994994617,
|
| 590 |
+
0.204237678419233,
|
| 591 |
+
-0.002438673615912003,
|
| 592 |
+
-0.15014619411787794,
|
| 593 |
+
0.008272607317332287,
|
| 594 |
+
-0.014616087768575915,
|
| 595 |
+
0.03146748760076169,
|
| 596 |
+
0.14498334405644223,
|
| 597 |
+
0.08285774466001394,
|
| 598 |
+
-0.04922966991650978,
|
| 599 |
+
1.052811198806085,
|
| 600 |
+
-0.0003846764916377304,
|
| 601 |
+
0.11435445146216659,
|
| 602 |
+
0.11888704429538087,
|
| 603 |
+
-0.21785689209087752,
|
| 604 |
+
-0.04526715684811122,
|
| 605 |
+
-0.06827008329125593,
|
| 606 |
+
0.2679784969711736,
|
| 607 |
+
0.8951559524269673,
|
| 608 |
+
0.18325850527834447,
|
| 609 |
+
-0.2133016885598721,
|
| 610 |
+
0.5227057486332239,
|
| 611 |
+
-0.00867393307752262,
|
| 612 |
+
0.0011903525193419418,
|
| 613 |
+
0.0011900418411051232,
|
| 614 |
+
1.3744018852459791e-05,
|
| 615 |
+
0.0011899249339944685,
|
| 616 |
+
0.009631297507814374,
|
| 617 |
+
-0.0008670994497552636,
|
| 618 |
+
-0.0008672947037940682,
|
| 619 |
+
0.001189942699092948,
|
| 620 |
+
-0.0008662319235491903,
|
| 621 |
+
-0.09532405562396636,
|
| 622 |
+
0.00023694312429899163,
|
| 623 |
+
0.0002369377365150326,
|
| 624 |
+
-0.0008651697040884193,
|
| 625 |
+
0.00023693407247431068,
|
| 626 |
+
-0.010153125290915749,
|
| 627 |
+
4.4551195215611404e-05,
|
| 628 |
+
4.455056288244535e-05,
|
| 629 |
+
0.00023692849760654185,
|
| 630 |
+
4.455002101950541e-05,
|
| 631 |
+
0.0005994711605109827,
|
| 632 |
+
4.4549246789901255e-05,
|
| 633 |
+
2.5255336256103658e-05,
|
| 634 |
+
0.20063986066823414,
|
| 635 |
+
0.39453019920156807,
|
| 636 |
+
0.021642633469215435,
|
| 637 |
+
0.37756121257027736,
|
| 638 |
+
0.41835060696171633,
|
| 639 |
+
-0.02677748931363549,
|
| 640 |
+
-0.0767376752316338,
|
| 641 |
+
0.3158241578859499,
|
| 642 |
+
-0.004371555788508684,
|
| 643 |
+
-0.17732113780997097,
|
| 644 |
+
0.9738692216852287,
|
| 645 |
+
0.9352876523890826,
|
| 646 |
+
0.08735726361558913,
|
| 647 |
+
0.9003499899665927,
|
| 648 |
+
0.2674597784943702,
|
| 649 |
+
0.7129700967059142,
|
| 650 |
+
0.6785907389851383,
|
| 651 |
+
0.9862055464783247,
|
| 652 |
+
0.15895242961523828,
|
| 653 |
+
-0.003946556718442643,
|
| 654 |
+
0.572140311022144,
|
| 655 |
+
0.47994362783102723,
|
| 656 |
+
-0.023780074118937684,
|
| 657 |
+
-0.010027226004839414,
|
| 658 |
+
-0.9995057580501354
|
| 659 |
+
],
|
| 660 |
+
"std": [
|
| 661 |
+
0.03564172327250631,
|
| 662 |
+
0.01791832823561853,
|
| 663 |
+
0.03855816049999887,
|
| 664 |
+
0.03397291557420541,
|
| 665 |
+
0.022713257399330597,
|
| 666 |
+
0.01728797856190988,
|
| 667 |
+
0.03284158309112527,
|
| 668 |
+
0.017189178717457138,
|
| 669 |
+
0.05321919014845919,
|
| 670 |
+
0.0263137624808381,
|
| 671 |
+
0.011697035013979123,
|
| 672 |
+
0.015430167927535819,
|
| 673 |
+
0.018743646160322976,
|
| 674 |
+
0.012872016708839123,
|
| 675 |
+
0.02176294714867896,
|
| 676 |
+
0.034365092651105815,
|
| 677 |
+
0.017602363475115363,
|
| 678 |
+
0.1176684950830969,
|
| 679 |
+
0.04596510304378348,
|
| 680 |
+
0.05561679637942415,
|
| 681 |
+
0.09595170466764798,
|
| 682 |
+
0.06368600150971765,
|
| 683 |
+
0.35357612833473884,
|
| 684 |
+
0.10000879451814994,
|
| 685 |
+
0.23899944098984566,
|
| 686 |
+
0.4636814760896756,
|
| 687 |
+
0.5773448170178002,
|
| 688 |
+
0.17065926569228126,
|
| 689 |
+
0.3406379763442289,
|
| 690 |
+
0.23635163884984306,
|
| 691 |
+
0.10408614565881567,
|
| 692 |
+
0.0003766895919760071,
|
| 693 |
+
0.00037667385238766566,
|
| 694 |
+
2.0943454681919047e-05,
|
| 695 |
+
0.0003766522215170394,
|
| 696 |
+
0.024747470857055837,
|
| 697 |
+
0.0003813070935294781,
|
| 698 |
+
0.0003809286752628758,
|
| 699 |
+
0.00037665642504664687,
|
| 700 |
+
0.00038136421491826843,
|
| 701 |
+
0.01209491713676294,
|
| 702 |
+
7.69887884951569e-05,
|
| 703 |
+
7.698764529715561e-05,
|
| 704 |
+
0.00038168123507563775,
|
| 705 |
+
7.698799643739872e-05,
|
| 706 |
+
0.013209278968477425,
|
| 707 |
+
1.4927250618955172e-05,
|
| 708 |
+
1.4926968397842197e-05,
|
| 709 |
+
7.698734713838614e-05,
|
| 710 |
+
1.4926838997103143e-05,
|
| 711 |
+
0.008573914122227421,
|
| 712 |
+
1.4926564591999636e-05,
|
| 713 |
+
3.794634823442163e-05,
|
| 714 |
+
0.16025897083269225,
|
| 715 |
+
0.31994470378986223,
|
| 716 |
+
0.014540928253847304,
|
| 717 |
+
0.3069716845567673,
|
| 718 |
+
0.3498947410492231,
|
| 719 |
+
0.021697346625713036,
|
| 720 |
+
0.05449526509450836,
|
| 721 |
+
0.25693235382210217,
|
| 722 |
+
0.003981103962417204,
|
| 723 |
+
0.07617284883393763,
|
| 724 |
+
0.7627375717253893,
|
| 725 |
+
0.725618983667107,
|
| 726 |
+
0.060256511828613926,
|
| 727 |
+
0.7178305940018536,
|
| 728 |
+
0.23909690333304248,
|
| 729 |
+
0.5619280609808217,
|
| 730 |
+
0.5340338828462216,
|
| 731 |
+
0.7808440073437246,
|
| 732 |
+
0.1260922880259026,
|
| 733 |
+
0.005126074471953189,
|
| 734 |
+
0.4512728759686329,
|
| 735 |
+
0.429965625511154,
|
| 736 |
+
0.014949366301484262,
|
| 737 |
+
0.00992555400143169,
|
| 738 |
+
0.00044978008437642386
|
| 739 |
+
]
|
| 740 |
+
},
|
| 741 |
+
"action": {
|
| 742 |
+
"min": [
|
| 743 |
+
-0.1784663051366806,
|
| 744 |
+
-0.13318756222724915,
|
| 745 |
+
-0.1307600885629654,
|
| 746 |
+
0.0,
|
| 747 |
+
-0.05743294209241867,
|
| 748 |
+
-0.3024138808250427,
|
| 749 |
+
-0.12985824048519135,
|
| 750 |
+
-0.266737699508667,
|
| 751 |
+
-0.15798582136631012,
|
| 752 |
+
0.0,
|
| 753 |
+
-0.0613182857632637,
|
| 754 |
+
-0.4162753224372864,
|
| 755 |
+
-0.06568841636180878,
|
| 756 |
+
-0.21089573204517365,
|
| 757 |
+
-0.046035848557949066,
|
| 758 |
+
0.0,
|
| 759 |
+
0.0,
|
| 760 |
+
-0.40408286452293396,
|
| 761 |
+
0.0,
|
| 762 |
+
-0.19912302494049072,
|
| 763 |
+
-0.156949982047081,
|
| 764 |
+
0.0,
|
| 765 |
+
-0.7415577173233032,
|
| 766 |
+
-0.37339621782302856,
|
| 767 |
+
-0.6357685327529907,
|
| 768 |
+
-0.4724564254283905,
|
| 769 |
+
-0.1029481366276741,
|
| 770 |
+
-0.1933467984199524,
|
| 771 |
+
-0.99897301197052,
|
| 772 |
+
0.0,
|
| 773 |
+
-0.2813774645328522,
|
| 774 |
+
0.0,
|
| 775 |
+
0.0,
|
| 776 |
+
0.0,
|
| 777 |
+
0.0,
|
| 778 |
+
0.0,
|
| 779 |
+
0.0,
|
| 780 |
+
0.0,
|
| 781 |
+
0.0,
|
| 782 |
+
0.0,
|
| 783 |
+
0.0,
|
| 784 |
+
0.0,
|
| 785 |
+
0.0,
|
| 786 |
+
0.0,
|
| 787 |
+
0.0,
|
| 788 |
+
0.0,
|
| 789 |
+
0.0,
|
| 790 |
+
0.0,
|
| 791 |
+
0.0,
|
| 792 |
+
0.0,
|
| 793 |
+
0.0,
|
| 794 |
+
0.0,
|
| 795 |
+
0.0,
|
| 796 |
+
0.0,
|
| 797 |
+
0.0,
|
| 798 |
+
0.0,
|
| 799 |
+
0.0,
|
| 800 |
+
0.0,
|
| 801 |
+
0.0,
|
| 802 |
+
-0.2870999872684479,
|
| 803 |
+
0.0,
|
| 804 |
+
-0.01590000092983246,
|
| 805 |
+
-0.17630000412464142,
|
| 806 |
+
0.0,
|
| 807 |
+
0.0,
|
| 808 |
+
0.0,
|
| 809 |
+
0.0,
|
| 810 |
+
0.0,
|
| 811 |
+
0.0,
|
| 812 |
+
0.0,
|
| 813 |
+
0.0,
|
| 814 |
+
0.0,
|
| 815 |
+
-0.006200000178068876,
|
| 816 |
+
0.0,
|
| 817 |
+
0.0
|
| 818 |
+
],
|
| 819 |
+
"max": [
|
| 820 |
+
0.041423577815294266,
|
| 821 |
+
0.24960044026374817,
|
| 822 |
+
0.17349489033222198,
|
| 823 |
+
0.3818897604942322,
|
| 824 |
+
0.09517528861761093,
|
| 825 |
+
0.33370673656463623,
|
| 826 |
+
0.08997327834367752,
|
| 827 |
+
0.1119127869606018,
|
| 828 |
+
0.2282232642173767,
|
| 829 |
+
0.3609016537666321,
|
| 830 |
+
0.020472919568419456,
|
| 831 |
+
0.19194680452346802,
|
| 832 |
+
0.0703074038028717,
|
| 833 |
+
0.03390442579984665,
|
| 834 |
+
0.16752633452415466,
|
| 835 |
+
0.2617945075035095,
|
| 836 |
+
0.21634480357170105,
|
| 837 |
+
0.2762379050254822,
|
| 838 |
+
1.1804041862487793,
|
| 839 |
+
0.20910896360874176,
|
| 840 |
+
0.33972981572151184,
|
| 841 |
+
0.28348755836486816,
|
| 842 |
+
0.5959668159484863,
|
| 843 |
+
0.2778860032558441,
|
| 844 |
+
0.4788244366645813,
|
| 845 |
+
1.1417303085327148,
|
| 846 |
+
1.9401861429214478,
|
| 847 |
+
0.4363322854042053,
|
| 848 |
+
0.737479031085968,
|
| 849 |
+
0.6173598170280457,
|
| 850 |
+
0.12206494063138962,
|
| 851 |
+
0.0,
|
| 852 |
+
0.0,
|
| 853 |
+
0.0,
|
| 854 |
+
0.0,
|
| 855 |
+
0.0,
|
| 856 |
+
0.0,
|
| 857 |
+
0.0,
|
| 858 |
+
0.0,
|
| 859 |
+
0.0,
|
| 860 |
+
0.0,
|
| 861 |
+
0.0,
|
| 862 |
+
0.0,
|
| 863 |
+
0.0,
|
| 864 |
+
0.0,
|
| 865 |
+
0.0,
|
| 866 |
+
0.0,
|
| 867 |
+
0.0,
|
| 868 |
+
0.0,
|
| 869 |
+
0.0,
|
| 870 |
+
0.0,
|
| 871 |
+
0.0,
|
| 872 |
+
0.0,
|
| 873 |
+
0.3626999855041504,
|
| 874 |
+
0.777400016784668,
|
| 875 |
+
0.04019999876618385,
|
| 876 |
+
0.6610000133514404,
|
| 877 |
+
0.7699999809265137,
|
| 878 |
+
0.07270000129938126,
|
| 879 |
+
0.0,
|
| 880 |
+
0.5733000040054321,
|
| 881 |
+
0.0,
|
| 882 |
+
0.0,
|
| 883 |
+
1.745300054550171,
|
| 884 |
+
1.745300054550171,
|
| 885 |
+
0.12300000339746475,
|
| 886 |
+
1.5556999444961548,
|
| 887 |
+
0.5410000085830688,
|
| 888 |
+
1.2592999935150146,
|
| 889 |
+
1.2130999565124512,
|
| 890 |
+
1.745300054550171,
|
| 891 |
+
0.27469998598098755,
|
| 892 |
+
0.0,
|
| 893 |
+
1.0023000240325928,
|
| 894 |
+
0.8996000289916992
|
| 895 |
+
],
|
| 896 |
+
"mean": [
|
| 897 |
+
-0.03915027158851709,
|
| 898 |
+
0.041798695985307284,
|
| 899 |
+
0.031142753381219936,
|
| 900 |
+
0.16082399759750893,
|
| 901 |
+
0.051418053530562696,
|
| 902 |
+
-0.15212109962025247,
|
| 903 |
+
-0.008473993662599044,
|
| 904 |
+
-0.024333539499570046,
|
| 905 |
+
0.016388625621048106,
|
| 906 |
+
0.22511315863013892,
|
| 907 |
+
-0.025490226046553127,
|
| 908 |
+
-0.03298149929822268,
|
| 909 |
+
0.009544487190767226,
|
| 910 |
+
-0.0507607624751253,
|
| 911 |
+
0.035238015547481634,
|
| 912 |
+
0.14339655689772557,
|
| 913 |
+
0.11653374008990396,
|
| 914 |
+
-0.04866296844496732,
|
| 915 |
+
0.9892958045308948,
|
| 916 |
+
0.004534672408143486,
|
| 917 |
+
0.09968768553222704,
|
| 918 |
+
0.12222258854262634,
|
| 919 |
+
-0.21161511438028,
|
| 920 |
+
-0.04689023419493438,
|
| 921 |
+
-0.06461094893431682,
|
| 922 |
+
0.2604158884226581,
|
| 923 |
+
0.8931353269555453,
|
| 924 |
+
0.18261436535072875,
|
| 925 |
+
-0.21068947147093564,
|
| 926 |
+
0.484797646327358,
|
| 927 |
+
-0.008713774209257742,
|
| 928 |
+
0.0,
|
| 929 |
+
0.0,
|
| 930 |
+
0.0,
|
| 931 |
+
0.0,
|
| 932 |
+
0.0,
|
| 933 |
+
0.0,
|
| 934 |
+
0.0,
|
| 935 |
+
0.0,
|
| 936 |
+
0.0,
|
| 937 |
+
0.0,
|
| 938 |
+
0.0,
|
| 939 |
+
0.0,
|
| 940 |
+
0.0,
|
| 941 |
+
0.0,
|
| 942 |
+
0.0,
|
| 943 |
+
0.0,
|
| 944 |
+
0.0,
|
| 945 |
+
0.0,
|
| 946 |
+
0.0,
|
| 947 |
+
0.0,
|
| 948 |
+
0.0,
|
| 949 |
+
0.0,
|
| 950 |
+
0.20526771472389418,
|
| 951 |
+
0.4470283264267918,
|
| 952 |
+
0.02411653931183433,
|
| 953 |
+
0.37916715661908174,
|
| 954 |
+
0.42093950027703936,
|
| 955 |
+
0.047333192494126666,
|
| 956 |
+
-0.18692377974541982,
|
| 957 |
+
0.3280395560384697,
|
| 958 |
+
-0.010352101630720843,
|
| 959 |
+
-0.1147846200617952,
|
| 960 |
+
1.0202862817115708,
|
| 961 |
+
1.0228963021122806,
|
| 962 |
+
0.0800822933937967,
|
| 963 |
+
0.9014555564774542,
|
| 964 |
+
0.29319758588405,
|
| 965 |
+
0.7348336099462863,
|
| 966 |
+
0.7079068065545167,
|
| 967 |
+
1.0145611862124293,
|
| 968 |
+
0.1608308564825218,
|
| 969 |
+
-0.0040366684489894274,
|
| 970 |
+
0.5850152348853517,
|
| 971 |
+
0.49027914795245864
|
| 972 |
+
],
|
| 973 |
+
"std": [
|
| 974 |
+
0.04093795777149919,
|
| 975 |
+
0.037024461352442334,
|
| 976 |
+
0.03900465972156236,
|
| 977 |
+
0.047101798285536074,
|
| 978 |
+
0.026935657924288075,
|
| 979 |
+
0.05626555432265536,
|
| 980 |
+
0.04267144721347996,
|
| 981 |
+
0.03333504254848674,
|
| 982 |
+
0.054555676253345106,
|
| 983 |
+
0.03382845217831349,
|
| 984 |
+
0.013084019245591928,
|
| 985 |
+
0.07339846349618599,
|
| 986 |
+
0.015648795919696874,
|
| 987 |
+
0.03649498917967855,
|
| 988 |
+
0.03141421359595501,
|
| 989 |
+
0.051302578129439606,
|
| 990 |
+
0.01862269735310515,
|
| 991 |
+
0.12168237133956654,
|
| 992 |
+
0.0836412926009975,
|
| 993 |
+
0.05608500641521471,
|
| 994 |
+
0.1064735073172025,
|
| 995 |
+
0.07222603249530614,
|
| 996 |
+
0.3574849129757724,
|
| 997 |
+
0.09978852551431328,
|
| 998 |
+
0.23952434390872934,
|
| 999 |
+
0.44895305770637045,
|
| 1000 |
+
0.5780964898970155,
|
| 1001 |
+
0.1756179850327701,
|
| 1002 |
+
0.3452238254144235,
|
| 1003 |
+
0.21978821914137392,
|
| 1004 |
+
0.10528946181002134,
|
| 1005 |
+
0.0,
|
| 1006 |
+
0.0,
|
| 1007 |
+
0.0,
|
| 1008 |
+
0.0,
|
| 1009 |
+
0.0,
|
| 1010 |
+
0.0,
|
| 1011 |
+
0.0,
|
| 1012 |
+
0.0,
|
| 1013 |
+
0.0,
|
| 1014 |
+
0.0,
|
| 1015 |
+
0.0,
|
| 1016 |
+
0.0,
|
| 1017 |
+
0.0,
|
| 1018 |
+
0.0,
|
| 1019 |
+
0.0,
|
| 1020 |
+
0.0,
|
| 1021 |
+
0.0,
|
| 1022 |
+
0.0,
|
| 1023 |
+
0.0,
|
| 1024 |
+
0.0,
|
| 1025 |
+
0.0,
|
| 1026 |
+
0.0,
|
| 1027 |
+
0.16899087507839172,
|
| 1028 |
+
0.36061269807519125,
|
| 1029 |
+
0.018346050512407827,
|
| 1030 |
+
0.3067678379125852,
|
| 1031 |
+
0.37916464886435025,
|
| 1032 |
+
0.03371227909206793,
|
| 1033 |
+
0.13313335278828217,
|
| 1034 |
+
0.26621827690365046,
|
| 1035 |
+
0.007373112223379239,
|
| 1036 |
+
0.08175343654569882,
|
| 1037 |
+
0.8066954888400839,
|
| 1038 |
+
0.8053910953672813,
|
| 1039 |
+
0.05703728154338706,
|
| 1040 |
+
0.7205423072557381,
|
| 1041 |
+
0.26502718107487067,
|
| 1042 |
+
0.5829912699322716,
|
| 1043 |
+
0.5615860233728246,
|
| 1044 |
+
0.8082091676938215,
|
| 1045 |
+
0.1268958217964043,
|
| 1046 |
+
0.002875049966023487,
|
| 1047 |
+
0.46393539497497377,
|
| 1048 |
+
0.4403587818325293
|
| 1049 |
+
]
|
| 1050 |
+
}
|
| 1051 |
+
},
|
| 1052 |
+
"code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258"
|
| 1053 |
+
}
|
a18-pour-water/b512-2cam-cropped-v2/step-012000/training_records/train.log
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
HB_AUG_SEED=42
|
| 2 |
+
{"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 78, "body_dims": 31, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.5208, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
|
| 3 |
+
HB_INLOOP flash installed: task a18cr2 split train10, every 250 steps, cache checked on episodes [0, 11, 22, 33, 44, 55, 66, 77, 88, 99], code /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse, G=<default>
|
| 4 |
+
/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/envs/hb-baselines/lib/python3.12/site-packages/torch/utils/data/dataloader.py:627: UserWarning: This DataLoader will create 40 worker processes in total. Our suggested max number of worker in current system is 23, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
|
| 5 |
+
warnings.warn(
|
| 6 |
+
{"event": "start", "policy": "flash", "params": 42690251, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 66850, "steps": 12000, "from_step": 0, "cameras": ["head", "chest"], "hw": [168, 224], "seed": 42}
|
| 7 |
+
{"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.71, "data_frac": 0.745, "fm": 1.15324593603611, "consistency": 1.2308313125371932, "loss": 2.384077236652374}
|
| 8 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.87, "data_frac": 0.457, "fm": 0.3493073135614395, "consistency": 0.3542126989364624, "loss": 0.7035200107097626}
|
| 9 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.04, "data_frac": 0.71, "fm": 0.32310588836669923, "consistency": 0.32303782284259797, "loss": 0.6461437106132507}
|
| 10 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.4, "data_frac": 0.58, "fm": 0.31884756565093997, "consistency": 0.31674518644809724, "loss": 0.6355927538871765}
|
| 11 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 2.33, "data_frac": 0.361, "fm": 0.3040517443418503, "consistency": 0.2969889885187149, "loss": 0.6010407340526581}
|
| 12 |
+
HB_INLOOP flash ready: task a18cr2 split train10 queries 422 (rank 0/1: 422), every 250 steps, batch 8, cams ['head', 'chest']
|
| 13 |
+
HB_INLOOP flash step 250: a18cr2/train10 nMSE 0.3245 (body_target 0.4656 hands 0.1257) on 422 queries, 5.3 s
|
| 14 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 0.9, "data_frac": 0.636, "fm": 0.26638819456100465, "consistency": 0.24213499575853348, "loss": 0.5085231906175613}
|
| 15 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.19, "data_frac": 0.631, "fm": 0.1960544517636299, "consistency": 0.14863383233547212, "loss": 0.34468828737735746}
|
| 16 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 1.06, "data_frac": 0.706, "fm": 0.15134479433298112, "consistency": 0.0914013421535492, "loss": 0.24274613618850707}
|
| 17 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.47, "data_frac": 0.548, "fm": 0.13037461012601853, "consistency": 0.06730007156729698, "loss": 0.19767468124628068}
|
| 18 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 2.09, "data_frac": 0.406, "fm": 0.11820905074477196, "consistency": 0.056232462003827095, "loss": 0.1744415146112442}
|
| 19 |
+
HB_INLOOP flash step 500: a18cr2/train10 nMSE 0.2881 (body_target 0.4304 hands 0.0877) on 422 queries, 1.7 s
|
| 20 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 0.99, "data_frac": 0.676, "fm": 0.11228983491659164, "consistency": 0.05255452677607536, "loss": 0.1648443615436554}
|
| 21 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 1.49, "data_frac": 0.54, "fm": 0.1048202496767044, "consistency": 0.04706761799752712, "loss": 0.15188786804676055}
|
| 22 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 2.44, "data_frac": 0.351, "fm": 0.09841187313199043, "consistency": 0.0444561305642128, "loss": 0.1428680032491684}
|
| 23 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 0.78, "data_frac": 0.763, "fm": 0.09294369906187057, "consistency": 0.042131397053599355, "loss": 0.13507509589195252}
|
| 24 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 1.84, "data_frac": 0.457, "fm": 0.08512169063091278, "consistency": 0.03828365758061409, "loss": 0.12340534821152688}
|
| 25 |
+
HB_INLOOP flash step 750: a18cr2/train10 nMSE 0.2402 (body_target 0.3585 hands 0.0734) on 422 queries, 1.7 s
|
| 26 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 0.95, "data_frac": 0.704, "fm": 0.08095029160380364, "consistency": 0.035990174300968646, "loss": 0.11694046527147293}
|
| 27 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 1.37, "data_frac": 0.587, "fm": 0.0756505425274372, "consistency": 0.03370979644358158, "loss": 0.1093603390455246}
|
| 28 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 2.91, "data_frac": 0.204, "fm": 0.07363820150494575, "consistency": 0.033111361972987655, "loss": 0.10674956381320953}
|
| 29 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 0.95, "data_frac": 0.713, "fm": 0.07081327870488167, "consistency": 0.03078340206295252, "loss": 0.10159668117761612}
|
| 30 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 1.29, "data_frac": 0.61, "fm": 0.06704258851706982, "consistency": 0.028547948263585567, "loss": 0.09559053644537925}
|
| 31 |
+
HB_INLOOP flash step 1000: a18cr2/train10 nMSE 0.2110 (body_target 0.3034 hands 0.0807) on 422 queries, 1.7 s
|
| 32 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 0.99, "data_frac": 0.699, "fm": 0.06654557339847088, "consistency": 0.02904666606336832, "loss": 0.09559223994612694}
|
| 33 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 1.47, "data_frac": 0.573, "fm": 0.06289932548999787, "consistency": 0.0268202356249094, "loss": 0.08971956148743629}
|
| 34 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 2.2, "data_frac": 0.356, "fm": 0.0609971859306097, "consistency": 0.025371378660202025, "loss": 0.08636856451630592}
|
| 35 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 0.87, "data_frac": 0.755, "fm": 0.060534868985414506, "consistency": 0.025443842858076094, "loss": 0.08597871169447899}
|
| 36 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 1.48, "data_frac": 0.567, "fm": 0.057405002787709235, "consistency": 0.023577158004045487, "loss": 0.08098216071724891}
|
| 37 |
+
HB_INLOOP flash step 1250: a18cr2/train10 nMSE 0.1998 (body_target 0.2732 hands 0.0964) on 422 queries, 1.7 s
|
| 38 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 3.22, "data_frac": 0.046, "fm": 0.05717766344547272, "consistency": 0.023520494662225246, "loss": 0.08069815829396249}
|
| 39 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 0.71, "data_frac": 0.783, "fm": 0.05563795275986195, "consistency": 0.02212529342621565, "loss": 0.0777632461488247}
|
| 40 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 2.51, "data_frac": 0.278, "fm": 0.05420569151639938, "consistency": 0.021483592726290225, "loss": 0.07568928450345994}
|
| 41 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 1.0, "data_frac": 0.725, "fm": 0.053952357470989226, "consistency": 0.021085514053702355, "loss": 0.07503787115216255}
|
| 42 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 1.48, "data_frac": 0.546, "fm": 0.05262297332286835, "consistency": 0.02076409202069044, "loss": 0.0733870655298233}
|
| 43 |
+
HB_INLOOP flash step 1500: a18cr2/train10 nMSE 0.1897 (body_target 0.2527 hands 0.1008) on 422 queries, 4.4 s
|
| 44 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 2.53, "data_frac": 0.09, "fm": 0.05110487312078476, "consistency": 0.019675805792212488, "loss": 0.07078067913651466}
|
| 45 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 0.99, "data_frac": 0.72, "fm": 0.05110626593232155, "consistency": 0.019537197388708592, "loss": 0.07064346298575401}
|
| 46 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 1.24, "data_frac": 0.63, "fm": 0.048824286237359044, "consistency": 0.01877328922972083, "loss": 0.06759757556021213}
|
| 47 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 1.0, "data_frac": 0.731, "fm": 0.049169663488864895, "consistency": 0.018910555988550185, "loss": 0.06808021977543831}
|
| 48 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 1.39, "data_frac": 0.587, "fm": 0.04825176581740379, "consistency": 0.018258406706154348, "loss": 0.06651017241179943}
|
| 49 |
+
HB_INLOOP flash step 1750: a18cr2/train10 nMSE 0.1774 (body_target 0.2378 hands 0.0922) on 422 queries, 2.9 s
|
| 50 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 2.6, "data_frac": 0.149, "fm": 0.048310048952698706, "consistency": 0.018448101859539746, "loss": 0.06675815097987652}
|
| 51 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 1.04, "data_frac": 0.703, "fm": 0.04721266224980354, "consistency": 0.017375226728618146, "loss": 0.06458788849413395}
|
| 52 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 1.53, "data_frac": 0.553, "fm": 0.0457310001552105, "consistency": 0.01720549751073122, "loss": 0.06293649807572364}
|
| 53 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 2.19, "data_frac": 0.421, "fm": 0.04603510931134224, "consistency": 0.01732522577047348, "loss": 0.06336033508181572}
|
| 54 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 0.72, "data_frac": 0.789, "fm": 0.045548039451241494, "consistency": 0.016690855138003825, "loss": 0.06223889455199241}
|
| 55 |
+
HB_INLOOP flash step 2000: a18cr2/train10 nMSE 0.1662 (body_target 0.2269 hands 0.0805) on 422 queries, 3.8 s
|
| 56 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 2.38, "data_frac": 0.136, "fm": 0.044893578961491584, "consistency": 0.016843026652932167, "loss": 0.06173660591244698}
|
| 57 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 1.08, "data_frac": 0.7, "fm": 0.044758556485176085, "consistency": 0.016149136554449797, "loss": 0.06090769276022911}
|
| 58 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 1.45, "data_frac": 0.536, "fm": 0.043829060643911365, "consistency": 0.016358702313154935, "loss": 0.06018776297569275}
|
| 59 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 2.17, "data_frac": 0.412, "fm": 0.04353386953473091, "consistency": 0.0157823477499187, "loss": 0.05931621730327606}
|
| 60 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 1.11, "data_frac": 0.68, "fm": 0.04255573458969593, "consistency": 0.015238202679902314, "loss": 0.057793937474489215}
|
| 61 |
+
HB_INLOOP flash step 2250: a18cr2/train10 nMSE 0.1579 (body_target 0.2183 hands 0.0728) on 422 queries, 3.9 s
|
| 62 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 1.1, "data_frac": 0.605, "fm": 0.04369634509086609, "consistency": 0.01651174508035183, "loss": 0.060208090022206305}
|
| 63 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 1.07, "data_frac": 0.708, "fm": 0.042510642185807225, "consistency": 0.015256941430270671, "loss": 0.05776758372783661}
|
| 64 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 1.28, "data_frac": 0.617, "fm": 0.041642037630081175, "consistency": 0.014762694407254457, "loss": 0.056404731795191766}
|
| 65 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 2.64, "data_frac": 0.263, "fm": 0.041335003450512886, "consistency": 0.014721677228808404, "loss": 0.0560566808283329}
|
| 66 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 1.03, "data_frac": 0.702, "fm": 0.0405572772026062, "consistency": 0.01435007005929947, "loss": 0.05490734726190567}
|
| 67 |
+
HB_INLOOP flash step 2500: a18cr2/train10 nMSE 0.1514 (body_target 0.2116 hands 0.0666) on 422 queries, 3.9 s
|
| 68 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 1.56, "data_frac": 0.401, "fm": 0.040888991430401804, "consistency": 0.014774363748729228, "loss": 0.055663354992866516}
|
| 69 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 2.19, "data_frac": 0.41, "fm": 0.039985250160098074, "consistency": 0.014168324749916791, "loss": 0.054153574854135515}
|
| 70 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 0.77, "data_frac": 0.773, "fm": 0.040006068870425224, "consistency": 0.014195316303521395, "loss": 0.054201385229825975}
|
| 71 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 1.99, "data_frac": 0.423, "fm": 0.03896001450717449, "consistency": 0.013866697829216719, "loss": 0.052826712131500246}
|
| 72 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 1.08, "data_frac": 0.697, "fm": 0.039016062021255495, "consistency": 0.014076871834695338, "loss": 0.053092933744192126}
|
| 73 |
+
HB_INLOOP flash step 2750: a18cr2/train10 nMSE 0.1462 (body_target 0.2061 hands 0.0618) on 422 queries, 4.2 s
|
| 74 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 1.18, "data_frac": 0.534, "fm": 0.03861595004796982, "consistency": 0.013268758561462164, "loss": 0.051884708255529405}
|
| 75 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 1.98, "data_frac": 0.445, "fm": 0.03848686255514622, "consistency": 0.013738027475774288, "loss": 0.05222489006817341}
|
| 76 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 0.97, "data_frac": 0.681, "fm": 0.038367424681782725, "consistency": 0.013312336895614863, "loss": 0.05167976140975952}
|
| 77 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 1.25, "data_frac": 0.616, "fm": 0.03761833421885967, "consistency": 0.013507867064327002, "loss": 0.05112620122730732}
|
| 78 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 1.05, "data_frac": 0.717, "fm": 0.03822203248739243, "consistency": 0.013881134074181319, "loss": 0.05210316672921181}
|
| 79 |
+
HB_INLOOP flash step 3000: a18cr2/train10 nMSE 0.1410 (body_target 0.2012 hands 0.0561) on 422 queries, 3.1 s
|
| 80 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 1.47, "data_frac": 0.461, "fm": 0.036842243373394014, "consistency": 0.013034981582313776, "loss": 0.04987722508609295}
|
| 81 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 2.04, "data_frac": 0.438, "fm": 0.037716194465756414, "consistency": 0.01296587811782956, "loss": 0.050682072788476945}
|
| 82 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 1.09, "data_frac": 0.694, "fm": 0.036355600133538245, "consistency": 0.012414021417498589, "loss": 0.04876962184906006}
|
| 83 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 1.5, "data_frac": 0.574, "fm": 0.03638675391674042, "consistency": 0.01259708909317851, "loss": 0.04898384280502796}
|
| 84 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 2.02, "data_frac": 0.456, "fm": 0.03637670576572418, "consistency": 0.012462971862405539, "loss": 0.048839677199721335}
|
| 85 |
+
HB_INLOOP flash step 3250: a18cr2/train10 nMSE 0.1375 (body_target 0.1971 hands 0.0535) on 422 queries, 1.5 s
|
| 86 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 0.71, "data_frac": 0.755, "fm": 0.036527023017406464, "consistency": 0.013017667345702649, "loss": 0.0495446902513504}
|
| 87 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 2.01, "data_frac": 0.408, "fm": 0.03560245133936405, "consistency": 0.012054663654416799, "loss": 0.0476571149379015}
|
| 88 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 0.96, "data_frac": 0.734, "fm": 0.0368956658244133, "consistency": 0.013430338334292174, "loss": 0.050326004326343536}
|
| 89 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 1.42, "data_frac": 0.581, "fm": 0.03543349307030439, "consistency": 0.012260684184730053, "loss": 0.04769417755305767}
|
| 90 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 2.66, "data_frac": 0.278, "fm": 0.0350748598203063, "consistency": 0.011628490313887596, "loss": 0.046703350320458414}
|
| 91 |
+
HB_INLOOP flash step 3500: a18cr2/train10 nMSE 0.1344 (body_target 0.1937 hands 0.0509) on 422 queries, 1.5 s
|
| 92 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 1.03, "data_frac": 0.671, "fm": 0.035422975420951845, "consistency": 0.012099043056368828, "loss": 0.047522018626332284}
|
| 93 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 1.13, "data_frac": 0.668, "fm": 0.03400973208248615, "consistency": 0.011489544492214919, "loss": 0.04549927674233913}
|
| 94 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 1.12, "data_frac": 0.695, "fm": 0.0343259222432971, "consistency": 0.011386473588645458, "loss": 0.045712395682930944}
|
| 95 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 1.5, "data_frac": 0.551, "fm": 0.03452156618237495, "consistency": 0.012095673941075802, "loss": 0.04661723986268043}
|
| 96 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 2.05, "data_frac": 0.421, "fm": 0.0342160664498806, "consistency": 0.011499450281262398, "loss": 0.04571551695466042}
|
| 97 |
+
HB_INLOOP flash step 3750: a18cr2/train10 nMSE 0.1318 (body_target 0.1905 hands 0.0491) on 422 queries, 1.5 s
|
| 98 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 0.98, "data_frac": 0.695, "fm": 0.03338461544364691, "consistency": 0.010887633562088012, "loss": 0.04427224889397621}
|
| 99 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 1.6, "data_frac": 0.512, "fm": 0.033032911494374276, "consistency": 0.011251035463064909, "loss": 0.04428394705057144}
|
| 100 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 2.28, "data_frac": 0.386, "fm": 0.03358446639031172, "consistency": 0.011026192251592874, "loss": 0.04461065858602524}
|
| 101 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 0.69, "data_frac": 0.792, "fm": 0.03350955028086901, "consistency": 0.011539127230644226, "loss": 0.04504867762327194}
|
| 102 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 2.6, "data_frac": 0.243, "fm": 0.032570430412888526, "consistency": 0.010803505834192038, "loss": 0.04337393619120121}
|
| 103 |
+
HB_INLOOP flash step 4000: a18cr2/train10 nMSE 0.1293 (body_target 0.1872 hands 0.0476) on 422 queries, 1.7 s
|
| 104 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/step-004000", "mse": 0.01126042939722538, "mse_row0": 0.008835528045892715, "mse_body_target": 0.008230209350585938, "mse_hands": 0.013395356945693493}
|
| 105 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 0.56, "data_frac": 0.728, "fm": 0.03293508797883987, "consistency": 0.011187237221747637, "loss": 0.04412232510745526}
|
| 106 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 0.92, "data_frac": 0.647, "fm": 0.03215234637260437, "consistency": 0.010391068048775196, "loss": 0.04254341438412666}
|
| 107 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 1.77, "data_frac": 0.468, "fm": 0.03238978236913681, "consistency": 0.010748668313026429, "loss": 0.04313845060765743}
|
| 108 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 0.82, "data_frac": 0.715, "fm": 0.03231383953243494, "consistency": 0.01054812578484416, "loss": 0.04286196537315846}
|
| 109 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 0.78, "data_frac": 0.709, "fm": 0.03177427228540182, "consistency": 0.010874708648771048, "loss": 0.04264898091554642}
|
| 110 |
+
HB_INLOOP flash step 4250: a18cr2/train10 nMSE 0.1272 (body_target 0.1845 hands 0.0465) on 422 queries, 2.5 s
|
| 111 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 0.55, "data_frac": 0.801, "fm": 0.03192979235202074, "consistency": 0.010484228413552045, "loss": 0.042414020746946335}
|
| 112 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 1.09, "data_frac": 0.568, "fm": 0.03178481906652451, "consistency": 0.010553563833236695, "loss": 0.0423383828997612}
|
| 113 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 1.55, "data_frac": 0.505, "fm": 0.031282207258045674, "consistency": 0.010180445536971092, "loss": 0.041462652832269666}
|
| 114 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 0.64, "data_frac": 0.794, "fm": 0.031024462282657622, "consistency": 0.01036688145250082, "loss": 0.04139134377241135}
|
| 115 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 0.84, "data_frac": 0.689, "fm": 0.03138875734061003, "consistency": 0.010367355719208717, "loss": 0.04175611339509487}
|
| 116 |
+
HB_INLOOP flash step 4500: a18cr2/train10 nMSE 0.1254 (body_target 0.1820 hands 0.0458) on 422 queries, 5.0 s
|
| 117 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 1.24, "data_frac": 0.509, "fm": 0.030833401940762995, "consistency": 0.01043997572734952, "loss": 0.04127337761223316}
|
| 118 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 0.58, "data_frac": 0.789, "fm": 0.03139096852391958, "consistency": 0.010517835542559624, "loss": 0.0419088040292263}
|
| 119 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 0.98, "data_frac": 0.627, "fm": 0.030535846166312695, "consistency": 0.009941016118973493, "loss": 0.04047686234116554}
|
| 120 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 0.71, "data_frac": 0.769, "fm": 0.031238708756864072, "consistency": 0.011264406368136406, "loss": 0.04250311501324177}
|
| 121 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 0.96, "data_frac": 0.655, "fm": 0.03060195695608854, "consistency": 0.009864963833242655, "loss": 0.040466920733451844}
|
| 122 |
+
HB_INLOOP flash step 4750: a18cr2/train10 nMSE 0.1237 (body_target 0.1795 hands 0.0450) on 422 queries, 2.4 s
|
| 123 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 2.14, "data_frac": 0.282, "fm": 0.030416635759174825, "consistency": 0.009830613154917955, "loss": 0.04024724908173084}
|
| 124 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 0.67, "data_frac": 0.785, "fm": 0.03019155088812113, "consistency": 0.009778530485928059, "loss": 0.03997008144855499}
|
| 125 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 0.7, "data_frac": 0.72, "fm": 0.029928792268037796, "consistency": 0.009671670021489262, "loss": 0.0396004618704319}
|
| 126 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 0.76, "data_frac": 0.768, "fm": 0.02984139569103718, "consistency": 0.00964707488194108, "loss": 0.039488470330834385}
|
| 127 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 0.88, "data_frac": 0.673, "fm": 0.029673513285815717, "consistency": 0.009414534075185657, "loss": 0.039088047295808795}
|
| 128 |
+
HB_INLOOP flash step 5000: a18cr2/train10 nMSE 0.1221 (body_target 0.1774 hands 0.0441) on 422 queries, 2.2 s
|
| 129 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 1.69, "data_frac": 0.421, "fm": 0.029345956780016422, "consistency": 0.009055972881615162, "loss": 0.038401929438114164}
|
| 130 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 0.64, "data_frac": 0.775, "fm": 0.029590778797864915, "consistency": 0.009835851173847913, "loss": 0.039426629915833476}
|
| 131 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 1.12, "data_frac": 0.622, "fm": 0.02972354520112276, "consistency": 0.009449654659256339, "loss": 0.03917320005595684}
|
| 132 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 1.67, "data_frac": 0.556, "fm": 0.029712935350835322, "consistency": 0.009741296526044607, "loss": 0.039454231709241866}
|
| 133 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 0.66, "data_frac": 0.784, "fm": 0.029466215521097183, "consistency": 0.00953781083226204, "loss": 0.03900402627885342}
|
| 134 |
+
HB_INLOOP flash step 5250: a18cr2/train10 nMSE 0.1207 (body_target 0.1754 hands 0.0436) on 422 queries, 4.3 s
|
| 135 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 2.01, "data_frac": 0.237, "fm": 0.02950476109981537, "consistency": 0.009219279792159796, "loss": 0.038724040687084196}
|
| 136 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 0.76, "data_frac": 0.763, "fm": 0.02925023902207613, "consistency": 0.009352344907820226, "loss": 0.038602584302425386}
|
| 137 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 0.91, "data_frac": 0.67, "fm": 0.028384736366569997, "consistency": 0.00904384314082563, "loss": 0.03742857947945595}
|
| 138 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 1.27, "data_frac": 0.587, "fm": 0.0296138783544302, "consistency": 0.009620797960087657, "loss": 0.03923467628657818}
|
| 139 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 0.58, "data_frac": 0.784, "fm": 0.028429127261042596, "consistency": 0.008988688848912716, "loss": 0.037417816445231435}
|
| 140 |
+
HB_INLOOP flash step 5500: a18cr2/train10 nMSE 0.1192 (body_target 0.1737 hands 0.0425) on 422 queries, 7.7 s
|
| 141 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 0.73, "data_frac": 0.623, "fm": 0.0289867364987731, "consistency": 0.009154842402786016, "loss": 0.038141578808426856}
|
| 142 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 0.72, "data_frac": 0.781, "fm": 0.028987197130918504, "consistency": 0.009276887960731983, "loss": 0.038264085203409196}
|
| 143 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 0.94, "data_frac": 0.663, "fm": 0.028675004132091998, "consistency": 0.008755683954805136, "loss": 0.03743068814277649}
|
| 144 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 1.61, "data_frac": 0.485, "fm": 0.027879087440669536, "consistency": 0.008782550282776356, "loss": 0.03666163772344589}
|
| 145 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 0.59, "data_frac": 0.805, "fm": 0.028760460056364536, "consistency": 0.00911525490693748, "loss": 0.037875714786350725}
|
| 146 |
+
HB_INLOOP flash step 5750: a18cr2/train10 nMSE 0.1179 (body_target 0.1717 hands 0.0419) on 422 queries, 5.8 s
|
| 147 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 1.01, "data_frac": 0.535, "fm": 0.027828600816428663, "consistency": 0.00908558269031346, "loss": 0.03691418372094631}
|
| 148 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 1.35, "data_frac": 0.606, "fm": 0.027695714347064495, "consistency": 0.008704078448936343, "loss": 0.03639979265630245}
|
| 149 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 0.55, "data_frac": 0.796, "fm": 0.02736347697675228, "consistency": 0.008657217500731349, "loss": 0.036020694598555565}
|
| 150 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 1.07, "data_frac": 0.647, "fm": 0.027367837987840177, "consistency": 0.00858698076568544, "loss": 0.03595481894910336}
|
| 151 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 0.73, "data_frac": 0.754, "fm": 0.027405034564435483, "consistency": 0.008284466555342079, "loss": 0.03568950138986111}
|
| 152 |
+
HB_INLOOP flash step 6000: a18cr2/train10 nMSE 0.1165 (body_target 0.1699 hands 0.0413) on 422 queries, 8.3 s
|
| 153 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 1.0, "data_frac": 0.455, "fm": 0.027721515484154226, "consistency": 0.00911760768853128, "loss": 0.03683912344276905}
|
| 154 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.93, "data_frac": 0.413, "fm": 0.027598455436527728, "consistency": 0.008505037827417255, "loss": 0.03610349357128143}
|
| 155 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 0.65, "data_frac": 0.793, "fm": 0.027377121895551682, "consistency": 0.00880071084946394, "loss": 0.03617783255875111}
|
| 156 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 0.75, "data_frac": 0.733, "fm": 0.027422751821577548, "consistency": 0.00914215418510139, "loss": 0.036564905941486356}
|
| 157 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 0.74, "data_frac": 0.775, "fm": 0.0273314618319273, "consistency": 0.00834057865664363, "loss": 0.03567204058170319}
|
| 158 |
+
HB_INLOOP flash step 6250: a18cr2/train10 nMSE 0.1152 (body_target 0.1683 hands 0.0405) on 422 queries, 7.0 s
|
| 159 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 1.26, "data_frac": 0.38, "fm": 0.02665365181863308, "consistency": 0.008319831686094403, "loss": 0.034973483458161356}
|
| 160 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 2.17, "data_frac": 0.349, "fm": 0.026752147600054742, "consistency": 0.007954202778637409, "loss": 0.03470635056495666}
|
| 161 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 0.91, "data_frac": 0.737, "fm": 0.026769417934119702, "consistency": 0.008186651850119233, "loss": 0.03495606988668442}
|
| 162 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 0.87, "data_frac": 0.689, "fm": 0.026359238363802433, "consistency": 0.00809398734010756, "loss": 0.03445322554558516}
|
| 163 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 1.04, "data_frac": 0.684, "fm": 0.026644177734851837, "consistency": 0.008099063308909535, "loss": 0.03474324107170105}
|
| 164 |
+
HB_INLOOP flash step 6500: a18cr2/train10 nMSE 0.1142 (body_target 0.1667 hands 0.0402) on 422 queries, 3.2 s
|
| 165 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 0.49, "data_frac": 0.785, "fm": 0.027012267522513865, "consistency": 0.008359846537932753, "loss": 0.03537211410701275}
|
| 166 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 1.02, "data_frac": 0.655, "fm": 0.0262545994669199, "consistency": 0.008150913631543516, "loss": 0.034405513405799865}
|
| 167 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 0.75, "data_frac": 0.757, "fm": 0.025989766009151937, "consistency": 0.007805228978395462, "loss": 0.03379499480128288}
|
| 168 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 0.96, "data_frac": 0.645, "fm": 0.026622302792966367, "consistency": 0.007999856239184738, "loss": 0.03462215892970562}
|
| 169 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 1.46, "data_frac": 0.562, "fm": 0.02641657505184412, "consistency": 0.007942455941811205, "loss": 0.0343590309843421}
|
| 170 |
+
HB_INLOOP flash step 6750: a18cr2/train10 nMSE 0.1129 (body_target 0.1651 hands 0.0393) on 422 queries, 2.5 s
|
| 171 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 0.53, "data_frac": 0.779, "fm": 0.02618945624679327, "consistency": 0.007672026474028826, "loss": 0.03386148288846016}
|
| 172 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 0.66, "data_frac": 0.754, "fm": 0.02618961751461029, "consistency": 0.007743536084890365, "loss": 0.033933153487741945}
|
| 173 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 0.55, "data_frac": 0.82, "fm": 0.026159700751304627, "consistency": 0.008114526541903614, "loss": 0.03427422739565372}
|
| 174 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 0.84, "data_frac": 0.662, "fm": 0.025468528270721436, "consistency": 0.007548811044543981, "loss": 0.033017339557409285}
|
| 175 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 1.23, "data_frac": 0.595, "fm": 0.025544933751225473, "consistency": 0.007889348901808263, "loss": 0.033434282466769216}
|
| 176 |
+
HB_INLOOP flash step 7000: a18cr2/train10 nMSE 0.1116 (body_target 0.1636 hands 0.0384) on 422 queries, 3.7 s
|
| 177 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 0.68, "data_frac": 0.732, "fm": 0.025769225023686886, "consistency": 0.007505716234445572, "loss": 0.033274941258132455}
|
| 178 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 0.84, "data_frac": 0.653, "fm": 0.02570935767143965, "consistency": 0.007408522833138705, "loss": 0.03311788029968739}
|
| 179 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 1.04, "data_frac": 0.682, "fm": 0.025780916512012482, "consistency": 0.007696672352030873, "loss": 0.033477588966488836}
|
| 180 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 0.42, "data_frac": 0.828, "fm": 0.025558505579829215, "consistency": 0.007456294652074575, "loss": 0.03301480051130056}
|
| 181 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 1.24, "data_frac": 0.577, "fm": 0.02520555626600981, "consistency": 0.007380100023001432, "loss": 0.0325856564193964}
|
| 182 |
+
HB_INLOOP flash step 7250: a18cr2/train10 nMSE 0.1104 (body_target 0.1621 hands 0.0376) on 422 queries, 4.1 s
|
| 183 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 0.53, "data_frac": 0.771, "fm": 0.025206844992935656, "consistency": 0.007356228064745665, "loss": 0.03256307315081358}
|
| 184 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 0.98, "data_frac": 0.606, "fm": 0.025011599734425544, "consistency": 0.0072501544654369355, "loss": 0.03226175408810377}
|
| 185 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 1.16, "data_frac": 0.623, "fm": 0.024930893443524837, "consistency": 0.007336293393746018, "loss": 0.03226718667894602}
|
| 186 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 0.55, "data_frac": 0.781, "fm": 0.02514274649322033, "consistency": 0.007173566501587629, "loss": 0.03231631297618151}
|
| 187 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 0.78, "data_frac": 0.735, "fm": 0.025380752980709076, "consistency": 0.0071840575709939, "loss": 0.03256481058895588}
|
| 188 |
+
HB_INLOOP flash step 7500: a18cr2/train10 nMSE 0.1093 (body_target 0.1606 hands 0.0371) on 422 queries, 4.0 s
|
| 189 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 0.63, "data_frac": 0.759, "fm": 0.02502305746078491, "consistency": 0.007218331135809422, "loss": 0.03224138859659433}
|
| 190 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 0.96, "data_frac": 0.687, "fm": 0.025075461156666277, "consistency": 0.007130804061889648, "loss": 0.03220626506954431}
|
| 191 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 1.37, "data_frac": 0.608, "fm": 0.024870215728878976, "consistency": 0.007053353525698185, "loss": 0.03192356918007135}
|
| 192 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 0.72, "data_frac": 0.781, "fm": 0.025147566236555577, "consistency": 0.0069099011551588775, "loss": 0.03205746736377477}
|
| 193 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 1.01, "data_frac": 0.639, "fm": 0.024870759062469005, "consistency": 0.007033529877662659, "loss": 0.03190428901463747}
|
| 194 |
+
HB_INLOOP flash step 7750: a18cr2/train10 nMSE 0.1079 (body_target 0.1588 hands 0.0362) on 422 queries, 5.5 s
|
| 195 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 1.43, "data_frac": 0.425, "fm": 0.024588721916079522, "consistency": 0.0068584986589849, "loss": 0.03144722055643797}
|
| 196 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 0.51, "data_frac": 0.811, "fm": 0.024758642688393593, "consistency": 0.006703358627855777, "loss": 0.031462001241743566}
|
| 197 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 1.15, "data_frac": 0.602, "fm": 0.02463633131235838, "consistency": 0.006792258769273758, "loss": 0.03142858996987343}
|
| 198 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 0.56, "data_frac": 0.814, "fm": 0.024915159344673157, "consistency": 0.007386764995753765, "loss": 0.03230192437767983}
|
| 199 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 0.82, "data_frac": 0.691, "fm": 0.024744502864778042, "consistency": 0.006982734771445394, "loss": 0.03172723777592182}
|
| 200 |
+
HB_INLOOP flash step 8000: a18cr2/train10 nMSE 0.1068 (body_target 0.1572 hands 0.0358) on 422 queries, 8.5 s
|
| 201 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/step-008000", "mse": 0.006035998929291964, "mse_row0": 0.0050738416612148285, "mse_body_target": 0.006411456037312746, "mse_hands": 0.005771471653133631}
|
| 202 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 1.22, "data_frac": 0.0, "fm": 0.02448930997401476, "consistency": 0.006703722309321165, "loss": 0.031193032264709472}
|
| 203 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 0.59, "data_frac": 0.793, "fm": 0.02452088288962841, "consistency": 0.006550318608060479, "loss": 0.031071201488375663}
|
| 204 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 0.65, "data_frac": 0.739, "fm": 0.024134000055491923, "consistency": 0.006590050766244531, "loss": 0.030724050886929036}
|
| 205 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 0.64, "data_frac": 0.808, "fm": 0.024561940282583235, "consistency": 0.006800049766898155, "loss": 0.031361990161240104}
|
| 206 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 1.08, "data_frac": 0.584, "fm": 0.024224585741758346, "consistency": 0.006520729195326567, "loss": 0.030745315104722976}
|
| 207 |
+
HB_INLOOP flash step 8250: a18cr2/train10 nMSE 0.1056 (body_target 0.1556 hands 0.0350) on 422 queries, 8.3 s
|
| 208 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 1.27, "data_frac": 0.347, "fm": 0.023955258429050445, "consistency": 0.0062877551466226575, "loss": 0.0302430135384202}
|
| 209 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 0.67, "data_frac": 0.77, "fm": 0.02426792148500681, "consistency": 0.006279221037402749, "loss": 0.030547142438590528}
|
| 210 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 0.83, "data_frac": 0.67, "fm": 0.02418251533061266, "consistency": 0.006183543754741549, "loss": 0.030366059206426144}
|
| 211 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 1.7, "data_frac": 0.55, "fm": 0.02408449225127697, "consistency": 0.006209282577037812, "loss": 0.030293774791061878}
|
| 212 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 0.49, "data_frac": 0.796, "fm": 0.024003755673766135, "consistency": 0.006375448442995548, "loss": 0.030379204154014586}
|
| 213 |
+
HB_INLOOP flash step 8500: a18cr2/train10 nMSE 0.1046 (body_target 0.1547 hands 0.0339) on 422 queries, 10.7 s
|
| 214 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 1.14, "data_frac": 0.365, "fm": 0.023759711124002932, "consistency": 0.006067878939211369, "loss": 0.02982759017497301}
|
| 215 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 0.65, "data_frac": 0.778, "fm": 0.023982665203511715, "consistency": 0.006332309264689684, "loss": 0.03031497459858656}
|
| 216 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 0.86, "data_frac": 0.653, "fm": 0.023969740085303785, "consistency": 0.006154191186651587, "loss": 0.030123931430280207}
|
| 217 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 1.11, "data_frac": 0.624, "fm": 0.02423016857355833, "consistency": 0.006094370866194367, "loss": 0.030324539393186568}
|
| 218 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 0.58, "data_frac": 0.779, "fm": 0.02419787798076868, "consistency": 0.006092612119391561, "loss": 0.03029049012809992}
|
| 219 |
+
HB_INLOOP flash step 8750: a18cr2/train10 nMSE 0.1043 (body_target 0.1547 hands 0.0333) on 422 queries, 6.1 s
|
| 220 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 0.64, "data_frac": 0.672, "fm": 0.02344634849578142, "consistency": 0.005849215313792229, "loss": 0.029295563772320746}
|
| 221 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 0.63, "data_frac": 0.807, "fm": 0.024080073684453963, "consistency": 0.006001305393874645, "loss": 0.030081379152834417}
|
| 222 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 0.94, "data_frac": 0.66, "fm": 0.023838055320084095, "consistency": 0.006023695850744843, "loss": 0.029861751087009905}
|
| 223 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 1.23, "data_frac": 0.594, "fm": 0.023852286487817766, "consistency": 0.005905364388599992, "loss": 0.029757651016116143}
|
| 224 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 0.65, "data_frac": 0.774, "fm": 0.023459705449640753, "consistency": 0.005809923941269517, "loss": 0.02926962945610285}
|
| 225 |
+
HB_INLOOP flash step 9000: a18cr2/train10 nMSE 0.1045 (body_target 0.1553 hands 0.0329) on 422 queries, 6.4 s
|
| 226 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 0.8, "data_frac": 0.62, "fm": 0.023448130302131175, "consistency": 0.0057845618017017845, "loss": 0.029232692047953604}
|
| 227 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 2.06, "data_frac": 0.422, "fm": 0.023570830821990966, "consistency": 0.00563019341789186, "loss": 0.029201024286448954}
|
| 228 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 0.54, "data_frac": 0.805, "fm": 0.02316122341901064, "consistency": 0.005685687968507409, "loss": 0.02884691137820482}
|
| 229 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 1.11, "data_frac": 0.588, "fm": 0.023649944961071014, "consistency": 0.005817309934645892, "loss": 0.029467254914343356}
|
| 230 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 0.6, "data_frac": 0.812, "fm": 0.02341229945421219, "consistency": 0.005754368314519524, "loss": 0.029166667871177197}
|
| 231 |
+
HB_INLOOP flash step 9250: a18cr2/train10 nMSE 0.1047 (body_target 0.1558 hands 0.0328) on 422 queries, 4.3 s
|
| 232 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 0.86, "data_frac": 0.619, "fm": 0.02309539295732975, "consistency": 0.005650406777858734, "loss": 0.028745799586176873}
|
| 233 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 1.43, "data_frac": 0.568, "fm": 0.02346868682652712, "consistency": 0.005815196577459574, "loss": 0.02928388349711895}
|
| 234 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 0.65, "data_frac": 0.771, "fm": 0.023779709823429585, "consistency": 0.006145642725750804, "loss": 0.02992535263299942}
|
| 235 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 0.67, "data_frac": 0.74, "fm": 0.023251765035092832, "consistency": 0.005597136067226529, "loss": 0.028848901130259036}
|
| 236 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 0.78, "data_frac": 0.772, "fm": 0.02312096368521452, "consistency": 0.005721341334283352, "loss": 0.02884230490773916}
|
| 237 |
+
HB_INLOOP flash step 9500: a18cr2/train10 nMSE 0.1060 (body_target 0.1575 hands 0.0334) on 422 queries, 10.6 s
|
| 238 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 0.78, "data_frac": 0.556, "fm": 0.02306585814803839, "consistency": 0.005599899245426059, "loss": 0.028665757440030575}
|
| 239 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 1.19, "data_frac": 0.638, "fm": 0.022964394986629486, "consistency": 0.005572361834347248, "loss": 0.02853675689548254}
|
| 240 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 0.53, "data_frac": 0.816, "fm": 0.023167302608489992, "consistency": 0.0054449680540710685, "loss": 0.028612270541489123}
|
| 241 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 0.82, "data_frac": 0.666, "fm": 0.023203734122216702, "consistency": 0.005423119980841875, "loss": 0.028626853972673415}
|
| 242 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 1.15, "data_frac": 0.661, "fm": 0.023237460926175117, "consistency": 0.00545125006698072, "loss": 0.028688711039721967}
|
| 243 |
+
HB_INLOOP flash step 9750: a18cr2/train10 nMSE 0.1073 (body_target 0.1590 hands 0.0344) on 422 queries, 1.6 s
|
| 244 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 0.6, "data_frac": 0.8, "fm": 0.022544251158833503, "consistency": 0.0054308677278459075, "loss": 0.027975118830800057}
|
| 245 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 1.78, "data_frac": 0.414, "fm": 0.022875273451209068, "consistency": 0.005410227756947279, "loss": 0.028285501152276994}
|
| 246 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 0.59, "data_frac": 0.791, "fm": 0.022525300532579423, "consistency": 0.005422550197690726, "loss": 0.027947850748896597}
|
| 247 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 0.68, "data_frac": 0.741, "fm": 0.022622337341308595, "consistency": 0.005384723236784339, "loss": 0.02800706058740616}
|
| 248 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.6, "data_frac": 0.537, "fm": 0.023089610934257508, "consistency": 0.005400299672037363, "loss": 0.028489910550415515}
|
| 249 |
+
HB_INLOOP flash step 10000: a18cr2/train10 nMSE 0.1090 (body_target 0.1610 hands 0.0356) on 422 queries, 1.7 s
|
| 250 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 0.64, "data_frac": 0.73, "fm": 0.0232410379126668, "consistency": 0.005397421075031161, "loss": 0.02863845892250538}
|
| 251 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 0.62, "data_frac": 0.772, "fm": 0.0226615209877491, "consistency": 0.005315199056640268, "loss": 0.027976720072329046}
|
| 252 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 0.73, "data_frac": 0.773, "fm": 0.023011426590383053, "consistency": 0.005406308677047491, "loss": 0.0284177353233099}
|
| 253 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 1.06, "data_frac": 0.56, "fm": 0.0229340847954154, "consistency": 0.005260360771790147, "loss": 0.02819444555789232}
|
| 254 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 1.02, "data_frac": 0.626, "fm": 0.02254949860274792, "consistency": 0.005424267230555415, "loss": 0.027973765730857848}
|
| 255 |
+
HB_INLOOP flash step 10250: a18cr2/train10 nMSE 0.1104 (body_target 0.1627 hands 0.0367) on 422 queries, 4.1 s
|
| 256 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 0.53, "data_frac": 0.764, "fm": 0.02278387911617756, "consistency": 0.005222161076962948, "loss": 0.02800604023039341}
|
| 257 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 0.89, "data_frac": 0.648, "fm": 0.022811980955302714, "consistency": 0.005334167750552296, "loss": 0.028146148659288883}
|
| 258 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 1.1, "data_frac": 0.679, "fm": 0.022638324163854123, "consistency": 0.005309629170224071, "loss": 0.027947953306138515}
|
| 259 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 0.47, "data_frac": 0.816, "fm": 0.022651547379791737, "consistency": 0.005236592711880803, "loss": 0.0278881398960948}
|
| 260 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 1.54, "data_frac": 0.536, "fm": 0.022770203985273837, "consistency": 0.005240144403651357, "loss": 0.028010348342359066}
|
| 261 |
+
HB_INLOOP flash step 10500: a18cr2/train10 nMSE 0.1118 (body_target 0.1643 hands 0.0378) on 422 queries, 2.4 s
|
| 262 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 0.66, "data_frac": 0.748, "fm": 0.022524989657104016, "consistency": 0.005329109216108918, "loss": 0.027854098975658416}
|
| 263 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 0.88, "data_frac": 0.663, "fm": 0.022081757076084615, "consistency": 0.005168016767129302, "loss": 0.027249773778021336}
|
| 264 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 1.31, "data_frac": 0.598, "fm": 0.022604331001639368, "consistency": 0.0052064089756459, "loss": 0.0278107400983572}
|
| 265 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 0.58, "data_frac": 0.788, "fm": 0.022441902086138724, "consistency": 0.0051984926778823135, "loss": 0.027640394866466522}
|
| 266 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 0.96, "data_frac": 0.682, "fm": 0.02227689478546381, "consistency": 0.005176000082865357, "loss": 0.02745289485901594}
|
| 267 |
+
HB_INLOOP flash step 10750: a18cr2/train10 nMSE 0.1129 (body_target 0.1656 hands 0.0387) on 422 queries, 1.8 s
|
| 268 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 0.62, "data_frac": 0.797, "fm": 0.022399999238550662, "consistency": 0.005149925723671913, "loss": 0.027549924850463866}
|
| 269 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 0.89, "data_frac": 0.652, "fm": 0.022133801244199277, "consistency": 0.005210067452862859, "loss": 0.02734386868774891}
|
| 270 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 1.22, "data_frac": 0.603, "fm": 0.022543777152895926, "consistency": 0.005158115094527602, "loss": 0.02770189233124256}
|
| 271 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 0.66, "data_frac": 0.776, "fm": 0.022186808921396732, "consistency": 0.005127873858436942, "loss": 0.027314682751894}
|
| 272 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 0.98, "data_frac": 0.621, "fm": 0.022270200401544572, "consistency": 0.005079854754731059, "loss": 0.027350054979324342}
|
| 273 |
+
HB_INLOOP flash step 11000: a18cr2/train10 nMSE 0.1137 (body_target 0.1665 hands 0.0392) on 422 queries, 9.3 s
|
| 274 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 0.97, "data_frac": 0.529, "fm": 0.022490718141198157, "consistency": 0.005054354174062609, "loss": 0.02754507228732109}
|
| 275 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 0.4, "data_frac": 0.844, "fm": 0.02253220334649086, "consistency": 0.005090848356485367, "loss": 0.02762305174022913}
|
| 276 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 1.67, "data_frac": 0.466, "fm": 0.02242761179804802, "consistency": 0.005200360706076026, "loss": 0.027627972438931465}
|
| 277 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 0.7, "data_frac": 0.785, "fm": 0.02246761117130518, "consistency": 0.005083364546298981, "loss": 0.027550975680351256}
|
| 278 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 0.84, "data_frac": 0.677, "fm": 0.022391403280198573, "consistency": 0.005101329376921058, "loss": 0.02749273266643286}
|
| 279 |
+
HB_INLOOP flash step 11250: a18cr2/train10 nMSE 0.1144 (body_target 0.1674 hands 0.0398) on 422 queries, 8.5 s
|
| 280 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 1.54, "data_frac": 0.204, "fm": 0.022508283741772175, "consistency": 0.0051635793317109345, "loss": 0.027671863101422788}
|
| 281 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 0.54, "data_frac": 0.806, "fm": 0.02218750886619091, "consistency": 0.0050835129898041485, "loss": 0.027271021977066993}
|
| 282 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 0.66, "data_frac": 0.769, "fm": 0.02284693818539381, "consistency": 0.0051231914665549995, "loss": 0.027970129773020744}
|
| 283 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 0.64, "data_frac": 0.811, "fm": 0.022401525638997555, "consistency": 0.005131481476128102, "loss": 0.02753300718963146}
|
| 284 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 0.85, "data_frac": 0.663, "fm": 0.02232922114431858, "consistency": 0.005122673343867064, "loss": 0.027451894357800485}
|
| 285 |
+
HB_INLOOP flash step 11500: a18cr2/train10 nMSE 0.1151 (body_target 0.1682 hands 0.0403) on 422 queries, 7.6 s
|
| 286 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 1.22, "data_frac": 0.407, "fm": 0.022517987787723542, "consistency": 0.005107189286500216, "loss": 0.027625177204608917}
|
| 287 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 0.62, "data_frac": 0.799, "fm": 0.022717738933861257, "consistency": 0.00508756022900343, "loss": 0.027805299088358878}
|
| 288 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 0.88, "data_frac": 0.664, "fm": 0.022235818430781363, "consistency": 0.005028673931956291, "loss": 0.02726449228823185}
|
| 289 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.29, "data_frac": 0.628, "fm": 0.022739061638712883, "consistency": 0.00509805959649384, "loss": 0.027837121188640596}
|
| 290 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 0.44, "data_frac": 0.83, "fm": 0.02219180464744568, "consistency": 0.00512683168053627, "loss": 0.027318636290729045}
|
| 291 |
+
HB_INLOOP flash step 11750: a18cr2/train10 nMSE 0.1156 (body_target 0.1688 hands 0.0407) on 422 queries, 7.6 s
|
| 292 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 1.75, "data_frac": 0.225, "fm": 0.022214316464960575, "consistency": 0.005073443241417408, "loss": 0.02728775978088379}
|
| 293 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 0.94, "data_frac": 0.737, "fm": 0.02231039237231016, "consistency": 0.005067933984100818, "loss": 0.02737832620739937}
|
| 294 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.38, "data_frac": 0.585, "fm": 0.022226023115217687, "consistency": 0.005074203694239259, "loss": 0.02730022694915533}
|
| 295 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 2.49, "data_frac": 0.305, "fm": 0.022333222068846227, "consistency": 0.005044206939637661, "loss": 0.02737742904573679}
|
| 296 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 0.65, "data_frac": 0.762, "fm": 0.022142130061984063, "consistency": 0.005002338765189051, "loss": 0.027144468873739242}
|
| 297 |
+
HB_INLOOP flash step 12000: a18cr2/train10 nMSE 0.1161 (body_target 0.1693 hands 0.0411) on 422 queries, 10.1 s
|
| 298 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/step-012000", "mse": 0.007937061600387096, "mse_row0": 0.01318359375, "mse_body_target": 0.0067878663539886475, "mse_hands": 0.008746722713112831}
|
| 299 |
+
{"event": "done", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/final"}
|
a18-pour-water/b512-2cam-cropped-v2/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.71, "data_frac": 0.745, "fm": 1.15324593603611, "consistency": 1.2308313125371932, "loss": 2.384077236652374}
|
| 2 |
+
{"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.87, "data_frac": 0.457, "fm": 0.3493073135614395, "consistency": 0.3542126989364624, "loss": 0.7035200107097626}
|
| 3 |
+
{"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.04, "data_frac": 0.71, "fm": 0.32310588836669923, "consistency": 0.32303782284259797, "loss": 0.6461437106132507}
|
| 4 |
+
{"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.4, "data_frac": 0.58, "fm": 0.31884756565093997, "consistency": 0.31674518644809724, "loss": 0.6355927538871765}
|
| 5 |
+
{"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 2.33, "data_frac": 0.361, "fm": 0.3040517443418503, "consistency": 0.2969889885187149, "loss": 0.6010407340526581}
|
| 6 |
+
{"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 0.9, "data_frac": 0.636, "fm": 0.26638819456100465, "consistency": 0.24213499575853348, "loss": 0.5085231906175613}
|
| 7 |
+
{"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.19, "data_frac": 0.631, "fm": 0.1960544517636299, "consistency": 0.14863383233547212, "loss": 0.34468828737735746}
|
| 8 |
+
{"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 1.06, "data_frac": 0.706, "fm": 0.15134479433298112, "consistency": 0.0914013421535492, "loss": 0.24274613618850707}
|
| 9 |
+
{"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.47, "data_frac": 0.548, "fm": 0.13037461012601853, "consistency": 0.06730007156729698, "loss": 0.19767468124628068}
|
| 10 |
+
{"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 2.09, "data_frac": 0.406, "fm": 0.11820905074477196, "consistency": 0.056232462003827095, "loss": 0.1744415146112442}
|
| 11 |
+
{"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 0.99, "data_frac": 0.676, "fm": 0.11228983491659164, "consistency": 0.05255452677607536, "loss": 0.1648443615436554}
|
| 12 |
+
{"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 1.49, "data_frac": 0.54, "fm": 0.1048202496767044, "consistency": 0.04706761799752712, "loss": 0.15188786804676055}
|
| 13 |
+
{"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 2.44, "data_frac": 0.351, "fm": 0.09841187313199043, "consistency": 0.0444561305642128, "loss": 0.1428680032491684}
|
| 14 |
+
{"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 0.78, "data_frac": 0.763, "fm": 0.09294369906187057, "consistency": 0.042131397053599355, "loss": 0.13507509589195252}
|
| 15 |
+
{"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 1.84, "data_frac": 0.457, "fm": 0.08512169063091278, "consistency": 0.03828365758061409, "loss": 0.12340534821152688}
|
| 16 |
+
{"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 0.95, "data_frac": 0.704, "fm": 0.08095029160380364, "consistency": 0.035990174300968646, "loss": 0.11694046527147293}
|
| 17 |
+
{"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 1.37, "data_frac": 0.587, "fm": 0.0756505425274372, "consistency": 0.03370979644358158, "loss": 0.1093603390455246}
|
| 18 |
+
{"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 2.91, "data_frac": 0.204, "fm": 0.07363820150494575, "consistency": 0.033111361972987655, "loss": 0.10674956381320953}
|
| 19 |
+
{"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 0.95, "data_frac": 0.713, "fm": 0.07081327870488167, "consistency": 0.03078340206295252, "loss": 0.10159668117761612}
|
| 20 |
+
{"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 1.29, "data_frac": 0.61, "fm": 0.06704258851706982, "consistency": 0.028547948263585567, "loss": 0.09559053644537925}
|
| 21 |
+
{"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 0.99, "data_frac": 0.699, "fm": 0.06654557339847088, "consistency": 0.02904666606336832, "loss": 0.09559223994612694}
|
| 22 |
+
{"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 1.47, "data_frac": 0.573, "fm": 0.06289932548999787, "consistency": 0.0268202356249094, "loss": 0.08971956148743629}
|
| 23 |
+
{"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 2.2, "data_frac": 0.356, "fm": 0.0609971859306097, "consistency": 0.025371378660202025, "loss": 0.08636856451630592}
|
| 24 |
+
{"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 0.87, "data_frac": 0.755, "fm": 0.060534868985414506, "consistency": 0.025443842858076094, "loss": 0.08597871169447899}
|
| 25 |
+
{"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 1.48, "data_frac": 0.567, "fm": 0.057405002787709235, "consistency": 0.023577158004045487, "loss": 0.08098216071724891}
|
| 26 |
+
{"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 3.22, "data_frac": 0.046, "fm": 0.05717766344547272, "consistency": 0.023520494662225246, "loss": 0.08069815829396249}
|
| 27 |
+
{"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 0.71, "data_frac": 0.783, "fm": 0.05563795275986195, "consistency": 0.02212529342621565, "loss": 0.0777632461488247}
|
| 28 |
+
{"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 2.51, "data_frac": 0.278, "fm": 0.05420569151639938, "consistency": 0.021483592726290225, "loss": 0.07568928450345994}
|
| 29 |
+
{"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 1.0, "data_frac": 0.725, "fm": 0.053952357470989226, "consistency": 0.021085514053702355, "loss": 0.07503787115216255}
|
| 30 |
+
{"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 1.48, "data_frac": 0.546, "fm": 0.05262297332286835, "consistency": 0.02076409202069044, "loss": 0.0733870655298233}
|
| 31 |
+
{"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 2.53, "data_frac": 0.09, "fm": 0.05110487312078476, "consistency": 0.019675805792212488, "loss": 0.07078067913651466}
|
| 32 |
+
{"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 0.99, "data_frac": 0.72, "fm": 0.05110626593232155, "consistency": 0.019537197388708592, "loss": 0.07064346298575401}
|
| 33 |
+
{"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 1.24, "data_frac": 0.63, "fm": 0.048824286237359044, "consistency": 0.01877328922972083, "loss": 0.06759757556021213}
|
| 34 |
+
{"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 1.0, "data_frac": 0.731, "fm": 0.049169663488864895, "consistency": 0.018910555988550185, "loss": 0.06808021977543831}
|
| 35 |
+
{"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 1.39, "data_frac": 0.587, "fm": 0.04825176581740379, "consistency": 0.018258406706154348, "loss": 0.06651017241179943}
|
| 36 |
+
{"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 2.6, "data_frac": 0.149, "fm": 0.048310048952698706, "consistency": 0.018448101859539746, "loss": 0.06675815097987652}
|
| 37 |
+
{"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 1.04, "data_frac": 0.703, "fm": 0.04721266224980354, "consistency": 0.017375226728618146, "loss": 0.06458788849413395}
|
| 38 |
+
{"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 1.53, "data_frac": 0.553, "fm": 0.0457310001552105, "consistency": 0.01720549751073122, "loss": 0.06293649807572364}
|
| 39 |
+
{"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 2.19, "data_frac": 0.421, "fm": 0.04603510931134224, "consistency": 0.01732522577047348, "loss": 0.06336033508181572}
|
| 40 |
+
{"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 0.72, "data_frac": 0.789, "fm": 0.045548039451241494, "consistency": 0.016690855138003825, "loss": 0.06223889455199241}
|
| 41 |
+
{"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 2.38, "data_frac": 0.136, "fm": 0.044893578961491584, "consistency": 0.016843026652932167, "loss": 0.06173660591244698}
|
| 42 |
+
{"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 1.08, "data_frac": 0.7, "fm": 0.044758556485176085, "consistency": 0.016149136554449797, "loss": 0.06090769276022911}
|
| 43 |
+
{"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 1.45, "data_frac": 0.536, "fm": 0.043829060643911365, "consistency": 0.016358702313154935, "loss": 0.06018776297569275}
|
| 44 |
+
{"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 2.17, "data_frac": 0.412, "fm": 0.04353386953473091, "consistency": 0.0157823477499187, "loss": 0.05931621730327606}
|
| 45 |
+
{"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 1.11, "data_frac": 0.68, "fm": 0.04255573458969593, "consistency": 0.015238202679902314, "loss": 0.057793937474489215}
|
| 46 |
+
{"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 1.1, "data_frac": 0.605, "fm": 0.04369634509086609, "consistency": 0.01651174508035183, "loss": 0.060208090022206305}
|
| 47 |
+
{"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 1.07, "data_frac": 0.708, "fm": 0.042510642185807225, "consistency": 0.015256941430270671, "loss": 0.05776758372783661}
|
| 48 |
+
{"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 1.28, "data_frac": 0.617, "fm": 0.041642037630081175, "consistency": 0.014762694407254457, "loss": 0.056404731795191766}
|
| 49 |
+
{"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 2.64, "data_frac": 0.263, "fm": 0.041335003450512886, "consistency": 0.014721677228808404, "loss": 0.0560566808283329}
|
| 50 |
+
{"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 1.03, "data_frac": 0.702, "fm": 0.0405572772026062, "consistency": 0.01435007005929947, "loss": 0.05490734726190567}
|
| 51 |
+
{"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 1.56, "data_frac": 0.401, "fm": 0.040888991430401804, "consistency": 0.014774363748729228, "loss": 0.055663354992866516}
|
| 52 |
+
{"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 2.19, "data_frac": 0.41, "fm": 0.039985250160098074, "consistency": 0.014168324749916791, "loss": 0.054153574854135515}
|
| 53 |
+
{"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 0.77, "data_frac": 0.773, "fm": 0.040006068870425224, "consistency": 0.014195316303521395, "loss": 0.054201385229825975}
|
| 54 |
+
{"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 1.99, "data_frac": 0.423, "fm": 0.03896001450717449, "consistency": 0.013866697829216719, "loss": 0.052826712131500246}
|
| 55 |
+
{"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 1.08, "data_frac": 0.697, "fm": 0.039016062021255495, "consistency": 0.014076871834695338, "loss": 0.053092933744192126}
|
| 56 |
+
{"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 1.18, "data_frac": 0.534, "fm": 0.03861595004796982, "consistency": 0.013268758561462164, "loss": 0.051884708255529405}
|
| 57 |
+
{"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 1.98, "data_frac": 0.445, "fm": 0.03848686255514622, "consistency": 0.013738027475774288, "loss": 0.05222489006817341}
|
| 58 |
+
{"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 0.97, "data_frac": 0.681, "fm": 0.038367424681782725, "consistency": 0.013312336895614863, "loss": 0.05167976140975952}
|
| 59 |
+
{"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 1.25, "data_frac": 0.616, "fm": 0.03761833421885967, "consistency": 0.013507867064327002, "loss": 0.05112620122730732}
|
| 60 |
+
{"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 1.05, "data_frac": 0.717, "fm": 0.03822203248739243, "consistency": 0.013881134074181319, "loss": 0.05210316672921181}
|
| 61 |
+
{"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 1.47, "data_frac": 0.461, "fm": 0.036842243373394014, "consistency": 0.013034981582313776, "loss": 0.04987722508609295}
|
| 62 |
+
{"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 2.04, "data_frac": 0.438, "fm": 0.037716194465756414, "consistency": 0.01296587811782956, "loss": 0.050682072788476945}
|
| 63 |
+
{"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 1.09, "data_frac": 0.694, "fm": 0.036355600133538245, "consistency": 0.012414021417498589, "loss": 0.04876962184906006}
|
| 64 |
+
{"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 1.5, "data_frac": 0.574, "fm": 0.03638675391674042, "consistency": 0.01259708909317851, "loss": 0.04898384280502796}
|
| 65 |
+
{"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 2.02, "data_frac": 0.456, "fm": 0.03637670576572418, "consistency": 0.012462971862405539, "loss": 0.048839677199721335}
|
| 66 |
+
{"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 0.71, "data_frac": 0.755, "fm": 0.036527023017406464, "consistency": 0.013017667345702649, "loss": 0.0495446902513504}
|
| 67 |
+
{"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 2.01, "data_frac": 0.408, "fm": 0.03560245133936405, "consistency": 0.012054663654416799, "loss": 0.0476571149379015}
|
| 68 |
+
{"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 0.96, "data_frac": 0.734, "fm": 0.0368956658244133, "consistency": 0.013430338334292174, "loss": 0.050326004326343536}
|
| 69 |
+
{"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 1.42, "data_frac": 0.581, "fm": 0.03543349307030439, "consistency": 0.012260684184730053, "loss": 0.04769417755305767}
|
| 70 |
+
{"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 2.66, "data_frac": 0.278, "fm": 0.0350748598203063, "consistency": 0.011628490313887596, "loss": 0.046703350320458414}
|
| 71 |
+
{"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 1.03, "data_frac": 0.671, "fm": 0.035422975420951845, "consistency": 0.012099043056368828, "loss": 0.047522018626332284}
|
| 72 |
+
{"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 1.13, "data_frac": 0.668, "fm": 0.03400973208248615, "consistency": 0.011489544492214919, "loss": 0.04549927674233913}
|
| 73 |
+
{"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 1.12, "data_frac": 0.695, "fm": 0.0343259222432971, "consistency": 0.011386473588645458, "loss": 0.045712395682930944}
|
| 74 |
+
{"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 1.5, "data_frac": 0.551, "fm": 0.03452156618237495, "consistency": 0.012095673941075802, "loss": 0.04661723986268043}
|
| 75 |
+
{"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 2.05, "data_frac": 0.421, "fm": 0.0342160664498806, "consistency": 0.011499450281262398, "loss": 0.04571551695466042}
|
| 76 |
+
{"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 0.98, "data_frac": 0.695, "fm": 0.03338461544364691, "consistency": 0.010887633562088012, "loss": 0.04427224889397621}
|
| 77 |
+
{"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 1.6, "data_frac": 0.512, "fm": 0.033032911494374276, "consistency": 0.011251035463064909, "loss": 0.04428394705057144}
|
| 78 |
+
{"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 2.28, "data_frac": 0.386, "fm": 0.03358446639031172, "consistency": 0.011026192251592874, "loss": 0.04461065858602524}
|
| 79 |
+
{"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 0.69, "data_frac": 0.792, "fm": 0.03350955028086901, "consistency": 0.011539127230644226, "loss": 0.04504867762327194}
|
| 80 |
+
{"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 2.6, "data_frac": 0.243, "fm": 0.032570430412888526, "consistency": 0.010803505834192038, "loss": 0.04337393619120121}
|
| 81 |
+
{"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/step-004000", "mse": 0.01126042939722538, "mse_row0": 0.008835528045892715, "mse_body_target": 0.008230209350585938, "mse_hands": 0.013395356945693493}
|
| 82 |
+
{"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 0.56, "data_frac": 0.728, "fm": 0.03293508797883987, "consistency": 0.011187237221747637, "loss": 0.04412232510745526}
|
| 83 |
+
{"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 0.92, "data_frac": 0.647, "fm": 0.03215234637260437, "consistency": 0.010391068048775196, "loss": 0.04254341438412666}
|
| 84 |
+
{"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 1.77, "data_frac": 0.468, "fm": 0.03238978236913681, "consistency": 0.010748668313026429, "loss": 0.04313845060765743}
|
| 85 |
+
{"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 0.82, "data_frac": 0.715, "fm": 0.03231383953243494, "consistency": 0.01054812578484416, "loss": 0.04286196537315846}
|
| 86 |
+
{"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 0.78, "data_frac": 0.709, "fm": 0.03177427228540182, "consistency": 0.010874708648771048, "loss": 0.04264898091554642}
|
| 87 |
+
{"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 0.55, "data_frac": 0.801, "fm": 0.03192979235202074, "consistency": 0.010484228413552045, "loss": 0.042414020746946335}
|
| 88 |
+
{"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 1.09, "data_frac": 0.568, "fm": 0.03178481906652451, "consistency": 0.010553563833236695, "loss": 0.0423383828997612}
|
| 89 |
+
{"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 1.55, "data_frac": 0.505, "fm": 0.031282207258045674, "consistency": 0.010180445536971092, "loss": 0.041462652832269666}
|
| 90 |
+
{"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 0.64, "data_frac": 0.794, "fm": 0.031024462282657622, "consistency": 0.01036688145250082, "loss": 0.04139134377241135}
|
| 91 |
+
{"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 0.84, "data_frac": 0.689, "fm": 0.03138875734061003, "consistency": 0.010367355719208717, "loss": 0.04175611339509487}
|
| 92 |
+
{"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 1.24, "data_frac": 0.509, "fm": 0.030833401940762995, "consistency": 0.01043997572734952, "loss": 0.04127337761223316}
|
| 93 |
+
{"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 0.58, "data_frac": 0.789, "fm": 0.03139096852391958, "consistency": 0.010517835542559624, "loss": 0.0419088040292263}
|
| 94 |
+
{"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 0.98, "data_frac": 0.627, "fm": 0.030535846166312695, "consistency": 0.009941016118973493, "loss": 0.04047686234116554}
|
| 95 |
+
{"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 0.71, "data_frac": 0.769, "fm": 0.031238708756864072, "consistency": 0.011264406368136406, "loss": 0.04250311501324177}
|
| 96 |
+
{"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 0.96, "data_frac": 0.655, "fm": 0.03060195695608854, "consistency": 0.009864963833242655, "loss": 0.040466920733451844}
|
| 97 |
+
{"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 2.14, "data_frac": 0.282, "fm": 0.030416635759174825, "consistency": 0.009830613154917955, "loss": 0.04024724908173084}
|
| 98 |
+
{"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 0.67, "data_frac": 0.785, "fm": 0.03019155088812113, "consistency": 0.009778530485928059, "loss": 0.03997008144855499}
|
| 99 |
+
{"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 0.7, "data_frac": 0.72, "fm": 0.029928792268037796, "consistency": 0.009671670021489262, "loss": 0.0396004618704319}
|
| 100 |
+
{"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 0.76, "data_frac": 0.768, "fm": 0.02984139569103718, "consistency": 0.00964707488194108, "loss": 0.039488470330834385}
|
| 101 |
+
{"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 0.88, "data_frac": 0.673, "fm": 0.029673513285815717, "consistency": 0.009414534075185657, "loss": 0.039088047295808795}
|
| 102 |
+
{"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 1.69, "data_frac": 0.421, "fm": 0.029345956780016422, "consistency": 0.009055972881615162, "loss": 0.038401929438114164}
|
| 103 |
+
{"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 0.64, "data_frac": 0.775, "fm": 0.029590778797864915, "consistency": 0.009835851173847913, "loss": 0.039426629915833476}
|
| 104 |
+
{"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 1.12, "data_frac": 0.622, "fm": 0.02972354520112276, "consistency": 0.009449654659256339, "loss": 0.03917320005595684}
|
| 105 |
+
{"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 1.67, "data_frac": 0.556, "fm": 0.029712935350835322, "consistency": 0.009741296526044607, "loss": 0.039454231709241866}
|
| 106 |
+
{"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 0.66, "data_frac": 0.784, "fm": 0.029466215521097183, "consistency": 0.00953781083226204, "loss": 0.03900402627885342}
|
| 107 |
+
{"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 2.01, "data_frac": 0.237, "fm": 0.02950476109981537, "consistency": 0.009219279792159796, "loss": 0.038724040687084196}
|
| 108 |
+
{"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 0.76, "data_frac": 0.763, "fm": 0.02925023902207613, "consistency": 0.009352344907820226, "loss": 0.038602584302425386}
|
| 109 |
+
{"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 0.91, "data_frac": 0.67, "fm": 0.028384736366569997, "consistency": 0.00904384314082563, "loss": 0.03742857947945595}
|
| 110 |
+
{"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 1.27, "data_frac": 0.587, "fm": 0.0296138783544302, "consistency": 0.009620797960087657, "loss": 0.03923467628657818}
|
| 111 |
+
{"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 0.58, "data_frac": 0.784, "fm": 0.028429127261042596, "consistency": 0.008988688848912716, "loss": 0.037417816445231435}
|
| 112 |
+
{"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 0.73, "data_frac": 0.623, "fm": 0.0289867364987731, "consistency": 0.009154842402786016, "loss": 0.038141578808426856}
|
| 113 |
+
{"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 0.72, "data_frac": 0.781, "fm": 0.028987197130918504, "consistency": 0.009276887960731983, "loss": 0.038264085203409196}
|
| 114 |
+
{"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 0.94, "data_frac": 0.663, "fm": 0.028675004132091998, "consistency": 0.008755683954805136, "loss": 0.03743068814277649}
|
| 115 |
+
{"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 1.61, "data_frac": 0.485, "fm": 0.027879087440669536, "consistency": 0.008782550282776356, "loss": 0.03666163772344589}
|
| 116 |
+
{"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 0.59, "data_frac": 0.805, "fm": 0.028760460056364536, "consistency": 0.00911525490693748, "loss": 0.037875714786350725}
|
| 117 |
+
{"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 1.01, "data_frac": 0.535, "fm": 0.027828600816428663, "consistency": 0.00908558269031346, "loss": 0.03691418372094631}
|
| 118 |
+
{"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 1.35, "data_frac": 0.606, "fm": 0.027695714347064495, "consistency": 0.008704078448936343, "loss": 0.03639979265630245}
|
| 119 |
+
{"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 0.55, "data_frac": 0.796, "fm": 0.02736347697675228, "consistency": 0.008657217500731349, "loss": 0.036020694598555565}
|
| 120 |
+
{"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 1.07, "data_frac": 0.647, "fm": 0.027367837987840177, "consistency": 0.00858698076568544, "loss": 0.03595481894910336}
|
| 121 |
+
{"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 0.73, "data_frac": 0.754, "fm": 0.027405034564435483, "consistency": 0.008284466555342079, "loss": 0.03568950138986111}
|
| 122 |
+
{"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 1.0, "data_frac": 0.455, "fm": 0.027721515484154226, "consistency": 0.00911760768853128, "loss": 0.03683912344276905}
|
| 123 |
+
{"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.93, "data_frac": 0.413, "fm": 0.027598455436527728, "consistency": 0.008505037827417255, "loss": 0.03610349357128143}
|
| 124 |
+
{"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 0.65, "data_frac": 0.793, "fm": 0.027377121895551682, "consistency": 0.00880071084946394, "loss": 0.03617783255875111}
|
| 125 |
+
{"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 0.75, "data_frac": 0.733, "fm": 0.027422751821577548, "consistency": 0.00914215418510139, "loss": 0.036564905941486356}
|
| 126 |
+
{"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 0.74, "data_frac": 0.775, "fm": 0.0273314618319273, "consistency": 0.00834057865664363, "loss": 0.03567204058170319}
|
| 127 |
+
{"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 1.26, "data_frac": 0.38, "fm": 0.02665365181863308, "consistency": 0.008319831686094403, "loss": 0.034973483458161356}
|
| 128 |
+
{"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 2.17, "data_frac": 0.349, "fm": 0.026752147600054742, "consistency": 0.007954202778637409, "loss": 0.03470635056495666}
|
| 129 |
+
{"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 0.91, "data_frac": 0.737, "fm": 0.026769417934119702, "consistency": 0.008186651850119233, "loss": 0.03495606988668442}
|
| 130 |
+
{"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 0.87, "data_frac": 0.689, "fm": 0.026359238363802433, "consistency": 0.00809398734010756, "loss": 0.03445322554558516}
|
| 131 |
+
{"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 1.04, "data_frac": 0.684, "fm": 0.026644177734851837, "consistency": 0.008099063308909535, "loss": 0.03474324107170105}
|
| 132 |
+
{"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 0.49, "data_frac": 0.785, "fm": 0.027012267522513865, "consistency": 0.008359846537932753, "loss": 0.03537211410701275}
|
| 133 |
+
{"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 1.02, "data_frac": 0.655, "fm": 0.0262545994669199, "consistency": 0.008150913631543516, "loss": 0.034405513405799865}
|
| 134 |
+
{"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 0.75, "data_frac": 0.757, "fm": 0.025989766009151937, "consistency": 0.007805228978395462, "loss": 0.03379499480128288}
|
| 135 |
+
{"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 0.96, "data_frac": 0.645, "fm": 0.026622302792966367, "consistency": 0.007999856239184738, "loss": 0.03462215892970562}
|
| 136 |
+
{"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 1.46, "data_frac": 0.562, "fm": 0.02641657505184412, "consistency": 0.007942455941811205, "loss": 0.0343590309843421}
|
| 137 |
+
{"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 0.53, "data_frac": 0.779, "fm": 0.02618945624679327, "consistency": 0.007672026474028826, "loss": 0.03386148288846016}
|
| 138 |
+
{"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 0.66, "data_frac": 0.754, "fm": 0.02618961751461029, "consistency": 0.007743536084890365, "loss": 0.033933153487741945}
|
| 139 |
+
{"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 0.55, "data_frac": 0.82, "fm": 0.026159700751304627, "consistency": 0.008114526541903614, "loss": 0.03427422739565372}
|
| 140 |
+
{"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 0.84, "data_frac": 0.662, "fm": 0.025468528270721436, "consistency": 0.007548811044543981, "loss": 0.033017339557409285}
|
| 141 |
+
{"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 1.23, "data_frac": 0.595, "fm": 0.025544933751225473, "consistency": 0.007889348901808263, "loss": 0.033434282466769216}
|
| 142 |
+
{"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 0.68, "data_frac": 0.732, "fm": 0.025769225023686886, "consistency": 0.007505716234445572, "loss": 0.033274941258132455}
|
| 143 |
+
{"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 0.84, "data_frac": 0.653, "fm": 0.02570935767143965, "consistency": 0.007408522833138705, "loss": 0.03311788029968739}
|
| 144 |
+
{"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 1.04, "data_frac": 0.682, "fm": 0.025780916512012482, "consistency": 0.007696672352030873, "loss": 0.033477588966488836}
|
| 145 |
+
{"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 0.42, "data_frac": 0.828, "fm": 0.025558505579829215, "consistency": 0.007456294652074575, "loss": 0.03301480051130056}
|
| 146 |
+
{"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 1.24, "data_frac": 0.577, "fm": 0.02520555626600981, "consistency": 0.007380100023001432, "loss": 0.0325856564193964}
|
| 147 |
+
{"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 0.53, "data_frac": 0.771, "fm": 0.025206844992935656, "consistency": 0.007356228064745665, "loss": 0.03256307315081358}
|
| 148 |
+
{"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 0.98, "data_frac": 0.606, "fm": 0.025011599734425544, "consistency": 0.0072501544654369355, "loss": 0.03226175408810377}
|
| 149 |
+
{"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 1.16, "data_frac": 0.623, "fm": 0.024930893443524837, "consistency": 0.007336293393746018, "loss": 0.03226718667894602}
|
| 150 |
+
{"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 0.55, "data_frac": 0.781, "fm": 0.02514274649322033, "consistency": 0.007173566501587629, "loss": 0.03231631297618151}
|
| 151 |
+
{"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 0.78, "data_frac": 0.735, "fm": 0.025380752980709076, "consistency": 0.0071840575709939, "loss": 0.03256481058895588}
|
| 152 |
+
{"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 0.63, "data_frac": 0.759, "fm": 0.02502305746078491, "consistency": 0.007218331135809422, "loss": 0.03224138859659433}
|
| 153 |
+
{"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 0.96, "data_frac": 0.687, "fm": 0.025075461156666277, "consistency": 0.007130804061889648, "loss": 0.03220626506954431}
|
| 154 |
+
{"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 1.37, "data_frac": 0.608, "fm": 0.024870215728878976, "consistency": 0.007053353525698185, "loss": 0.03192356918007135}
|
| 155 |
+
{"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 0.72, "data_frac": 0.781, "fm": 0.025147566236555577, "consistency": 0.0069099011551588775, "loss": 0.03205746736377477}
|
| 156 |
+
{"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 1.01, "data_frac": 0.639, "fm": 0.024870759062469005, "consistency": 0.007033529877662659, "loss": 0.03190428901463747}
|
| 157 |
+
{"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 1.43, "data_frac": 0.425, "fm": 0.024588721916079522, "consistency": 0.0068584986589849, "loss": 0.03144722055643797}
|
| 158 |
+
{"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 0.51, "data_frac": 0.811, "fm": 0.024758642688393593, "consistency": 0.006703358627855777, "loss": 0.031462001241743566}
|
| 159 |
+
{"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 1.15, "data_frac": 0.602, "fm": 0.02463633131235838, "consistency": 0.006792258769273758, "loss": 0.03142858996987343}
|
| 160 |
+
{"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 0.56, "data_frac": 0.814, "fm": 0.024915159344673157, "consistency": 0.007386764995753765, "loss": 0.03230192437767983}
|
| 161 |
+
{"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 0.82, "data_frac": 0.691, "fm": 0.024744502864778042, "consistency": 0.006982734771445394, "loss": 0.03172723777592182}
|
| 162 |
+
{"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/step-008000", "mse": 0.006035998929291964, "mse_row0": 0.0050738416612148285, "mse_body_target": 0.006411456037312746, "mse_hands": 0.005771471653133631}
|
| 163 |
+
{"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 1.22, "data_frac": 0.0, "fm": 0.02448930997401476, "consistency": 0.006703722309321165, "loss": 0.031193032264709472}
|
| 164 |
+
{"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 0.59, "data_frac": 0.793, "fm": 0.02452088288962841, "consistency": 0.006550318608060479, "loss": 0.031071201488375663}
|
| 165 |
+
{"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 0.65, "data_frac": 0.739, "fm": 0.024134000055491923, "consistency": 0.006590050766244531, "loss": 0.030724050886929036}
|
| 166 |
+
{"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 0.64, "data_frac": 0.808, "fm": 0.024561940282583235, "consistency": 0.006800049766898155, "loss": 0.031361990161240104}
|
| 167 |
+
{"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 1.08, "data_frac": 0.584, "fm": 0.024224585741758346, "consistency": 0.006520729195326567, "loss": 0.030745315104722976}
|
| 168 |
+
{"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 1.27, "data_frac": 0.347, "fm": 0.023955258429050445, "consistency": 0.0062877551466226575, "loss": 0.0302430135384202}
|
| 169 |
+
{"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 0.67, "data_frac": 0.77, "fm": 0.02426792148500681, "consistency": 0.006279221037402749, "loss": 0.030547142438590528}
|
| 170 |
+
{"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 0.83, "data_frac": 0.67, "fm": 0.02418251533061266, "consistency": 0.006183543754741549, "loss": 0.030366059206426144}
|
| 171 |
+
{"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 1.7, "data_frac": 0.55, "fm": 0.02408449225127697, "consistency": 0.006209282577037812, "loss": 0.030293774791061878}
|
| 172 |
+
{"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 0.49, "data_frac": 0.796, "fm": 0.024003755673766135, "consistency": 0.006375448442995548, "loss": 0.030379204154014586}
|
| 173 |
+
{"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 1.14, "data_frac": 0.365, "fm": 0.023759711124002932, "consistency": 0.006067878939211369, "loss": 0.02982759017497301}
|
| 174 |
+
{"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 0.65, "data_frac": 0.778, "fm": 0.023982665203511715, "consistency": 0.006332309264689684, "loss": 0.03031497459858656}
|
| 175 |
+
{"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 0.86, "data_frac": 0.653, "fm": 0.023969740085303785, "consistency": 0.006154191186651587, "loss": 0.030123931430280207}
|
| 176 |
+
{"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 1.11, "data_frac": 0.624, "fm": 0.02423016857355833, "consistency": 0.006094370866194367, "loss": 0.030324539393186568}
|
| 177 |
+
{"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 0.58, "data_frac": 0.779, "fm": 0.02419787798076868, "consistency": 0.006092612119391561, "loss": 0.03029049012809992}
|
| 178 |
+
{"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 0.64, "data_frac": 0.672, "fm": 0.02344634849578142, "consistency": 0.005849215313792229, "loss": 0.029295563772320746}
|
| 179 |
+
{"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 0.63, "data_frac": 0.807, "fm": 0.024080073684453963, "consistency": 0.006001305393874645, "loss": 0.030081379152834417}
|
| 180 |
+
{"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 0.94, "data_frac": 0.66, "fm": 0.023838055320084095, "consistency": 0.006023695850744843, "loss": 0.029861751087009905}
|
| 181 |
+
{"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 1.23, "data_frac": 0.594, "fm": 0.023852286487817766, "consistency": 0.005905364388599992, "loss": 0.029757651016116143}
|
| 182 |
+
{"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 0.65, "data_frac": 0.774, "fm": 0.023459705449640753, "consistency": 0.005809923941269517, "loss": 0.02926962945610285}
|
| 183 |
+
{"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 0.8, "data_frac": 0.62, "fm": 0.023448130302131175, "consistency": 0.0057845618017017845, "loss": 0.029232692047953604}
|
| 184 |
+
{"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 2.06, "data_frac": 0.422, "fm": 0.023570830821990966, "consistency": 0.00563019341789186, "loss": 0.029201024286448954}
|
| 185 |
+
{"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 0.54, "data_frac": 0.805, "fm": 0.02316122341901064, "consistency": 0.005685687968507409, "loss": 0.02884691137820482}
|
| 186 |
+
{"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 1.11, "data_frac": 0.588, "fm": 0.023649944961071014, "consistency": 0.005817309934645892, "loss": 0.029467254914343356}
|
| 187 |
+
{"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 0.6, "data_frac": 0.812, "fm": 0.02341229945421219, "consistency": 0.005754368314519524, "loss": 0.029166667871177197}
|
| 188 |
+
{"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 0.86, "data_frac": 0.619, "fm": 0.02309539295732975, "consistency": 0.005650406777858734, "loss": 0.028745799586176873}
|
| 189 |
+
{"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 1.43, "data_frac": 0.568, "fm": 0.02346868682652712, "consistency": 0.005815196577459574, "loss": 0.02928388349711895}
|
| 190 |
+
{"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 0.65, "data_frac": 0.771, "fm": 0.023779709823429585, "consistency": 0.006145642725750804, "loss": 0.02992535263299942}
|
| 191 |
+
{"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 0.67, "data_frac": 0.74, "fm": 0.023251765035092832, "consistency": 0.005597136067226529, "loss": 0.028848901130259036}
|
| 192 |
+
{"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 0.78, "data_frac": 0.772, "fm": 0.02312096368521452, "consistency": 0.005721341334283352, "loss": 0.02884230490773916}
|
| 193 |
+
{"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 0.78, "data_frac": 0.556, "fm": 0.02306585814803839, "consistency": 0.005599899245426059, "loss": 0.028665757440030575}
|
| 194 |
+
{"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 1.19, "data_frac": 0.638, "fm": 0.022964394986629486, "consistency": 0.005572361834347248, "loss": 0.02853675689548254}
|
| 195 |
+
{"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 0.53, "data_frac": 0.816, "fm": 0.023167302608489992, "consistency": 0.0054449680540710685, "loss": 0.028612270541489123}
|
| 196 |
+
{"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 0.82, "data_frac": 0.666, "fm": 0.023203734122216702, "consistency": 0.005423119980841875, "loss": 0.028626853972673415}
|
| 197 |
+
{"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 1.15, "data_frac": 0.661, "fm": 0.023237460926175117, "consistency": 0.00545125006698072, "loss": 0.028688711039721967}
|
| 198 |
+
{"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 0.6, "data_frac": 0.8, "fm": 0.022544251158833503, "consistency": 0.0054308677278459075, "loss": 0.027975118830800057}
|
| 199 |
+
{"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 1.78, "data_frac": 0.414, "fm": 0.022875273451209068, "consistency": 0.005410227756947279, "loss": 0.028285501152276994}
|
| 200 |
+
{"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 0.59, "data_frac": 0.791, "fm": 0.022525300532579423, "consistency": 0.005422550197690726, "loss": 0.027947850748896597}
|
| 201 |
+
{"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 0.68, "data_frac": 0.741, "fm": 0.022622337341308595, "consistency": 0.005384723236784339, "loss": 0.02800706058740616}
|
| 202 |
+
{"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.6, "data_frac": 0.537, "fm": 0.023089610934257508, "consistency": 0.005400299672037363, "loss": 0.028489910550415515}
|
| 203 |
+
{"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 0.64, "data_frac": 0.73, "fm": 0.0232410379126668, "consistency": 0.005397421075031161, "loss": 0.02863845892250538}
|
| 204 |
+
{"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 0.62, "data_frac": 0.772, "fm": 0.0226615209877491, "consistency": 0.005315199056640268, "loss": 0.027976720072329046}
|
| 205 |
+
{"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 0.73, "data_frac": 0.773, "fm": 0.023011426590383053, "consistency": 0.005406308677047491, "loss": 0.0284177353233099}
|
| 206 |
+
{"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 1.06, "data_frac": 0.56, "fm": 0.0229340847954154, "consistency": 0.005260360771790147, "loss": 0.02819444555789232}
|
| 207 |
+
{"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 1.02, "data_frac": 0.626, "fm": 0.02254949860274792, "consistency": 0.005424267230555415, "loss": 0.027973765730857848}
|
| 208 |
+
{"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 0.53, "data_frac": 0.764, "fm": 0.02278387911617756, "consistency": 0.005222161076962948, "loss": 0.02800604023039341}
|
| 209 |
+
{"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 0.89, "data_frac": 0.648, "fm": 0.022811980955302714, "consistency": 0.005334167750552296, "loss": 0.028146148659288883}
|
| 210 |
+
{"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 1.1, "data_frac": 0.679, "fm": 0.022638324163854123, "consistency": 0.005309629170224071, "loss": 0.027947953306138515}
|
| 211 |
+
{"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 0.47, "data_frac": 0.816, "fm": 0.022651547379791737, "consistency": 0.005236592711880803, "loss": 0.0278881398960948}
|
| 212 |
+
{"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 1.54, "data_frac": 0.536, "fm": 0.022770203985273837, "consistency": 0.005240144403651357, "loss": 0.028010348342359066}
|
| 213 |
+
{"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 0.66, "data_frac": 0.748, "fm": 0.022524989657104016, "consistency": 0.005329109216108918, "loss": 0.027854098975658416}
|
| 214 |
+
{"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 0.88, "data_frac": 0.663, "fm": 0.022081757076084615, "consistency": 0.005168016767129302, "loss": 0.027249773778021336}
|
| 215 |
+
{"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 1.31, "data_frac": 0.598, "fm": 0.022604331001639368, "consistency": 0.0052064089756459, "loss": 0.0278107400983572}
|
| 216 |
+
{"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 0.58, "data_frac": 0.788, "fm": 0.022441902086138724, "consistency": 0.0051984926778823135, "loss": 0.027640394866466522}
|
| 217 |
+
{"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 0.96, "data_frac": 0.682, "fm": 0.02227689478546381, "consistency": 0.005176000082865357, "loss": 0.02745289485901594}
|
| 218 |
+
{"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 0.62, "data_frac": 0.797, "fm": 0.022399999238550662, "consistency": 0.005149925723671913, "loss": 0.027549924850463866}
|
| 219 |
+
{"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 0.89, "data_frac": 0.652, "fm": 0.022133801244199277, "consistency": 0.005210067452862859, "loss": 0.02734386868774891}
|
| 220 |
+
{"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 1.22, "data_frac": 0.603, "fm": 0.022543777152895926, "consistency": 0.005158115094527602, "loss": 0.02770189233124256}
|
| 221 |
+
{"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 0.66, "data_frac": 0.776, "fm": 0.022186808921396732, "consistency": 0.005127873858436942, "loss": 0.027314682751894}
|
| 222 |
+
{"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 0.98, "data_frac": 0.621, "fm": 0.022270200401544572, "consistency": 0.005079854754731059, "loss": 0.027350054979324342}
|
| 223 |
+
{"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 0.97, "data_frac": 0.529, "fm": 0.022490718141198157, "consistency": 0.005054354174062609, "loss": 0.02754507228732109}
|
| 224 |
+
{"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 0.4, "data_frac": 0.844, "fm": 0.02253220334649086, "consistency": 0.005090848356485367, "loss": 0.02762305174022913}
|
| 225 |
+
{"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 1.67, "data_frac": 0.466, "fm": 0.02242761179804802, "consistency": 0.005200360706076026, "loss": 0.027627972438931465}
|
| 226 |
+
{"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 0.7, "data_frac": 0.785, "fm": 0.02246761117130518, "consistency": 0.005083364546298981, "loss": 0.027550975680351256}
|
| 227 |
+
{"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 0.84, "data_frac": 0.677, "fm": 0.022391403280198573, "consistency": 0.005101329376921058, "loss": 0.02749273266643286}
|
| 228 |
+
{"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 1.54, "data_frac": 0.204, "fm": 0.022508283741772175, "consistency": 0.0051635793317109345, "loss": 0.027671863101422788}
|
| 229 |
+
{"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 0.54, "data_frac": 0.806, "fm": 0.02218750886619091, "consistency": 0.0050835129898041485, "loss": 0.027271021977066993}
|
| 230 |
+
{"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 0.66, "data_frac": 0.769, "fm": 0.02284693818539381, "consistency": 0.0051231914665549995, "loss": 0.027970129773020744}
|
| 231 |
+
{"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 0.64, "data_frac": 0.811, "fm": 0.022401525638997555, "consistency": 0.005131481476128102, "loss": 0.02753300718963146}
|
| 232 |
+
{"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 0.85, "data_frac": 0.663, "fm": 0.02232922114431858, "consistency": 0.005122673343867064, "loss": 0.027451894357800485}
|
| 233 |
+
{"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 1.22, "data_frac": 0.407, "fm": 0.022517987787723542, "consistency": 0.005107189286500216, "loss": 0.027625177204608917}
|
| 234 |
+
{"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 0.62, "data_frac": 0.799, "fm": 0.022717738933861257, "consistency": 0.00508756022900343, "loss": 0.027805299088358878}
|
| 235 |
+
{"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 0.88, "data_frac": 0.664, "fm": 0.022235818430781363, "consistency": 0.005028673931956291, "loss": 0.02726449228823185}
|
| 236 |
+
{"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.29, "data_frac": 0.628, "fm": 0.022739061638712883, "consistency": 0.00509805959649384, "loss": 0.027837121188640596}
|
| 237 |
+
{"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 0.44, "data_frac": 0.83, "fm": 0.02219180464744568, "consistency": 0.00512683168053627, "loss": 0.027318636290729045}
|
| 238 |
+
{"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 1.75, "data_frac": 0.225, "fm": 0.022214316464960575, "consistency": 0.005073443241417408, "loss": 0.02728775978088379}
|
| 239 |
+
{"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 0.94, "data_frac": 0.737, "fm": 0.02231039237231016, "consistency": 0.005067933984100818, "loss": 0.02737832620739937}
|
| 240 |
+
{"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 1.38, "data_frac": 0.585, "fm": 0.022226023115217687, "consistency": 0.005074203694239259, "loss": 0.02730022694915533}
|
| 241 |
+
{"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 2.49, "data_frac": 0.305, "fm": 0.022333222068846227, "consistency": 0.005044206939637661, "loss": 0.02737742904573679}
|
| 242 |
+
{"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 0.65, "data_frac": 0.762, "fm": 0.022142130061984063, "consistency": 0.005002338765189051, "loss": 0.027144468873739242}
|
| 243 |
+
{"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/a18cr2-b512-s12000/checkpoints/step-012000", "mse": 0.007937061600387096, "mse_row0": 0.01318359375, "mse_body_target": 0.0067878663539886475, "mse_hands": 0.008746722713112831}
|