BIue-Jay commited on
Commit
5a40332
·
verified ·
1 Parent(s): 81846d0

B6 pedal bin: ODE-MLP b512-v6 (all 542 v6 episodes, seed 42, protocol recipe), steps 5000 / 6000 / 8000

Browse files
Files changed (39) hide show
  1. README.md +93 -0
  2. b6-pedal-bin/b512-v6/step-005000/SHA256SUMS +3 -0
  3. b6-pedal-bin/b512-v6/step-005000/config.json +2071 -0
  4. b6-pedal-bin/b512-v6/step-005000/model.pt +3 -0
  5. b6-pedal-bin/b512-v6/step-005000/protocol.json +126 -0
  6. b6-pedal-bin/b512-v6/step-006000/SHA256SUMS +3 -0
  7. b6-pedal-bin/b512-v6/step-006000/config.json +2071 -0
  8. b6-pedal-bin/b512-v6/step-006000/model.pt +3 -0
  9. b6-pedal-bin/b512-v6/step-006000/protocol.json +126 -0
  10. b6-pedal-bin/b512-v6/step-008000/SHA256SUMS +3 -0
  11. b6-pedal-bin/b512-v6/step-008000/config.json +2071 -0
  12. b6-pedal-bin/b512-v6/step-008000/model.pt +3 -0
  13. b6-pedal-bin/b512-v6/step-008000/protocol.json +126 -0
  14. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/augmentation/hb_aug_v2.py +163 -0
  15. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/__init__.py +12 -0
  16. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/act_nets.py +615 -0
  17. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/adapters.py +58 -0
  18. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/check_flash_adapter.py +114 -0
  19. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/check_flash_parity.py +141 -0
  20. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/data.py +403 -0
  21. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/flash.py +412 -0
  22. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/inloop.py +117 -0
  23. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/nets.py +212 -0
  24. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/ode_nets.py +181 -0
  25. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/policies.py +454 -0
  26. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/requirements.txt +12 -0
  27. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/runtime.py +168 -0
  28. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/train.py +552 -0
  29. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEDiT/deploy.yml +21 -0
  30. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEDiT/model.py +12 -0
  31. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEMLP/deploy.yml +27 -0
  32. b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEMLP/model.py +12 -0
  33. b6-pedal-bin/b512-v6/step-008000/training_records/code_commit.txt +1 -0
  34. b6-pedal-bin/b512-v6/step-008000/training_records/inloop-mse.jsonl +32 -0
  35. b6-pedal-bin/b512-v6/step-008000/training_records/launch.sh +5 -0
  36. b6-pedal-bin/b512-v6/step-008000/training_records/pip_freeze_hb-baselines.txt +59 -0
  37. b6-pedal-bin/b512-v6/step-008000/training_records/run.json +2089 -0
  38. b6-pedal-bin/b512-v6/step-008000/training_records/train.log +126 -0
  39. b6-pedal-bin/b512-v6/step-008000/training_records/train_log.jsonl +88 -0
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - robotics
5
+ - humanoid
6
+ - imitation-learning
7
+ ---
8
+ # ODE Policy — Humanoid Benchmark
9
+
10
+ ODE policy checkpoints trained on Humanoid Benchmark tasks. The model follows ODE Policy's Unitree G1 port
11
+ ([NTUMARS/ODE-POLICY](https://github.com/NTUMARS/ODE-POLICY) branch `real-g1` @fd8bec47, Apache-2.0), with ODE
12
+ Policy's own image encoder (main @cea26d94) in place of the port's GR00T backbone. It runs in the benchmark baseline
13
+ trainer of Humanoid_benchmark (`evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6`); the weights
14
+ use the `hb_baselines/1` format and load with `evaluation/policy/ODEMLP`.
15
+
16
+ ## Checkpoints
17
+
18
+ Every row is one training run. The column "Evaluated" names the checkpoint used for benchmark evaluation; it is filled
19
+ in once the standard evaluation has chosen it.
20
+
21
+ | Folder | Task | Robot | Cameras (model input) | Training data | Global batch | Steps | Checkpoints | Evaluated |
22
+ |---|---|---|---|---|---|---|---|---|
23
+ | `b6-pedal-bin/b512-v6/` | B6 pedal bin — pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in | Unitree G1 (Inspire hands) | ego_view, chest | `b6-pedal-bin` @ad2f5bf0 (v6), all 542 episodes (331,577 frames) | 512 | 8,000 | `step-005000`, `step-006000`, `step-008000` | pending |
24
+
25
+ ## Recipe (every folder)
26
+
27
+ - **Variant.** ODE-MLP: the velocity field is a FiLM residual MLP. ODE-DiT exists in the code but is not trained here.
28
+ - **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
29
+ gravity values. The current `ego_view` and `chest` RGB frames, resized to 168 x 224. The third-person camera in the
30
+ datasets is for data review only and is never a model input.
31
+ - **Output.** 16 action rows of dimension 76: 64 SONIC motion-token values and 6 measured values for each Inspire
32
+ hand. The runners execute 12 rows before the next query.
33
+ - **Model.**
34
+ - One ResNet18 per camera, trained from scratch with GroupNorm.
35
+ - Condition c = Linear(LayerNorm(image features)) to 512. The state enters the velocity field only.
36
+ - The 64 token values are the ODE state: b(k+1) = b(k) + f(b(k), state | c), integrated with Euler, one row per
37
+ step, from the row before the chunk.
38
+ - Field: FiLM residual MLP, 512 wide, 4 layers, output initialized to zero.
39
+ - Hands: Linear, SiLU, Linear from c to 16 x 12, continuous in normalized units; the runner clips them to [0, 1].
40
+ - 26.5 M parameters, of which 22.4 M are the two ResNets.
41
+ - **Start row.** Training: the recorded row t-1, a normalized-zero BOS at an episode's first frame. Execution: the
42
+ last executed action row (`past_actions[-1]`), the BOS when there is none.
43
+ - **Normalization.** q01 / q99 of the training rows to [-1, 1]; the hand values fixed at [0, 1]; clipped to ±5.
44
+ Stored in the weights.
45
+ - **Loss.** Masked MSE in normalized units (rows past the episode end left out); token and hands weighted 64 : 12.
46
+ - **Training.**
47
+ - Batch 512 on one GPU (RTX 5090), no gradient accumulation; 8,000 optimizer steps, checkpoints every 1,000.
48
+ - AdamW: lr 1e-4 (not scaled with batch), betas 0.95/0.999, weight decay 1e-6. 500-step linear warm-up, then cosine
49
+ decay.
50
+ - EMA as Diffusion Policy's EMAModel (power 0.75, max 0.9999); the published weights are the EMA weights.
51
+ - Encoder under bf16 autocast, the ODE head in FP32. Seed 42, 32 data workers.
52
+ - **Augmentation.**
53
+ - Humanoid Benchmark online augmentation spec v2 on both views: 15 photometric, geometric, sensor and lighting
54
+ effects, with one of them boosted to 1.5x per sample.
55
+ - On the 29 body joints only: a per-sample joint-angle bias U(±2°) plus N(0, 0.25°) noise.
56
+ - The augmentation random stream is seeded: `numpy default_rng([42, torch.initial_seed(), worker id])`.
57
+ - **In-training action MSE.** A normalized action MSE every 250 steps on the EMA weights, seed 1234 (B6 v6, 10
58
+ training episodes), saved in `training_records/inloop-mse.jsonl` and in each `protocol.json`.
59
+
60
+ ## B6 notes
61
+
62
+ In-training normalized MSE (lower is better):
63
+
64
+ | Step | 1,000 | 2,000 | 4,000 | 5,000 | 5,250 | 6,000 | 7,000 | 8,000 |
65
+ |---|---|---|---|---|---|---|---|---|
66
+ | nMSE | 0.222 | 0.160 | 0.126 | 0.123 | **0.1228** (lowest) | 0.126 | 0.131 | 0.1357 |
67
+
68
+ The rise after step 5,250 comes from the hand dimensions (0.529 to 0.629); the token part keeps falling (0.047 to
69
+ 0.043). The offline MSE on training frames falls the whole run (0.00672 at step 8,000). The in-training MSE does not
70
+ replace the closed-loop success rate, so all three checkpoints are evaluated.
71
+
72
+ ## What a checkpoint folder contains
73
+
74
+ Every `step-XXXXXX/` folder holds:
75
+ - `model.pt` and `config.json`.
76
+ - `protocol.json`: the data, recipe, layout, in-training MSE curve, reproducibility fields, and each file's size and
77
+ SHA-256.
78
+ - `SHA256SUMS`.
79
+
80
+ The last checkpoint of each run also has `training_records/`:
81
+ - `run.json`, `train_log.jsonl`, `train.log`, `inloop-mse.jsonl` and `launch.sh` (the exact command).
82
+ - `pip freeze` of the training environment.
83
+ - `code_b4b94d29/`: the exact `evaluation/baselines`, augmentation and ODE adapter code the run was trained with.
84
+
85
+ ## Reproducing
86
+
87
+ Follow [HumanWAM `hb_training/REPRODUCIBILITY.md`](https://github.com/zuo-kuangji/HumanWAM/blob/main/hb_training/REPRODUCIBILITY.md)
88
+ section 4.7 (ODE): the same data commit, seed 42 and layout give the same curves within run-to-run noise; GPU kernels
89
+ are not bitwise deterministic.
90
+
91
+ ## Citation
92
+
93
+ ODE Policy: Jindou Jia et al., [NTUMARS/ODE-POLICY](https://github.com/NTUMARS/ODE-POLICY) (Apache-2.0).
b6-pedal-bin/b512-v6/step-005000/SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 7b143db1f712742c3ebd6ae12b1736deb6aeeaa89b6a4ced8ea828b90089b315 config.json
2
+ 115137f1a6a4017bef81ff46a0c95d9dcf1ca37fb667a7f88daf1cb6703bdbc1 model.pt
3
+ a12c413e3f1124580a78dfdce59cb3aba6dfe90ab7a0aa60aca28460de3ecf81 protocol.json
b6-pedal-bin/b512-v6/step-005000/config.json ADDED
@@ -0,0 +1,2071 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "ode_mlp",
4
+ "n_cameras": 2,
5
+ "state_dim": 44,
6
+ "action_dim": 76,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 384,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.1,
16
+ "time_embed_dim": 128,
17
+ "num_inference_steps": null,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "ode_body_dim": 64,
30
+ "ode_width": 512,
31
+ "ode_layers": 4,
32
+ "ode_cond_dim": 512,
33
+ "ode_field_scale": 1.0,
34
+ "ode_dit_hidden": 512,
35
+ "ode_dit_layers": 4,
36
+ "ode_dit_heads": 8,
37
+ "ode_dit_tokens": 4,
38
+ "extra": {}
39
+ },
40
+ "contract": {
41
+ "name": "g1_sonic_dfx6",
42
+ "robot": "g1",
43
+ "cameras": [
44
+ "ego_view",
45
+ "chest"
46
+ ],
47
+ "state": [
48
+ [
49
+ "observation.state",
50
+ 0,
51
+ 29
52
+ ],
53
+ [
54
+ "observation.inspire_left_hand_state",
55
+ 0,
56
+ 6
57
+ ],
58
+ [
59
+ "observation.inspire_right_hand_state",
60
+ 0,
61
+ 6
62
+ ],
63
+ [
64
+ "observation.projected_gravity",
65
+ 0,
66
+ 3
67
+ ]
68
+ ],
69
+ "action": [
70
+ [
71
+ "action.motion_token",
72
+ 0,
73
+ 64
74
+ ],
75
+ [
76
+ "observation.inspire_left_hand_state",
77
+ 0,
78
+ 6
79
+ ],
80
+ [
81
+ "observation.inspire_right_hand_state",
82
+ 0,
83
+ 6
84
+ ]
85
+ ],
86
+ "state_dim": 44,
87
+ "action_dim": 76,
88
+ "action_space": "sonic_dfx6",
89
+ "body_dims": 29
90
+ },
91
+ "image_hw": [
92
+ 168,
93
+ 224
94
+ ],
95
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
96
+ "dataset": {
97
+ "name": "b6_v6_ad2f5bf0",
98
+ "root": "/mnt/hdd/jason/humanoid_benchmark_models/b6_v6_ad2f5bf0",
99
+ "robot_type": null,
100
+ "fps": 30.0,
101
+ "episodes": [
102
+ 0,
103
+ 1,
104
+ 2,
105
+ 3,
106
+ 4,
107
+ 5,
108
+ 6,
109
+ 7,
110
+ 8,
111
+ 9,
112
+ 10,
113
+ 11,
114
+ 12,
115
+ 13,
116
+ 14,
117
+ 15,
118
+ 16,
119
+ 17,
120
+ 18,
121
+ 19,
122
+ 20,
123
+ 21,
124
+ 22,
125
+ 23,
126
+ 24,
127
+ 25,
128
+ 26,
129
+ 27,
130
+ 28,
131
+ 29,
132
+ 30,
133
+ 31,
134
+ 32,
135
+ 33,
136
+ 34,
137
+ 35,
138
+ 36,
139
+ 37,
140
+ 38,
141
+ 39,
142
+ 40,
143
+ 41,
144
+ 42,
145
+ 43,
146
+ 44,
147
+ 45,
148
+ 46,
149
+ 47,
150
+ 48,
151
+ 49,
152
+ 50,
153
+ 51,
154
+ 52,
155
+ 53,
156
+ 54,
157
+ 55,
158
+ 56,
159
+ 57,
160
+ 58,
161
+ 59,
162
+ 60,
163
+ 61,
164
+ 62,
165
+ 63,
166
+ 64,
167
+ 65,
168
+ 66,
169
+ 67,
170
+ 68,
171
+ 69,
172
+ 70,
173
+ 71,
174
+ 72,
175
+ 73,
176
+ 74,
177
+ 75,
178
+ 76,
179
+ 77,
180
+ 78,
181
+ 79,
182
+ 80,
183
+ 81,
184
+ 82,
185
+ 83,
186
+ 84,
187
+ 85,
188
+ 86,
189
+ 87,
190
+ 88,
191
+ 89,
192
+ 90,
193
+ 91,
194
+ 92,
195
+ 93,
196
+ 94,
197
+ 95,
198
+ 96,
199
+ 97,
200
+ 98,
201
+ 99,
202
+ 100,
203
+ 101,
204
+ 102,
205
+ 103,
206
+ 104,
207
+ 105,
208
+ 106,
209
+ 107,
210
+ 108,
211
+ 109,
212
+ 110,
213
+ 111,
214
+ 112,
215
+ 113,
216
+ 114,
217
+ 115,
218
+ 116,
219
+ 117,
220
+ 118,
221
+ 119,
222
+ 120,
223
+ 121,
224
+ 122,
225
+ 123,
226
+ 124,
227
+ 125,
228
+ 126,
229
+ 127,
230
+ 128,
231
+ 129,
232
+ 130,
233
+ 131,
234
+ 132,
235
+ 133,
236
+ 134,
237
+ 135,
238
+ 136,
239
+ 137,
240
+ 138,
241
+ 139,
242
+ 140,
243
+ 141,
244
+ 142,
245
+ 143,
246
+ 144,
247
+ 145,
248
+ 146,
249
+ 147,
250
+ 148,
251
+ 149,
252
+ 150,
253
+ 151,
254
+ 152,
255
+ 153,
256
+ 154,
257
+ 155,
258
+ 156,
259
+ 157,
260
+ 158,
261
+ 159,
262
+ 160,
263
+ 161,
264
+ 162,
265
+ 163,
266
+ 164,
267
+ 165,
268
+ 166,
269
+ 167,
270
+ 168,
271
+ 169,
272
+ 170,
273
+ 171,
274
+ 172,
275
+ 173,
276
+ 174,
277
+ 175,
278
+ 176,
279
+ 177,
280
+ 178,
281
+ 179,
282
+ 180,
283
+ 181,
284
+ 182,
285
+ 183,
286
+ 184,
287
+ 185,
288
+ 186,
289
+ 187,
290
+ 188,
291
+ 189,
292
+ 190,
293
+ 191,
294
+ 192,
295
+ 193,
296
+ 194,
297
+ 195,
298
+ 196,
299
+ 197,
300
+ 198,
301
+ 199,
302
+ 200,
303
+ 201,
304
+ 202,
305
+ 203,
306
+ 204,
307
+ 205,
308
+ 206,
309
+ 207,
310
+ 208,
311
+ 209,
312
+ 210,
313
+ 211,
314
+ 212,
315
+ 213,
316
+ 214,
317
+ 215,
318
+ 216,
319
+ 217,
320
+ 218,
321
+ 219,
322
+ 220,
323
+ 221,
324
+ 222,
325
+ 223,
326
+ 224,
327
+ 225,
328
+ 226,
329
+ 227,
330
+ 228,
331
+ 229,
332
+ 230,
333
+ 231,
334
+ 232,
335
+ 233,
336
+ 234,
337
+ 235,
338
+ 236,
339
+ 237,
340
+ 238,
341
+ 239,
342
+ 240,
343
+ 241,
344
+ 242,
345
+ 243,
346
+ 244,
347
+ 245,
348
+ 246,
349
+ 247,
350
+ 248,
351
+ 249,
352
+ 250,
353
+ 251,
354
+ 252,
355
+ 253,
356
+ 254,
357
+ 255,
358
+ 256,
359
+ 257,
360
+ 258,
361
+ 259,
362
+ 260,
363
+ 261,
364
+ 262,
365
+ 263,
366
+ 264,
367
+ 265,
368
+ 266,
369
+ 267,
370
+ 268,
371
+ 269,
372
+ 270,
373
+ 271,
374
+ 272,
375
+ 273,
376
+ 274,
377
+ 275,
378
+ 276,
379
+ 277,
380
+ 278,
381
+ 279,
382
+ 280,
383
+ 281,
384
+ 282,
385
+ 283,
386
+ 284,
387
+ 285,
388
+ 286,
389
+ 287,
390
+ 288,
391
+ 289,
392
+ 290,
393
+ 291,
394
+ 292,
395
+ 293,
396
+ 294,
397
+ 295,
398
+ 296,
399
+ 297,
400
+ 298,
401
+ 299,
402
+ 300,
403
+ 301,
404
+ 302,
405
+ 303,
406
+ 304,
407
+ 305,
408
+ 306,
409
+ 307,
410
+ 308,
411
+ 309,
412
+ 310,
413
+ 311,
414
+ 312,
415
+ 313,
416
+ 314,
417
+ 315,
418
+ 316,
419
+ 317,
420
+ 318,
421
+ 319,
422
+ 320,
423
+ 321,
424
+ 322,
425
+ 323,
426
+ 324,
427
+ 325,
428
+ 326,
429
+ 327,
430
+ 328,
431
+ 329,
432
+ 330,
433
+ 331,
434
+ 332,
435
+ 333,
436
+ 334,
437
+ 335,
438
+ 336,
439
+ 337,
440
+ 338,
441
+ 339,
442
+ 340,
443
+ 341,
444
+ 342,
445
+ 343,
446
+ 344,
447
+ 345,
448
+ 346,
449
+ 347,
450
+ 348,
451
+ 349,
452
+ 350,
453
+ 351,
454
+ 352,
455
+ 353,
456
+ 354,
457
+ 355,
458
+ 356,
459
+ 357,
460
+ 358,
461
+ 359,
462
+ 360,
463
+ 361,
464
+ 362,
465
+ 363,
466
+ 364,
467
+ 365,
468
+ 366,
469
+ 367,
470
+ 368,
471
+ 369,
472
+ 370,
473
+ 371,
474
+ 372,
475
+ 373,
476
+ 374,
477
+ 375,
478
+ 376,
479
+ 377,
480
+ 378,
481
+ 379,
482
+ 380,
483
+ 381,
484
+ 382,
485
+ 383,
486
+ 384,
487
+ 385,
488
+ 386,
489
+ 387,
490
+ 388,
491
+ 389,
492
+ 390,
493
+ 391,
494
+ 392,
495
+ 393,
496
+ 394,
497
+ 395,
498
+ 396,
499
+ 397,
500
+ 398,
501
+ 399,
502
+ 400,
503
+ 401,
504
+ 402,
505
+ 403,
506
+ 404,
507
+ 405,
508
+ 406,
509
+ 407,
510
+ 408,
511
+ 409,
512
+ 410,
513
+ 411,
514
+ 412,
515
+ 413,
516
+ 414,
517
+ 415,
518
+ 416,
519
+ 417,
520
+ 418,
521
+ 419,
522
+ 420,
523
+ 421,
524
+ 422,
525
+ 423,
526
+ 424,
527
+ 425,
528
+ 426,
529
+ 427,
530
+ 428,
531
+ 429,
532
+ 430,
533
+ 431,
534
+ 432,
535
+ 433,
536
+ 434,
537
+ 435,
538
+ 436,
539
+ 437,
540
+ 438,
541
+ 439,
542
+ 440,
543
+ 441,
544
+ 442,
545
+ 443,
546
+ 444,
547
+ 445,
548
+ 446,
549
+ 447,
550
+ 448,
551
+ 449,
552
+ 450,
553
+ 451,
554
+ 452,
555
+ 453,
556
+ 454,
557
+ 455,
558
+ 456,
559
+ 457,
560
+ 458,
561
+ 459,
562
+ 460,
563
+ 461,
564
+ 462,
565
+ 463,
566
+ 464,
567
+ 465,
568
+ 466,
569
+ 467,
570
+ 468,
571
+ 469,
572
+ 470,
573
+ 471,
574
+ 472,
575
+ 473,
576
+ 474,
577
+ 475,
578
+ 476,
579
+ 477,
580
+ 478,
581
+ 479,
582
+ 480,
583
+ 481,
584
+ 482,
585
+ 483,
586
+ 484,
587
+ 485,
588
+ 486,
589
+ 487,
590
+ 488,
591
+ 489,
592
+ 490,
593
+ 491,
594
+ 492,
595
+ 493,
596
+ 494,
597
+ 495,
598
+ 496,
599
+ 497,
600
+ 498,
601
+ 499,
602
+ 500,
603
+ 501,
604
+ 502,
605
+ 503,
606
+ 504,
607
+ 505,
608
+ 506,
609
+ 507,
610
+ 508,
611
+ 509,
612
+ 510,
613
+ 511,
614
+ 512,
615
+ 513,
616
+ 514,
617
+ 515,
618
+ 516,
619
+ 517,
620
+ 518,
621
+ 519,
622
+ 520,
623
+ 521,
624
+ 522,
625
+ 523,
626
+ 524,
627
+ 525,
628
+ 526,
629
+ 527,
630
+ 528,
631
+ 529,
632
+ 530,
633
+ 531,
634
+ 532,
635
+ 533,
636
+ 534,
637
+ 535,
638
+ 536,
639
+ 537,
640
+ 538,
641
+ 539,
642
+ 540,
643
+ 541
644
+ ],
645
+ "train_episodes": [
646
+ 0,
647
+ 1,
648
+ 2,
649
+ 3,
650
+ 4,
651
+ 5,
652
+ 6,
653
+ 7,
654
+ 8,
655
+ 9,
656
+ 10,
657
+ 11,
658
+ 12,
659
+ 13,
660
+ 14,
661
+ 15,
662
+ 16,
663
+ 17,
664
+ 18,
665
+ 19,
666
+ 20,
667
+ 21,
668
+ 22,
669
+ 23,
670
+ 24,
671
+ 25,
672
+ 26,
673
+ 27,
674
+ 28,
675
+ 29,
676
+ 30,
677
+ 31,
678
+ 32,
679
+ 33,
680
+ 34,
681
+ 35,
682
+ 36,
683
+ 37,
684
+ 38,
685
+ 39,
686
+ 40,
687
+ 41,
688
+ 42,
689
+ 43,
690
+ 44,
691
+ 45,
692
+ 46,
693
+ 47,
694
+ 48,
695
+ 49,
696
+ 50,
697
+ 51,
698
+ 52,
699
+ 53,
700
+ 54,
701
+ 55,
702
+ 56,
703
+ 57,
704
+ 58,
705
+ 59,
706
+ 60,
707
+ 61,
708
+ 62,
709
+ 63,
710
+ 64,
711
+ 65,
712
+ 66,
713
+ 67,
714
+ 68,
715
+ 69,
716
+ 70,
717
+ 71,
718
+ 72,
719
+ 73,
720
+ 74,
721
+ 75,
722
+ 76,
723
+ 77,
724
+ 78,
725
+ 79,
726
+ 80,
727
+ 81,
728
+ 82,
729
+ 83,
730
+ 84,
731
+ 85,
732
+ 86,
733
+ 87,
734
+ 88,
735
+ 89,
736
+ 90,
737
+ 91,
738
+ 92,
739
+ 93,
740
+ 94,
741
+ 95,
742
+ 96,
743
+ 97,
744
+ 98,
745
+ 99,
746
+ 100,
747
+ 101,
748
+ 102,
749
+ 103,
750
+ 104,
751
+ 105,
752
+ 106,
753
+ 107,
754
+ 108,
755
+ 109,
756
+ 110,
757
+ 111,
758
+ 112,
759
+ 113,
760
+ 114,
761
+ 115,
762
+ 116,
763
+ 117,
764
+ 118,
765
+ 119,
766
+ 120,
767
+ 121,
768
+ 122,
769
+ 123,
770
+ 124,
771
+ 125,
772
+ 126,
773
+ 127,
774
+ 128,
775
+ 129,
776
+ 130,
777
+ 131,
778
+ 132,
779
+ 133,
780
+ 134,
781
+ 135,
782
+ 136,
783
+ 137,
784
+ 138,
785
+ 139,
786
+ 140,
787
+ 141,
788
+ 142,
789
+ 143,
790
+ 144,
791
+ 145,
792
+ 146,
793
+ 147,
794
+ 148,
795
+ 149,
796
+ 150,
797
+ 151,
798
+ 152,
799
+ 153,
800
+ 154,
801
+ 155,
802
+ 156,
803
+ 157,
804
+ 158,
805
+ 159,
806
+ 160,
807
+ 161,
808
+ 162,
809
+ 163,
810
+ 164,
811
+ 165,
812
+ 166,
813
+ 167,
814
+ 168,
815
+ 169,
816
+ 170,
817
+ 171,
818
+ 172,
819
+ 173,
820
+ 174,
821
+ 175,
822
+ 176,
823
+ 177,
824
+ 178,
825
+ 179,
826
+ 180,
827
+ 181,
828
+ 182,
829
+ 183,
830
+ 184,
831
+ 185,
832
+ 186,
833
+ 187,
834
+ 188,
835
+ 189,
836
+ 190,
837
+ 191,
838
+ 192,
839
+ 193,
840
+ 194,
841
+ 195,
842
+ 196,
843
+ 197,
844
+ 198,
845
+ 199,
846
+ 200,
847
+ 201,
848
+ 202,
849
+ 203,
850
+ 204,
851
+ 205,
852
+ 206,
853
+ 207,
854
+ 208,
855
+ 209,
856
+ 210,
857
+ 211,
858
+ 212,
859
+ 213,
860
+ 214,
861
+ 215,
862
+ 216,
863
+ 217,
864
+ 218,
865
+ 219,
866
+ 220,
867
+ 221,
868
+ 222,
869
+ 223,
870
+ 224,
871
+ 225,
872
+ 226,
873
+ 227,
874
+ 228,
875
+ 229,
876
+ 230,
877
+ 231,
878
+ 232,
879
+ 233,
880
+ 234,
881
+ 235,
882
+ 236,
883
+ 237,
884
+ 238,
885
+ 239,
886
+ 240,
887
+ 241,
888
+ 242,
889
+ 243,
890
+ 244,
891
+ 245,
892
+ 246,
893
+ 247,
894
+ 248,
895
+ 249,
896
+ 250,
897
+ 251,
898
+ 252,
899
+ 253,
900
+ 254,
901
+ 255,
902
+ 256,
903
+ 257,
904
+ 258,
905
+ 259,
906
+ 260,
907
+ 261,
908
+ 262,
909
+ 263,
910
+ 264,
911
+ 265,
912
+ 266,
913
+ 267,
914
+ 268,
915
+ 269,
916
+ 270,
917
+ 271,
918
+ 272,
919
+ 273,
920
+ 274,
921
+ 275,
922
+ 276,
923
+ 277,
924
+ 278,
925
+ 279,
926
+ 280,
927
+ 281,
928
+ 282,
929
+ 283,
930
+ 284,
931
+ 285,
932
+ 286,
933
+ 287,
934
+ 288,
935
+ 289,
936
+ 290,
937
+ 291,
938
+ 292,
939
+ 293,
940
+ 294,
941
+ 295,
942
+ 296,
943
+ 297,
944
+ 298,
945
+ 299,
946
+ 300,
947
+ 301,
948
+ 302,
949
+ 303,
950
+ 304,
951
+ 305,
952
+ 306,
953
+ 307,
954
+ 308,
955
+ 309,
956
+ 310,
957
+ 311,
958
+ 312,
959
+ 313,
960
+ 314,
961
+ 315,
962
+ 316,
963
+ 317,
964
+ 318,
965
+ 319,
966
+ 320,
967
+ 321,
968
+ 322,
969
+ 323,
970
+ 324,
971
+ 325,
972
+ 326,
973
+ 327,
974
+ 328,
975
+ 329,
976
+ 330,
977
+ 331,
978
+ 332,
979
+ 333,
980
+ 334,
981
+ 335,
982
+ 336,
983
+ 337,
984
+ 338,
985
+ 339,
986
+ 340,
987
+ 341,
988
+ 342,
989
+ 343,
990
+ 344,
991
+ 345,
992
+ 346,
993
+ 347,
994
+ 348,
995
+ 349,
996
+ 350,
997
+ 351,
998
+ 352,
999
+ 353,
1000
+ 354,
1001
+ 355,
1002
+ 356,
1003
+ 357,
1004
+ 358,
1005
+ 359,
1006
+ 360,
1007
+ 361,
1008
+ 362,
1009
+ 363,
1010
+ 364,
1011
+ 365,
1012
+ 366,
1013
+ 367,
1014
+ 368,
1015
+ 369,
1016
+ 370,
1017
+ 371,
1018
+ 372,
1019
+ 373,
1020
+ 374,
1021
+ 375,
1022
+ 376,
1023
+ 377,
1024
+ 378,
1025
+ 379,
1026
+ 380,
1027
+ 381,
1028
+ 382,
1029
+ 383,
1030
+ 384,
1031
+ 385,
1032
+ 386,
1033
+ 387,
1034
+ 388,
1035
+ 389,
1036
+ 390,
1037
+ 391,
1038
+ 392,
1039
+ 393,
1040
+ 394,
1041
+ 395,
1042
+ 396,
1043
+ 397,
1044
+ 398,
1045
+ 399,
1046
+ 400,
1047
+ 401,
1048
+ 402,
1049
+ 403,
1050
+ 404,
1051
+ 405,
1052
+ 406,
1053
+ 407,
1054
+ 408,
1055
+ 409,
1056
+ 410,
1057
+ 411,
1058
+ 412,
1059
+ 413,
1060
+ 414,
1061
+ 415,
1062
+ 416,
1063
+ 417,
1064
+ 418,
1065
+ 419,
1066
+ 420,
1067
+ 421,
1068
+ 422,
1069
+ 423,
1070
+ 424,
1071
+ 425,
1072
+ 426,
1073
+ 427,
1074
+ 428,
1075
+ 429,
1076
+ 430,
1077
+ 431,
1078
+ 432,
1079
+ 433,
1080
+ 434,
1081
+ 435,
1082
+ 436,
1083
+ 437,
1084
+ 438,
1085
+ 439,
1086
+ 440,
1087
+ 441,
1088
+ 442,
1089
+ 443,
1090
+ 444,
1091
+ 445,
1092
+ 446,
1093
+ 447,
1094
+ 448,
1095
+ 449,
1096
+ 450,
1097
+ 451,
1098
+ 452,
1099
+ 453,
1100
+ 454,
1101
+ 455,
1102
+ 456,
1103
+ 457,
1104
+ 458,
1105
+ 459,
1106
+ 460,
1107
+ 461,
1108
+ 462,
1109
+ 463,
1110
+ 464,
1111
+ 465,
1112
+ 466,
1113
+ 467,
1114
+ 468,
1115
+ 469,
1116
+ 470,
1117
+ 471,
1118
+ 472,
1119
+ 473,
1120
+ 474,
1121
+ 475,
1122
+ 476,
1123
+ 477,
1124
+ 478,
1125
+ 479,
1126
+ 480,
1127
+ 481,
1128
+ 482,
1129
+ 483,
1130
+ 484,
1131
+ 485,
1132
+ 486,
1133
+ 487,
1134
+ 488,
1135
+ 489,
1136
+ 490,
1137
+ 491,
1138
+ 492,
1139
+ 493,
1140
+ 494,
1141
+ 495,
1142
+ 496,
1143
+ 497,
1144
+ 498,
1145
+ 499,
1146
+ 500,
1147
+ 501,
1148
+ 502,
1149
+ 503,
1150
+ 504,
1151
+ 505,
1152
+ 506,
1153
+ 507,
1154
+ 508,
1155
+ 509,
1156
+ 510,
1157
+ 511,
1158
+ 512,
1159
+ 513,
1160
+ 514,
1161
+ 515,
1162
+ 516,
1163
+ 517,
1164
+ 518,
1165
+ 519,
1166
+ 520,
1167
+ 521,
1168
+ 522,
1169
+ 523,
1170
+ 524,
1171
+ 525,
1172
+ 526,
1173
+ 527,
1174
+ 528,
1175
+ 529,
1176
+ 530,
1177
+ 531,
1178
+ 532,
1179
+ 533,
1180
+ 534,
1181
+ 535,
1182
+ 536,
1183
+ 537,
1184
+ 538,
1185
+ 539,
1186
+ 540,
1187
+ 541
1188
+ ],
1189
+ "val_episodes": [],
1190
+ "train_frames": 331577,
1191
+ "git_commit": "9bfeb4aec689c080b964f0dec10feec47d5b1741"
1192
+ },
1193
+ "training": {
1194
+ "steps": 8000,
1195
+ "batch_size": 512,
1196
+ "lr": 0.0001,
1197
+ "betas": [
1198
+ 0.95,
1199
+ 0.999
1200
+ ],
1201
+ "weight_decay": 1e-06,
1202
+ "warmup": 500,
1203
+ "schedule": "diffusers_cosine",
1204
+ "backbone_lr_scale": 1.0,
1205
+ "ema": 0.9999,
1206
+ "shift_px": 0,
1207
+ "amp": true,
1208
+ "seed": 42,
1209
+ "augmentation": {
1210
+ "spec": "docs/augmentation_v2.md",
1211
+ "version": "hb-aug-v2-20261109",
1212
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
1213
+ "visual": {
1214
+ "effects": [
1215
+ "exposure",
1216
+ "contrast",
1217
+ "saturation",
1218
+ "hue",
1219
+ "gamma",
1220
+ "temperature",
1221
+ "rotation_crop",
1222
+ "noise",
1223
+ "gaussian_blur",
1224
+ "jpeg",
1225
+ "motion_blur",
1226
+ "sharpen",
1227
+ "defocus",
1228
+ "light_shadow",
1229
+ "wb_channel"
1230
+ ],
1231
+ "boosted_per_sample": 1,
1232
+ "boost": 1.5,
1233
+ "pixel_scale": "H / 224",
1234
+ "future_targets": "none (one observation frame)"
1235
+ },
1236
+ "proprio": {
1237
+ "robot": "g1",
1238
+ "body_dims": 29,
1239
+ "bias_deg": 2.0,
1240
+ "bias_scope": "per_sample",
1241
+ "noise_deg": 0.25,
1242
+ "noise_clip_sigma": 3,
1243
+ "delay_probability": 0.0,
1244
+ "history_drop_probability": 0.0,
1245
+ "velocity": false
1246
+ },
1247
+ "native_image_augmentation": "off",
1248
+ "evaluation": "off"
1249
+ },
1250
+ "preflight": {
1251
+ "samples": 64,
1252
+ "state_dim": 44,
1253
+ "body_dims": 29,
1254
+ "images_changed": 64,
1255
+ "body_values_moved": 1.0,
1256
+ "max_body_offset_deg": 2.5999,
1257
+ "actions_bit_identical": true,
1258
+ "non_body_state_bit_identical": true,
1259
+ "eval_items_deterministic": 8
1260
+ },
1261
+ "aug_seed": 42,
1262
+ "layout": {
1263
+ "nodes": 1,
1264
+ "gpus": 1,
1265
+ "per_gpu_batch": 512,
1266
+ "global_batch": 512,
1267
+ "gradient_accumulation": 1,
1268
+ "num_workers": 32,
1269
+ "prefetch": 2
1270
+ },
1271
+ "ema_schedule": "diffusion_policy_emamodel",
1272
+ "inloop": {
1273
+ "task": "b6v6",
1274
+ "code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse",
1275
+ "every": 250,
1276
+ "exception": null
1277
+ },
1278
+ "upstream": "NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + main@cea26d94 (encoder, ode_dit field, default_train.yaml)"
1279
+ },
1280
+ "stats": {
1281
+ "state": {
1282
+ "min": [
1283
+ -1.037501573562622,
1284
+ -0.264034628868103,
1285
+ -0.4427748918533325,
1286
+ 0.0667380765080452,
1287
+ -0.5215858817100525,
1288
+ -0.2416602224111557,
1289
+ -0.6867885589599609,
1290
+ -0.47648993134498596,
1291
+ -0.9344953298568726,
1292
+ 0.10217262804508209,
1293
+ -0.6552681922912598,
1294
+ -0.21590328216552734,
1295
+ -0.15592412650585175,
1296
+ -0.1158304288983345,
1297
+ 0.07265116274356842,
1298
+ 0.022757036611437798,
1299
+ -0.02251558005809784,
1300
+ -0.44369247555732727,
1301
+ -0.5461236238479614,
1302
+ -0.5896561145782471,
1303
+ -0.26370522379875183,
1304
+ 0.0013440968468785286,
1305
+ -0.9844546318054199,
1306
+ -1.5772571563720703,
1307
+ -1.0258455276489258,
1308
+ -0.8631634712219238,
1309
+ -0.5786121487617493,
1310
+ -1.024689793586731,
1311
+ -0.9216610789299011,
1312
+ 0.9997360110282898,
1313
+ 0.9988104701042175,
1314
+ 0.9986811280250549,
1315
+ 0.9989097118377686,
1316
+ 0.9351540803909302,
1317
+ 0.0,
1318
+ 0.5493931770324707,
1319
+ 0.5609477758407593,
1320
+ 0.6044747233390808,
1321
+ 0.6079143285751343,
1322
+ 0.8139541745185852,
1323
+ 0.0,
1324
+ -0.29203763604164124,
1325
+ -0.12108057737350464,
1326
+ -1.0
1327
+ ],
1328
+ "max": [
1329
+ 0.31642699241638184,
1330
+ 0.32778802514076233,
1331
+ 0.5025486946105957,
1332
+ 1.8408095836639404,
1333
+ 0.5323996543884277,
1334
+ 0.23189055919647217,
1335
+ 0.39967241883277893,
1336
+ 0.18936435878276825,
1337
+ 0.1610136777162552,
1338
+ 1.3123230934143066,
1339
+ 0.25517070293426514,
1340
+ 0.21713340282440186,
1341
+ 0.19809074699878693,
1342
+ 0.11862942576408386,
1343
+ 0.30983150005340576,
1344
+ 0.4407850205898285,
1345
+ 0.4915717840194702,
1346
+ 0.1512441635131836,
1347
+ -0.14922617375850677,
1348
+ -0.20036308467388153,
1349
+ 0.13975681364536285,
1350
+ 0.4291156232357025,
1351
+ 0.8944763541221619,
1352
+ 0.1526746302843094,
1353
+ 0.7923631072044373,
1354
+ 1.1935943365097046,
1355
+ 1.549551248550415,
1356
+ 1.3240046501159668,
1357
+ 1.1530930995941162,
1358
+ 1.0,
1359
+ 1.0,
1360
+ 1.0,
1361
+ 1.0,
1362
+ 1.0,
1363
+ 0.0036626288201659918,
1364
+ 1.0,
1365
+ 1.0,
1366
+ 1.0,
1367
+ 1.0,
1368
+ 1.0,
1369
+ 0.011179528199136257,
1370
+ 0.08667038381099701,
1371
+ 0.1206020638346672,
1372
+ -0.9563509225845337
1373
+ ],
1374
+ "mean": [
1375
+ -0.11453739324440969,
1376
+ 0.04011084241805277,
1377
+ 0.042604342544257975,
1378
+ 0.3101375482929991,
1379
+ -0.09883363973761503,
1380
+ -0.03264575295857167,
1381
+ -0.05904688190983114,
1382
+ -0.06457161075417515,
1383
+ -0.2835409265675875,
1384
+ 0.3173361870458159,
1385
+ -0.17238908965674926,
1386
+ -0.022206056895898326,
1387
+ 0.01720015949095758,
1388
+ 0.010739354338715243,
1389
+ 0.14542730844781557,
1390
+ 0.23942305438226613,
1391
+ 0.19775352569474616,
1392
+ -0.06352798202838195,
1393
+ -0.3432223755631105,
1394
+ -0.37103841771520646,
1395
+ -0.04449127923501375,
1396
+ 0.18419998718936037,
1397
+ 0.06295970191975703,
1398
+ -0.3409248401139509,
1399
+ -0.005028062842690194,
1400
+ -0.07113524459719395,
1401
+ 0.35502965168391576,
1402
+ 0.041413371540891426,
1403
+ -0.008045864253059339,
1404
+ 0.9999993913050222,
1405
+ 0.9999989068213664,
1406
+ 0.9999985447814413,
1407
+ 0.9999986399345618,
1408
+ 0.9997595920880835,
1409
+ 4.1432946030695356e-08,
1410
+ 0.848720485038278,
1411
+ 0.8478708518704877,
1412
+ 0.8541396666476672,
1413
+ 0.8627360528043341,
1414
+ 0.9322875091376083,
1415
+ 0.0013038922559370368,
1416
+ -0.07185684814001166,
1417
+ 0.003796186879417613,
1418
+ -0.9959426704259458
1419
+ ],
1420
+ "std": [
1421
+ 0.22314642932157291,
1422
+ 0.07865177014736555,
1423
+ 0.13175734378126513,
1424
+ 0.26774492089834084,
1425
+ 0.138597724289319,
1426
+ 0.05425034662016361,
1427
+ 0.14586651661033237,
1428
+ 0.06093383638045563,
1429
+ 0.14535052480778932,
1430
+ 0.16501149156409287,
1431
+ 0.11795297516115227,
1432
+ 0.05220902917773687,
1433
+ 0.04589606128733729,
1434
+ 0.02124229308479261,
1435
+ 0.023465064820185715,
1436
+ 0.06147598163079173,
1437
+ 0.08019322209832842,
1438
+ 0.10835271570424901,
1439
+ 0.049692413539137906,
1440
+ 0.04662608297189601,
1441
+ 0.06414416688004776,
1442
+ 0.06755100433487839,
1443
+ 0.3112339885690449,
1444
+ 0.24397518045868727,
1445
+ 0.24187918334876668,
1446
+ 0.5876198067006639,
1447
+ 0.2545545751519334,
1448
+ 0.2513222402223307,
1449
+ 0.2206716966214715,
1450
+ 3.0745450764358815e-06,
1451
+ 1.0280418129053001e-05,
1452
+ 1.3003933935428358e-05,
1453
+ 1.0326645711325357e-05,
1454
+ 0.0002625973205270167,
1455
+ 1.1079706153857785e-05,
1456
+ 0.1666589578526184,
1457
+ 0.16783685131463846,
1458
+ 0.16091359576221068,
1459
+ 0.15173440996739748,
1460
+ 0.07479574625351736,
1461
+ 0.0016642108162531056,
1462
+ 0.04762500188416354,
1463
+ 0.025104825839366962,
1464
+ 0.004688973726931697
1465
+ ],
1466
+ "q01": [
1467
+ -0.9045831370353699,
1468
+ -0.13757071018218994,
1469
+ -0.2569125294685364,
1470
+ 0.1278476357460022,
1471
+ -0.39663622379302976,
1472
+ -0.12917980551719666,
1473
+ -0.4405965781211853,
1474
+ -0.24917301774024964,
1475
+ -0.6295552921295166,
1476
+ 0.1603124076128006,
1477
+ -0.4720695352554321,
1478
+ -0.1568482679128647,
1479
+ -0.061930555552244186,
1480
+ -0.04285239815711975,
1481
+ 0.10330679059028626,
1482
+ 0.08520439445972443,
1483
+ 0.06402801901102066,
1484
+ -0.3122930061817169,
1485
+ -0.4440067780017853,
1486
+ -0.4813148105144501,
1487
+ -0.17662575483322143,
1488
+ 0.07811619132757187,
1489
+ -0.7038879680633545,
1490
+ -1.074288420677185,
1491
+ -0.5174330973625183,
1492
+ -0.8296286749839783,
1493
+ -0.046649148613214494,
1494
+ -0.5297652673721314,
1495
+ -0.4525022149085998,
1496
+ 0.9999856948852539,
1497
+ 0.9999788999557495,
1498
+ 0.9999739527702332,
1499
+ 0.9999754428863525,
1500
+ 0.9992824649810791,
1501
+ 0.0,
1502
+ 0.6091572046279907,
1503
+ 0.6036605787277222,
1504
+ 0.624807596206665,
1505
+ 0.6392338871955872,
1506
+ 0.8250055313110352,
1507
+ 0.0,
1508
+ -0.18815172016620635,
1509
+ -0.05641369238495827,
1510
+ -0.9999467134475708
1511
+ ],
1512
+ "q99": [
1513
+ 0.1692169380187985,
1514
+ 0.17853675007820122,
1515
+ 0.2504714381694793,
1516
+ 1.3830337762832627,
1517
+ 0.22025565922260237,
1518
+ 0.12152969658374776,
1519
+ 0.26838738083839414,
1520
+ 0.05813095644116398,
1521
+ -0.03372923016548196,
1522
+ 0.9813192462921138,
1523
+ 0.0548072496056556,
1524
+ 0.09750931084156036,
1525
+ 0.15023184537887574,
1526
+ 0.05916855245828619,
1527
+ 0.23604949593544,
1528
+ 0.34267205715179444,
1529
+ 0.40151971697807304,
1530
+ 0.09628749728202818,
1531
+ -0.20530834913253787,
1532
+ -0.2752486991882324,
1533
+ 0.07086087167263026,
1534
+ 0.36542059302330004,
1535
+ 0.516453638076782,
1536
+ 0.03925376668572419,
1537
+ 0.5594508004188538,
1538
+ 1.1245078516006468,
1539
+ 1.1421368551254258,
1540
+ 0.6226067781448352,
1541
+ 0.6182300543785093,
1542
+ 1.0,
1543
+ 1.0,
1544
+ 1.0,
1545
+ 1.0,
1546
+ 1.0,
1547
+ 0.0,
1548
+ 1.0,
1549
+ 1.0,
1550
+ 1.0,
1551
+ 1.0,
1552
+ 1.0,
1553
+ 0.0058600762858986855,
1554
+ 0.013552068993449205,
1555
+ 0.06995626598596572,
1556
+ -0.9812720465660095
1557
+ ],
1558
+ "unit_dims": [
1559
+ 29,
1560
+ 30,
1561
+ 31,
1562
+ 32,
1563
+ 33,
1564
+ 34,
1565
+ 35,
1566
+ 36,
1567
+ 37,
1568
+ 38,
1569
+ 39,
1570
+ 40
1571
+ ]
1572
+ },
1573
+ "action": {
1574
+ "min": [
1575
+ -0.5625,
1576
+ -0.4375,
1577
+ -0.4375,
1578
+ -0.4375,
1579
+ -0.5,
1580
+ -0.3125,
1581
+ -0.4375,
1582
+ -0.375,
1583
+ -0.5,
1584
+ -0.5,
1585
+ -0.5625,
1586
+ -0.5,
1587
+ -0.375,
1588
+ -0.375,
1589
+ -0.3125,
1590
+ -0.5625,
1591
+ -0.375,
1592
+ -0.4375,
1593
+ -0.5,
1594
+ -0.5,
1595
+ -0.375,
1596
+ -0.5625,
1597
+ -0.4375,
1598
+ -0.4375,
1599
+ -0.3125,
1600
+ -0.3125,
1601
+ -0.375,
1602
+ -0.5625,
1603
+ -0.4375,
1604
+ -0.375,
1605
+ -0.4375,
1606
+ -0.5625,
1607
+ -0.4375,
1608
+ -0.25,
1609
+ -0.1875,
1610
+ -0.3125,
1611
+ -0.5625,
1612
+ -0.5,
1613
+ -0.125,
1614
+ -0.375,
1615
+ -0.4375,
1616
+ -0.5,
1617
+ -0.3125,
1618
+ -0.375,
1619
+ -0.375,
1620
+ -0.3125,
1621
+ -0.375,
1622
+ -0.5,
1623
+ -0.625,
1624
+ -0.5625,
1625
+ -0.75,
1626
+ -0.375,
1627
+ -0.5625,
1628
+ -0.4375,
1629
+ -0.25,
1630
+ -0.5,
1631
+ -0.4375,
1632
+ -0.1875,
1633
+ -0.3125,
1634
+ -0.4375,
1635
+ -0.5625,
1636
+ -0.4375,
1637
+ -0.25,
1638
+ -0.5625,
1639
+ 0.9997360110282898,
1640
+ 0.9988104701042175,
1641
+ 0.9986811280250549,
1642
+ 0.9989097118377686,
1643
+ 0.9351540803909302,
1644
+ 0.0,
1645
+ 0.5493931770324707,
1646
+ 0.5609477758407593,
1647
+ 0.6044747233390808,
1648
+ 0.6079143285751343,
1649
+ 0.8139541745185852,
1650
+ 0.0
1651
+ ],
1652
+ "max": [
1653
+ 0.3125,
1654
+ 0.375,
1655
+ 0.5,
1656
+ 0.3125,
1657
+ 0.6875,
1658
+ 0.5,
1659
+ 0.5625,
1660
+ 0.3125,
1661
+ 0.3125,
1662
+ 0.125,
1663
+ 0.375,
1664
+ 0.1875,
1665
+ 0.375,
1666
+ 0.4375,
1667
+ 0.5,
1668
+ 0.4375,
1669
+ 0.25,
1670
+ 0.3125,
1671
+ 0.4375,
1672
+ 0.1875,
1673
+ 0.3125,
1674
+ 0.25,
1675
+ 0.3125,
1676
+ 0.375,
1677
+ 0.3125,
1678
+ 0.375,
1679
+ 0.0625,
1680
+ 0.3125,
1681
+ 0.3125,
1682
+ 0.375,
1683
+ 0.375,
1684
+ 0.3125,
1685
+ 0.375,
1686
+ 0.5,
1687
+ 0.1875,
1688
+ 0.375,
1689
+ 0.5,
1690
+ 0.5,
1691
+ 0.4375,
1692
+ 0.3125,
1693
+ 0.5,
1694
+ 0.4375,
1695
+ 0.5,
1696
+ 0.25,
1697
+ 0.4375,
1698
+ 0.4375,
1699
+ 0.3125,
1700
+ 0.5625,
1701
+ 0.1875,
1702
+ 0.375,
1703
+ 0.4375,
1704
+ 0.3125,
1705
+ 0.5625,
1706
+ 0.5,
1707
+ 0.3125,
1708
+ 0.625,
1709
+ 0.375,
1710
+ 0.3125,
1711
+ 0.4375,
1712
+ 0.125,
1713
+ 0.375,
1714
+ 0.4375,
1715
+ 0.5,
1716
+ 0.375,
1717
+ 1.0,
1718
+ 1.0,
1719
+ 1.0,
1720
+ 1.0,
1721
+ 1.0,
1722
+ 0.0036626288201659918,
1723
+ 1.0,
1724
+ 1.0,
1725
+ 1.0,
1726
+ 1.0,
1727
+ 1.0,
1728
+ 0.011179528199136257
1729
+ ],
1730
+ "mean": [
1731
+ 0.035801073355510186,
1732
+ 0.008993197658462439,
1733
+ -0.040684742910394874,
1734
+ -0.015219504066928647,
1735
+ 0.06590757953657823,
1736
+ 0.10679928794819907,
1737
+ 0.07591468195924325,
1738
+ 0.005018630664973747,
1739
+ 0.02696074365833577,
1740
+ -0.21216018451219476,
1741
+ -0.1270698435054301,
1742
+ -0.20399956118789905,
1743
+ -0.038899524092443086,
1744
+ 0.06899321273791607,
1745
+ 0.17266030967166,
1746
+ -0.0748498840390015,
1747
+ 0.0503489762558923,
1748
+ -0.06576507869966855,
1749
+ 0.0027595400163461276,
1750
+ -0.08168671982676724,
1751
+ -0.0738222192733513,
1752
+ -0.1700281910385823,
1753
+ -0.09772541521275602,
1754
+ -0.10753158391565157,
1755
+ 0.019795175781191096,
1756
+ -0.025940241633165148,
1757
+ -0.17703749807736965,
1758
+ -0.05779030964150107,
1759
+ 0.025859755049355053,
1760
+ -0.010009175847540693,
1761
+ 0.0017912505994082822,
1762
+ -0.15789281222762735,
1763
+ 0.03512852972311107,
1764
+ 0.12875553792934974,
1765
+ 0.02877913727429828,
1766
+ 0.08183280203391671,
1767
+ -0.08610895810023012,
1768
+ -0.05243861154422653,
1769
+ 0.12698634103089176,
1770
+ -0.07630052747928837,
1771
+ -0.06368411409717803,
1772
+ -0.07644208585034547,
1773
+ 0.10793175491665585,
1774
+ -0.11472240987764531,
1775
+ 0.0446866414136083,
1776
+ -0.04013735874321801,
1777
+ -0.021028863582214688,
1778
+ -0.039761126374869185,
1779
+ -0.2875461431281422,
1780
+ -0.07881219897640669,
1781
+ 0.023944852930088637,
1782
+ 0.07625246172080694,
1783
+ 0.028764434806998074,
1784
+ -0.06805847510532999,
1785
+ -0.0025467312268341894,
1786
+ 0.10802901739264183,
1787
+ -0.05356523522439735,
1788
+ 0.0780337221821779,
1789
+ 0.13257554052301576,
1790
+ -0.16686659508952673,
1791
+ -0.044055377785552075,
1792
+ 0.07334570853828824,
1793
+ 0.17842857767577366,
1794
+ -0.05643768264988223,
1795
+ 0.9999993913050222,
1796
+ 0.9999989068213664,
1797
+ 0.9999985447814413,
1798
+ 0.9999986399345618,
1799
+ 0.9997595920880835,
1800
+ 4.1432946030695356e-08,
1801
+ 0.848720485038278,
1802
+ 0.8478708518704877,
1803
+ 0.8541396666476672,
1804
+ 0.8627360528043341,
1805
+ 0.9322875091376083,
1806
+ 0.0013038922559370368
1807
+ ],
1808
+ "std": [
1809
+ 0.11173244677940765,
1810
+ 0.15194660980294933,
1811
+ 0.1351430711515662,
1812
+ 0.10484135405721283,
1813
+ 0.1929176685503166,
1814
+ 0.13755941559466697,
1815
+ 0.17051900489315974,
1816
+ 0.09179112225976728,
1817
+ 0.09192408768656414,
1818
+ 0.07671847366968917,
1819
+ 0.13186630647447378,
1820
+ 0.10839263606678452,
1821
+ 0.12993358124861237,
1822
+ 0.14329446957419215,
1823
+ 0.10953734185200527,
1824
+ 0.14750468461845972,
1825
+ 0.08484062397807172,
1826
+ 0.15093021798116624,
1827
+ 0.15118011919576488,
1828
+ 0.10079911766908481,
1829
+ 0.10664686862803845,
1830
+ 0.13285217338230945,
1831
+ 0.09754221857903407,
1832
+ 0.10789405672773242,
1833
+ 0.08581448960575783,
1834
+ 0.12451903338694055,
1835
+ 0.06710254750165537,
1836
+ 0.12620998029099512,
1837
+ 0.1070435007690436,
1838
+ 0.13340008187123648,
1839
+ 0.13824680236385728,
1840
+ 0.13209141989319176,
1841
+ 0.09043010314064626,
1842
+ 0.10448598825889968,
1843
+ 0.05152826575928413,
1844
+ 0.101548845386541,
1845
+ 0.12231309853193433,
1846
+ 0.15164600068096626,
1847
+ 0.09056976406094214,
1848
+ 0.10507904679337436,
1849
+ 0.12492820977689113,
1850
+ 0.14563987562071293,
1851
+ 0.1485299613415581,
1852
+ 0.07991123184450995,
1853
+ 0.11136094888438179,
1854
+ 0.14478875216432144,
1855
+ 0.11837466954458266,
1856
+ 0.15013454795740372,
1857
+ 0.11021753863508399,
1858
+ 0.13943847366018014,
1859
+ 0.11837348053983793,
1860
+ 0.08625441769459002,
1861
+ 0.20280470849201804,
1862
+ 0.14262414065572115,
1863
+ 0.06812308254176133,
1864
+ 0.16804197774588864,
1865
+ 0.15184038871544758,
1866
+ 0.06009853362212434,
1867
+ 0.13033233324270047,
1868
+ 0.08743776901836958,
1869
+ 0.11568911736106861,
1870
+ 0.10386805895710192,
1871
+ 0.10887203688609184,
1872
+ 0.14395784989811514,
1873
+ 3.0745450764358815e-06,
1874
+ 1.0280418129053001e-05,
1875
+ 1.3003933935428358e-05,
1876
+ 1.0326645711325357e-05,
1877
+ 0.0002625973205270167,
1878
+ 1.1079706153857785e-05,
1879
+ 0.1666589578526184,
1880
+ 0.16783685131463846,
1881
+ 0.16091359576221068,
1882
+ 0.15173440996739748,
1883
+ 0.07479574625351736,
1884
+ 0.0016642108162531056
1885
+ ],
1886
+ "q01": [
1887
+ -0.3125,
1888
+ -0.3125,
1889
+ -0.3125,
1890
+ -0.25,
1891
+ -0.375,
1892
+ -0.1875,
1893
+ -0.25,
1894
+ -0.1875,
1895
+ -0.25,
1896
+ -0.4375,
1897
+ -0.375,
1898
+ -0.4375,
1899
+ -0.25,
1900
+ -0.1875,
1901
+ -0.125,
1902
+ -0.4375,
1903
+ -0.1875,
1904
+ -0.375,
1905
+ -0.3125,
1906
+ -0.3125,
1907
+ -0.25,
1908
+ -0.5,
1909
+ -0.25,
1910
+ -0.375,
1911
+ -0.1875,
1912
+ -0.25,
1913
+ -0.3125,
1914
+ -0.375,
1915
+ -0.25,
1916
+ -0.25,
1917
+ -0.3125,
1918
+ -0.4375,
1919
+ -0.25,
1920
+ -0.125,
1921
+ -0.125,
1922
+ -0.1875,
1923
+ -0.3125,
1924
+ -0.4375,
1925
+ -0.0625,
1926
+ -0.3125,
1927
+ -0.25,
1928
+ -0.375,
1929
+ -0.1875,
1930
+ -0.25,
1931
+ -0.25,
1932
+ -0.25,
1933
+ -0.25,
1934
+ -0.375,
1935
+ -0.5,
1936
+ -0.4375,
1937
+ -0.375,
1938
+ -0.1875,
1939
+ -0.5,
1940
+ -0.375,
1941
+ -0.125,
1942
+ -0.3125,
1943
+ -0.3125,
1944
+ -0.0625,
1945
+ -0.125,
1946
+ -0.375,
1947
+ -0.25,
1948
+ -0.1875,
1949
+ -0.0625,
1950
+ -0.4375,
1951
+ 0.9999856948852539,
1952
+ 0.9999788999557495,
1953
+ 0.9999739527702332,
1954
+ 0.9999754428863525,
1955
+ 0.9992824649810791,
1956
+ 0.0,
1957
+ 0.6091572046279907,
1958
+ 0.6036605787277222,
1959
+ 0.624807596206665,
1960
+ 0.6392338871955872,
1961
+ 0.8250055313110352,
1962
+ 0.0
1963
+ ],
1964
+ "q99": [
1965
+ 0.25,
1966
+ 0.3125,
1967
+ 0.3125,
1968
+ 0.25,
1969
+ 0.5625,
1970
+ 0.375,
1971
+ 0.4375,
1972
+ 0.1875,
1973
+ 0.1875,
1974
+ -0.0625,
1975
+ 0.1875,
1976
+ 0.0625,
1977
+ 0.3125,
1978
+ 0.375,
1979
+ 0.4375,
1980
+ 0.25,
1981
+ 0.1875,
1982
+ 0.1875,
1983
+ 0.375,
1984
+ 0.1875,
1985
+ 0.1875,
1986
+ 0.0625,
1987
+ 0.1875,
1988
+ 0.1875,
1989
+ 0.1875,
1990
+ 0.25,
1991
+ -0.0625,
1992
+ 0.1875,
1993
+ 0.1875,
1994
+ 0.25,
1995
+ 0.3125,
1996
+ 0.1875,
1997
+ 0.25,
1998
+ 0.375,
1999
+ 0.125,
2000
+ 0.3125,
2001
+ 0.3125,
2002
+ 0.25,
2003
+ 0.375,
2004
+ 0.1875,
2005
+ 0.3125,
2006
+ 0.25,
2007
+ 0.4375,
2008
+ 0.0625,
2009
+ 0.3125,
2010
+ 0.375,
2011
+ 0.25,
2012
+ 0.3125,
2013
+ 0.0,
2014
+ 0.1875,
2015
+ 0.25,
2016
+ 0.25,
2017
+ 0.4375,
2018
+ 0.25,
2019
+ 0.1875,
2020
+ 0.5,
2021
+ 0.3125,
2022
+ 0.25,
2023
+ 0.375,
2024
+ 0.0,
2025
+ 0.25,
2026
+ 0.25,
2027
+ 0.375,
2028
+ 0.25,
2029
+ 1.0,
2030
+ 1.0,
2031
+ 1.0,
2032
+ 1.0,
2033
+ 1.0,
2034
+ 0.0,
2035
+ 1.0,
2036
+ 1.0,
2037
+ 1.0,
2038
+ 1.0,
2039
+ 1.0,
2040
+ 0.0058600762858986855
2041
+ ],
2042
+ "unit_dims": [
2043
+ 64,
2044
+ 65,
2045
+ 66,
2046
+ 67,
2047
+ 68,
2048
+ 69,
2049
+ 70,
2050
+ 71,
2051
+ 72,
2052
+ 73,
2053
+ 74,
2054
+ 75
2055
+ ]
2056
+ }
2057
+ },
2058
+ "code_commit": "b4b94d29585ab52e5ec927a0af647a635780155f",
2059
+ "step": 5000,
2060
+ "weights": "ema",
2061
+ "offline_eval": {
2062
+ "mse": 0.0071502672508358955,
2063
+ "mse_row0": 0.004100673366338015,
2064
+ "mse_motion_token": 0.008318188600242138,
2065
+ "mse_inspire_left_hand_state": 0.00011660745803965256,
2066
+ "mse_inspire_right_hand_state": 0.001726100454106927,
2067
+ "samples": 256,
2068
+ "frames": "train"
2069
+ },
2070
+ "format": "hb_baselines/1"
2071
+ }
b6-pedal-bin/b512-v6/step-005000/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:115137f1a6a4017bef81ff46a0c95d9dcf1ca37fb667a7f88daf1cb6703bdbc1
3
+ size 106002157
b6-pedal-bin/b512-v6/step-005000/protocol.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 5000,
4
+ "policy": "ode_mlp",
5
+ "files": {
6
+ "config.json": {
7
+ "bytes": 27115,
8
+ "sha256": "7b143db1f712742c3ebd6ae12b1736deb6aeeaa89b6a4ced8ea828b90089b315"
9
+ },
10
+ "model.pt": {
11
+ "bytes": 106002157,
12
+ "sha256": "115137f1a6a4017bef81ff46a0c95d9dcf1ca37fb667a7f88daf1cb6703bdbc1"
13
+ }
14
+ },
15
+ "task_dir": "b6-pedal-bin",
16
+ "training_data": "humanoid-benchmark/b6-pedal-bin @ad2f5bf0 (v6, repository root), all 542 episodes (331,577 frames)",
17
+ "episodes": 542,
18
+ "frames": 331577,
19
+ "steps": 8000,
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "save_steps": [
25
+ 5000,
26
+ 6000,
27
+ 8000
28
+ ],
29
+ "lr": 0.0001,
30
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
31
+ "ema": 0.9999,
32
+ "ema_schedule": "diffusion_policy_emamodel",
33
+ "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",
34
+ "state_dim": 44,
35
+ "action_dim": 76,
36
+ "cameras": [
37
+ "ego_view",
38
+ "chest"
39
+ ],
40
+ "contract": "g1_sonic_dfx6",
41
+ "image_hw": [
42
+ 168,
43
+ 224
44
+ ],
45
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
46
+ "inloop_mse": {
47
+ "task": "b6v6",
48
+ "split": "train10",
49
+ "every": 250,
50
+ "seed": 1234,
51
+ "weights": "ema",
52
+ "nmse_at_this_step": 0.1232,
53
+ "curve": {
54
+ "250": 1.4566,
55
+ "500": 0.6045,
56
+ "750": 0.2714,
57
+ "1000": 0.2224,
58
+ "1250": 0.1965,
59
+ "1500": 0.1806,
60
+ "1750": 0.1699,
61
+ "2000": 0.1596,
62
+ "2250": 0.1523,
63
+ "2500": 0.1447,
64
+ "2750": 0.1388,
65
+ "3000": 0.1342,
66
+ "3250": 0.1313,
67
+ "3500": 0.1286,
68
+ "3750": 0.1276,
69
+ "4000": 0.1255,
70
+ "4250": 0.1243,
71
+ "4500": 0.1234,
72
+ "4750": 0.1229,
73
+ "5000": 0.1232,
74
+ "5250": 0.1228,
75
+ "5500": 0.1235,
76
+ "5750": 0.1245,
77
+ "6000": 0.1256,
78
+ "6250": 0.1266,
79
+ "6500": 0.1279,
80
+ "6750": 0.1294,
81
+ "7000": 0.1309,
82
+ "7250": 0.1323,
83
+ "7500": 0.1336,
84
+ "7750": 0.1348,
85
+ "8000": 0.1357
86
+ }
87
+ },
88
+ "offline_mse_train_frames": {
89
+ "mse": 0.00715,
90
+ "mse_row0": 0.004101,
91
+ "mse_motion_token": 0.008318,
92
+ "mse_inspire_left_hand_state": 0.000117,
93
+ "mse_inspire_right_hand_state": 0.001726
94
+ },
95
+ "seed": 42,
96
+ "reproducibility": {
97
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
98
+ "protocol_commit": "c3843b5b7d49",
99
+ "training_seed": 42,
100
+ "training_seed_source": "config.json training.seed of this folder (hb_baselines code, policy ode_mlp; 42 = upstream NTUMARS/ODE-POLICY default_train.yaml training_params.seed)",
101
+ "training_seed_verified_from_run_files": true,
102
+ "augmentation_random_stream": "seeded: per DataLoader worker numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id]) (protocol.yaml models.ode_mlp aug_rng)",
103
+ "layout": {
104
+ "nodes": 1,
105
+ "gpus_per_node": 1,
106
+ "per_gpu_batch": 512,
107
+ "global_batch": 512,
108
+ "gradient_accumulation": 1,
109
+ "num_workers": 32,
110
+ "prefetch": 2
111
+ },
112
+ "environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.3, torch 2.9.0+cu128); training_records/pip_freeze_hb-baselines.txt",
113
+ "hardware": "1 x NVIDIA GeForce RTX 5090 32 GB, driver 580.173.02 (protocol.yaml models.ode_mlp)",
114
+ "upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ b4b94d29585ab52e5ec927a0af647a635780155f (evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6)",
115
+ "adapter_code": "config.json in this folder records the model, data contract, dataset episodes, training and augmentation settings",
116
+ "determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels (bf16, NCCL reductions) are not bitwise deterministic",
117
+ "exceptions": "see the exception registry, REPRODUCIBILITY.md section 7; ODE recipe: section 4.7",
118
+ "inloop_mse_seed": 1234,
119
+ "upstream_method": "github.com/NTUMARS/ODE-POLICY @ real-g1 fd8bec47 (G1 port) + main cea26d94 (encoder, ode_dit field, default_train.yaml) (Apache-2.0)"
120
+ },
121
+ "inference": {
122
+ "integration": "Euler, one step per action row (dt = 1 row), 16 rows; start row = the last executed action (episode start: BOS = normalized zero)",
123
+ "deploy": "evaluation/policy/ODEMLP"
124
+ },
125
+ "resume_state_included": false
126
+ }
b6-pedal-bin/b512-v6/step-006000/SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 83465be2b1a44e5706a1d039248ba7e7c5f5ce2ecb94bfb00da73fa11920151d config.json
2
+ f4851993732b7417adf71c04dc498a55ded5ea95fc82cfd4b1b154eade95fa61 model.pt
3
+ d9b2db90cda758a0b3be88ada737e533d67c5a9ca4a3b1df5d310636462bdf7a protocol.json
b6-pedal-bin/b512-v6/step-006000/config.json ADDED
@@ -0,0 +1,2071 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "ode_mlp",
4
+ "n_cameras": 2,
5
+ "state_dim": 44,
6
+ "action_dim": 76,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 384,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.1,
16
+ "time_embed_dim": 128,
17
+ "num_inference_steps": null,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "ode_body_dim": 64,
30
+ "ode_width": 512,
31
+ "ode_layers": 4,
32
+ "ode_cond_dim": 512,
33
+ "ode_field_scale": 1.0,
34
+ "ode_dit_hidden": 512,
35
+ "ode_dit_layers": 4,
36
+ "ode_dit_heads": 8,
37
+ "ode_dit_tokens": 4,
38
+ "extra": {}
39
+ },
40
+ "contract": {
41
+ "name": "g1_sonic_dfx6",
42
+ "robot": "g1",
43
+ "cameras": [
44
+ "ego_view",
45
+ "chest"
46
+ ],
47
+ "state": [
48
+ [
49
+ "observation.state",
50
+ 0,
51
+ 29
52
+ ],
53
+ [
54
+ "observation.inspire_left_hand_state",
55
+ 0,
56
+ 6
57
+ ],
58
+ [
59
+ "observation.inspire_right_hand_state",
60
+ 0,
61
+ 6
62
+ ],
63
+ [
64
+ "observation.projected_gravity",
65
+ 0,
66
+ 3
67
+ ]
68
+ ],
69
+ "action": [
70
+ [
71
+ "action.motion_token",
72
+ 0,
73
+ 64
74
+ ],
75
+ [
76
+ "observation.inspire_left_hand_state",
77
+ 0,
78
+ 6
79
+ ],
80
+ [
81
+ "observation.inspire_right_hand_state",
82
+ 0,
83
+ 6
84
+ ]
85
+ ],
86
+ "state_dim": 44,
87
+ "action_dim": 76,
88
+ "action_space": "sonic_dfx6",
89
+ "body_dims": 29
90
+ },
91
+ "image_hw": [
92
+ 168,
93
+ 224
94
+ ],
95
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
96
+ "dataset": {
97
+ "name": "b6_v6_ad2f5bf0",
98
+ "root": "/mnt/hdd/jason/humanoid_benchmark_models/b6_v6_ad2f5bf0",
99
+ "robot_type": null,
100
+ "fps": 30.0,
101
+ "episodes": [
102
+ 0,
103
+ 1,
104
+ 2,
105
+ 3,
106
+ 4,
107
+ 5,
108
+ 6,
109
+ 7,
110
+ 8,
111
+ 9,
112
+ 10,
113
+ 11,
114
+ 12,
115
+ 13,
116
+ 14,
117
+ 15,
118
+ 16,
119
+ 17,
120
+ 18,
121
+ 19,
122
+ 20,
123
+ 21,
124
+ 22,
125
+ 23,
126
+ 24,
127
+ 25,
128
+ 26,
129
+ 27,
130
+ 28,
131
+ 29,
132
+ 30,
133
+ 31,
134
+ 32,
135
+ 33,
136
+ 34,
137
+ 35,
138
+ 36,
139
+ 37,
140
+ 38,
141
+ 39,
142
+ 40,
143
+ 41,
144
+ 42,
145
+ 43,
146
+ 44,
147
+ 45,
148
+ 46,
149
+ 47,
150
+ 48,
151
+ 49,
152
+ 50,
153
+ 51,
154
+ 52,
155
+ 53,
156
+ 54,
157
+ 55,
158
+ 56,
159
+ 57,
160
+ 58,
161
+ 59,
162
+ 60,
163
+ 61,
164
+ 62,
165
+ 63,
166
+ 64,
167
+ 65,
168
+ 66,
169
+ 67,
170
+ 68,
171
+ 69,
172
+ 70,
173
+ 71,
174
+ 72,
175
+ 73,
176
+ 74,
177
+ 75,
178
+ 76,
179
+ 77,
180
+ 78,
181
+ 79,
182
+ 80,
183
+ 81,
184
+ 82,
185
+ 83,
186
+ 84,
187
+ 85,
188
+ 86,
189
+ 87,
190
+ 88,
191
+ 89,
192
+ 90,
193
+ 91,
194
+ 92,
195
+ 93,
196
+ 94,
197
+ 95,
198
+ 96,
199
+ 97,
200
+ 98,
201
+ 99,
202
+ 100,
203
+ 101,
204
+ 102,
205
+ 103,
206
+ 104,
207
+ 105,
208
+ 106,
209
+ 107,
210
+ 108,
211
+ 109,
212
+ 110,
213
+ 111,
214
+ 112,
215
+ 113,
216
+ 114,
217
+ 115,
218
+ 116,
219
+ 117,
220
+ 118,
221
+ 119,
222
+ 120,
223
+ 121,
224
+ 122,
225
+ 123,
226
+ 124,
227
+ 125,
228
+ 126,
229
+ 127,
230
+ 128,
231
+ 129,
232
+ 130,
233
+ 131,
234
+ 132,
235
+ 133,
236
+ 134,
237
+ 135,
238
+ 136,
239
+ 137,
240
+ 138,
241
+ 139,
242
+ 140,
243
+ 141,
244
+ 142,
245
+ 143,
246
+ 144,
247
+ 145,
248
+ 146,
249
+ 147,
250
+ 148,
251
+ 149,
252
+ 150,
253
+ 151,
254
+ 152,
255
+ 153,
256
+ 154,
257
+ 155,
258
+ 156,
259
+ 157,
260
+ 158,
261
+ 159,
262
+ 160,
263
+ 161,
264
+ 162,
265
+ 163,
266
+ 164,
267
+ 165,
268
+ 166,
269
+ 167,
270
+ 168,
271
+ 169,
272
+ 170,
273
+ 171,
274
+ 172,
275
+ 173,
276
+ 174,
277
+ 175,
278
+ 176,
279
+ 177,
280
+ 178,
281
+ 179,
282
+ 180,
283
+ 181,
284
+ 182,
285
+ 183,
286
+ 184,
287
+ 185,
288
+ 186,
289
+ 187,
290
+ 188,
291
+ 189,
292
+ 190,
293
+ 191,
294
+ 192,
295
+ 193,
296
+ 194,
297
+ 195,
298
+ 196,
299
+ 197,
300
+ 198,
301
+ 199,
302
+ 200,
303
+ 201,
304
+ 202,
305
+ 203,
306
+ 204,
307
+ 205,
308
+ 206,
309
+ 207,
310
+ 208,
311
+ 209,
312
+ 210,
313
+ 211,
314
+ 212,
315
+ 213,
316
+ 214,
317
+ 215,
318
+ 216,
319
+ 217,
320
+ 218,
321
+ 219,
322
+ 220,
323
+ 221,
324
+ 222,
325
+ 223,
326
+ 224,
327
+ 225,
328
+ 226,
329
+ 227,
330
+ 228,
331
+ 229,
332
+ 230,
333
+ 231,
334
+ 232,
335
+ 233,
336
+ 234,
337
+ 235,
338
+ 236,
339
+ 237,
340
+ 238,
341
+ 239,
342
+ 240,
343
+ 241,
344
+ 242,
345
+ 243,
346
+ 244,
347
+ 245,
348
+ 246,
349
+ 247,
350
+ 248,
351
+ 249,
352
+ 250,
353
+ 251,
354
+ 252,
355
+ 253,
356
+ 254,
357
+ 255,
358
+ 256,
359
+ 257,
360
+ 258,
361
+ 259,
362
+ 260,
363
+ 261,
364
+ 262,
365
+ 263,
366
+ 264,
367
+ 265,
368
+ 266,
369
+ 267,
370
+ 268,
371
+ 269,
372
+ 270,
373
+ 271,
374
+ 272,
375
+ 273,
376
+ 274,
377
+ 275,
378
+ 276,
379
+ 277,
380
+ 278,
381
+ 279,
382
+ 280,
383
+ 281,
384
+ 282,
385
+ 283,
386
+ 284,
387
+ 285,
388
+ 286,
389
+ 287,
390
+ 288,
391
+ 289,
392
+ 290,
393
+ 291,
394
+ 292,
395
+ 293,
396
+ 294,
397
+ 295,
398
+ 296,
399
+ 297,
400
+ 298,
401
+ 299,
402
+ 300,
403
+ 301,
404
+ 302,
405
+ 303,
406
+ 304,
407
+ 305,
408
+ 306,
409
+ 307,
410
+ 308,
411
+ 309,
412
+ 310,
413
+ 311,
414
+ 312,
415
+ 313,
416
+ 314,
417
+ 315,
418
+ 316,
419
+ 317,
420
+ 318,
421
+ 319,
422
+ 320,
423
+ 321,
424
+ 322,
425
+ 323,
426
+ 324,
427
+ 325,
428
+ 326,
429
+ 327,
430
+ 328,
431
+ 329,
432
+ 330,
433
+ 331,
434
+ 332,
435
+ 333,
436
+ 334,
437
+ 335,
438
+ 336,
439
+ 337,
440
+ 338,
441
+ 339,
442
+ 340,
443
+ 341,
444
+ 342,
445
+ 343,
446
+ 344,
447
+ 345,
448
+ 346,
449
+ 347,
450
+ 348,
451
+ 349,
452
+ 350,
453
+ 351,
454
+ 352,
455
+ 353,
456
+ 354,
457
+ 355,
458
+ 356,
459
+ 357,
460
+ 358,
461
+ 359,
462
+ 360,
463
+ 361,
464
+ 362,
465
+ 363,
466
+ 364,
467
+ 365,
468
+ 366,
469
+ 367,
470
+ 368,
471
+ 369,
472
+ 370,
473
+ 371,
474
+ 372,
475
+ 373,
476
+ 374,
477
+ 375,
478
+ 376,
479
+ 377,
480
+ 378,
481
+ 379,
482
+ 380,
483
+ 381,
484
+ 382,
485
+ 383,
486
+ 384,
487
+ 385,
488
+ 386,
489
+ 387,
490
+ 388,
491
+ 389,
492
+ 390,
493
+ 391,
494
+ 392,
495
+ 393,
496
+ 394,
497
+ 395,
498
+ 396,
499
+ 397,
500
+ 398,
501
+ 399,
502
+ 400,
503
+ 401,
504
+ 402,
505
+ 403,
506
+ 404,
507
+ 405,
508
+ 406,
509
+ 407,
510
+ 408,
511
+ 409,
512
+ 410,
513
+ 411,
514
+ 412,
515
+ 413,
516
+ 414,
517
+ 415,
518
+ 416,
519
+ 417,
520
+ 418,
521
+ 419,
522
+ 420,
523
+ 421,
524
+ 422,
525
+ 423,
526
+ 424,
527
+ 425,
528
+ 426,
529
+ 427,
530
+ 428,
531
+ 429,
532
+ 430,
533
+ 431,
534
+ 432,
535
+ 433,
536
+ 434,
537
+ 435,
538
+ 436,
539
+ 437,
540
+ 438,
541
+ 439,
542
+ 440,
543
+ 441,
544
+ 442,
545
+ 443,
546
+ 444,
547
+ 445,
548
+ 446,
549
+ 447,
550
+ 448,
551
+ 449,
552
+ 450,
553
+ 451,
554
+ 452,
555
+ 453,
556
+ 454,
557
+ 455,
558
+ 456,
559
+ 457,
560
+ 458,
561
+ 459,
562
+ 460,
563
+ 461,
564
+ 462,
565
+ 463,
566
+ 464,
567
+ 465,
568
+ 466,
569
+ 467,
570
+ 468,
571
+ 469,
572
+ 470,
573
+ 471,
574
+ 472,
575
+ 473,
576
+ 474,
577
+ 475,
578
+ 476,
579
+ 477,
580
+ 478,
581
+ 479,
582
+ 480,
583
+ 481,
584
+ 482,
585
+ 483,
586
+ 484,
587
+ 485,
588
+ 486,
589
+ 487,
590
+ 488,
591
+ 489,
592
+ 490,
593
+ 491,
594
+ 492,
595
+ 493,
596
+ 494,
597
+ 495,
598
+ 496,
599
+ 497,
600
+ 498,
601
+ 499,
602
+ 500,
603
+ 501,
604
+ 502,
605
+ 503,
606
+ 504,
607
+ 505,
608
+ 506,
609
+ 507,
610
+ 508,
611
+ 509,
612
+ 510,
613
+ 511,
614
+ 512,
615
+ 513,
616
+ 514,
617
+ 515,
618
+ 516,
619
+ 517,
620
+ 518,
621
+ 519,
622
+ 520,
623
+ 521,
624
+ 522,
625
+ 523,
626
+ 524,
627
+ 525,
628
+ 526,
629
+ 527,
630
+ 528,
631
+ 529,
632
+ 530,
633
+ 531,
634
+ 532,
635
+ 533,
636
+ 534,
637
+ 535,
638
+ 536,
639
+ 537,
640
+ 538,
641
+ 539,
642
+ 540,
643
+ 541
644
+ ],
645
+ "train_episodes": [
646
+ 0,
647
+ 1,
648
+ 2,
649
+ 3,
650
+ 4,
651
+ 5,
652
+ 6,
653
+ 7,
654
+ 8,
655
+ 9,
656
+ 10,
657
+ 11,
658
+ 12,
659
+ 13,
660
+ 14,
661
+ 15,
662
+ 16,
663
+ 17,
664
+ 18,
665
+ 19,
666
+ 20,
667
+ 21,
668
+ 22,
669
+ 23,
670
+ 24,
671
+ 25,
672
+ 26,
673
+ 27,
674
+ 28,
675
+ 29,
676
+ 30,
677
+ 31,
678
+ 32,
679
+ 33,
680
+ 34,
681
+ 35,
682
+ 36,
683
+ 37,
684
+ 38,
685
+ 39,
686
+ 40,
687
+ 41,
688
+ 42,
689
+ 43,
690
+ 44,
691
+ 45,
692
+ 46,
693
+ 47,
694
+ 48,
695
+ 49,
696
+ 50,
697
+ 51,
698
+ 52,
699
+ 53,
700
+ 54,
701
+ 55,
702
+ 56,
703
+ 57,
704
+ 58,
705
+ 59,
706
+ 60,
707
+ 61,
708
+ 62,
709
+ 63,
710
+ 64,
711
+ 65,
712
+ 66,
713
+ 67,
714
+ 68,
715
+ 69,
716
+ 70,
717
+ 71,
718
+ 72,
719
+ 73,
720
+ 74,
721
+ 75,
722
+ 76,
723
+ 77,
724
+ 78,
725
+ 79,
726
+ 80,
727
+ 81,
728
+ 82,
729
+ 83,
730
+ 84,
731
+ 85,
732
+ 86,
733
+ 87,
734
+ 88,
735
+ 89,
736
+ 90,
737
+ 91,
738
+ 92,
739
+ 93,
740
+ 94,
741
+ 95,
742
+ 96,
743
+ 97,
744
+ 98,
745
+ 99,
746
+ 100,
747
+ 101,
748
+ 102,
749
+ 103,
750
+ 104,
751
+ 105,
752
+ 106,
753
+ 107,
754
+ 108,
755
+ 109,
756
+ 110,
757
+ 111,
758
+ 112,
759
+ 113,
760
+ 114,
761
+ 115,
762
+ 116,
763
+ 117,
764
+ 118,
765
+ 119,
766
+ 120,
767
+ 121,
768
+ 122,
769
+ 123,
770
+ 124,
771
+ 125,
772
+ 126,
773
+ 127,
774
+ 128,
775
+ 129,
776
+ 130,
777
+ 131,
778
+ 132,
779
+ 133,
780
+ 134,
781
+ 135,
782
+ 136,
783
+ 137,
784
+ 138,
785
+ 139,
786
+ 140,
787
+ 141,
788
+ 142,
789
+ 143,
790
+ 144,
791
+ 145,
792
+ 146,
793
+ 147,
794
+ 148,
795
+ 149,
796
+ 150,
797
+ 151,
798
+ 152,
799
+ 153,
800
+ 154,
801
+ 155,
802
+ 156,
803
+ 157,
804
+ 158,
805
+ 159,
806
+ 160,
807
+ 161,
808
+ 162,
809
+ 163,
810
+ 164,
811
+ 165,
812
+ 166,
813
+ 167,
814
+ 168,
815
+ 169,
816
+ 170,
817
+ 171,
818
+ 172,
819
+ 173,
820
+ 174,
821
+ 175,
822
+ 176,
823
+ 177,
824
+ 178,
825
+ 179,
826
+ 180,
827
+ 181,
828
+ 182,
829
+ 183,
830
+ 184,
831
+ 185,
832
+ 186,
833
+ 187,
834
+ 188,
835
+ 189,
836
+ 190,
837
+ 191,
838
+ 192,
839
+ 193,
840
+ 194,
841
+ 195,
842
+ 196,
843
+ 197,
844
+ 198,
845
+ 199,
846
+ 200,
847
+ 201,
848
+ 202,
849
+ 203,
850
+ 204,
851
+ 205,
852
+ 206,
853
+ 207,
854
+ 208,
855
+ 209,
856
+ 210,
857
+ 211,
858
+ 212,
859
+ 213,
860
+ 214,
861
+ 215,
862
+ 216,
863
+ 217,
864
+ 218,
865
+ 219,
866
+ 220,
867
+ 221,
868
+ 222,
869
+ 223,
870
+ 224,
871
+ 225,
872
+ 226,
873
+ 227,
874
+ 228,
875
+ 229,
876
+ 230,
877
+ 231,
878
+ 232,
879
+ 233,
880
+ 234,
881
+ 235,
882
+ 236,
883
+ 237,
884
+ 238,
885
+ 239,
886
+ 240,
887
+ 241,
888
+ 242,
889
+ 243,
890
+ 244,
891
+ 245,
892
+ 246,
893
+ 247,
894
+ 248,
895
+ 249,
896
+ 250,
897
+ 251,
898
+ 252,
899
+ 253,
900
+ 254,
901
+ 255,
902
+ 256,
903
+ 257,
904
+ 258,
905
+ 259,
906
+ 260,
907
+ 261,
908
+ 262,
909
+ 263,
910
+ 264,
911
+ 265,
912
+ 266,
913
+ 267,
914
+ 268,
915
+ 269,
916
+ 270,
917
+ 271,
918
+ 272,
919
+ 273,
920
+ 274,
921
+ 275,
922
+ 276,
923
+ 277,
924
+ 278,
925
+ 279,
926
+ 280,
927
+ 281,
928
+ 282,
929
+ 283,
930
+ 284,
931
+ 285,
932
+ 286,
933
+ 287,
934
+ 288,
935
+ 289,
936
+ 290,
937
+ 291,
938
+ 292,
939
+ 293,
940
+ 294,
941
+ 295,
942
+ 296,
943
+ 297,
944
+ 298,
945
+ 299,
946
+ 300,
947
+ 301,
948
+ 302,
949
+ 303,
950
+ 304,
951
+ 305,
952
+ 306,
953
+ 307,
954
+ 308,
955
+ 309,
956
+ 310,
957
+ 311,
958
+ 312,
959
+ 313,
960
+ 314,
961
+ 315,
962
+ 316,
963
+ 317,
964
+ 318,
965
+ 319,
966
+ 320,
967
+ 321,
968
+ 322,
969
+ 323,
970
+ 324,
971
+ 325,
972
+ 326,
973
+ 327,
974
+ 328,
975
+ 329,
976
+ 330,
977
+ 331,
978
+ 332,
979
+ 333,
980
+ 334,
981
+ 335,
982
+ 336,
983
+ 337,
984
+ 338,
985
+ 339,
986
+ 340,
987
+ 341,
988
+ 342,
989
+ 343,
990
+ 344,
991
+ 345,
992
+ 346,
993
+ 347,
994
+ 348,
995
+ 349,
996
+ 350,
997
+ 351,
998
+ 352,
999
+ 353,
1000
+ 354,
1001
+ 355,
1002
+ 356,
1003
+ 357,
1004
+ 358,
1005
+ 359,
1006
+ 360,
1007
+ 361,
1008
+ 362,
1009
+ 363,
1010
+ 364,
1011
+ 365,
1012
+ 366,
1013
+ 367,
1014
+ 368,
1015
+ 369,
1016
+ 370,
1017
+ 371,
1018
+ 372,
1019
+ 373,
1020
+ 374,
1021
+ 375,
1022
+ 376,
1023
+ 377,
1024
+ 378,
1025
+ 379,
1026
+ 380,
1027
+ 381,
1028
+ 382,
1029
+ 383,
1030
+ 384,
1031
+ 385,
1032
+ 386,
1033
+ 387,
1034
+ 388,
1035
+ 389,
1036
+ 390,
1037
+ 391,
1038
+ 392,
1039
+ 393,
1040
+ 394,
1041
+ 395,
1042
+ 396,
1043
+ 397,
1044
+ 398,
1045
+ 399,
1046
+ 400,
1047
+ 401,
1048
+ 402,
1049
+ 403,
1050
+ 404,
1051
+ 405,
1052
+ 406,
1053
+ 407,
1054
+ 408,
1055
+ 409,
1056
+ 410,
1057
+ 411,
1058
+ 412,
1059
+ 413,
1060
+ 414,
1061
+ 415,
1062
+ 416,
1063
+ 417,
1064
+ 418,
1065
+ 419,
1066
+ 420,
1067
+ 421,
1068
+ 422,
1069
+ 423,
1070
+ 424,
1071
+ 425,
1072
+ 426,
1073
+ 427,
1074
+ 428,
1075
+ 429,
1076
+ 430,
1077
+ 431,
1078
+ 432,
1079
+ 433,
1080
+ 434,
1081
+ 435,
1082
+ 436,
1083
+ 437,
1084
+ 438,
1085
+ 439,
1086
+ 440,
1087
+ 441,
1088
+ 442,
1089
+ 443,
1090
+ 444,
1091
+ 445,
1092
+ 446,
1093
+ 447,
1094
+ 448,
1095
+ 449,
1096
+ 450,
1097
+ 451,
1098
+ 452,
1099
+ 453,
1100
+ 454,
1101
+ 455,
1102
+ 456,
1103
+ 457,
1104
+ 458,
1105
+ 459,
1106
+ 460,
1107
+ 461,
1108
+ 462,
1109
+ 463,
1110
+ 464,
1111
+ 465,
1112
+ 466,
1113
+ 467,
1114
+ 468,
1115
+ 469,
1116
+ 470,
1117
+ 471,
1118
+ 472,
1119
+ 473,
1120
+ 474,
1121
+ 475,
1122
+ 476,
1123
+ 477,
1124
+ 478,
1125
+ 479,
1126
+ 480,
1127
+ 481,
1128
+ 482,
1129
+ 483,
1130
+ 484,
1131
+ 485,
1132
+ 486,
1133
+ 487,
1134
+ 488,
1135
+ 489,
1136
+ 490,
1137
+ 491,
1138
+ 492,
1139
+ 493,
1140
+ 494,
1141
+ 495,
1142
+ 496,
1143
+ 497,
1144
+ 498,
1145
+ 499,
1146
+ 500,
1147
+ 501,
1148
+ 502,
1149
+ 503,
1150
+ 504,
1151
+ 505,
1152
+ 506,
1153
+ 507,
1154
+ 508,
1155
+ 509,
1156
+ 510,
1157
+ 511,
1158
+ 512,
1159
+ 513,
1160
+ 514,
1161
+ 515,
1162
+ 516,
1163
+ 517,
1164
+ 518,
1165
+ 519,
1166
+ 520,
1167
+ 521,
1168
+ 522,
1169
+ 523,
1170
+ 524,
1171
+ 525,
1172
+ 526,
1173
+ 527,
1174
+ 528,
1175
+ 529,
1176
+ 530,
1177
+ 531,
1178
+ 532,
1179
+ 533,
1180
+ 534,
1181
+ 535,
1182
+ 536,
1183
+ 537,
1184
+ 538,
1185
+ 539,
1186
+ 540,
1187
+ 541
1188
+ ],
1189
+ "val_episodes": [],
1190
+ "train_frames": 331577,
1191
+ "git_commit": "9bfeb4aec689c080b964f0dec10feec47d5b1741"
1192
+ },
1193
+ "training": {
1194
+ "steps": 8000,
1195
+ "batch_size": 512,
1196
+ "lr": 0.0001,
1197
+ "betas": [
1198
+ 0.95,
1199
+ 0.999
1200
+ ],
1201
+ "weight_decay": 1e-06,
1202
+ "warmup": 500,
1203
+ "schedule": "diffusers_cosine",
1204
+ "backbone_lr_scale": 1.0,
1205
+ "ema": 0.9999,
1206
+ "shift_px": 0,
1207
+ "amp": true,
1208
+ "seed": 42,
1209
+ "augmentation": {
1210
+ "spec": "docs/augmentation_v2.md",
1211
+ "version": "hb-aug-v2-20261109",
1212
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
1213
+ "visual": {
1214
+ "effects": [
1215
+ "exposure",
1216
+ "contrast",
1217
+ "saturation",
1218
+ "hue",
1219
+ "gamma",
1220
+ "temperature",
1221
+ "rotation_crop",
1222
+ "noise",
1223
+ "gaussian_blur",
1224
+ "jpeg",
1225
+ "motion_blur",
1226
+ "sharpen",
1227
+ "defocus",
1228
+ "light_shadow",
1229
+ "wb_channel"
1230
+ ],
1231
+ "boosted_per_sample": 1,
1232
+ "boost": 1.5,
1233
+ "pixel_scale": "H / 224",
1234
+ "future_targets": "none (one observation frame)"
1235
+ },
1236
+ "proprio": {
1237
+ "robot": "g1",
1238
+ "body_dims": 29,
1239
+ "bias_deg": 2.0,
1240
+ "bias_scope": "per_sample",
1241
+ "noise_deg": 0.25,
1242
+ "noise_clip_sigma": 3,
1243
+ "delay_probability": 0.0,
1244
+ "history_drop_probability": 0.0,
1245
+ "velocity": false
1246
+ },
1247
+ "native_image_augmentation": "off",
1248
+ "evaluation": "off"
1249
+ },
1250
+ "preflight": {
1251
+ "samples": 64,
1252
+ "state_dim": 44,
1253
+ "body_dims": 29,
1254
+ "images_changed": 64,
1255
+ "body_values_moved": 1.0,
1256
+ "max_body_offset_deg": 2.5999,
1257
+ "actions_bit_identical": true,
1258
+ "non_body_state_bit_identical": true,
1259
+ "eval_items_deterministic": 8
1260
+ },
1261
+ "aug_seed": 42,
1262
+ "layout": {
1263
+ "nodes": 1,
1264
+ "gpus": 1,
1265
+ "per_gpu_batch": 512,
1266
+ "global_batch": 512,
1267
+ "gradient_accumulation": 1,
1268
+ "num_workers": 32,
1269
+ "prefetch": 2
1270
+ },
1271
+ "ema_schedule": "diffusion_policy_emamodel",
1272
+ "inloop": {
1273
+ "task": "b6v6",
1274
+ "code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse",
1275
+ "every": 250,
1276
+ "exception": null
1277
+ },
1278
+ "upstream": "NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + main@cea26d94 (encoder, ode_dit field, default_train.yaml)"
1279
+ },
1280
+ "stats": {
1281
+ "state": {
1282
+ "min": [
1283
+ -1.037501573562622,
1284
+ -0.264034628868103,
1285
+ -0.4427748918533325,
1286
+ 0.0667380765080452,
1287
+ -0.5215858817100525,
1288
+ -0.2416602224111557,
1289
+ -0.6867885589599609,
1290
+ -0.47648993134498596,
1291
+ -0.9344953298568726,
1292
+ 0.10217262804508209,
1293
+ -0.6552681922912598,
1294
+ -0.21590328216552734,
1295
+ -0.15592412650585175,
1296
+ -0.1158304288983345,
1297
+ 0.07265116274356842,
1298
+ 0.022757036611437798,
1299
+ -0.02251558005809784,
1300
+ -0.44369247555732727,
1301
+ -0.5461236238479614,
1302
+ -0.5896561145782471,
1303
+ -0.26370522379875183,
1304
+ 0.0013440968468785286,
1305
+ -0.9844546318054199,
1306
+ -1.5772571563720703,
1307
+ -1.0258455276489258,
1308
+ -0.8631634712219238,
1309
+ -0.5786121487617493,
1310
+ -1.024689793586731,
1311
+ -0.9216610789299011,
1312
+ 0.9997360110282898,
1313
+ 0.9988104701042175,
1314
+ 0.9986811280250549,
1315
+ 0.9989097118377686,
1316
+ 0.9351540803909302,
1317
+ 0.0,
1318
+ 0.5493931770324707,
1319
+ 0.5609477758407593,
1320
+ 0.6044747233390808,
1321
+ 0.6079143285751343,
1322
+ 0.8139541745185852,
1323
+ 0.0,
1324
+ -0.29203763604164124,
1325
+ -0.12108057737350464,
1326
+ -1.0
1327
+ ],
1328
+ "max": [
1329
+ 0.31642699241638184,
1330
+ 0.32778802514076233,
1331
+ 0.5025486946105957,
1332
+ 1.8408095836639404,
1333
+ 0.5323996543884277,
1334
+ 0.23189055919647217,
1335
+ 0.39967241883277893,
1336
+ 0.18936435878276825,
1337
+ 0.1610136777162552,
1338
+ 1.3123230934143066,
1339
+ 0.25517070293426514,
1340
+ 0.21713340282440186,
1341
+ 0.19809074699878693,
1342
+ 0.11862942576408386,
1343
+ 0.30983150005340576,
1344
+ 0.4407850205898285,
1345
+ 0.4915717840194702,
1346
+ 0.1512441635131836,
1347
+ -0.14922617375850677,
1348
+ -0.20036308467388153,
1349
+ 0.13975681364536285,
1350
+ 0.4291156232357025,
1351
+ 0.8944763541221619,
1352
+ 0.1526746302843094,
1353
+ 0.7923631072044373,
1354
+ 1.1935943365097046,
1355
+ 1.549551248550415,
1356
+ 1.3240046501159668,
1357
+ 1.1530930995941162,
1358
+ 1.0,
1359
+ 1.0,
1360
+ 1.0,
1361
+ 1.0,
1362
+ 1.0,
1363
+ 0.0036626288201659918,
1364
+ 1.0,
1365
+ 1.0,
1366
+ 1.0,
1367
+ 1.0,
1368
+ 1.0,
1369
+ 0.011179528199136257,
1370
+ 0.08667038381099701,
1371
+ 0.1206020638346672,
1372
+ -0.9563509225845337
1373
+ ],
1374
+ "mean": [
1375
+ -0.11453739324440969,
1376
+ 0.04011084241805277,
1377
+ 0.042604342544257975,
1378
+ 0.3101375482929991,
1379
+ -0.09883363973761503,
1380
+ -0.03264575295857167,
1381
+ -0.05904688190983114,
1382
+ -0.06457161075417515,
1383
+ -0.2835409265675875,
1384
+ 0.3173361870458159,
1385
+ -0.17238908965674926,
1386
+ -0.022206056895898326,
1387
+ 0.01720015949095758,
1388
+ 0.010739354338715243,
1389
+ 0.14542730844781557,
1390
+ 0.23942305438226613,
1391
+ 0.19775352569474616,
1392
+ -0.06352798202838195,
1393
+ -0.3432223755631105,
1394
+ -0.37103841771520646,
1395
+ -0.04449127923501375,
1396
+ 0.18419998718936037,
1397
+ 0.06295970191975703,
1398
+ -0.3409248401139509,
1399
+ -0.005028062842690194,
1400
+ -0.07113524459719395,
1401
+ 0.35502965168391576,
1402
+ 0.041413371540891426,
1403
+ -0.008045864253059339,
1404
+ 0.9999993913050222,
1405
+ 0.9999989068213664,
1406
+ 0.9999985447814413,
1407
+ 0.9999986399345618,
1408
+ 0.9997595920880835,
1409
+ 4.1432946030695356e-08,
1410
+ 0.848720485038278,
1411
+ 0.8478708518704877,
1412
+ 0.8541396666476672,
1413
+ 0.8627360528043341,
1414
+ 0.9322875091376083,
1415
+ 0.0013038922559370368,
1416
+ -0.07185684814001166,
1417
+ 0.003796186879417613,
1418
+ -0.9959426704259458
1419
+ ],
1420
+ "std": [
1421
+ 0.22314642932157291,
1422
+ 0.07865177014736555,
1423
+ 0.13175734378126513,
1424
+ 0.26774492089834084,
1425
+ 0.138597724289319,
1426
+ 0.05425034662016361,
1427
+ 0.14586651661033237,
1428
+ 0.06093383638045563,
1429
+ 0.14535052480778932,
1430
+ 0.16501149156409287,
1431
+ 0.11795297516115227,
1432
+ 0.05220902917773687,
1433
+ 0.04589606128733729,
1434
+ 0.02124229308479261,
1435
+ 0.023465064820185715,
1436
+ 0.06147598163079173,
1437
+ 0.08019322209832842,
1438
+ 0.10835271570424901,
1439
+ 0.049692413539137906,
1440
+ 0.04662608297189601,
1441
+ 0.06414416688004776,
1442
+ 0.06755100433487839,
1443
+ 0.3112339885690449,
1444
+ 0.24397518045868727,
1445
+ 0.24187918334876668,
1446
+ 0.5876198067006639,
1447
+ 0.2545545751519334,
1448
+ 0.2513222402223307,
1449
+ 0.2206716966214715,
1450
+ 3.0745450764358815e-06,
1451
+ 1.0280418129053001e-05,
1452
+ 1.3003933935428358e-05,
1453
+ 1.0326645711325357e-05,
1454
+ 0.0002625973205270167,
1455
+ 1.1079706153857785e-05,
1456
+ 0.1666589578526184,
1457
+ 0.16783685131463846,
1458
+ 0.16091359576221068,
1459
+ 0.15173440996739748,
1460
+ 0.07479574625351736,
1461
+ 0.0016642108162531056,
1462
+ 0.04762500188416354,
1463
+ 0.025104825839366962,
1464
+ 0.004688973726931697
1465
+ ],
1466
+ "q01": [
1467
+ -0.9045831370353699,
1468
+ -0.13757071018218994,
1469
+ -0.2569125294685364,
1470
+ 0.1278476357460022,
1471
+ -0.39663622379302976,
1472
+ -0.12917980551719666,
1473
+ -0.4405965781211853,
1474
+ -0.24917301774024964,
1475
+ -0.6295552921295166,
1476
+ 0.1603124076128006,
1477
+ -0.4720695352554321,
1478
+ -0.1568482679128647,
1479
+ -0.061930555552244186,
1480
+ -0.04285239815711975,
1481
+ 0.10330679059028626,
1482
+ 0.08520439445972443,
1483
+ 0.06402801901102066,
1484
+ -0.3122930061817169,
1485
+ -0.4440067780017853,
1486
+ -0.4813148105144501,
1487
+ -0.17662575483322143,
1488
+ 0.07811619132757187,
1489
+ -0.7038879680633545,
1490
+ -1.074288420677185,
1491
+ -0.5174330973625183,
1492
+ -0.8296286749839783,
1493
+ -0.046649148613214494,
1494
+ -0.5297652673721314,
1495
+ -0.4525022149085998,
1496
+ 0.9999856948852539,
1497
+ 0.9999788999557495,
1498
+ 0.9999739527702332,
1499
+ 0.9999754428863525,
1500
+ 0.9992824649810791,
1501
+ 0.0,
1502
+ 0.6091572046279907,
1503
+ 0.6036605787277222,
1504
+ 0.624807596206665,
1505
+ 0.6392338871955872,
1506
+ 0.8250055313110352,
1507
+ 0.0,
1508
+ -0.18815172016620635,
1509
+ -0.05641369238495827,
1510
+ -0.9999467134475708
1511
+ ],
1512
+ "q99": [
1513
+ 0.1692169380187985,
1514
+ 0.17853675007820122,
1515
+ 0.2504714381694793,
1516
+ 1.3830337762832627,
1517
+ 0.22025565922260237,
1518
+ 0.12152969658374776,
1519
+ 0.26838738083839414,
1520
+ 0.05813095644116398,
1521
+ -0.03372923016548196,
1522
+ 0.9813192462921138,
1523
+ 0.0548072496056556,
1524
+ 0.09750931084156036,
1525
+ 0.15023184537887574,
1526
+ 0.05916855245828619,
1527
+ 0.23604949593544,
1528
+ 0.34267205715179444,
1529
+ 0.40151971697807304,
1530
+ 0.09628749728202818,
1531
+ -0.20530834913253787,
1532
+ -0.2752486991882324,
1533
+ 0.07086087167263026,
1534
+ 0.36542059302330004,
1535
+ 0.516453638076782,
1536
+ 0.03925376668572419,
1537
+ 0.5594508004188538,
1538
+ 1.1245078516006468,
1539
+ 1.1421368551254258,
1540
+ 0.6226067781448352,
1541
+ 0.6182300543785093,
1542
+ 1.0,
1543
+ 1.0,
1544
+ 1.0,
1545
+ 1.0,
1546
+ 1.0,
1547
+ 0.0,
1548
+ 1.0,
1549
+ 1.0,
1550
+ 1.0,
1551
+ 1.0,
1552
+ 1.0,
1553
+ 0.0058600762858986855,
1554
+ 0.013552068993449205,
1555
+ 0.06995626598596572,
1556
+ -0.9812720465660095
1557
+ ],
1558
+ "unit_dims": [
1559
+ 29,
1560
+ 30,
1561
+ 31,
1562
+ 32,
1563
+ 33,
1564
+ 34,
1565
+ 35,
1566
+ 36,
1567
+ 37,
1568
+ 38,
1569
+ 39,
1570
+ 40
1571
+ ]
1572
+ },
1573
+ "action": {
1574
+ "min": [
1575
+ -0.5625,
1576
+ -0.4375,
1577
+ -0.4375,
1578
+ -0.4375,
1579
+ -0.5,
1580
+ -0.3125,
1581
+ -0.4375,
1582
+ -0.375,
1583
+ -0.5,
1584
+ -0.5,
1585
+ -0.5625,
1586
+ -0.5,
1587
+ -0.375,
1588
+ -0.375,
1589
+ -0.3125,
1590
+ -0.5625,
1591
+ -0.375,
1592
+ -0.4375,
1593
+ -0.5,
1594
+ -0.5,
1595
+ -0.375,
1596
+ -0.5625,
1597
+ -0.4375,
1598
+ -0.4375,
1599
+ -0.3125,
1600
+ -0.3125,
1601
+ -0.375,
1602
+ -0.5625,
1603
+ -0.4375,
1604
+ -0.375,
1605
+ -0.4375,
1606
+ -0.5625,
1607
+ -0.4375,
1608
+ -0.25,
1609
+ -0.1875,
1610
+ -0.3125,
1611
+ -0.5625,
1612
+ -0.5,
1613
+ -0.125,
1614
+ -0.375,
1615
+ -0.4375,
1616
+ -0.5,
1617
+ -0.3125,
1618
+ -0.375,
1619
+ -0.375,
1620
+ -0.3125,
1621
+ -0.375,
1622
+ -0.5,
1623
+ -0.625,
1624
+ -0.5625,
1625
+ -0.75,
1626
+ -0.375,
1627
+ -0.5625,
1628
+ -0.4375,
1629
+ -0.25,
1630
+ -0.5,
1631
+ -0.4375,
1632
+ -0.1875,
1633
+ -0.3125,
1634
+ -0.4375,
1635
+ -0.5625,
1636
+ -0.4375,
1637
+ -0.25,
1638
+ -0.5625,
1639
+ 0.9997360110282898,
1640
+ 0.9988104701042175,
1641
+ 0.9986811280250549,
1642
+ 0.9989097118377686,
1643
+ 0.9351540803909302,
1644
+ 0.0,
1645
+ 0.5493931770324707,
1646
+ 0.5609477758407593,
1647
+ 0.6044747233390808,
1648
+ 0.6079143285751343,
1649
+ 0.8139541745185852,
1650
+ 0.0
1651
+ ],
1652
+ "max": [
1653
+ 0.3125,
1654
+ 0.375,
1655
+ 0.5,
1656
+ 0.3125,
1657
+ 0.6875,
1658
+ 0.5,
1659
+ 0.5625,
1660
+ 0.3125,
1661
+ 0.3125,
1662
+ 0.125,
1663
+ 0.375,
1664
+ 0.1875,
1665
+ 0.375,
1666
+ 0.4375,
1667
+ 0.5,
1668
+ 0.4375,
1669
+ 0.25,
1670
+ 0.3125,
1671
+ 0.4375,
1672
+ 0.1875,
1673
+ 0.3125,
1674
+ 0.25,
1675
+ 0.3125,
1676
+ 0.375,
1677
+ 0.3125,
1678
+ 0.375,
1679
+ 0.0625,
1680
+ 0.3125,
1681
+ 0.3125,
1682
+ 0.375,
1683
+ 0.375,
1684
+ 0.3125,
1685
+ 0.375,
1686
+ 0.5,
1687
+ 0.1875,
1688
+ 0.375,
1689
+ 0.5,
1690
+ 0.5,
1691
+ 0.4375,
1692
+ 0.3125,
1693
+ 0.5,
1694
+ 0.4375,
1695
+ 0.5,
1696
+ 0.25,
1697
+ 0.4375,
1698
+ 0.4375,
1699
+ 0.3125,
1700
+ 0.5625,
1701
+ 0.1875,
1702
+ 0.375,
1703
+ 0.4375,
1704
+ 0.3125,
1705
+ 0.5625,
1706
+ 0.5,
1707
+ 0.3125,
1708
+ 0.625,
1709
+ 0.375,
1710
+ 0.3125,
1711
+ 0.4375,
1712
+ 0.125,
1713
+ 0.375,
1714
+ 0.4375,
1715
+ 0.5,
1716
+ 0.375,
1717
+ 1.0,
1718
+ 1.0,
1719
+ 1.0,
1720
+ 1.0,
1721
+ 1.0,
1722
+ 0.0036626288201659918,
1723
+ 1.0,
1724
+ 1.0,
1725
+ 1.0,
1726
+ 1.0,
1727
+ 1.0,
1728
+ 0.011179528199136257
1729
+ ],
1730
+ "mean": [
1731
+ 0.035801073355510186,
1732
+ 0.008993197658462439,
1733
+ -0.040684742910394874,
1734
+ -0.015219504066928647,
1735
+ 0.06590757953657823,
1736
+ 0.10679928794819907,
1737
+ 0.07591468195924325,
1738
+ 0.005018630664973747,
1739
+ 0.02696074365833577,
1740
+ -0.21216018451219476,
1741
+ -0.1270698435054301,
1742
+ -0.20399956118789905,
1743
+ -0.038899524092443086,
1744
+ 0.06899321273791607,
1745
+ 0.17266030967166,
1746
+ -0.0748498840390015,
1747
+ 0.0503489762558923,
1748
+ -0.06576507869966855,
1749
+ 0.0027595400163461276,
1750
+ -0.08168671982676724,
1751
+ -0.0738222192733513,
1752
+ -0.1700281910385823,
1753
+ -0.09772541521275602,
1754
+ -0.10753158391565157,
1755
+ 0.019795175781191096,
1756
+ -0.025940241633165148,
1757
+ -0.17703749807736965,
1758
+ -0.05779030964150107,
1759
+ 0.025859755049355053,
1760
+ -0.010009175847540693,
1761
+ 0.0017912505994082822,
1762
+ -0.15789281222762735,
1763
+ 0.03512852972311107,
1764
+ 0.12875553792934974,
1765
+ 0.02877913727429828,
1766
+ 0.08183280203391671,
1767
+ -0.08610895810023012,
1768
+ -0.05243861154422653,
1769
+ 0.12698634103089176,
1770
+ -0.07630052747928837,
1771
+ -0.06368411409717803,
1772
+ -0.07644208585034547,
1773
+ 0.10793175491665585,
1774
+ -0.11472240987764531,
1775
+ 0.0446866414136083,
1776
+ -0.04013735874321801,
1777
+ -0.021028863582214688,
1778
+ -0.039761126374869185,
1779
+ -0.2875461431281422,
1780
+ -0.07881219897640669,
1781
+ 0.023944852930088637,
1782
+ 0.07625246172080694,
1783
+ 0.028764434806998074,
1784
+ -0.06805847510532999,
1785
+ -0.0025467312268341894,
1786
+ 0.10802901739264183,
1787
+ -0.05356523522439735,
1788
+ 0.0780337221821779,
1789
+ 0.13257554052301576,
1790
+ -0.16686659508952673,
1791
+ -0.044055377785552075,
1792
+ 0.07334570853828824,
1793
+ 0.17842857767577366,
1794
+ -0.05643768264988223,
1795
+ 0.9999993913050222,
1796
+ 0.9999989068213664,
1797
+ 0.9999985447814413,
1798
+ 0.9999986399345618,
1799
+ 0.9997595920880835,
1800
+ 4.1432946030695356e-08,
1801
+ 0.848720485038278,
1802
+ 0.8478708518704877,
1803
+ 0.8541396666476672,
1804
+ 0.8627360528043341,
1805
+ 0.9322875091376083,
1806
+ 0.0013038922559370368
1807
+ ],
1808
+ "std": [
1809
+ 0.11173244677940765,
1810
+ 0.15194660980294933,
1811
+ 0.1351430711515662,
1812
+ 0.10484135405721283,
1813
+ 0.1929176685503166,
1814
+ 0.13755941559466697,
1815
+ 0.17051900489315974,
1816
+ 0.09179112225976728,
1817
+ 0.09192408768656414,
1818
+ 0.07671847366968917,
1819
+ 0.13186630647447378,
1820
+ 0.10839263606678452,
1821
+ 0.12993358124861237,
1822
+ 0.14329446957419215,
1823
+ 0.10953734185200527,
1824
+ 0.14750468461845972,
1825
+ 0.08484062397807172,
1826
+ 0.15093021798116624,
1827
+ 0.15118011919576488,
1828
+ 0.10079911766908481,
1829
+ 0.10664686862803845,
1830
+ 0.13285217338230945,
1831
+ 0.09754221857903407,
1832
+ 0.10789405672773242,
1833
+ 0.08581448960575783,
1834
+ 0.12451903338694055,
1835
+ 0.06710254750165537,
1836
+ 0.12620998029099512,
1837
+ 0.1070435007690436,
1838
+ 0.13340008187123648,
1839
+ 0.13824680236385728,
1840
+ 0.13209141989319176,
1841
+ 0.09043010314064626,
1842
+ 0.10448598825889968,
1843
+ 0.05152826575928413,
1844
+ 0.101548845386541,
1845
+ 0.12231309853193433,
1846
+ 0.15164600068096626,
1847
+ 0.09056976406094214,
1848
+ 0.10507904679337436,
1849
+ 0.12492820977689113,
1850
+ 0.14563987562071293,
1851
+ 0.1485299613415581,
1852
+ 0.07991123184450995,
1853
+ 0.11136094888438179,
1854
+ 0.14478875216432144,
1855
+ 0.11837466954458266,
1856
+ 0.15013454795740372,
1857
+ 0.11021753863508399,
1858
+ 0.13943847366018014,
1859
+ 0.11837348053983793,
1860
+ 0.08625441769459002,
1861
+ 0.20280470849201804,
1862
+ 0.14262414065572115,
1863
+ 0.06812308254176133,
1864
+ 0.16804197774588864,
1865
+ 0.15184038871544758,
1866
+ 0.06009853362212434,
1867
+ 0.13033233324270047,
1868
+ 0.08743776901836958,
1869
+ 0.11568911736106861,
1870
+ 0.10386805895710192,
1871
+ 0.10887203688609184,
1872
+ 0.14395784989811514,
1873
+ 3.0745450764358815e-06,
1874
+ 1.0280418129053001e-05,
1875
+ 1.3003933935428358e-05,
1876
+ 1.0326645711325357e-05,
1877
+ 0.0002625973205270167,
1878
+ 1.1079706153857785e-05,
1879
+ 0.1666589578526184,
1880
+ 0.16783685131463846,
1881
+ 0.16091359576221068,
1882
+ 0.15173440996739748,
1883
+ 0.07479574625351736,
1884
+ 0.0016642108162531056
1885
+ ],
1886
+ "q01": [
1887
+ -0.3125,
1888
+ -0.3125,
1889
+ -0.3125,
1890
+ -0.25,
1891
+ -0.375,
1892
+ -0.1875,
1893
+ -0.25,
1894
+ -0.1875,
1895
+ -0.25,
1896
+ -0.4375,
1897
+ -0.375,
1898
+ -0.4375,
1899
+ -0.25,
1900
+ -0.1875,
1901
+ -0.125,
1902
+ -0.4375,
1903
+ -0.1875,
1904
+ -0.375,
1905
+ -0.3125,
1906
+ -0.3125,
1907
+ -0.25,
1908
+ -0.5,
1909
+ -0.25,
1910
+ -0.375,
1911
+ -0.1875,
1912
+ -0.25,
1913
+ -0.3125,
1914
+ -0.375,
1915
+ -0.25,
1916
+ -0.25,
1917
+ -0.3125,
1918
+ -0.4375,
1919
+ -0.25,
1920
+ -0.125,
1921
+ -0.125,
1922
+ -0.1875,
1923
+ -0.3125,
1924
+ -0.4375,
1925
+ -0.0625,
1926
+ -0.3125,
1927
+ -0.25,
1928
+ -0.375,
1929
+ -0.1875,
1930
+ -0.25,
1931
+ -0.25,
1932
+ -0.25,
1933
+ -0.25,
1934
+ -0.375,
1935
+ -0.5,
1936
+ -0.4375,
1937
+ -0.375,
1938
+ -0.1875,
1939
+ -0.5,
1940
+ -0.375,
1941
+ -0.125,
1942
+ -0.3125,
1943
+ -0.3125,
1944
+ -0.0625,
1945
+ -0.125,
1946
+ -0.375,
1947
+ -0.25,
1948
+ -0.1875,
1949
+ -0.0625,
1950
+ -0.4375,
1951
+ 0.9999856948852539,
1952
+ 0.9999788999557495,
1953
+ 0.9999739527702332,
1954
+ 0.9999754428863525,
1955
+ 0.9992824649810791,
1956
+ 0.0,
1957
+ 0.6091572046279907,
1958
+ 0.6036605787277222,
1959
+ 0.624807596206665,
1960
+ 0.6392338871955872,
1961
+ 0.8250055313110352,
1962
+ 0.0
1963
+ ],
1964
+ "q99": [
1965
+ 0.25,
1966
+ 0.3125,
1967
+ 0.3125,
1968
+ 0.25,
1969
+ 0.5625,
1970
+ 0.375,
1971
+ 0.4375,
1972
+ 0.1875,
1973
+ 0.1875,
1974
+ -0.0625,
1975
+ 0.1875,
1976
+ 0.0625,
1977
+ 0.3125,
1978
+ 0.375,
1979
+ 0.4375,
1980
+ 0.25,
1981
+ 0.1875,
1982
+ 0.1875,
1983
+ 0.375,
1984
+ 0.1875,
1985
+ 0.1875,
1986
+ 0.0625,
1987
+ 0.1875,
1988
+ 0.1875,
1989
+ 0.1875,
1990
+ 0.25,
1991
+ -0.0625,
1992
+ 0.1875,
1993
+ 0.1875,
1994
+ 0.25,
1995
+ 0.3125,
1996
+ 0.1875,
1997
+ 0.25,
1998
+ 0.375,
1999
+ 0.125,
2000
+ 0.3125,
2001
+ 0.3125,
2002
+ 0.25,
2003
+ 0.375,
2004
+ 0.1875,
2005
+ 0.3125,
2006
+ 0.25,
2007
+ 0.4375,
2008
+ 0.0625,
2009
+ 0.3125,
2010
+ 0.375,
2011
+ 0.25,
2012
+ 0.3125,
2013
+ 0.0,
2014
+ 0.1875,
2015
+ 0.25,
2016
+ 0.25,
2017
+ 0.4375,
2018
+ 0.25,
2019
+ 0.1875,
2020
+ 0.5,
2021
+ 0.3125,
2022
+ 0.25,
2023
+ 0.375,
2024
+ 0.0,
2025
+ 0.25,
2026
+ 0.25,
2027
+ 0.375,
2028
+ 0.25,
2029
+ 1.0,
2030
+ 1.0,
2031
+ 1.0,
2032
+ 1.0,
2033
+ 1.0,
2034
+ 0.0,
2035
+ 1.0,
2036
+ 1.0,
2037
+ 1.0,
2038
+ 1.0,
2039
+ 1.0,
2040
+ 0.0058600762858986855
2041
+ ],
2042
+ "unit_dims": [
2043
+ 64,
2044
+ 65,
2045
+ 66,
2046
+ 67,
2047
+ 68,
2048
+ 69,
2049
+ 70,
2050
+ 71,
2051
+ 72,
2052
+ 73,
2053
+ 74,
2054
+ 75
2055
+ ]
2056
+ }
2057
+ },
2058
+ "code_commit": "b4b94d29585ab52e5ec927a0af647a635780155f",
2059
+ "step": 6000,
2060
+ "weights": "ema",
2061
+ "offline_eval": {
2062
+ "mse": 0.006907737348228693,
2063
+ "mse_row0": 0.004050403833389282,
2064
+ "mse_motion_token": 0.00804031454026699,
2065
+ "mse_inspire_left_hand_state": 0.0001237593387486413,
2066
+ "mse_inspire_right_hand_state": 0.0016109150601550937,
2067
+ "samples": 256,
2068
+ "frames": "train"
2069
+ },
2070
+ "format": "hb_baselines/1"
2071
+ }
b6-pedal-bin/b512-v6/step-006000/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4851993732b7417adf71c04dc498a55ded5ea95fc82cfd4b1b154eade95fa61
3
+ size 106002157
b6-pedal-bin/b512-v6/step-006000/protocol.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 6000,
4
+ "policy": "ode_mlp",
5
+ "files": {
6
+ "config.json": {
7
+ "bytes": 27113,
8
+ "sha256": "83465be2b1a44e5706a1d039248ba7e7c5f5ce2ecb94bfb00da73fa11920151d"
9
+ },
10
+ "model.pt": {
11
+ "bytes": 106002157,
12
+ "sha256": "f4851993732b7417adf71c04dc498a55ded5ea95fc82cfd4b1b154eade95fa61"
13
+ }
14
+ },
15
+ "task_dir": "b6-pedal-bin",
16
+ "training_data": "humanoid-benchmark/b6-pedal-bin @ad2f5bf0 (v6, repository root), all 542 episodes (331,577 frames)",
17
+ "episodes": 542,
18
+ "frames": 331577,
19
+ "steps": 8000,
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "save_steps": [
25
+ 5000,
26
+ 6000,
27
+ 8000
28
+ ],
29
+ "lr": 0.0001,
30
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
31
+ "ema": 0.9999,
32
+ "ema_schedule": "diffusion_policy_emamodel",
33
+ "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",
34
+ "state_dim": 44,
35
+ "action_dim": 76,
36
+ "cameras": [
37
+ "ego_view",
38
+ "chest"
39
+ ],
40
+ "contract": "g1_sonic_dfx6",
41
+ "image_hw": [
42
+ 168,
43
+ 224
44
+ ],
45
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
46
+ "inloop_mse": {
47
+ "task": "b6v6",
48
+ "split": "train10",
49
+ "every": 250,
50
+ "seed": 1234,
51
+ "weights": "ema",
52
+ "nmse_at_this_step": 0.1256,
53
+ "curve": {
54
+ "250": 1.4566,
55
+ "500": 0.6045,
56
+ "750": 0.2714,
57
+ "1000": 0.2224,
58
+ "1250": 0.1965,
59
+ "1500": 0.1806,
60
+ "1750": 0.1699,
61
+ "2000": 0.1596,
62
+ "2250": 0.1523,
63
+ "2500": 0.1447,
64
+ "2750": 0.1388,
65
+ "3000": 0.1342,
66
+ "3250": 0.1313,
67
+ "3500": 0.1286,
68
+ "3750": 0.1276,
69
+ "4000": 0.1255,
70
+ "4250": 0.1243,
71
+ "4500": 0.1234,
72
+ "4750": 0.1229,
73
+ "5000": 0.1232,
74
+ "5250": 0.1228,
75
+ "5500": 0.1235,
76
+ "5750": 0.1245,
77
+ "6000": 0.1256,
78
+ "6250": 0.1266,
79
+ "6500": 0.1279,
80
+ "6750": 0.1294,
81
+ "7000": 0.1309,
82
+ "7250": 0.1323,
83
+ "7500": 0.1336,
84
+ "7750": 0.1348,
85
+ "8000": 0.1357
86
+ }
87
+ },
88
+ "offline_mse_train_frames": {
89
+ "mse": 0.006908,
90
+ "mse_row0": 0.00405,
91
+ "mse_motion_token": 0.00804,
92
+ "mse_inspire_left_hand_state": 0.000124,
93
+ "mse_inspire_right_hand_state": 0.001611
94
+ },
95
+ "seed": 42,
96
+ "reproducibility": {
97
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
98
+ "protocol_commit": "c3843b5b7d49",
99
+ "training_seed": 42,
100
+ "training_seed_source": "config.json training.seed of this folder (hb_baselines code, policy ode_mlp; 42 = upstream NTUMARS/ODE-POLICY default_train.yaml training_params.seed)",
101
+ "training_seed_verified_from_run_files": true,
102
+ "augmentation_random_stream": "seeded: per DataLoader worker numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id]) (protocol.yaml models.ode_mlp aug_rng)",
103
+ "layout": {
104
+ "nodes": 1,
105
+ "gpus_per_node": 1,
106
+ "per_gpu_batch": 512,
107
+ "global_batch": 512,
108
+ "gradient_accumulation": 1,
109
+ "num_workers": 32,
110
+ "prefetch": 2
111
+ },
112
+ "environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.3, torch 2.9.0+cu128); training_records/pip_freeze_hb-baselines.txt",
113
+ "hardware": "1 x NVIDIA GeForce RTX 5090 32 GB, driver 580.173.02 (protocol.yaml models.ode_mlp)",
114
+ "upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ b4b94d29585ab52e5ec927a0af647a635780155f (evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6)",
115
+ "adapter_code": "config.json in this folder records the model, data contract, dataset episodes, training and augmentation settings",
116
+ "determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels (bf16, NCCL reductions) are not bitwise deterministic",
117
+ "exceptions": "see the exception registry, REPRODUCIBILITY.md section 7; ODE recipe: section 4.7",
118
+ "inloop_mse_seed": 1234,
119
+ "upstream_method": "github.com/NTUMARS/ODE-POLICY @ real-g1 fd8bec47 (G1 port) + main cea26d94 (encoder, ode_dit field, default_train.yaml) (Apache-2.0)"
120
+ },
121
+ "inference": {
122
+ "integration": "Euler, one step per action row (dt = 1 row), 16 rows; start row = the last executed action (episode start: BOS = normalized zero)",
123
+ "deploy": "evaluation/policy/ODEMLP"
124
+ },
125
+ "resume_state_included": false
126
+ }
b6-pedal-bin/b512-v6/step-008000/SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 9238d2544ca8a2e4948cfc3a688ef10375f24f61b824f8663a578957db9306d0 config.json
2
+ 032bd782de2711130e770fd5802f6abae2a676601e0a8941217bc283ea6a2bf4 model.pt
3
+ 1669576e48f5467166b82249c9ffa542e1524bc98ec7e33f4c252f40cf95ad12 protocol.json
b6-pedal-bin/b512-v6/step-008000/config.json ADDED
@@ -0,0 +1,2071 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "ode_mlp",
4
+ "n_cameras": 2,
5
+ "state_dim": 44,
6
+ "action_dim": 76,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 384,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.1,
16
+ "time_embed_dim": 128,
17
+ "num_inference_steps": null,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "ode_body_dim": 64,
30
+ "ode_width": 512,
31
+ "ode_layers": 4,
32
+ "ode_cond_dim": 512,
33
+ "ode_field_scale": 1.0,
34
+ "ode_dit_hidden": 512,
35
+ "ode_dit_layers": 4,
36
+ "ode_dit_heads": 8,
37
+ "ode_dit_tokens": 4,
38
+ "extra": {}
39
+ },
40
+ "contract": {
41
+ "name": "g1_sonic_dfx6",
42
+ "robot": "g1",
43
+ "cameras": [
44
+ "ego_view",
45
+ "chest"
46
+ ],
47
+ "state": [
48
+ [
49
+ "observation.state",
50
+ 0,
51
+ 29
52
+ ],
53
+ [
54
+ "observation.inspire_left_hand_state",
55
+ 0,
56
+ 6
57
+ ],
58
+ [
59
+ "observation.inspire_right_hand_state",
60
+ 0,
61
+ 6
62
+ ],
63
+ [
64
+ "observation.projected_gravity",
65
+ 0,
66
+ 3
67
+ ]
68
+ ],
69
+ "action": [
70
+ [
71
+ "action.motion_token",
72
+ 0,
73
+ 64
74
+ ],
75
+ [
76
+ "observation.inspire_left_hand_state",
77
+ 0,
78
+ 6
79
+ ],
80
+ [
81
+ "observation.inspire_right_hand_state",
82
+ 0,
83
+ 6
84
+ ]
85
+ ],
86
+ "state_dim": 44,
87
+ "action_dim": 76,
88
+ "action_space": "sonic_dfx6",
89
+ "body_dims": 29
90
+ },
91
+ "image_hw": [
92
+ 168,
93
+ 224
94
+ ],
95
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
96
+ "dataset": {
97
+ "name": "b6_v6_ad2f5bf0",
98
+ "root": "/mnt/hdd/jason/humanoid_benchmark_models/b6_v6_ad2f5bf0",
99
+ "robot_type": null,
100
+ "fps": 30.0,
101
+ "episodes": [
102
+ 0,
103
+ 1,
104
+ 2,
105
+ 3,
106
+ 4,
107
+ 5,
108
+ 6,
109
+ 7,
110
+ 8,
111
+ 9,
112
+ 10,
113
+ 11,
114
+ 12,
115
+ 13,
116
+ 14,
117
+ 15,
118
+ 16,
119
+ 17,
120
+ 18,
121
+ 19,
122
+ 20,
123
+ 21,
124
+ 22,
125
+ 23,
126
+ 24,
127
+ 25,
128
+ 26,
129
+ 27,
130
+ 28,
131
+ 29,
132
+ 30,
133
+ 31,
134
+ 32,
135
+ 33,
136
+ 34,
137
+ 35,
138
+ 36,
139
+ 37,
140
+ 38,
141
+ 39,
142
+ 40,
143
+ 41,
144
+ 42,
145
+ 43,
146
+ 44,
147
+ 45,
148
+ 46,
149
+ 47,
150
+ 48,
151
+ 49,
152
+ 50,
153
+ 51,
154
+ 52,
155
+ 53,
156
+ 54,
157
+ 55,
158
+ 56,
159
+ 57,
160
+ 58,
161
+ 59,
162
+ 60,
163
+ 61,
164
+ 62,
165
+ 63,
166
+ 64,
167
+ 65,
168
+ 66,
169
+ 67,
170
+ 68,
171
+ 69,
172
+ 70,
173
+ 71,
174
+ 72,
175
+ 73,
176
+ 74,
177
+ 75,
178
+ 76,
179
+ 77,
180
+ 78,
181
+ 79,
182
+ 80,
183
+ 81,
184
+ 82,
185
+ 83,
186
+ 84,
187
+ 85,
188
+ 86,
189
+ 87,
190
+ 88,
191
+ 89,
192
+ 90,
193
+ 91,
194
+ 92,
195
+ 93,
196
+ 94,
197
+ 95,
198
+ 96,
199
+ 97,
200
+ 98,
201
+ 99,
202
+ 100,
203
+ 101,
204
+ 102,
205
+ 103,
206
+ 104,
207
+ 105,
208
+ 106,
209
+ 107,
210
+ 108,
211
+ 109,
212
+ 110,
213
+ 111,
214
+ 112,
215
+ 113,
216
+ 114,
217
+ 115,
218
+ 116,
219
+ 117,
220
+ 118,
221
+ 119,
222
+ 120,
223
+ 121,
224
+ 122,
225
+ 123,
226
+ 124,
227
+ 125,
228
+ 126,
229
+ 127,
230
+ 128,
231
+ 129,
232
+ 130,
233
+ 131,
234
+ 132,
235
+ 133,
236
+ 134,
237
+ 135,
238
+ 136,
239
+ 137,
240
+ 138,
241
+ 139,
242
+ 140,
243
+ 141,
244
+ 142,
245
+ 143,
246
+ 144,
247
+ 145,
248
+ 146,
249
+ 147,
250
+ 148,
251
+ 149,
252
+ 150,
253
+ 151,
254
+ 152,
255
+ 153,
256
+ 154,
257
+ 155,
258
+ 156,
259
+ 157,
260
+ 158,
261
+ 159,
262
+ 160,
263
+ 161,
264
+ 162,
265
+ 163,
266
+ 164,
267
+ 165,
268
+ 166,
269
+ 167,
270
+ 168,
271
+ 169,
272
+ 170,
273
+ 171,
274
+ 172,
275
+ 173,
276
+ 174,
277
+ 175,
278
+ 176,
279
+ 177,
280
+ 178,
281
+ 179,
282
+ 180,
283
+ 181,
284
+ 182,
285
+ 183,
286
+ 184,
287
+ 185,
288
+ 186,
289
+ 187,
290
+ 188,
291
+ 189,
292
+ 190,
293
+ 191,
294
+ 192,
295
+ 193,
296
+ 194,
297
+ 195,
298
+ 196,
299
+ 197,
300
+ 198,
301
+ 199,
302
+ 200,
303
+ 201,
304
+ 202,
305
+ 203,
306
+ 204,
307
+ 205,
308
+ 206,
309
+ 207,
310
+ 208,
311
+ 209,
312
+ 210,
313
+ 211,
314
+ 212,
315
+ 213,
316
+ 214,
317
+ 215,
318
+ 216,
319
+ 217,
320
+ 218,
321
+ 219,
322
+ 220,
323
+ 221,
324
+ 222,
325
+ 223,
326
+ 224,
327
+ 225,
328
+ 226,
329
+ 227,
330
+ 228,
331
+ 229,
332
+ 230,
333
+ 231,
334
+ 232,
335
+ 233,
336
+ 234,
337
+ 235,
338
+ 236,
339
+ 237,
340
+ 238,
341
+ 239,
342
+ 240,
343
+ 241,
344
+ 242,
345
+ 243,
346
+ 244,
347
+ 245,
348
+ 246,
349
+ 247,
350
+ 248,
351
+ 249,
352
+ 250,
353
+ 251,
354
+ 252,
355
+ 253,
356
+ 254,
357
+ 255,
358
+ 256,
359
+ 257,
360
+ 258,
361
+ 259,
362
+ 260,
363
+ 261,
364
+ 262,
365
+ 263,
366
+ 264,
367
+ 265,
368
+ 266,
369
+ 267,
370
+ 268,
371
+ 269,
372
+ 270,
373
+ 271,
374
+ 272,
375
+ 273,
376
+ 274,
377
+ 275,
378
+ 276,
379
+ 277,
380
+ 278,
381
+ 279,
382
+ 280,
383
+ 281,
384
+ 282,
385
+ 283,
386
+ 284,
387
+ 285,
388
+ 286,
389
+ 287,
390
+ 288,
391
+ 289,
392
+ 290,
393
+ 291,
394
+ 292,
395
+ 293,
396
+ 294,
397
+ 295,
398
+ 296,
399
+ 297,
400
+ 298,
401
+ 299,
402
+ 300,
403
+ 301,
404
+ 302,
405
+ 303,
406
+ 304,
407
+ 305,
408
+ 306,
409
+ 307,
410
+ 308,
411
+ 309,
412
+ 310,
413
+ 311,
414
+ 312,
415
+ 313,
416
+ 314,
417
+ 315,
418
+ 316,
419
+ 317,
420
+ 318,
421
+ 319,
422
+ 320,
423
+ 321,
424
+ 322,
425
+ 323,
426
+ 324,
427
+ 325,
428
+ 326,
429
+ 327,
430
+ 328,
431
+ 329,
432
+ 330,
433
+ 331,
434
+ 332,
435
+ 333,
436
+ 334,
437
+ 335,
438
+ 336,
439
+ 337,
440
+ 338,
441
+ 339,
442
+ 340,
443
+ 341,
444
+ 342,
445
+ 343,
446
+ 344,
447
+ 345,
448
+ 346,
449
+ 347,
450
+ 348,
451
+ 349,
452
+ 350,
453
+ 351,
454
+ 352,
455
+ 353,
456
+ 354,
457
+ 355,
458
+ 356,
459
+ 357,
460
+ 358,
461
+ 359,
462
+ 360,
463
+ 361,
464
+ 362,
465
+ 363,
466
+ 364,
467
+ 365,
468
+ 366,
469
+ 367,
470
+ 368,
471
+ 369,
472
+ 370,
473
+ 371,
474
+ 372,
475
+ 373,
476
+ 374,
477
+ 375,
478
+ 376,
479
+ 377,
480
+ 378,
481
+ 379,
482
+ 380,
483
+ 381,
484
+ 382,
485
+ 383,
486
+ 384,
487
+ 385,
488
+ 386,
489
+ 387,
490
+ 388,
491
+ 389,
492
+ 390,
493
+ 391,
494
+ 392,
495
+ 393,
496
+ 394,
497
+ 395,
498
+ 396,
499
+ 397,
500
+ 398,
501
+ 399,
502
+ 400,
503
+ 401,
504
+ 402,
505
+ 403,
506
+ 404,
507
+ 405,
508
+ 406,
509
+ 407,
510
+ 408,
511
+ 409,
512
+ 410,
513
+ 411,
514
+ 412,
515
+ 413,
516
+ 414,
517
+ 415,
518
+ 416,
519
+ 417,
520
+ 418,
521
+ 419,
522
+ 420,
523
+ 421,
524
+ 422,
525
+ 423,
526
+ 424,
527
+ 425,
528
+ 426,
529
+ 427,
530
+ 428,
531
+ 429,
532
+ 430,
533
+ 431,
534
+ 432,
535
+ 433,
536
+ 434,
537
+ 435,
538
+ 436,
539
+ 437,
540
+ 438,
541
+ 439,
542
+ 440,
543
+ 441,
544
+ 442,
545
+ 443,
546
+ 444,
547
+ 445,
548
+ 446,
549
+ 447,
550
+ 448,
551
+ 449,
552
+ 450,
553
+ 451,
554
+ 452,
555
+ 453,
556
+ 454,
557
+ 455,
558
+ 456,
559
+ 457,
560
+ 458,
561
+ 459,
562
+ 460,
563
+ 461,
564
+ 462,
565
+ 463,
566
+ 464,
567
+ 465,
568
+ 466,
569
+ 467,
570
+ 468,
571
+ 469,
572
+ 470,
573
+ 471,
574
+ 472,
575
+ 473,
576
+ 474,
577
+ 475,
578
+ 476,
579
+ 477,
580
+ 478,
581
+ 479,
582
+ 480,
583
+ 481,
584
+ 482,
585
+ 483,
586
+ 484,
587
+ 485,
588
+ 486,
589
+ 487,
590
+ 488,
591
+ 489,
592
+ 490,
593
+ 491,
594
+ 492,
595
+ 493,
596
+ 494,
597
+ 495,
598
+ 496,
599
+ 497,
600
+ 498,
601
+ 499,
602
+ 500,
603
+ 501,
604
+ 502,
605
+ 503,
606
+ 504,
607
+ 505,
608
+ 506,
609
+ 507,
610
+ 508,
611
+ 509,
612
+ 510,
613
+ 511,
614
+ 512,
615
+ 513,
616
+ 514,
617
+ 515,
618
+ 516,
619
+ 517,
620
+ 518,
621
+ 519,
622
+ 520,
623
+ 521,
624
+ 522,
625
+ 523,
626
+ 524,
627
+ 525,
628
+ 526,
629
+ 527,
630
+ 528,
631
+ 529,
632
+ 530,
633
+ 531,
634
+ 532,
635
+ 533,
636
+ 534,
637
+ 535,
638
+ 536,
639
+ 537,
640
+ 538,
641
+ 539,
642
+ 540,
643
+ 541
644
+ ],
645
+ "train_episodes": [
646
+ 0,
647
+ 1,
648
+ 2,
649
+ 3,
650
+ 4,
651
+ 5,
652
+ 6,
653
+ 7,
654
+ 8,
655
+ 9,
656
+ 10,
657
+ 11,
658
+ 12,
659
+ 13,
660
+ 14,
661
+ 15,
662
+ 16,
663
+ 17,
664
+ 18,
665
+ 19,
666
+ 20,
667
+ 21,
668
+ 22,
669
+ 23,
670
+ 24,
671
+ 25,
672
+ 26,
673
+ 27,
674
+ 28,
675
+ 29,
676
+ 30,
677
+ 31,
678
+ 32,
679
+ 33,
680
+ 34,
681
+ 35,
682
+ 36,
683
+ 37,
684
+ 38,
685
+ 39,
686
+ 40,
687
+ 41,
688
+ 42,
689
+ 43,
690
+ 44,
691
+ 45,
692
+ 46,
693
+ 47,
694
+ 48,
695
+ 49,
696
+ 50,
697
+ 51,
698
+ 52,
699
+ 53,
700
+ 54,
701
+ 55,
702
+ 56,
703
+ 57,
704
+ 58,
705
+ 59,
706
+ 60,
707
+ 61,
708
+ 62,
709
+ 63,
710
+ 64,
711
+ 65,
712
+ 66,
713
+ 67,
714
+ 68,
715
+ 69,
716
+ 70,
717
+ 71,
718
+ 72,
719
+ 73,
720
+ 74,
721
+ 75,
722
+ 76,
723
+ 77,
724
+ 78,
725
+ 79,
726
+ 80,
727
+ 81,
728
+ 82,
729
+ 83,
730
+ 84,
731
+ 85,
732
+ 86,
733
+ 87,
734
+ 88,
735
+ 89,
736
+ 90,
737
+ 91,
738
+ 92,
739
+ 93,
740
+ 94,
741
+ 95,
742
+ 96,
743
+ 97,
744
+ 98,
745
+ 99,
746
+ 100,
747
+ 101,
748
+ 102,
749
+ 103,
750
+ 104,
751
+ 105,
752
+ 106,
753
+ 107,
754
+ 108,
755
+ 109,
756
+ 110,
757
+ 111,
758
+ 112,
759
+ 113,
760
+ 114,
761
+ 115,
762
+ 116,
763
+ 117,
764
+ 118,
765
+ 119,
766
+ 120,
767
+ 121,
768
+ 122,
769
+ 123,
770
+ 124,
771
+ 125,
772
+ 126,
773
+ 127,
774
+ 128,
775
+ 129,
776
+ 130,
777
+ 131,
778
+ 132,
779
+ 133,
780
+ 134,
781
+ 135,
782
+ 136,
783
+ 137,
784
+ 138,
785
+ 139,
786
+ 140,
787
+ 141,
788
+ 142,
789
+ 143,
790
+ 144,
791
+ 145,
792
+ 146,
793
+ 147,
794
+ 148,
795
+ 149,
796
+ 150,
797
+ 151,
798
+ 152,
799
+ 153,
800
+ 154,
801
+ 155,
802
+ 156,
803
+ 157,
804
+ 158,
805
+ 159,
806
+ 160,
807
+ 161,
808
+ 162,
809
+ 163,
810
+ 164,
811
+ 165,
812
+ 166,
813
+ 167,
814
+ 168,
815
+ 169,
816
+ 170,
817
+ 171,
818
+ 172,
819
+ 173,
820
+ 174,
821
+ 175,
822
+ 176,
823
+ 177,
824
+ 178,
825
+ 179,
826
+ 180,
827
+ 181,
828
+ 182,
829
+ 183,
830
+ 184,
831
+ 185,
832
+ 186,
833
+ 187,
834
+ 188,
835
+ 189,
836
+ 190,
837
+ 191,
838
+ 192,
839
+ 193,
840
+ 194,
841
+ 195,
842
+ 196,
843
+ 197,
844
+ 198,
845
+ 199,
846
+ 200,
847
+ 201,
848
+ 202,
849
+ 203,
850
+ 204,
851
+ 205,
852
+ 206,
853
+ 207,
854
+ 208,
855
+ 209,
856
+ 210,
857
+ 211,
858
+ 212,
859
+ 213,
860
+ 214,
861
+ 215,
862
+ 216,
863
+ 217,
864
+ 218,
865
+ 219,
866
+ 220,
867
+ 221,
868
+ 222,
869
+ 223,
870
+ 224,
871
+ 225,
872
+ 226,
873
+ 227,
874
+ 228,
875
+ 229,
876
+ 230,
877
+ 231,
878
+ 232,
879
+ 233,
880
+ 234,
881
+ 235,
882
+ 236,
883
+ 237,
884
+ 238,
885
+ 239,
886
+ 240,
887
+ 241,
888
+ 242,
889
+ 243,
890
+ 244,
891
+ 245,
892
+ 246,
893
+ 247,
894
+ 248,
895
+ 249,
896
+ 250,
897
+ 251,
898
+ 252,
899
+ 253,
900
+ 254,
901
+ 255,
902
+ 256,
903
+ 257,
904
+ 258,
905
+ 259,
906
+ 260,
907
+ 261,
908
+ 262,
909
+ 263,
910
+ 264,
911
+ 265,
912
+ 266,
913
+ 267,
914
+ 268,
915
+ 269,
916
+ 270,
917
+ 271,
918
+ 272,
919
+ 273,
920
+ 274,
921
+ 275,
922
+ 276,
923
+ 277,
924
+ 278,
925
+ 279,
926
+ 280,
927
+ 281,
928
+ 282,
929
+ 283,
930
+ 284,
931
+ 285,
932
+ 286,
933
+ 287,
934
+ 288,
935
+ 289,
936
+ 290,
937
+ 291,
938
+ 292,
939
+ 293,
940
+ 294,
941
+ 295,
942
+ 296,
943
+ 297,
944
+ 298,
945
+ 299,
946
+ 300,
947
+ 301,
948
+ 302,
949
+ 303,
950
+ 304,
951
+ 305,
952
+ 306,
953
+ 307,
954
+ 308,
955
+ 309,
956
+ 310,
957
+ 311,
958
+ 312,
959
+ 313,
960
+ 314,
961
+ 315,
962
+ 316,
963
+ 317,
964
+ 318,
965
+ 319,
966
+ 320,
967
+ 321,
968
+ 322,
969
+ 323,
970
+ 324,
971
+ 325,
972
+ 326,
973
+ 327,
974
+ 328,
975
+ 329,
976
+ 330,
977
+ 331,
978
+ 332,
979
+ 333,
980
+ 334,
981
+ 335,
982
+ 336,
983
+ 337,
984
+ 338,
985
+ 339,
986
+ 340,
987
+ 341,
988
+ 342,
989
+ 343,
990
+ 344,
991
+ 345,
992
+ 346,
993
+ 347,
994
+ 348,
995
+ 349,
996
+ 350,
997
+ 351,
998
+ 352,
999
+ 353,
1000
+ 354,
1001
+ 355,
1002
+ 356,
1003
+ 357,
1004
+ 358,
1005
+ 359,
1006
+ 360,
1007
+ 361,
1008
+ 362,
1009
+ 363,
1010
+ 364,
1011
+ 365,
1012
+ 366,
1013
+ 367,
1014
+ 368,
1015
+ 369,
1016
+ 370,
1017
+ 371,
1018
+ 372,
1019
+ 373,
1020
+ 374,
1021
+ 375,
1022
+ 376,
1023
+ 377,
1024
+ 378,
1025
+ 379,
1026
+ 380,
1027
+ 381,
1028
+ 382,
1029
+ 383,
1030
+ 384,
1031
+ 385,
1032
+ 386,
1033
+ 387,
1034
+ 388,
1035
+ 389,
1036
+ 390,
1037
+ 391,
1038
+ 392,
1039
+ 393,
1040
+ 394,
1041
+ 395,
1042
+ 396,
1043
+ 397,
1044
+ 398,
1045
+ 399,
1046
+ 400,
1047
+ 401,
1048
+ 402,
1049
+ 403,
1050
+ 404,
1051
+ 405,
1052
+ 406,
1053
+ 407,
1054
+ 408,
1055
+ 409,
1056
+ 410,
1057
+ 411,
1058
+ 412,
1059
+ 413,
1060
+ 414,
1061
+ 415,
1062
+ 416,
1063
+ 417,
1064
+ 418,
1065
+ 419,
1066
+ 420,
1067
+ 421,
1068
+ 422,
1069
+ 423,
1070
+ 424,
1071
+ 425,
1072
+ 426,
1073
+ 427,
1074
+ 428,
1075
+ 429,
1076
+ 430,
1077
+ 431,
1078
+ 432,
1079
+ 433,
1080
+ 434,
1081
+ 435,
1082
+ 436,
1083
+ 437,
1084
+ 438,
1085
+ 439,
1086
+ 440,
1087
+ 441,
1088
+ 442,
1089
+ 443,
1090
+ 444,
1091
+ 445,
1092
+ 446,
1093
+ 447,
1094
+ 448,
1095
+ 449,
1096
+ 450,
1097
+ 451,
1098
+ 452,
1099
+ 453,
1100
+ 454,
1101
+ 455,
1102
+ 456,
1103
+ 457,
1104
+ 458,
1105
+ 459,
1106
+ 460,
1107
+ 461,
1108
+ 462,
1109
+ 463,
1110
+ 464,
1111
+ 465,
1112
+ 466,
1113
+ 467,
1114
+ 468,
1115
+ 469,
1116
+ 470,
1117
+ 471,
1118
+ 472,
1119
+ 473,
1120
+ 474,
1121
+ 475,
1122
+ 476,
1123
+ 477,
1124
+ 478,
1125
+ 479,
1126
+ 480,
1127
+ 481,
1128
+ 482,
1129
+ 483,
1130
+ 484,
1131
+ 485,
1132
+ 486,
1133
+ 487,
1134
+ 488,
1135
+ 489,
1136
+ 490,
1137
+ 491,
1138
+ 492,
1139
+ 493,
1140
+ 494,
1141
+ 495,
1142
+ 496,
1143
+ 497,
1144
+ 498,
1145
+ 499,
1146
+ 500,
1147
+ 501,
1148
+ 502,
1149
+ 503,
1150
+ 504,
1151
+ 505,
1152
+ 506,
1153
+ 507,
1154
+ 508,
1155
+ 509,
1156
+ 510,
1157
+ 511,
1158
+ 512,
1159
+ 513,
1160
+ 514,
1161
+ 515,
1162
+ 516,
1163
+ 517,
1164
+ 518,
1165
+ 519,
1166
+ 520,
1167
+ 521,
1168
+ 522,
1169
+ 523,
1170
+ 524,
1171
+ 525,
1172
+ 526,
1173
+ 527,
1174
+ 528,
1175
+ 529,
1176
+ 530,
1177
+ 531,
1178
+ 532,
1179
+ 533,
1180
+ 534,
1181
+ 535,
1182
+ 536,
1183
+ 537,
1184
+ 538,
1185
+ 539,
1186
+ 540,
1187
+ 541
1188
+ ],
1189
+ "val_episodes": [],
1190
+ "train_frames": 331577,
1191
+ "git_commit": "9bfeb4aec689c080b964f0dec10feec47d5b1741"
1192
+ },
1193
+ "training": {
1194
+ "steps": 8000,
1195
+ "batch_size": 512,
1196
+ "lr": 0.0001,
1197
+ "betas": [
1198
+ 0.95,
1199
+ 0.999
1200
+ ],
1201
+ "weight_decay": 1e-06,
1202
+ "warmup": 500,
1203
+ "schedule": "diffusers_cosine",
1204
+ "backbone_lr_scale": 1.0,
1205
+ "ema": 0.9999,
1206
+ "shift_px": 0,
1207
+ "amp": true,
1208
+ "seed": 42,
1209
+ "augmentation": {
1210
+ "spec": "docs/augmentation_v2.md",
1211
+ "version": "hb-aug-v2-20261109",
1212
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
1213
+ "visual": {
1214
+ "effects": [
1215
+ "exposure",
1216
+ "contrast",
1217
+ "saturation",
1218
+ "hue",
1219
+ "gamma",
1220
+ "temperature",
1221
+ "rotation_crop",
1222
+ "noise",
1223
+ "gaussian_blur",
1224
+ "jpeg",
1225
+ "motion_blur",
1226
+ "sharpen",
1227
+ "defocus",
1228
+ "light_shadow",
1229
+ "wb_channel"
1230
+ ],
1231
+ "boosted_per_sample": 1,
1232
+ "boost": 1.5,
1233
+ "pixel_scale": "H / 224",
1234
+ "future_targets": "none (one observation frame)"
1235
+ },
1236
+ "proprio": {
1237
+ "robot": "g1",
1238
+ "body_dims": 29,
1239
+ "bias_deg": 2.0,
1240
+ "bias_scope": "per_sample",
1241
+ "noise_deg": 0.25,
1242
+ "noise_clip_sigma": 3,
1243
+ "delay_probability": 0.0,
1244
+ "history_drop_probability": 0.0,
1245
+ "velocity": false
1246
+ },
1247
+ "native_image_augmentation": "off",
1248
+ "evaluation": "off"
1249
+ },
1250
+ "preflight": {
1251
+ "samples": 64,
1252
+ "state_dim": 44,
1253
+ "body_dims": 29,
1254
+ "images_changed": 64,
1255
+ "body_values_moved": 1.0,
1256
+ "max_body_offset_deg": 2.5999,
1257
+ "actions_bit_identical": true,
1258
+ "non_body_state_bit_identical": true,
1259
+ "eval_items_deterministic": 8
1260
+ },
1261
+ "aug_seed": 42,
1262
+ "layout": {
1263
+ "nodes": 1,
1264
+ "gpus": 1,
1265
+ "per_gpu_batch": 512,
1266
+ "global_batch": 512,
1267
+ "gradient_accumulation": 1,
1268
+ "num_workers": 32,
1269
+ "prefetch": 2
1270
+ },
1271
+ "ema_schedule": "diffusion_policy_emamodel",
1272
+ "inloop": {
1273
+ "task": "b6v6",
1274
+ "code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse",
1275
+ "every": 250,
1276
+ "exception": null
1277
+ },
1278
+ "upstream": "NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + main@cea26d94 (encoder, ode_dit field, default_train.yaml)"
1279
+ },
1280
+ "stats": {
1281
+ "state": {
1282
+ "min": [
1283
+ -1.037501573562622,
1284
+ -0.264034628868103,
1285
+ -0.4427748918533325,
1286
+ 0.0667380765080452,
1287
+ -0.5215858817100525,
1288
+ -0.2416602224111557,
1289
+ -0.6867885589599609,
1290
+ -0.47648993134498596,
1291
+ -0.9344953298568726,
1292
+ 0.10217262804508209,
1293
+ -0.6552681922912598,
1294
+ -0.21590328216552734,
1295
+ -0.15592412650585175,
1296
+ -0.1158304288983345,
1297
+ 0.07265116274356842,
1298
+ 0.022757036611437798,
1299
+ -0.02251558005809784,
1300
+ -0.44369247555732727,
1301
+ -0.5461236238479614,
1302
+ -0.5896561145782471,
1303
+ -0.26370522379875183,
1304
+ 0.0013440968468785286,
1305
+ -0.9844546318054199,
1306
+ -1.5772571563720703,
1307
+ -1.0258455276489258,
1308
+ -0.8631634712219238,
1309
+ -0.5786121487617493,
1310
+ -1.024689793586731,
1311
+ -0.9216610789299011,
1312
+ 0.9997360110282898,
1313
+ 0.9988104701042175,
1314
+ 0.9986811280250549,
1315
+ 0.9989097118377686,
1316
+ 0.9351540803909302,
1317
+ 0.0,
1318
+ 0.5493931770324707,
1319
+ 0.5609477758407593,
1320
+ 0.6044747233390808,
1321
+ 0.6079143285751343,
1322
+ 0.8139541745185852,
1323
+ 0.0,
1324
+ -0.29203763604164124,
1325
+ -0.12108057737350464,
1326
+ -1.0
1327
+ ],
1328
+ "max": [
1329
+ 0.31642699241638184,
1330
+ 0.32778802514076233,
1331
+ 0.5025486946105957,
1332
+ 1.8408095836639404,
1333
+ 0.5323996543884277,
1334
+ 0.23189055919647217,
1335
+ 0.39967241883277893,
1336
+ 0.18936435878276825,
1337
+ 0.1610136777162552,
1338
+ 1.3123230934143066,
1339
+ 0.25517070293426514,
1340
+ 0.21713340282440186,
1341
+ 0.19809074699878693,
1342
+ 0.11862942576408386,
1343
+ 0.30983150005340576,
1344
+ 0.4407850205898285,
1345
+ 0.4915717840194702,
1346
+ 0.1512441635131836,
1347
+ -0.14922617375850677,
1348
+ -0.20036308467388153,
1349
+ 0.13975681364536285,
1350
+ 0.4291156232357025,
1351
+ 0.8944763541221619,
1352
+ 0.1526746302843094,
1353
+ 0.7923631072044373,
1354
+ 1.1935943365097046,
1355
+ 1.549551248550415,
1356
+ 1.3240046501159668,
1357
+ 1.1530930995941162,
1358
+ 1.0,
1359
+ 1.0,
1360
+ 1.0,
1361
+ 1.0,
1362
+ 1.0,
1363
+ 0.0036626288201659918,
1364
+ 1.0,
1365
+ 1.0,
1366
+ 1.0,
1367
+ 1.0,
1368
+ 1.0,
1369
+ 0.011179528199136257,
1370
+ 0.08667038381099701,
1371
+ 0.1206020638346672,
1372
+ -0.9563509225845337
1373
+ ],
1374
+ "mean": [
1375
+ -0.11453739324440969,
1376
+ 0.04011084241805277,
1377
+ 0.042604342544257975,
1378
+ 0.3101375482929991,
1379
+ -0.09883363973761503,
1380
+ -0.03264575295857167,
1381
+ -0.05904688190983114,
1382
+ -0.06457161075417515,
1383
+ -0.2835409265675875,
1384
+ 0.3173361870458159,
1385
+ -0.17238908965674926,
1386
+ -0.022206056895898326,
1387
+ 0.01720015949095758,
1388
+ 0.010739354338715243,
1389
+ 0.14542730844781557,
1390
+ 0.23942305438226613,
1391
+ 0.19775352569474616,
1392
+ -0.06352798202838195,
1393
+ -0.3432223755631105,
1394
+ -0.37103841771520646,
1395
+ -0.04449127923501375,
1396
+ 0.18419998718936037,
1397
+ 0.06295970191975703,
1398
+ -0.3409248401139509,
1399
+ -0.005028062842690194,
1400
+ -0.07113524459719395,
1401
+ 0.35502965168391576,
1402
+ 0.041413371540891426,
1403
+ -0.008045864253059339,
1404
+ 0.9999993913050222,
1405
+ 0.9999989068213664,
1406
+ 0.9999985447814413,
1407
+ 0.9999986399345618,
1408
+ 0.9997595920880835,
1409
+ 4.1432946030695356e-08,
1410
+ 0.848720485038278,
1411
+ 0.8478708518704877,
1412
+ 0.8541396666476672,
1413
+ 0.8627360528043341,
1414
+ 0.9322875091376083,
1415
+ 0.0013038922559370368,
1416
+ -0.07185684814001166,
1417
+ 0.003796186879417613,
1418
+ -0.9959426704259458
1419
+ ],
1420
+ "std": [
1421
+ 0.22314642932157291,
1422
+ 0.07865177014736555,
1423
+ 0.13175734378126513,
1424
+ 0.26774492089834084,
1425
+ 0.138597724289319,
1426
+ 0.05425034662016361,
1427
+ 0.14586651661033237,
1428
+ 0.06093383638045563,
1429
+ 0.14535052480778932,
1430
+ 0.16501149156409287,
1431
+ 0.11795297516115227,
1432
+ 0.05220902917773687,
1433
+ 0.04589606128733729,
1434
+ 0.02124229308479261,
1435
+ 0.023465064820185715,
1436
+ 0.06147598163079173,
1437
+ 0.08019322209832842,
1438
+ 0.10835271570424901,
1439
+ 0.049692413539137906,
1440
+ 0.04662608297189601,
1441
+ 0.06414416688004776,
1442
+ 0.06755100433487839,
1443
+ 0.3112339885690449,
1444
+ 0.24397518045868727,
1445
+ 0.24187918334876668,
1446
+ 0.5876198067006639,
1447
+ 0.2545545751519334,
1448
+ 0.2513222402223307,
1449
+ 0.2206716966214715,
1450
+ 3.0745450764358815e-06,
1451
+ 1.0280418129053001e-05,
1452
+ 1.3003933935428358e-05,
1453
+ 1.0326645711325357e-05,
1454
+ 0.0002625973205270167,
1455
+ 1.1079706153857785e-05,
1456
+ 0.1666589578526184,
1457
+ 0.16783685131463846,
1458
+ 0.16091359576221068,
1459
+ 0.15173440996739748,
1460
+ 0.07479574625351736,
1461
+ 0.0016642108162531056,
1462
+ 0.04762500188416354,
1463
+ 0.025104825839366962,
1464
+ 0.004688973726931697
1465
+ ],
1466
+ "q01": [
1467
+ -0.9045831370353699,
1468
+ -0.13757071018218994,
1469
+ -0.2569125294685364,
1470
+ 0.1278476357460022,
1471
+ -0.39663622379302976,
1472
+ -0.12917980551719666,
1473
+ -0.4405965781211853,
1474
+ -0.24917301774024964,
1475
+ -0.6295552921295166,
1476
+ 0.1603124076128006,
1477
+ -0.4720695352554321,
1478
+ -0.1568482679128647,
1479
+ -0.061930555552244186,
1480
+ -0.04285239815711975,
1481
+ 0.10330679059028626,
1482
+ 0.08520439445972443,
1483
+ 0.06402801901102066,
1484
+ -0.3122930061817169,
1485
+ -0.4440067780017853,
1486
+ -0.4813148105144501,
1487
+ -0.17662575483322143,
1488
+ 0.07811619132757187,
1489
+ -0.7038879680633545,
1490
+ -1.074288420677185,
1491
+ -0.5174330973625183,
1492
+ -0.8296286749839783,
1493
+ -0.046649148613214494,
1494
+ -0.5297652673721314,
1495
+ -0.4525022149085998,
1496
+ 0.9999856948852539,
1497
+ 0.9999788999557495,
1498
+ 0.9999739527702332,
1499
+ 0.9999754428863525,
1500
+ 0.9992824649810791,
1501
+ 0.0,
1502
+ 0.6091572046279907,
1503
+ 0.6036605787277222,
1504
+ 0.624807596206665,
1505
+ 0.6392338871955872,
1506
+ 0.8250055313110352,
1507
+ 0.0,
1508
+ -0.18815172016620635,
1509
+ -0.05641369238495827,
1510
+ -0.9999467134475708
1511
+ ],
1512
+ "q99": [
1513
+ 0.1692169380187985,
1514
+ 0.17853675007820122,
1515
+ 0.2504714381694793,
1516
+ 1.3830337762832627,
1517
+ 0.22025565922260237,
1518
+ 0.12152969658374776,
1519
+ 0.26838738083839414,
1520
+ 0.05813095644116398,
1521
+ -0.03372923016548196,
1522
+ 0.9813192462921138,
1523
+ 0.0548072496056556,
1524
+ 0.09750931084156036,
1525
+ 0.15023184537887574,
1526
+ 0.05916855245828619,
1527
+ 0.23604949593544,
1528
+ 0.34267205715179444,
1529
+ 0.40151971697807304,
1530
+ 0.09628749728202818,
1531
+ -0.20530834913253787,
1532
+ -0.2752486991882324,
1533
+ 0.07086087167263026,
1534
+ 0.36542059302330004,
1535
+ 0.516453638076782,
1536
+ 0.03925376668572419,
1537
+ 0.5594508004188538,
1538
+ 1.1245078516006468,
1539
+ 1.1421368551254258,
1540
+ 0.6226067781448352,
1541
+ 0.6182300543785093,
1542
+ 1.0,
1543
+ 1.0,
1544
+ 1.0,
1545
+ 1.0,
1546
+ 1.0,
1547
+ 0.0,
1548
+ 1.0,
1549
+ 1.0,
1550
+ 1.0,
1551
+ 1.0,
1552
+ 1.0,
1553
+ 0.0058600762858986855,
1554
+ 0.013552068993449205,
1555
+ 0.06995626598596572,
1556
+ -0.9812720465660095
1557
+ ],
1558
+ "unit_dims": [
1559
+ 29,
1560
+ 30,
1561
+ 31,
1562
+ 32,
1563
+ 33,
1564
+ 34,
1565
+ 35,
1566
+ 36,
1567
+ 37,
1568
+ 38,
1569
+ 39,
1570
+ 40
1571
+ ]
1572
+ },
1573
+ "action": {
1574
+ "min": [
1575
+ -0.5625,
1576
+ -0.4375,
1577
+ -0.4375,
1578
+ -0.4375,
1579
+ -0.5,
1580
+ -0.3125,
1581
+ -0.4375,
1582
+ -0.375,
1583
+ -0.5,
1584
+ -0.5,
1585
+ -0.5625,
1586
+ -0.5,
1587
+ -0.375,
1588
+ -0.375,
1589
+ -0.3125,
1590
+ -0.5625,
1591
+ -0.375,
1592
+ -0.4375,
1593
+ -0.5,
1594
+ -0.5,
1595
+ -0.375,
1596
+ -0.5625,
1597
+ -0.4375,
1598
+ -0.4375,
1599
+ -0.3125,
1600
+ -0.3125,
1601
+ -0.375,
1602
+ -0.5625,
1603
+ -0.4375,
1604
+ -0.375,
1605
+ -0.4375,
1606
+ -0.5625,
1607
+ -0.4375,
1608
+ -0.25,
1609
+ -0.1875,
1610
+ -0.3125,
1611
+ -0.5625,
1612
+ -0.5,
1613
+ -0.125,
1614
+ -0.375,
1615
+ -0.4375,
1616
+ -0.5,
1617
+ -0.3125,
1618
+ -0.375,
1619
+ -0.375,
1620
+ -0.3125,
1621
+ -0.375,
1622
+ -0.5,
1623
+ -0.625,
1624
+ -0.5625,
1625
+ -0.75,
1626
+ -0.375,
1627
+ -0.5625,
1628
+ -0.4375,
1629
+ -0.25,
1630
+ -0.5,
1631
+ -0.4375,
1632
+ -0.1875,
1633
+ -0.3125,
1634
+ -0.4375,
1635
+ -0.5625,
1636
+ -0.4375,
1637
+ -0.25,
1638
+ -0.5625,
1639
+ 0.9997360110282898,
1640
+ 0.9988104701042175,
1641
+ 0.9986811280250549,
1642
+ 0.9989097118377686,
1643
+ 0.9351540803909302,
1644
+ 0.0,
1645
+ 0.5493931770324707,
1646
+ 0.5609477758407593,
1647
+ 0.6044747233390808,
1648
+ 0.6079143285751343,
1649
+ 0.8139541745185852,
1650
+ 0.0
1651
+ ],
1652
+ "max": [
1653
+ 0.3125,
1654
+ 0.375,
1655
+ 0.5,
1656
+ 0.3125,
1657
+ 0.6875,
1658
+ 0.5,
1659
+ 0.5625,
1660
+ 0.3125,
1661
+ 0.3125,
1662
+ 0.125,
1663
+ 0.375,
1664
+ 0.1875,
1665
+ 0.375,
1666
+ 0.4375,
1667
+ 0.5,
1668
+ 0.4375,
1669
+ 0.25,
1670
+ 0.3125,
1671
+ 0.4375,
1672
+ 0.1875,
1673
+ 0.3125,
1674
+ 0.25,
1675
+ 0.3125,
1676
+ 0.375,
1677
+ 0.3125,
1678
+ 0.375,
1679
+ 0.0625,
1680
+ 0.3125,
1681
+ 0.3125,
1682
+ 0.375,
1683
+ 0.375,
1684
+ 0.3125,
1685
+ 0.375,
1686
+ 0.5,
1687
+ 0.1875,
1688
+ 0.375,
1689
+ 0.5,
1690
+ 0.5,
1691
+ 0.4375,
1692
+ 0.3125,
1693
+ 0.5,
1694
+ 0.4375,
1695
+ 0.5,
1696
+ 0.25,
1697
+ 0.4375,
1698
+ 0.4375,
1699
+ 0.3125,
1700
+ 0.5625,
1701
+ 0.1875,
1702
+ 0.375,
1703
+ 0.4375,
1704
+ 0.3125,
1705
+ 0.5625,
1706
+ 0.5,
1707
+ 0.3125,
1708
+ 0.625,
1709
+ 0.375,
1710
+ 0.3125,
1711
+ 0.4375,
1712
+ 0.125,
1713
+ 0.375,
1714
+ 0.4375,
1715
+ 0.5,
1716
+ 0.375,
1717
+ 1.0,
1718
+ 1.0,
1719
+ 1.0,
1720
+ 1.0,
1721
+ 1.0,
1722
+ 0.0036626288201659918,
1723
+ 1.0,
1724
+ 1.0,
1725
+ 1.0,
1726
+ 1.0,
1727
+ 1.0,
1728
+ 0.011179528199136257
1729
+ ],
1730
+ "mean": [
1731
+ 0.035801073355510186,
1732
+ 0.008993197658462439,
1733
+ -0.040684742910394874,
1734
+ -0.015219504066928647,
1735
+ 0.06590757953657823,
1736
+ 0.10679928794819907,
1737
+ 0.07591468195924325,
1738
+ 0.005018630664973747,
1739
+ 0.02696074365833577,
1740
+ -0.21216018451219476,
1741
+ -0.1270698435054301,
1742
+ -0.20399956118789905,
1743
+ -0.038899524092443086,
1744
+ 0.06899321273791607,
1745
+ 0.17266030967166,
1746
+ -0.0748498840390015,
1747
+ 0.0503489762558923,
1748
+ -0.06576507869966855,
1749
+ 0.0027595400163461276,
1750
+ -0.08168671982676724,
1751
+ -0.0738222192733513,
1752
+ -0.1700281910385823,
1753
+ -0.09772541521275602,
1754
+ -0.10753158391565157,
1755
+ 0.019795175781191096,
1756
+ -0.025940241633165148,
1757
+ -0.17703749807736965,
1758
+ -0.05779030964150107,
1759
+ 0.025859755049355053,
1760
+ -0.010009175847540693,
1761
+ 0.0017912505994082822,
1762
+ -0.15789281222762735,
1763
+ 0.03512852972311107,
1764
+ 0.12875553792934974,
1765
+ 0.02877913727429828,
1766
+ 0.08183280203391671,
1767
+ -0.08610895810023012,
1768
+ -0.05243861154422653,
1769
+ 0.12698634103089176,
1770
+ -0.07630052747928837,
1771
+ -0.06368411409717803,
1772
+ -0.07644208585034547,
1773
+ 0.10793175491665585,
1774
+ -0.11472240987764531,
1775
+ 0.0446866414136083,
1776
+ -0.04013735874321801,
1777
+ -0.021028863582214688,
1778
+ -0.039761126374869185,
1779
+ -0.2875461431281422,
1780
+ -0.07881219897640669,
1781
+ 0.023944852930088637,
1782
+ 0.07625246172080694,
1783
+ 0.028764434806998074,
1784
+ -0.06805847510532999,
1785
+ -0.0025467312268341894,
1786
+ 0.10802901739264183,
1787
+ -0.05356523522439735,
1788
+ 0.0780337221821779,
1789
+ 0.13257554052301576,
1790
+ -0.16686659508952673,
1791
+ -0.044055377785552075,
1792
+ 0.07334570853828824,
1793
+ 0.17842857767577366,
1794
+ -0.05643768264988223,
1795
+ 0.9999993913050222,
1796
+ 0.9999989068213664,
1797
+ 0.9999985447814413,
1798
+ 0.9999986399345618,
1799
+ 0.9997595920880835,
1800
+ 4.1432946030695356e-08,
1801
+ 0.848720485038278,
1802
+ 0.8478708518704877,
1803
+ 0.8541396666476672,
1804
+ 0.8627360528043341,
1805
+ 0.9322875091376083,
1806
+ 0.0013038922559370368
1807
+ ],
1808
+ "std": [
1809
+ 0.11173244677940765,
1810
+ 0.15194660980294933,
1811
+ 0.1351430711515662,
1812
+ 0.10484135405721283,
1813
+ 0.1929176685503166,
1814
+ 0.13755941559466697,
1815
+ 0.17051900489315974,
1816
+ 0.09179112225976728,
1817
+ 0.09192408768656414,
1818
+ 0.07671847366968917,
1819
+ 0.13186630647447378,
1820
+ 0.10839263606678452,
1821
+ 0.12993358124861237,
1822
+ 0.14329446957419215,
1823
+ 0.10953734185200527,
1824
+ 0.14750468461845972,
1825
+ 0.08484062397807172,
1826
+ 0.15093021798116624,
1827
+ 0.15118011919576488,
1828
+ 0.10079911766908481,
1829
+ 0.10664686862803845,
1830
+ 0.13285217338230945,
1831
+ 0.09754221857903407,
1832
+ 0.10789405672773242,
1833
+ 0.08581448960575783,
1834
+ 0.12451903338694055,
1835
+ 0.06710254750165537,
1836
+ 0.12620998029099512,
1837
+ 0.1070435007690436,
1838
+ 0.13340008187123648,
1839
+ 0.13824680236385728,
1840
+ 0.13209141989319176,
1841
+ 0.09043010314064626,
1842
+ 0.10448598825889968,
1843
+ 0.05152826575928413,
1844
+ 0.101548845386541,
1845
+ 0.12231309853193433,
1846
+ 0.15164600068096626,
1847
+ 0.09056976406094214,
1848
+ 0.10507904679337436,
1849
+ 0.12492820977689113,
1850
+ 0.14563987562071293,
1851
+ 0.1485299613415581,
1852
+ 0.07991123184450995,
1853
+ 0.11136094888438179,
1854
+ 0.14478875216432144,
1855
+ 0.11837466954458266,
1856
+ 0.15013454795740372,
1857
+ 0.11021753863508399,
1858
+ 0.13943847366018014,
1859
+ 0.11837348053983793,
1860
+ 0.08625441769459002,
1861
+ 0.20280470849201804,
1862
+ 0.14262414065572115,
1863
+ 0.06812308254176133,
1864
+ 0.16804197774588864,
1865
+ 0.15184038871544758,
1866
+ 0.06009853362212434,
1867
+ 0.13033233324270047,
1868
+ 0.08743776901836958,
1869
+ 0.11568911736106861,
1870
+ 0.10386805895710192,
1871
+ 0.10887203688609184,
1872
+ 0.14395784989811514,
1873
+ 3.0745450764358815e-06,
1874
+ 1.0280418129053001e-05,
1875
+ 1.3003933935428358e-05,
1876
+ 1.0326645711325357e-05,
1877
+ 0.0002625973205270167,
1878
+ 1.1079706153857785e-05,
1879
+ 0.1666589578526184,
1880
+ 0.16783685131463846,
1881
+ 0.16091359576221068,
1882
+ 0.15173440996739748,
1883
+ 0.07479574625351736,
1884
+ 0.0016642108162531056
1885
+ ],
1886
+ "q01": [
1887
+ -0.3125,
1888
+ -0.3125,
1889
+ -0.3125,
1890
+ -0.25,
1891
+ -0.375,
1892
+ -0.1875,
1893
+ -0.25,
1894
+ -0.1875,
1895
+ -0.25,
1896
+ -0.4375,
1897
+ -0.375,
1898
+ -0.4375,
1899
+ -0.25,
1900
+ -0.1875,
1901
+ -0.125,
1902
+ -0.4375,
1903
+ -0.1875,
1904
+ -0.375,
1905
+ -0.3125,
1906
+ -0.3125,
1907
+ -0.25,
1908
+ -0.5,
1909
+ -0.25,
1910
+ -0.375,
1911
+ -0.1875,
1912
+ -0.25,
1913
+ -0.3125,
1914
+ -0.375,
1915
+ -0.25,
1916
+ -0.25,
1917
+ -0.3125,
1918
+ -0.4375,
1919
+ -0.25,
1920
+ -0.125,
1921
+ -0.125,
1922
+ -0.1875,
1923
+ -0.3125,
1924
+ -0.4375,
1925
+ -0.0625,
1926
+ -0.3125,
1927
+ -0.25,
1928
+ -0.375,
1929
+ -0.1875,
1930
+ -0.25,
1931
+ -0.25,
1932
+ -0.25,
1933
+ -0.25,
1934
+ -0.375,
1935
+ -0.5,
1936
+ -0.4375,
1937
+ -0.375,
1938
+ -0.1875,
1939
+ -0.5,
1940
+ -0.375,
1941
+ -0.125,
1942
+ -0.3125,
1943
+ -0.3125,
1944
+ -0.0625,
1945
+ -0.125,
1946
+ -0.375,
1947
+ -0.25,
1948
+ -0.1875,
1949
+ -0.0625,
1950
+ -0.4375,
1951
+ 0.9999856948852539,
1952
+ 0.9999788999557495,
1953
+ 0.9999739527702332,
1954
+ 0.9999754428863525,
1955
+ 0.9992824649810791,
1956
+ 0.0,
1957
+ 0.6091572046279907,
1958
+ 0.6036605787277222,
1959
+ 0.624807596206665,
1960
+ 0.6392338871955872,
1961
+ 0.8250055313110352,
1962
+ 0.0
1963
+ ],
1964
+ "q99": [
1965
+ 0.25,
1966
+ 0.3125,
1967
+ 0.3125,
1968
+ 0.25,
1969
+ 0.5625,
1970
+ 0.375,
1971
+ 0.4375,
1972
+ 0.1875,
1973
+ 0.1875,
1974
+ -0.0625,
1975
+ 0.1875,
1976
+ 0.0625,
1977
+ 0.3125,
1978
+ 0.375,
1979
+ 0.4375,
1980
+ 0.25,
1981
+ 0.1875,
1982
+ 0.1875,
1983
+ 0.375,
1984
+ 0.1875,
1985
+ 0.1875,
1986
+ 0.0625,
1987
+ 0.1875,
1988
+ 0.1875,
1989
+ 0.1875,
1990
+ 0.25,
1991
+ -0.0625,
1992
+ 0.1875,
1993
+ 0.1875,
1994
+ 0.25,
1995
+ 0.3125,
1996
+ 0.1875,
1997
+ 0.25,
1998
+ 0.375,
1999
+ 0.125,
2000
+ 0.3125,
2001
+ 0.3125,
2002
+ 0.25,
2003
+ 0.375,
2004
+ 0.1875,
2005
+ 0.3125,
2006
+ 0.25,
2007
+ 0.4375,
2008
+ 0.0625,
2009
+ 0.3125,
2010
+ 0.375,
2011
+ 0.25,
2012
+ 0.3125,
2013
+ 0.0,
2014
+ 0.1875,
2015
+ 0.25,
2016
+ 0.25,
2017
+ 0.4375,
2018
+ 0.25,
2019
+ 0.1875,
2020
+ 0.5,
2021
+ 0.3125,
2022
+ 0.25,
2023
+ 0.375,
2024
+ 0.0,
2025
+ 0.25,
2026
+ 0.25,
2027
+ 0.375,
2028
+ 0.25,
2029
+ 1.0,
2030
+ 1.0,
2031
+ 1.0,
2032
+ 1.0,
2033
+ 1.0,
2034
+ 0.0,
2035
+ 1.0,
2036
+ 1.0,
2037
+ 1.0,
2038
+ 1.0,
2039
+ 1.0,
2040
+ 0.0058600762858986855
2041
+ ],
2042
+ "unit_dims": [
2043
+ 64,
2044
+ 65,
2045
+ 66,
2046
+ 67,
2047
+ 68,
2048
+ 69,
2049
+ 70,
2050
+ 71,
2051
+ 72,
2052
+ 73,
2053
+ 74,
2054
+ 75
2055
+ ]
2056
+ }
2057
+ },
2058
+ "code_commit": "b4b94d29585ab52e5ec927a0af647a635780155f",
2059
+ "step": 8000,
2060
+ "weights": "ema",
2061
+ "offline_eval": {
2062
+ "mse": 0.006718621589243412,
2063
+ "mse_row0": 0.0040106503292918205,
2064
+ "mse_motion_token": 0.007822207175195217,
2065
+ "mse_inspire_left_hand_state": 0.00014191253285389394,
2066
+ "mse_inspire_right_hand_state": 0.0015237501356750727,
2067
+ "samples": 256,
2068
+ "frames": "train"
2069
+ },
2070
+ "format": "hb_baselines/1"
2071
+ }
b6-pedal-bin/b512-v6/step-008000/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:032bd782de2711130e770fd5802f6abae2a676601e0a8941217bc283ea6a2bf4
3
+ size 106002157
b6-pedal-bin/b512-v6/step-008000/protocol.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 8000,
4
+ "policy": "ode_mlp",
5
+ "files": {
6
+ "config.json": {
7
+ "bytes": 27116,
8
+ "sha256": "9238d2544ca8a2e4948cfc3a688ef10375f24f61b824f8663a578957db9306d0"
9
+ },
10
+ "model.pt": {
11
+ "bytes": 106002157,
12
+ "sha256": "032bd782de2711130e770fd5802f6abae2a676601e0a8941217bc283ea6a2bf4"
13
+ }
14
+ },
15
+ "task_dir": "b6-pedal-bin",
16
+ "training_data": "humanoid-benchmark/b6-pedal-bin @ad2f5bf0 (v6, repository root), all 542 episodes (331,577 frames)",
17
+ "episodes": 542,
18
+ "frames": 331577,
19
+ "steps": 8000,
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "save_steps": [
25
+ 5000,
26
+ 6000,
27
+ 8000
28
+ ],
29
+ "lr": 0.0001,
30
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
31
+ "ema": 0.9999,
32
+ "ema_schedule": "diffusion_policy_emamodel",
33
+ "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",
34
+ "state_dim": 44,
35
+ "action_dim": 76,
36
+ "cameras": [
37
+ "ego_view",
38
+ "chest"
39
+ ],
40
+ "contract": "g1_sonic_dfx6",
41
+ "image_hw": [
42
+ 168,
43
+ 224
44
+ ],
45
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
46
+ "inloop_mse": {
47
+ "task": "b6v6",
48
+ "split": "train10",
49
+ "every": 250,
50
+ "seed": 1234,
51
+ "weights": "ema",
52
+ "nmse_at_this_step": 0.1357,
53
+ "curve": {
54
+ "250": 1.4566,
55
+ "500": 0.6045,
56
+ "750": 0.2714,
57
+ "1000": 0.2224,
58
+ "1250": 0.1965,
59
+ "1500": 0.1806,
60
+ "1750": 0.1699,
61
+ "2000": 0.1596,
62
+ "2250": 0.1523,
63
+ "2500": 0.1447,
64
+ "2750": 0.1388,
65
+ "3000": 0.1342,
66
+ "3250": 0.1313,
67
+ "3500": 0.1286,
68
+ "3750": 0.1276,
69
+ "4000": 0.1255,
70
+ "4250": 0.1243,
71
+ "4500": 0.1234,
72
+ "4750": 0.1229,
73
+ "5000": 0.1232,
74
+ "5250": 0.1228,
75
+ "5500": 0.1235,
76
+ "5750": 0.1245,
77
+ "6000": 0.1256,
78
+ "6250": 0.1266,
79
+ "6500": 0.1279,
80
+ "6750": 0.1294,
81
+ "7000": 0.1309,
82
+ "7250": 0.1323,
83
+ "7500": 0.1336,
84
+ "7750": 0.1348,
85
+ "8000": 0.1357
86
+ }
87
+ },
88
+ "offline_mse_train_frames": {
89
+ "mse": 0.006719,
90
+ "mse_row0": 0.004011,
91
+ "mse_motion_token": 0.007822,
92
+ "mse_inspire_left_hand_state": 0.000142,
93
+ "mse_inspire_right_hand_state": 0.001524
94
+ },
95
+ "seed": 42,
96
+ "reproducibility": {
97
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
98
+ "protocol_commit": "c3843b5b7d49",
99
+ "training_seed": 42,
100
+ "training_seed_source": "config.json training.seed of this folder (hb_baselines code, policy ode_mlp; 42 = upstream NTUMARS/ODE-POLICY default_train.yaml training_params.seed)",
101
+ "training_seed_verified_from_run_files": true,
102
+ "augmentation_random_stream": "seeded: per DataLoader worker numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id]) (protocol.yaml models.ode_mlp aug_rng)",
103
+ "layout": {
104
+ "nodes": 1,
105
+ "gpus_per_node": 1,
106
+ "per_gpu_batch": 512,
107
+ "global_batch": 512,
108
+ "gradient_accumulation": 1,
109
+ "num_workers": 32,
110
+ "prefetch": 2
111
+ },
112
+ "environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.3, torch 2.9.0+cu128); training_records/pip_freeze_hb-baselines.txt",
113
+ "hardware": "1 x NVIDIA GeForce RTX 5090 32 GB, driver 580.173.02 (protocol.yaml models.ode_mlp)",
114
+ "upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ b4b94d29585ab52e5ec927a0af647a635780155f (evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6)",
115
+ "adapter_code": "config.json in this folder records the model, data contract, dataset episodes, training and augmentation settings",
116
+ "determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels (bf16, NCCL reductions) are not bitwise deterministic",
117
+ "exceptions": "see the exception registry, REPRODUCIBILITY.md section 7; ODE recipe: section 4.7",
118
+ "inloop_mse_seed": 1234,
119
+ "upstream_method": "github.com/NTUMARS/ODE-POLICY @ real-g1 fd8bec47 (G1 port) + main cea26d94 (encoder, ode_dit field, default_train.yaml) (Apache-2.0)"
120
+ },
121
+ "inference": {
122
+ "integration": "Euler, one step per action row (dt = 1 row), 16 rows; start row = the last executed action (episode start: BOS = normalized zero)",
123
+ "deploy": "evaluation/policy/ODEMLP"
124
+ },
125
+ "resume_state_included": false
126
+ }
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/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)
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """FM-DiT, DP (Diffusion Policy, DDPM-DiT), ACT, FLASH, ODE-MLP and ODE-DiT visuomotor baselines of the Humanoid
2
+ Benchmark.
3
+
4
+ FM-DiT, DP and ACT are ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/
5
+ {fm_dit,ddpm_dit,act}.py` and their networks), FLASH from NTUMARS/FLASH-Policy @ f47e490 (`flash.py`), ODE-MLP and
6
+ ODE-DiT after ODE Policy's G1 port (github.com/NTUMARS/ODE-POLICY real-g1; networks in ode_nets.py), each in its
7
+ authors' own configuration; torch only. `train.py` trains one on a task's LeRobot v2.1 expert dataset through a robot
8
+ contract (`data.CONTRACTS`: G1 state44/action76 or H2 state78/action75); `runtime.BaselinePolicy` serves a checkpoint
9
+ to the G1 evaluation adapters (`evaluation/policy/{FMDiT,DP,ACT,FLASH,ODEMLP,ODEDiT}/model.py`, via `adapters.py`) and
10
+ to the H2 adapter
11
+ (`debug/newton/h2_policy_adapters/baseline.py`). Usage and the environment: evaluation/README.md#baselines.
12
+ """
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/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()
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/adapters.py ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """The G1 evaluation adapters of the baselines (evaluation/README.md#the-model-interface): `make_model('fm_dit')`
2
+ returns the `Model` class that `evaluation/policy/FMDiT/model.py` exports (likewise DP, ACT, FLASH, ODEMLP, ODEDiT).
3
+
4
+ Observation: the current ego_view and chest frames (480x640 RGB, resized as the training cache) and state44; FM-DiT,
5
+ DP and ACT read no past actions or earlier frames (one frame); FLASH and the ODE policies also read the interface's
6
+ executed rows before the query (`past_actions`, `history_valid`: the token sent and the INSPIRE opening measured at
7
+ each earlier frame): FLASH for its polynomial history, the ODE policies the last one (frame t-1) as their start.
8
+ Output: the checkpoint's whole chunk (16 rows of action76, row 0 executed at the request's frame), `execution_steps`
9
+ rows of it executed before the next query (deploy.yml `config: execution_steps`, default the whole chunk; the runners
10
+ re-query after at most 12 rows), the request's seed for the sampling noise (FM-DiT, DP).
11
+ """
12
+ from __future__ import annotations
13
+
14
+ from .runtime import BaselinePolicy
15
+
16
+ WIDTH = {'sonic_dfx6': 76}
17
+
18
+
19
+ def require(condition, message):
20
+ if not condition:
21
+ raise RuntimeError(message)
22
+
23
+
24
+ def make_model(policy_name: str):
25
+ class Model:
26
+ history_length = 1 # the current head and chest frames only
27
+ video_frames = 0
28
+
29
+ def __init__(self, cfg):
30
+ self.policy = BaselinePolicy(cfg['checkpoint_path'], device=cfg.get('device', 'cuda:0'),
31
+ policy=policy_name, robot='g1')
32
+ contract = self.policy.contract
33
+ require(cfg['action_space'] in WIDTH and contract['action_space'] == cfg['action_space']
34
+ and self.policy.action_dim == WIDTH[cfg['action_space']] and self.policy.state_dim == 44
35
+ and list(self.policy.cameras) == ['ego_view', 'chest'],
36
+ f"checkpoint contract {contract['name']} does not serve {cfg['action_space']}")
37
+ extra = cfg.get('config') or {}
38
+ if extra.get('check_task', True):
39
+ require(cfg['task'].strip() == (self.policy.task_text or '').strip(),
40
+ f'task text {cfg["task"]!r} is not the training task {self.policy.task_text!r}')
41
+ self.execution_steps = int(extra.get('execution_steps') or self.policy.horizon)
42
+ require(1 <= self.execution_steps <= self.policy.horizon, f'execution_steps {self.execution_steps}')
43
+ self.uses_history = self.policy.name == 'flash' or self.policy.uses_previous
44
+ self.info = dict(self.policy.info(), execution_steps=self.execution_steps,
45
+ inputs='current frames + state44' + (' + executed-action history' if self.uses_history
46
+ else ''))
47
+
48
+ def get_action(self, obs):
49
+ if self.uses_history:
50
+ action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'],
51
+ past_actions=obs['past_actions'], history_valid=obs['history_valid'])
52
+ else:
53
+ action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'])
54
+ return dict(action=action, execution_steps=self.execution_steps,
55
+ sampling_steps=self.policy.sampling_steps)
56
+
57
+ Model.__name__ = Model.__qualname__ = f'Model_{policy_name}'
58
+ return Model
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/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()
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/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()
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/data.py ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Training data of the baselines: a task's LeRobot v2.1 expert dataset read through a robot contract.
2
+
3
+ A contract names the cameras and which dataset columns form the policy state and the action rows, the same layouts
4
+ the registered GR00T / Psi0 checkpoints were trained on:
5
+
6
+ - `g1_sonic_dfx6` (G1 + INSPIRE, the evaluation/README.md interface; ego_view, chest): state44 =
7
+ `observation.state[0:29]` body, measured `observation.inspire_{left,right}_hand_state`,
8
+ `observation.projected_gravity`; action76 (`sonic_dfx6`) = `action.motion_token` 64 and the measured DFX6 of the
9
+ same row (row 0 = the current opening);
10
+ - `h2_sharpa` (H2 + Sharpa, debug/newton/h2_sharpa_policy_eval.py; head, chest): state78 = `observation.state` 75,
11
+ `observation.projected_gravity` 3; action75 = `action.body_target` 31, `action.hands` 44 (absolute targets);
12
+ - `h2_sharpa_planner` (H2 + Sharpa a14 v2, h2_policy_planner_eval.py; head, chest): state78; action82 = action75 +
13
+ `action.planner` 7.
14
+
15
+ Frames: every camera's video is decoded once (PyAV), each frame resized with `resize_frame` (OpenCV INTER_AREA, the
16
+ same function the policy runtime applies to live frames) and stored as a uint8 memory map in a cache directory keyed by
17
+ the dataset, episodes, camera and size. A training sample is the frame t of an episode: the cameras and the state at t,
18
+ and the action rows t..t+horizon-1 (rows past the episode's end repeat its last row, as DextraVerse's windows).
19
+ """
20
+ from __future__ import annotations
21
+
22
+ from dataclasses import dataclass
23
+ import hashlib
24
+ import json
25
+ import os
26
+ from pathlib import Path
27
+ import sys
28
+
29
+ import numpy as np
30
+
31
+ CACHE_VERSION = 1
32
+
33
+
34
+ @dataclass(frozen=True)
35
+ class Contract:
36
+ name: str
37
+ robot: str
38
+ cameras: tuple
39
+ state: tuple # ((column, start, end), ...) concatenated in order
40
+ action: tuple
41
+ action_space: str | None = None # the G1 evaluation interface's action space, if any
42
+ body_dims: int = 0 # leading raw-radian body joint angles of the state (augmentation spec v2 perturbs these)
43
+
44
+ @property
45
+ def state_dim(self) -> int:
46
+ return sum(end - start for _, start, end in self.state)
47
+
48
+ @property
49
+ def action_dim(self) -> int:
50
+ return sum(end - start for _, start, end in self.action)
51
+
52
+ def to_dict(self, cameras=None) -> dict:
53
+ return dict(name=self.name, robot=self.robot, cameras=list(cameras or self.cameras),
54
+ state=[list(s) for s in self.state], action=[list(a) for a in self.action],
55
+ state_dim=self.state_dim, action_dim=self.action_dim, action_space=self.action_space,
56
+ body_dims=self.body_dims)
57
+
58
+
59
+ _G1_HANDS = (('observation.inspire_left_hand_state', 0, 6), ('observation.inspire_right_hand_state', 0, 6))
60
+ _H2_STATE = (('observation.state', 0, 75), ('observation.projected_gravity', 0, 3))
61
+ _H2_ACTION = (('action.body_target', 0, 31), ('action.hands', 0, 44))
62
+ # body_dims: G1 observation.state[0:29] are the 29 body joints; H2 observation.state[0:31] are legs 6+6, waist 3,
63
+ # head 2, arms 7+7 (docs/unitree_h2_sharpa.md), then the Sharpa hands.
64
+ CONTRACTS = {c.name: c for c in (
65
+ Contract('g1_sonic_dfx6', 'g1', ('ego_view', 'chest'),
66
+ (('observation.state', 0, 29), *_G1_HANDS, ('observation.projected_gravity', 0, 3)),
67
+ (('action.motion_token', 0, 64), *_G1_HANDS), action_space='sonic_dfx6', body_dims=29),
68
+ Contract('h2_sharpa', 'h2_sharpa', ('head', 'chest'), _H2_STATE, _H2_ACTION, body_dims=31),
69
+ Contract('h2_sharpa_planner', 'h2_sharpa', ('head', 'chest'), _H2_STATE,
70
+ (*_H2_ACTION, ('action.planner', 0, 7)), body_dims=31),
71
+ )}
72
+
73
+
74
+ def augmentation_module():
75
+ """evaluation/augmentation: the augmentation spec v2 shared by every model's training (imported on demand)."""
76
+ evaluation = str(Path(__file__).resolve().parents[1])
77
+ if evaluation not in sys.path:
78
+ sys.path.insert(0, evaluation)
79
+ import augmentation
80
+ return augmentation
81
+
82
+
83
+ def resize_frame(frame: np.ndarray, hw) -> np.ndarray:
84
+ """(H, W, 3) uint8 RGB -> (h, w, 3) uint8, OpenCV INTER_AREA (training cache and live frames alike)."""
85
+ import cv2
86
+ frame = np.ascontiguousarray(frame, dtype=np.uint8)
87
+ if frame.ndim != 3 or frame.shape[2] != 3:
88
+ raise ValueError(f'expected an (H, W, 3) RGB frame, got {frame.shape}')
89
+ h, w = int(hw[0]), int(hw[1])
90
+ if frame.shape[:2] == (h, w):
91
+ return frame
92
+ return cv2.resize(frame, (w, h), interpolation=cv2.INTER_AREA)
93
+
94
+
95
+ class LeRobotDataset:
96
+ """A LeRobot v2.1 dataset directory (meta/info.json, meta/episodes.jsonl, data/, videos/)."""
97
+
98
+ def __init__(self, root):
99
+ self.root = Path(root).expanduser().resolve()
100
+ self.info = json.loads((self.root / 'meta/info.json').read_text())
101
+ if self.info.get('codebase_version') != 'v2.1':
102
+ raise ValueError(f"{self.root}: LeRobot {self.info.get('codebase_version')}, expected v2.1")
103
+ rows = [json.loads(line) for line in (self.root / 'meta/episodes.jsonl').read_text().splitlines() if line]
104
+ self.lengths = {int(r['episode_index']): int(r['length']) for r in rows}
105
+ tasks = [json.loads(line) for line in (self.root / 'meta/tasks.jsonl').read_text().splitlines() if line]
106
+ self.tasks = {int(t['task_index']): t['task'] for t in tasks}
107
+ self.fps = float(self.info['fps'])
108
+
109
+ @property
110
+ def name(self) -> str:
111
+ """The dataset's folder name (its parent's for an export folder named `lerobot`)."""
112
+ return self.root.parent.name if self.root.name == 'lerobot' else self.root.name
113
+
114
+ def chunk(self, episode: int) -> int:
115
+ return episode // int(self.info['chunks_size'])
116
+
117
+ def parquet(self, episode: int) -> Path:
118
+ return self.root / self.info['data_path'].format(episode_chunk=self.chunk(episode), episode_index=episode)
119
+
120
+ def video(self, episode: int, camera: str) -> Path:
121
+ return self.root / self.info['video_path'].format(episode_chunk=self.chunk(episode), episode_index=episode,
122
+ video_key=f'observation.images.{camera}')
123
+
124
+ def check_contract(self, contract: Contract, cameras):
125
+ features = self.info['features']
126
+ for column, start, end in (*contract.state, *contract.action):
127
+ if column not in features:
128
+ raise KeyError(f'{self.root.name}: no column {column!r} (contract {contract.name})')
129
+ width = int(np.prod(features[column]['shape']))
130
+ if end > width:
131
+ raise ValueError(f'{column} has {width} values; the contract reads {start}:{end}')
132
+ for camera in cameras:
133
+ key = f'observation.images.{camera}'
134
+ if features.get(key, {}).get('dtype') != 'video':
135
+ raise KeyError(f'{self.root.name}: no video {key!r}')
136
+
137
+
138
+ def parse_episodes(spec: str | None, available) -> list:
139
+ """'0:100', '0,3,7' or None (all), restricted to the dataset's episodes, sorted."""
140
+ available = sorted(available)
141
+ if not spec:
142
+ return available
143
+ chosen = set()
144
+ for part in spec.split(','):
145
+ if ':' in part:
146
+ lo, hi = part.split(':')
147
+ chosen.update(range(int(lo or 0), int(hi) if hi else available[-1] + 1))
148
+ else:
149
+ chosen.add(int(part))
150
+ missing = sorted(chosen - set(available))
151
+ if missing:
152
+ raise ValueError(f'episodes not in the dataset: {missing[:10]}')
153
+ return sorted(chosen)
154
+
155
+
156
+ def load_lowdim(dataset: LeRobotDataset, contract: Contract, episodes) -> dict:
157
+ """State (N, state_dim) and action (N, action_dim) float32 of the episodes in order, plus each episode's start
158
+ row, length and task text."""
159
+ import pyarrow.parquet as pq
160
+ columns = sorted({c for c, _, _ in (*contract.state, *contract.action)} | {'frame_index', 'task_index'})
161
+ states, actions, starts, lengths, tasks, offset = [], [], [], [], set(), 0
162
+ for episode in episodes:
163
+ table = pq.read_table(dataset.parquet(episode), columns=columns)
164
+ data = {c: np.asarray(table.column(c).to_pylist(), dtype=np.float64) for c in columns}
165
+ n = len(data['frame_index'])
166
+ if n != dataset.lengths[episode] or not np.array_equal(data['frame_index'], np.arange(n)):
167
+ raise ValueError(f'episode {episode}: {n} rows / frame_index differ from episodes.jsonl')
168
+
169
+ def pick(spec):
170
+ return np.concatenate([data[c].reshape(n, -1)[:, s:e] for c, s, e in spec], axis=1).astype(np.float32)
171
+
172
+ states.append(pick(contract.state))
173
+ actions.append(pick(contract.action))
174
+ tasks.update(dataset.tasks[int(i)] for i in np.unique(data['task_index']))
175
+ starts.append(offset)
176
+ lengths.append(n)
177
+ offset += n
178
+ state, action = np.concatenate(states), np.concatenate(actions)
179
+ if not (np.isfinite(state).all() and np.isfinite(action).all()):
180
+ raise ValueError('non-finite state or action values')
181
+ return dict(state=state, action=action, starts=np.asarray(starts), lengths=np.asarray(lengths),
182
+ episodes=list(episodes), tasks=sorted(tasks))
183
+
184
+
185
+ def statistics(lowdim: dict, rows: np.ndarray, quantiles: bool = False) -> dict:
186
+ """min / max / mean / std of state and action over `rows`; with `quantiles` also their q01 / q99 (the ODE
187
+ policies' normalization bounds, as ODE Policy's G1 port fits them)."""
188
+ out = {}
189
+ for key in ('state', 'action'):
190
+ x = lowdim[key][rows].astype(np.float64)
191
+ out[key] = dict(min=x.min(0).tolist(), max=x.max(0).tolist(), mean=x.mean(0).tolist(), std=x.std(0).tolist())
192
+ if quantiles:
193
+ q01, q99 = np.quantile(x, [0.01, 0.99], axis=0)
194
+ out[key].update(q01=q01.tolist(), q99=q99.tolist())
195
+ return out
196
+
197
+
198
+ # Columns recorded in physical [0, 1] (the INSPIRE DFX6 openings): the ODE policies normalize them with these fixed
199
+ # bounds instead of the data's, as ODE Policy's G1 port does.
200
+ UNIT_RANGE_COLUMNS = ('observation.inspire_left_hand_state', 'observation.inspire_right_hand_state')
201
+
202
+
203
+ def unit_range_dims(contract: Contract) -> dict:
204
+ """{'state': [...], 'action': [...]}: the positions of the UNIT_RANGE_COLUMNS values in the contract's layouts."""
205
+ out = {}
206
+ for key, spec in (('state', contract.state), ('action', contract.action)):
207
+ dims, offset = [], 0
208
+ for column, start, end in spec:
209
+ if column in UNIT_RANGE_COLUMNS:
210
+ dims.extend(range(offset, offset + end - start))
211
+ offset += end - start
212
+ out[key] = dims
213
+ return out
214
+
215
+
216
+ # -- frame cache --------------------------------------------------------------------------------------------------
217
+ def _decode_into(job):
218
+ path, out_path, total, start, length, hw = job
219
+ import av
220
+ frames = np.memmap(out_path, dtype=np.uint8, mode='r+', shape=(total, hw[0], hw[1], 3))
221
+ count = 0
222
+ with av.open(str(path)) as container:
223
+ stream = container.streams.video[0]
224
+ stream.thread_type = 'AUTO'
225
+ for frame in container.decode(stream):
226
+ if count < length:
227
+ frames[start + count] = resize_frame(frame.to_ndarray(format='rgb24'), hw)
228
+ count += 1
229
+ frames.flush()
230
+ del frames
231
+ if count != length:
232
+ raise ValueError(f'{path}: {count} video frames, {length} data rows')
233
+ return length
234
+
235
+
236
+ def frame_cache(dataset: LeRobotDataset, lowdim: dict, cameras, hw, cache_root, workers=8) -> dict:
237
+ """{camera: path of the (N, h, w, 3) uint8 memory map} for the episodes of `lowdim`, decoded once and reused."""
238
+ from multiprocessing import get_context
239
+ total = int(lowdim['lengths'].sum())
240
+ paths = {}
241
+ for camera in cameras:
242
+ key = json.dumps(dict(version=CACHE_VERSION, root=str(dataset.root), episodes=lowdim['episodes'],
243
+ lengths=lowdim['lengths'].tolist(), camera=camera, hw=list(hw)), sort_keys=True)
244
+ digest = hashlib.sha256(key.encode()).hexdigest()[:16]
245
+ folder = Path(cache_root).expanduser() / f'{dataset.name}_{camera}_{hw[0]}x{hw[1]}_{digest}'
246
+ folder.mkdir(parents=True, exist_ok=True)
247
+ out, meta = folder / 'frames.u8', folder / 'meta.json'
248
+ if meta.exists() and json.loads(meta.read_text()).get('complete'):
249
+ paths[camera] = out
250
+ continue
251
+ np.memmap(out, dtype=np.uint8, mode='w+', shape=(total, hw[0], hw[1], 3)).flush()
252
+ jobs = [(dataset.video(e, camera), out, total, int(s), int(n), tuple(hw))
253
+ for e, s, n in zip(lowdim['episodes'], lowdim['starts'], lowdim['lengths'])]
254
+ with get_context('spawn').Pool(max(1, int(workers))) as pool: # the caller may hold torch threads
255
+ for done, _ in enumerate(pool.imap_unordered(_decode_into, jobs), 1):
256
+ if done % 20 == 0 or done == len(jobs):
257
+ print(json.dumps(dict(event='frame_cache', camera=camera, episodes=done, of=len(jobs))),
258
+ flush=True)
259
+ meta.write_text(json.dumps(dict(json.loads(key), frames=total, complete=True), indent=1))
260
+ paths[camera] = out
261
+ return paths
262
+
263
+
264
+ class ChunkDataset:
265
+ """torch-style dataset of (images (n_cameras, h, w, 3) uint8, state (state_dim,), action (horizon, action_dim))
266
+ over the frames of the selected episodes (positions into lowdim['episodes']). Memory maps open lazily per
267
+ process (DataLoader workers).
268
+
269
+ `body_dims` > 0 turns on the training augmentation (docs/augmentation_v2.md, evaluation/augmentation): per item,
270
+ the cached frames of all cameras get one hb_aug_v2.augment call (one time step, no future targets) and the first
271
+ `body_dims` state values the per-sample joint bias + noise; the action rows are never touched. 0 (evaluation,
272
+ offline checks) returns the cached frames and the recorded state unchanged, deterministically.
273
+
274
+ `lead` > 0 prepends that many rows before t to the action rows (lead + horizon rows, t-lead..t+horizon-1) and
275
+ adds a fourth item, the rows' validity (lead + horizon,) float: 0 for a row before the episode's first or past its
276
+ last (whose values repeat the nearest row); the ODE policies start from the row before t, or from their BOS where
277
+ it is invalid, and leave invalid future rows out of the loss (policies.ODEPolicy).
278
+
279
+ aug_seed (HumanWAM hb_training/REPRODUCIBILITY.md section 3; the training seed, `HB_AUG_SEED`): the augmentation
280
+ random stream is numpy default_rng([aug_seed, torch.initial_seed(), worker id]) per DataLoader worker, so a rerun
281
+ with the same seed, worker count and sampling order draws the same augmentations; None uses the shared worker_rng
282
+ (pid + urandom: not reproducible)."""
283
+
284
+ def __init__(self, lowdim: dict, frames: dict, cameras, hw, horizon: int, positions, body_dims: int = 0,
285
+ lead: int = 0, aug_seed=None):
286
+ self.lowdim, self.paths, self.cameras, self.hw, self.horizon = lowdim, frames, list(cameras), tuple(hw), horizon
287
+ self.positions, self.body_dims, self.lead = list(positions), int(body_dims), int(lead)
288
+ self.aug_seed = aug_seed
289
+ self._rng_key, self._rng_obj = None, None
290
+ if self.body_dims:
291
+ augmentation_module() # asserts the spec version before any worker starts
292
+ self.total = int(lowdim['lengths'].sum())
293
+ index, begin, end = [], np.zeros(self.total, np.int64), np.zeros(self.total, np.int64)
294
+ for p in positions:
295
+ s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
296
+ index.append(np.arange(s, s + n))
297
+ begin[s:s + n] = s
298
+ end[s:s + n] = s + n
299
+ self.index, self.begin, self.end = np.concatenate(index), begin, end
300
+ self._maps, self._pid = None, None
301
+
302
+ def __len__(self):
303
+ return len(self.index)
304
+
305
+ def _frames(self):
306
+ if self._maps is None or self._pid != os.getpid():
307
+ self._maps = {c: np.memmap(self.paths[c], dtype=np.uint8, mode='r', shape=(self.total, *self.hw, 3))
308
+ for c in self.cameras}
309
+ self._pid = os.getpid()
310
+ return self._maps
311
+
312
+ def rows(self, i: int) -> np.ndarray:
313
+ return np.clip(np.arange(i - self.lead, i + self.horizon), self.begin[i], self.end[i] - 1)
314
+
315
+ def valid(self, i: int) -> np.ndarray:
316
+ rows = np.arange(i - self.lead, i + self.horizon)
317
+ return ((rows >= self.begin[i]) & (rows < self.end[i])).astype(np.float32)
318
+
319
+ def plain(self):
320
+ """The same items without augmentation (the preflight's reference read)."""
321
+ return ChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.horizon, self.positions,
322
+ lead=self.lead)
323
+
324
+ def _rng(self):
325
+ if self.aug_seed is None or not self.body_dims:
326
+ return None
327
+ import torch
328
+ info = torch.utils.data.get_worker_info()
329
+ wid = info.id if info is not None else 0
330
+ key = (os.getpid(), wid)
331
+ if self._rng_key != key:
332
+ self._rng_obj = np.random.default_rng([int(self.aug_seed), int(torch.initial_seed()), int(wid)])
333
+ self._rng_key = key
334
+ return self._rng_obj
335
+
336
+ def _observation(self, i: int, rng=None):
337
+ """The cameras (n_cameras, h, w, 3) uint8 and the state of frame i, augmented when body_dims > 0."""
338
+ import torch
339
+ maps = self._frames()
340
+ images = torch.from_numpy(np.stack([maps[c][i] for c in self.cameras]))
341
+ state = self.lowdim['state'][i]
342
+ if self.body_dims:
343
+ augmentation = augmentation_module()
344
+ images, _ = augmentation.augment_frames_uint8(images, rng=rng)
345
+ state = augmentation.perturb_body(state, self.body_dims, rng=rng)
346
+ return images, torch.from_numpy(np.asarray(state, dtype=np.float32))
347
+
348
+ def __getitem__(self, k):
349
+ import torch
350
+ i = int(self.index[k])
351
+ images, state = self._observation(i, rng=self._rng())
352
+ item = images, state, torch.from_numpy(self.lowdim['action'][self.rows(i)])
353
+ return (*item, torch.from_numpy(self.valid(i))) if self.lead else item
354
+
355
+
356
+ class FlashChunkDataset(ChunkDataset):
357
+ """FLASH training items (evaluation/baselines/flash.py) over every frame of the selected episodes as the anchor:
358
+ (images, state, poly, history, has_history[, dense, dense_valid]).
359
+
360
+ - images, state: the anchor frame's cameras and state44, augmented as ChunkDataset (spec v2) when body_dims > 0;
361
+ - poly (H_ext, action_dim): the action rows at `offsets` frames from the anchor (the polynomial's extended grid,
362
+ `stride` frames apart), clamped to the episode (FLASH's edge padding);
363
+ - history (n_history, action_dim), has_history: flash.history_rows over the `span` executed rows before the anchor
364
+ (rows before the episode start invalid), the same function the adapter applies to past_actions;
365
+ - dense (rows, action_dim), dense_valid: the recorded 30 Hz rows from the anchor (offline check only).
366
+
367
+ aug_seed: as ChunkDataset (the same seeded stream)."""
368
+
369
+ def __init__(self, lowdim, frames, cameras, hw, positions, *, offsets, stride, n_history, rows, body_dims=0,
370
+ aug_seed=None, with_dense=False):
371
+ super().__init__(lowdim, frames, cameras, hw, rows, positions, body_dims=body_dims)
372
+ self.offsets = np.asarray(offsets, dtype=np.int64)
373
+ self.stride, self.n_history, self.n_rows = int(stride), int(n_history), int(rows)
374
+ self.span = (self.n_history - 1) * self.stride + 1
375
+ self.aug_seed, self.with_dense = aug_seed, bool(with_dense)
376
+ start = np.zeros(self.total, np.int64)
377
+ for p in positions:
378
+ s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
379
+ start[s:s + n] = s
380
+ self.start = start
381
+
382
+ def plain(self):
383
+ return FlashChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.positions, offsets=self.offsets,
384
+ stride=self.stride, n_history=self.n_history, rows=self.n_rows,
385
+ with_dense=self.with_dense)
386
+
387
+ def __getitem__(self, k):
388
+ import torch
389
+ from .flash import history_rows
390
+ i = int(self.index[k])
391
+ s0, e1 = int(self.start[i]), int(self.end[i])
392
+ images, state = self._observation(i, rng=self._rng())
393
+ action = self.lowdim['action']
394
+ poly = action[np.clip(i + self.offsets, s0, e1 - 1)]
395
+ past = i - self.span + np.arange(self.span)
396
+ history, has = history_rows(action[np.maximum(past, s0)], past >= s0, self.stride, self.n_history)
397
+ out = [images, state, torch.from_numpy(np.ascontiguousarray(poly)), torch.from_numpy(history),
398
+ torch.tensor(bool(has))]
399
+ if self.with_dense:
400
+ idx = i + np.arange(self.n_rows)
401
+ out += [torch.from_numpy(np.ascontiguousarray(action[np.minimum(idx, e1 - 1)])),
402
+ torch.from_numpy(idx < e1)]
403
+ return tuple(out)
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/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
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/inloop.py ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """In-training open-loop action MSE of the baselines (owner 2026-11-22: every training of every model measures it while
2
+ it trains; HumanWAM `hb_training/REPRODUCIBILITY.md` section 6).
3
+
4
+ The protocol code is HumanWAM's `hb_training/eval-action-mse` (`hb_inloop_core.InLoop` and `hb_eval_common`), used
5
+ unmodified from the directory given to train.py as --inloop-code; its cache lives under $HB_EVAL_CACHE (default
6
+ $G/eval-action-mse/cache) and is built by its `build_cache.py <task> train10`. Per evaluation: the queries every 16
7
+ frames of the task's `heldout` episodes (`train10` when it has none), the first 16 predicted rows against the
8
+ recorded ones, nMSE over the training-frame std (constant dims excluded), batches of 8 queries seeded
9
+ 1234 + 1000 rank + batch index, every HB_INLOOP_EVERY (250) steps; one json line per evaluation in
10
+ <run>/logs/inloop-mse.jsonl and `HB_INLOOP` lines in the log. Training RNG and module modes are restored after each.
11
+
12
+ The evaluated weights are the ones the run saves (the EMA). Inputs as at deployment: each camera resized like the
13
+ training cache (data.resize_frame), state44, and for FLASH the cached past actions (the up to 16 recorded rows before
14
+ the query: the eval protocol's `past_action`) through the same history rule as the adapter (runtime.BaselinePolicy).
15
+ Before the first step the cache is checked against the run's data: the cached state and action rows of every cached
16
+ episode that the run loaded must equal the run's rows bit for bit.
17
+ """
18
+ from __future__ import annotations
19
+
20
+ import os
21
+ from pathlib import Path
22
+ import sys
23
+
24
+ import numpy as np
25
+
26
+ from .data import resize_frame
27
+
28
+
29
+ def install(code_dir, task, run_dir, get_model, contract, cameras, hw, lowdim, policy_name, lowdim_loader=None):
30
+ """The InLoop object of this run (its evaluate(step, model) is called by train.py), after the cache check."""
31
+ code_dir = Path(code_dir).expanduser().resolve()
32
+ if not (code_dir / 'hb_inloop_core.py').exists():
33
+ raise FileNotFoundError(f'{code_dir}: no hb_inloop_core.py (HumanWAM hb_training/eval-action-mse)')
34
+ if str(code_dir) not in sys.path:
35
+ sys.path.insert(0, str(code_dir))
36
+ import hb_inloop_core as core
37
+ E = core.E
38
+ if core.EVERY <= 0:
39
+ print(f'HB_INLOOP {policy_name} disabled: HB_INLOOP_EVERY={core.EVERY}', flush=True)
40
+ return None
41
+ if task not in E.TASKS:
42
+ raise KeyError(f'task {task!r} is not registered in {code_dir}/hb_eval_common.py TASKS')
43
+ split = core.pick_split(task)
44
+ meta = E.load_meta(task, split)
45
+ lay = E.LAYOUTS[meta['layout']]
46
+ if (lay['state_dim'], lay['action_dim']) != (contract.state_dim, contract.action_dim):
47
+ raise ValueError(f"eval layout {meta['layout']} {lay['state_dim']}/{lay['action_dim']} vs contract "
48
+ f'{contract.name} {contract.state_dim}/{contract.action_dim}')
49
+ missing = [c for c in cameras if c not in meta['cams']]
50
+ if missing:
51
+ raise KeyError(f"cameras {missing} not in the eval cache {meta['cams']}")
52
+ def check(rows, what):
53
+ done = []
54
+ for ep in meta['episodes']: # the cache holds this run's data
55
+ if ep not in rows['episodes']:
56
+ continue
57
+ p = rows['episodes'].index(ep)
58
+ s, n = int(rows['starts'][p]), int(rows['lengths'][p])
59
+ with np.load(E.split_dir(task, split) / f'ep_{ep:06d}.npz') as z:
60
+ same = (np.array_equal(z['state'], rows['state'][s:s + n])
61
+ and np.array_equal(z['action'], rows['action'][s:s + n]))
62
+ if not same:
63
+ raise ValueError(f'eval cache {task}/{split} episode {ep} differs from {what} '
64
+ f'(cache source {meta.get("source")})')
65
+ done.append(ep)
66
+ return done
67
+
68
+ checked = check(lowdim, 'the training data')
69
+ if not checked and lowdim_loader is not None:
70
+ # a held-out split: its episodes are not trained on, so they are checked against the same dataset read
71
+ # through the same contract (2026-11-24, B7 black lead-drop b7td: train 0-99, held out 100-106)
72
+ checked = check(lowdim_loader(list(meta['episodes'])), "this run's dataset (held-out episodes)")
73
+ if not checked:
74
+ raise ValueError(f'no cached episode of {task}/{split} is in this run\'s data: cannot check the cache')
75
+
76
+ import torch
77
+
78
+ def predict(batch, seed):
79
+ model = get_model()
80
+ device = next(model.parameters()).device
81
+ frames = np.stack([np.stack([resize_frame(q['images'][c], hw) for c in cameras]) for q in batch])
82
+ images = torch.from_numpy(frames).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
83
+ state = torch.from_numpy(np.stack([q['state'] for q in batch]).astype(np.float32)).to(device)
84
+ generator = torch.Generator(device=device)
85
+ generator.manual_seed(int(seed))
86
+ extra = ()
87
+ if policy_name == 'flash':
88
+ from .flash import history_rows
89
+ span, hist, has = model.history_span, [], []
90
+ for q in batch:
91
+ past = np.asarray(q['past_action'], np.float32).reshape(-1, contract.action_dim)
92
+ rows = np.zeros((max(span, len(past)), contract.action_dim), np.float32)
93
+ valid = np.zeros(len(rows), bool)
94
+ if len(past):
95
+ rows[-len(past):], valid[-len(past):] = past, True
96
+ h, ok = history_rows(rows[-span:], valid[-span:], model.stride, model.n_history)
97
+ hist.append(h)
98
+ has.append(ok)
99
+ extra = (torch.from_numpy(np.stack(hist)).to(device), torch.tensor(has, device=device))
100
+ kwargs = {}
101
+ if getattr(model, 'lead_rows', 0): # the ODE policies start from the executed row before (BOS without one)
102
+ prev = [np.asarray(q.get('past_action', ()), np.float32).reshape(-1, contract.action_dim) for q in batch]
103
+ kwargs = dict(previous=torch.from_numpy(np.stack([p[-1] if len(p) else np.zeros(contract.action_dim,
104
+ np.float32)
105
+ for p in prev])).to(device),
106
+ has_previous=torch.tensor([len(p) > 0 for p in prev], device=device))
107
+ pred, _ = model.predict(images, state, *extra, generator=generator, **kwargs)
108
+ return pred.float().cpu().numpy()
109
+
110
+ info = dict(weights='ema', policy=policy_name, cache_checked_episodes=checked,
111
+ inloop_code=str(code_dir), cache=str(E.split_dir(task, split)))
112
+ loop = core.InLoop(policy_name, task, split, Path(run_dir) / 'logs' / 'inloop-mse.jsonl', predict,
113
+ cams=list(cameras), info=info)
114
+ loop.every = core.EVERY
115
+ loop.say(f'{policy_name} installed: task {task} split {split}, every {core.EVERY} steps, cache checked on '
116
+ f'episodes {checked}, code {code_dir}, G={os.environ.get("G", "<default>")}')
117
+ return loop
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/nets.py ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Networks of the FM-DiT and DP (DDPM-DiT) baselines: the AdaLN DiT action backbone and the camera + state encoder.
2
+
3
+ Ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/nets/dit.py`, `layers.py`,
4
+ `positional_embedding.py`, `vision/backbones.py`, `vision/encoder.py`), unchanged in architecture and initialization.
5
+ Left out: the ROVE improvement embedding, the spatial-softmax / R3M / tactile options and the inpainting path (the
6
+ baselines always condition through the global observation feature). Added: the ResNet's normalization choice
7
+ (`get_resnet`): DextraVerse's GroupNorm for a backbone trained from scratch, or BatchNorm frozen at the pretrained
8
+ statistics (the DETR / ACT practice) for an ImageNet-initialized backbone that is fine-tuned with the policy.
9
+ """
10
+ from __future__ import annotations
11
+
12
+ import math
13
+
14
+ import torch
15
+ import torch.nn as nn
16
+ import torch.nn.functional as F
17
+ import torchvision
18
+
19
+ IMAGENET_MEAN = (0.485, 0.456, 0.406)
20
+ IMAGENET_STD = (0.229, 0.224, 0.225)
21
+
22
+
23
+ class SinusoidalPosEmb(nn.Module):
24
+ def __init__(self, dim):
25
+ super().__init__()
26
+ self.dim = dim
27
+
28
+ def forward(self, x):
29
+ half_dim = self.dim // 2
30
+ emb = math.log(10000) / (half_dim - 1)
31
+ emb = torch.exp(torch.arange(half_dim, device=x.device) * -emb)
32
+ emb = x[:, None] * emb[None, :]
33
+ return torch.cat((emb.sin(), emb.cos()), dim=-1)
34
+
35
+
36
+ class RotaryPosEmb(nn.Module):
37
+ """Rotary position embedding over each attention head's (S, head_dim) slice."""
38
+
39
+ def __init__(self, dim):
40
+ super().__init__()
41
+ self.dim = dim
42
+ self.register_buffer('inv_freq', 1.0 / (10000 ** (torch.arange(0, dim, 2).float() / dim)))
43
+
44
+ def forward(self, x): # x: (B, heads, S, head_dim)
45
+ t = torch.arange(x.shape[-2], device=x.device, dtype=self.inv_freq.dtype)
46
+ freqs = torch.outer(t, self.inv_freq.to(x.device))
47
+ emb = torch.cat([freqs, freqs], dim=-1)
48
+ cos, sin = emb.cos()[None, None], emb.sin()[None, None]
49
+ x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2:]
50
+ return x * cos + torch.cat([-x2, x1], dim=-1) * sin
51
+
52
+
53
+ class Mlp(nn.Module):
54
+ """The ViT MLP (timm.layers.Mlp) as DextraVerse's nets/layers.py."""
55
+
56
+ def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0):
57
+ super().__init__()
58
+ out_features = out_features or in_features
59
+ hidden_features = hidden_features or in_features
60
+ self.fc1 = nn.Linear(in_features, hidden_features)
61
+ self.act = act_layer()
62
+ self.drop1 = nn.Dropout(drop)
63
+ self.norm = nn.Identity()
64
+ self.fc2 = nn.Linear(hidden_features, out_features)
65
+ self.drop2 = nn.Dropout(drop)
66
+
67
+ def forward(self, x):
68
+ return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
69
+
70
+
71
+ class Attention(nn.Module):
72
+ def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, qk_norm=True):
73
+ super().__init__()
74
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
75
+ self.num_heads = num_heads
76
+ self.head_dim = dim // num_heads
77
+ self.attn_drop = attn_drop
78
+ self.proj_drop = nn.Dropout(proj_drop)
79
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
80
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
81
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
82
+ self.proj = nn.Linear(dim, dim)
83
+ self.rope = RotaryPosEmb(self.head_dim)
84
+
85
+ def forward(self, x):
86
+ B, S, C = x.shape
87
+ qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
88
+ q, k, v = qkv.unbind(0)
89
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
90
+ x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
91
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
92
+
93
+
94
+ class AdaLNBlock(nn.Module):
95
+ """Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022)."""
96
+
97
+ def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0):
98
+ super().__init__()
99
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
100
+ self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
101
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
102
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
103
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
104
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
105
+ self.dim = dim
106
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
107
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
108
+
109
+ def forward(self, x, t, c):
110
+ B = x.shape[0]
111
+ gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
112
+ x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
113
+ return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
114
+
115
+
116
+ class FlowTransformer(nn.Module):
117
+ """DiT action backbone: AdaLN blocks over the H action tokens, conditioned on time_embed(t) + cond_embed(obs).
118
+
119
+ As DextraVerse, the generic Xavier initialization runs after the blocks' zero init of their AdaLN projection, so
120
+ it is not the full AdaLN-Zero recipe (kept: it is the reference's training behaviour)."""
121
+
122
+ def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
123
+ dropout=0.1, time_embed_dim=256):
124
+ super().__init__()
125
+ self.input_proj = nn.Linear(input_dim, hidden_dim)
126
+ self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
127
+ nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
128
+ self.cond_embed = nn.Linear(condition_dim, hidden_dim)
129
+ self.transformer_blocks = nn.ModuleList(
130
+ [AdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout) for _ in range(num_layers)])
131
+ self.norm = nn.LayerNorm(hidden_dim)
132
+ self.out_proj = nn.Linear(hidden_dim, output_dim)
133
+
134
+ def basic_init(module):
135
+ if isinstance(module, nn.Linear):
136
+ nn.init.xavier_uniform_(module.weight)
137
+ if module.bias is not None:
138
+ nn.init.constant_(module.bias, 0)
139
+
140
+ self.apply(basic_init)
141
+ nn.init.normal_(self.time_embed[1].weight, std=0.02)
142
+ nn.init.normal_(self.time_embed[3].weight, std=0.02)
143
+
144
+ def forward(self, x, t, global_cond):
145
+ if not torch.is_tensor(t):
146
+ t = torch.tensor(t, device=x.device)
147
+ if t.ndim == 0:
148
+ t = t.expand(x.shape[0])
149
+ x = self.input_proj(x)
150
+ t = self.time_embed(t)
151
+ c = self.cond_embed(global_cond)
152
+ for block in self.transformer_blocks:
153
+ x = block(x, t, c)
154
+ return self.out_proj(self.norm(x))
155
+
156
+
157
+ def replace_batchnorm_with_groupnorm(module: nn.Module) -> nn.Module:
158
+ """DextraVerse's use_group_norm: every BatchNorm2d becomes GroupNorm(num_features // 16 groups)."""
159
+ for name, child in module.named_children():
160
+ if isinstance(child, nn.BatchNorm2d):
161
+ setattr(module, name, nn.GroupNorm(num_groups=child.num_features // 16, num_channels=child.num_features))
162
+ else:
163
+ replace_batchnorm_with_groupnorm(child)
164
+ return module
165
+
166
+
167
+ NORMS = ('group', 'frozen_bn')
168
+
169
+
170
+ def get_resnet(name='resnet18', weights=None, norm='group') -> nn.Module:
171
+ """A torchvision ResNet with its classifier removed: (N, 3, H, W) -> (N, 512) globally pooled.
172
+
173
+ weights: torchvision weights name (e.g. 'IMAGENET1K_V1') to initialize from, or None (random initialization;
174
+ a checkpoint load supplies every weight). norm: 'group' replaces every BatchNorm with GroupNorm (DextraVerse's
175
+ use_group_norm, for training from scratch: pretrained BatchNorm statistics and affine are dropped); 'frozen_bn'
176
+ keeps BatchNorm frozen at its (pretrained) running statistics and affine, the convolutions fine-tune."""
177
+ if norm == 'frozen_bn':
178
+ from .act_nets import FrozenBatchNorm2d
179
+ resnet = getattr(torchvision.models, name)(weights=weights, norm_layer=FrozenBatchNorm2d)
180
+ elif norm == 'group':
181
+ resnet = replace_batchnorm_with_groupnorm(getattr(torchvision.models, name)(weights=weights))
182
+ else:
183
+ raise ValueError(f'norm must be one of {NORMS}, got {norm!r}')
184
+ resnet.fc = nn.Identity()
185
+ return resnet
186
+
187
+
188
+ class ImageStateEncoder(nn.Module):
189
+ """DextraVerse MultiImageObsEncoder as configured for FM-DiT / DDPM-DiT: one ResNet shared by every camera
190
+ (share_rgb_model; `get_resnet` weights and norm), ImageNet normalization of the [0, 1] images, the pooled features
191
+ of each camera in the contract's camera order, then the normalized state. shared=False gives every camera its own
192
+ ResNet (share_rgb_model False, the ODE policy's encoder; `rgb` is then a ModuleList in camera order).
193
+ Output (B, n_cameras * 512 + state_dim)."""
194
+
195
+ def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None, norm='group', shared=True):
196
+ super().__init__()
197
+ self.n_cameras, self.state_dim, self.shared = int(n_cameras), int(state_dim), bool(shared)
198
+ self.rgb = (get_resnet(backbone, weights=weights, norm=norm) if self.shared else
199
+ nn.ModuleList([get_resnet(backbone, weights=weights, norm=norm) for _ in range(self.n_cameras)]))
200
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
201
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
202
+ self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
203
+
204
+ def forward(self, images, state):
205
+ """images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
206
+ B = images.shape[0]
207
+ if self.shared:
208
+ x = (images.flatten(0, 1) - self.mean) / self.std
209
+ features = self.rgb(x).reshape(B, -1) # camera features side by side, in camera order
210
+ else:
211
+ features = torch.cat([net((images[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)], dim=-1)
212
+ return torch.cat([features, state], dim=-1)
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/ode_nets.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Vector fields of the ODE policy baselines (ODE-MLP, ODE-DiT).
2
+
3
+ Ported from ODE Policy (Jindou Jia et al., https://github.com/NTUMARS/ODE-POLICY, branch main @cea26d94, Apache-2.0):
4
+ `ode_policy/policies/ode/ode_image_policy.py` (`_FiLMLayer`, `VectorField`, `DiTVectorField`) and the DiT parts it
5
+ uses, `ode_policy/utils/models/flow_net.py` (`Attention`, `AdaLNBlock`), `ode_policy/utils/models/layers.py` (`Mlp`)
6
+ and `ode_policy/policies/dp/models/diffusion/positional_embedding.py` (`RotaryPosEmb`, torchtune's interleaved RoPE
7
+ over the full width, which differs from the DextraVerse RoPE of nets.py). Architectures and initializations are
8
+ unchanged. Left out: the gripper-only dropout pass (`drop_first`; the benchmark's actions have no binary gripper).
9
+
10
+ Both fields are autonomous (no time input): f(a, s | c) depends only on where the action state `a` is, the
11
+ proprioception `s` (when the field reads it) and the per-chunk condition `c`; the output layer starts at zero, so an
12
+ untrained policy holds its start action.
13
+ """
14
+ from __future__ import annotations
15
+
16
+ import torch
17
+ import torch.nn as nn
18
+ import torch.nn.functional as F
19
+
20
+
21
+ class FiLMLayer(nn.Module):
22
+ def __init__(self, dim, cond_dim):
23
+ super().__init__()
24
+ self.lin = nn.Linear(dim, dim)
25
+ self.film = nn.Linear(cond_dim, 2 * dim)
26
+
27
+ def forward(self, h, c=None, gb=None):
28
+ g, b = gb if gb is not None else self.film(c).chunk(2, dim=-1)
29
+ return h + F.silu(self.lin(h) * (1 + g) + b)
30
+
31
+
32
+ class VectorField(nn.Module):
33
+ """ODE-MLP: f(a, s | c), a FiLM-modulated residual MLP. Training-only dropout on the hidden units keeps one mask
34
+ per sample for every field call until reset_dropout(), so a whole integrated chunk sees one thinned field."""
35
+
36
+ def __init__(self, cond_dim, state_dim, hidden_dim, num_layers, out_dim, pose_dim, dropout=0.0):
37
+ super().__init__()
38
+ self.dropout, self._masks = float(dropout), None
39
+ self.inp = nn.Linear(pose_dim + state_dim, hidden_dim)
40
+ self.layers = nn.ModuleList([FiLMLayer(hidden_dim, cond_dim) for _ in range(num_layers)])
41
+ self.out = nn.Linear(hidden_dim, out_dim)
42
+ self.feat_dim = hidden_dim
43
+ nn.init.zeros_(self.out.weight)
44
+ nn.init.zeros_(self.out.bias)
45
+
46
+ def precompute(self, c):
47
+ """FiLM scale/shift depend on c only; computed once per integration."""
48
+ return [layer.film(c).chunk(2, dim=-1) for layer in self.layers]
49
+
50
+ def reset_dropout(self):
51
+ self._masks = None
52
+
53
+ def forward(self, a, s, c, film=None):
54
+ drop = self.training and self.dropout > 0
55
+ h = self.inp(torch.cat([a, s], dim=-1))
56
+ if drop and (self._masks is None or self._masks[0].shape != h.shape):
57
+ keep = 1.0 - self.dropout
58
+ self._masks = [torch.bernoulli(torch.full_like(h, keep)) / keep for _ in self.layers]
59
+ for i, layer in enumerate(self.layers):
60
+ h = layer(h, c, None if film is None else film[i])
61
+ if drop:
62
+ h = h * self._masks[i]
63
+ return self.out(h)
64
+
65
+
66
+ class RotaryPosEmb(nn.Module):
67
+ """Rotary positional embedding (torchtune), built over the full width `dim` and applied to the heads' slices."""
68
+
69
+ def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
70
+ super().__init__()
71
+ self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
72
+ theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
73
+ self.register_buffer('theta', theta, persistent=False)
74
+ seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
75
+ idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
76
+ self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
77
+ persistent=False)
78
+
79
+ def forward(self, x):
80
+ """x (B, num_heads, S, head_dim) -> the same shape."""
81
+ x = x.permute(0, 2, 1, 3) # (B, S, num_heads, head_dim)
82
+ B, S, num_heads, head_dim = x.size()
83
+ rope_cache = self.cache[:S]
84
+ xshaped = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
85
+ rope_cache = rope_cache.view(1, S, num_heads, head_dim // 2, 2)
86
+ x_out = torch.stack([xshaped[..., 0] * rope_cache[..., 0] - xshaped[..., 1] * rope_cache[..., 1],
87
+ xshaped[..., 1] * rope_cache[..., 0] + xshaped[..., 0] * rope_cache[..., 1]], -1)
88
+ return x_out.flatten(3).permute(0, 2, 1, 3).type_as(x)
89
+
90
+
91
+ class Attention(nn.Module):
92
+ def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0., proj_drop=0., max_seq_len=64, qk_norm=True):
93
+ super().__init__()
94
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
95
+ self.num_heads = num_heads
96
+ self.head_dim = dim // num_heads
97
+ self.attn_drop = attn_drop
98
+ self.proj_drop = nn.Dropout(proj_drop)
99
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
100
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
101
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
102
+ self.proj = nn.Linear(dim, dim)
103
+ self.rope = RotaryPosEmb(dim, max_seq_len=max_seq_len)
104
+
105
+ def forward(self, x, mask=None):
106
+ B, S, C = x.shape
107
+ qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
108
+ q, k, v = qkv.unbind(0)
109
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
110
+ if self.training:
111
+ x = F.scaled_dot_product_attention(q, k, v, attn_mask=mask, dropout_p=self.attn_drop)
112
+ else:
113
+ x = F.scaled_dot_product_attention(q, k, v)
114
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
115
+
116
+
117
+ class Mlp(nn.Module):
118
+ """The ViT MLP (timm.layers.Mlp) as ODE Policy's utils/models/layers.py, linear layers only."""
119
+
120
+ def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.):
121
+ super().__init__()
122
+ out_features = out_features or in_features
123
+ hidden_features = hidden_features or in_features
124
+ self.fc1 = nn.Linear(in_features, hidden_features)
125
+ self.act = act_layer()
126
+ self.drop1 = nn.Dropout(drop)
127
+ self.norm = nn.Identity()
128
+ self.fc2 = nn.Linear(hidden_features, out_features)
129
+ self.drop2 = nn.Dropout(drop)
130
+
131
+ def forward(self, x):
132
+ return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
133
+
134
+
135
+ class AdaLNBlock(nn.Module):
136
+ """Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022); ada_ln starts at zero (adaLN-zero)."""
137
+
138
+ def __init__(self, dim, num_heads, mlp_ratio=4., dropout=0.):
139
+ super().__init__()
140
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
141
+ self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
142
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
143
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
144
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
145
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
146
+ self.dim = dim
147
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
148
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
149
+
150
+
151
+ class DiTVectorField(nn.Module):
152
+ """ODE-DiT: the vector field built from DiT blocks. [a, s] is projected to n_tokens tokens; every block's
153
+ LayerNorm scales/shifts/gates are regressed from the condition c (no time input: the field is autonomous); the
154
+ tokens are pooled for the output. Same interface and zero-initialized output as VectorField."""
155
+
156
+ def __init__(self, cond_dim, state_dim, hidden_dim, num_layers, out_dim, pose_dim, num_heads=8, n_tokens=4,
157
+ mlp_ratio=4.0):
158
+ super().__init__()
159
+ self.n_tokens, self.hidden_dim, self.feat_dim = n_tokens, hidden_dim, hidden_dim
160
+ self.inp = nn.Linear(pose_dim + state_dim, n_tokens * hidden_dim)
161
+ self.pos = nn.Parameter(torch.zeros(1, n_tokens, hidden_dim))
162
+ self.cond = nn.Linear(cond_dim, hidden_dim)
163
+ self.blocks = nn.ModuleList([AdaLNBlock(hidden_dim, num_heads, mlp_ratio) for _ in range(num_layers)])
164
+ self.norm = nn.LayerNorm(hidden_dim)
165
+ self.out = nn.Linear(hidden_dim, out_dim)
166
+ nn.init.zeros_(self.out.weight)
167
+ nn.init.zeros_(self.out.bias)
168
+
169
+ def precompute(self, c):
170
+ """The adaLN scales/shifts/gates depend on c only: computed once per integration."""
171
+ cc = F.silu(self.cond(c))
172
+ return [blk.ada_ln(cc).view(c.shape[0], 6, 1, self.hidden_dim).unbind(1) for blk in self.blocks]
173
+
174
+ def forward(self, a, s, c, film=None):
175
+ B = a.shape[0]
176
+ x = self.inp(torch.cat([a, s], dim=-1)).view(B, self.n_tokens, self.hidden_dim) + self.pos
177
+ mods = self.precompute(c) if film is None else film
178
+ for blk, (g1, g2, sc1, sc2, sh1, sh2) in zip(self.blocks, mods):
179
+ x = x + blk.attn(blk.norm1(x) * (1 + sc1) + sh1) * g1
180
+ x = x + blk.mlp(blk.norm2(x) * (1 + sc2) + sh2) * g2
181
+ return self.out(self.norm(x).mean(dim=1))
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/policies.py ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Two follow ODE Policy's G1 port (Jia et al., github.com/NTUMARS/ODE-POLICY branch real-g1 @fd8bec47, maintained in
12
+ HumanWAM as packages/ode_g1: model.py `SonicLatentODE`, data.py), with its GR00T backbone replaced by ODE Policy's own
13
+ image encoder (ode_policy main @cea26d94, ode.yaml), each in its authors' configuration (not aligned with the others):
14
+
15
+ - `ode_mlp`, `ODEPolicy`: the body part of the action (G1: the SONIC motion token) is an ODE state, db/dt =
16
+ f(b, s | c) with a FiLM residual MLP field, integrated with Euler one row per step from the body row executed at t-1;
17
+ the hands are decoded from c; masked MSE of the integrated path and the hands;
18
+ - `ode_dit`, `ODEDiTPolicy`: the same with ODE Policy's DiT (adaLN) field (ode_dit.yaml).
19
+
20
+ Contract (every policy): `compute_loss(images, state, action) -> (loss, metrics)` and
21
+ `predict(images, state, generator) -> (action, normalized action)`; images (B, n_cameras, 3, H, W) float in [0, 1],
22
+ state (B, state_dim) and action (B, lead_rows + horizon, action_dim) in physical units. Each policy owns its
23
+ `Normalizer` (DextraVerse's LinearNormalizer 'limits' mode: state and action to [-1, 1] per dimension, constant
24
+ dimensions shifted to 0), saved in its state dict. One observation frame (n_obs_steps 1: the current images and
25
+ state); the chunk's row 0 is the action of the observation's own frame (the LeRobot rows t..t+horizon-1). A policy
26
+ with `lead_rows` 1 (the ODE policies) also reads the row before, t-1, and the rows' validity (ChunkDataset `lead`),
27
+ and its `predict` takes `previous`, the action row executed at t-1. The ODE policies normalize with their own bounds
28
+ (q01 / q99, the DFX6 hands fixed at [0, 1], clipped to [-5, 5]). The configuration that builds a policy is a plain
29
+ dict (`PolicyConfig` fields), stored in the checkpoint.
30
+
31
+ The ResNet18 of FM-DiT, DP and ACT starts from torchvision's ImageNet-1k weights (`backbone_weights` 'IMAGENET1K_V1',
32
+ the default since 2026-11-16) and is fine-tuned with the policy, its BatchNorm frozen at the pretrained statistics
33
+ (`backbone_norm` 'frozen_bn', as ACT always does); `backbone_weights` None trains from scratch with DextraVerse's
34
+ GroupNorm encoder (FM-DiT, DP) or ACT's frozen-BatchNorm one. The ODE policies default to ODE Policy's encoder: one
35
+ ResNet18 per camera, from scratch, GroupNorm. A checkpoint load builds the structure without fetching any weights.
36
+ """
37
+ from __future__ import annotations
38
+
39
+ from dataclasses import asdict, dataclass, field, replace
40
+
41
+ import torch
42
+ import torch.nn as nn
43
+ import torch.nn.functional as F
44
+
45
+ from .act_nets import DETRVAE, Transformer, build_backbone, build_style_encoder, kl_divergence
46
+ from .nets import IMAGENET_MEAN, IMAGENET_STD, FlowTransformer, ImageStateEncoder
47
+ from .ode_nets import DiTVectorField, VectorField
48
+
49
+ ODE_POLICIES = ('ode_mlp', 'ode_dit')
50
+ # Defaults that differ by policy. horizon and backbone_weights resolve in PolicyConfig; backbone_lr_scale (and amp)
51
+ # are the training script's. The ODE policies: 16-row chunks (the G1 port's H16; its deployment re-plans about 4 rows
52
+ # before a chunk ends, as the benchmark clients' query every 12 rows), ODE Policy's encoder from scratch at the full
53
+ # learning rate (ode.yaml, default_train.yaml). Mixed precision as the G1 port: the encoder under bf16 autocast, the
54
+ # ODE head in FP32.
55
+ # The training recipe of ODE Policy's default_train.yaml (the same NTUMARS trainer as FLASH's): seed 42, lr 1e-4 at
56
+ # the benchmark's batch 512 without batch scaling (as every model of the protocol, HumanWAM REPRODUCIBILITY.md
57
+ # section 4), 500-step warm-up then diffusers' cosine, Diffusion Policy's EMAModel as upstream counts it.
58
+ POLICY_DEFAULTS = {name: dict(horizon=16, backbone_weights=None, backbone_lr_scale=1.0, seed=42,
59
+ schedule='diffusers_cosine', ema_schedule='diffusion_policy_emamodel')
60
+ for name in ODE_POLICIES}
61
+
62
+
63
+ @dataclass
64
+ class PolicyConfig:
65
+ """Everything that builds a policy (stored in the checkpoint's config.json). Model defaults are DextraVerse's
66
+ configs/algorithm/il/model/{fm_dit,ddpm_dit,act}.yaml and, for the ODE policies (`ode_*` fields), ODE Policy's G1
67
+ port (HumanWAM packages/ode_g1 configs/g1.yaml `head`) and ode_dit.yaml for the DiT field."""
68
+ policy: str
69
+ n_cameras: int
70
+ state_dim: int
71
+ action_dim: int
72
+ horizon: int | None = None # None: the policy's default (POLICY_DEFAULTS, else 16)
73
+ backbone: str = 'resnet18'
74
+ # torchvision weights to initialize from; None = from scratch; 'default': IMAGENET1K_V1, the ODE policies None
75
+ backbone_weights: str | None = 'default'
76
+ backbone_norm: str | None = None # 'frozen_bn' or 'group'; None: frozen_bn when pretrained or ACT, else group
77
+ # FM-DiT / DP (DiT backbone)
78
+ hidden_dim: int = 384
79
+ num_layers: int = 4
80
+ num_heads: int = 8
81
+ mlp_ratio: float = 4.0
82
+ dropout: float = 0.1
83
+ time_embed_dim: int = 128
84
+ num_inference_steps: int | None = None # None: FM-DiT 10 midpoint steps, DP every training timestep (100)
85
+ # DP noise schedule (diffusers DDPMScheduler)
86
+ num_train_timesteps: int = 100
87
+ beta_schedule: str = 'squaredcos_cap_v2'
88
+ prediction_type: str = 'epsilon'
89
+ clip_sample: bool = True
90
+ # ACT
91
+ act_hidden_dim: int = 512
92
+ dim_feedforward: int = 3200
93
+ enc_layers: int = 4
94
+ dec_layers: int = 7
95
+ nheads: int = 8
96
+ latent_dim: int = 32
97
+ kl_weight: float = 10.0
98
+ # ODE policies (G1 port, configs/g1.yaml head: width 512, 4 FiLM layers, cond 512, field_scale 1). ode_body_dim:
99
+ # the leading action columns integrated as the ODE state, the rest decoded from the condition (G1: the token 64 and
100
+ # the DFX6 12; train.py sets it to the contract's first action group, H2: body_target 31). ODE-DiT: ODE Policy's
101
+ # DiT field, 512 wide, 4 blocks, 8 heads, 4 tokens (ode_dit.yaml).
102
+ ode_body_dim: int | None = None
103
+ ode_width: int = 512
104
+ ode_layers: int = 4
105
+ ode_cond_dim: int = 512
106
+ ode_field_scale: float = 1.0
107
+ ode_dit_hidden: int = 512
108
+ ode_dit_layers: int = 4
109
+ ode_dit_heads: int = 8
110
+ ode_dit_tokens: int = 4
111
+ extra: dict = field(default_factory=dict)
112
+
113
+ def __post_init__(self):
114
+ defaults = POLICY_DEFAULTS.get(self.policy, {})
115
+ if self.horizon is None:
116
+ self.horizon = int(defaults.get('horizon', 16))
117
+ if self.backbone_weights == 'default':
118
+ self.backbone_weights = defaults.get('backbone_weights', 'IMAGENET1K_V1')
119
+ if self.backbone_norm is None:
120
+ self.backbone_norm = 'frozen_bn' if self.backbone_weights or self.policy == 'act' else 'group'
121
+ if self.policy == 'act' and self.backbone_norm != 'frozen_bn':
122
+ raise ValueError("ACT's backbone keeps frozen BatchNorm (backbone_norm 'frozen_bn')")
123
+
124
+ @classmethod
125
+ def from_dict(cls, data: dict) -> PolicyConfig:
126
+ known = {k: v for k, v in data.items() if k in cls.__dataclass_fields__}
127
+ return cls(**known)
128
+
129
+ def to_dict(self) -> dict:
130
+ return asdict(self)
131
+
132
+
133
+ class Normalizer(nn.Module):
134
+ """Per-dimension affine map to [-1, 1] from the training data's min/max (DextraVerse LinearNormalizer, mode
135
+ 'limits', fit_offset, range_eps 1e-4): x_n = x * scale + offset; a dimension whose range is below range_eps gets
136
+ scale 1 and maps its value to 0."""
137
+
138
+ def __init__(self, dim: int):
139
+ super().__init__()
140
+ self.register_buffer('scale', torch.ones(dim))
141
+ self.register_buffer('offset', torch.zeros(dim))
142
+
143
+ @torch.no_grad()
144
+ def fit(self, minimum, maximum, range_eps=1e-4):
145
+ lo = torch.as_tensor(minimum, dtype=torch.float32)
146
+ hi = torch.as_tensor(maximum, dtype=torch.float32)
147
+ span = hi - lo
148
+ ignore = span < range_eps
149
+ span[ignore] = 2.0
150
+ scale = 2.0 / span
151
+ offset = -1.0 - scale * lo
152
+ offset[ignore] = -lo[ignore]
153
+ self.scale.copy_(scale)
154
+ self.offset.copy_(offset)
155
+
156
+ def normalize(self, x):
157
+ return x * self.scale + self.offset
158
+
159
+ def unnormalize(self, x):
160
+ return (x - self.offset) / self.scale
161
+
162
+
163
+ class BasePolicy(nn.Module):
164
+ name = ''
165
+ backbone_prefix = '' # state-dict prefix of the image backbone (its own learning rate in training)
166
+ lead_rows = 0 # action rows before the observation's frame that a training item carries (ODE: 1, the start)
167
+
168
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
169
+ super().__init__()
170
+ self.cfg = cfg
171
+ self.state_norm = Normalizer(cfg.state_dim)
172
+ self.action_norm = Normalizer(cfg.action_dim)
173
+
174
+ def fit_normalizers(self, stats: dict):
175
+ self.state_norm.fit(stats['state']['min'], stats['state']['max'])
176
+ self.action_norm.fit(stats['action']['min'], stats['action']['max'])
177
+
178
+ @property
179
+ def sampling_steps(self) -> int:
180
+ return 1
181
+
182
+ def compute_loss(self, images, state, action):
183
+ raise NotImplementedError
184
+
185
+ def predict(self, images, state, generator=None):
186
+ raise NotImplementedError
187
+
188
+
189
+ class DiTPolicy(BasePolicy):
190
+ """Shared by FM-DiT and DP: the shared-ResNet image + state encoder and the AdaLN DiT over the action chunk
191
+ (global observation conditioning, DextraVerse obs_as_global_cond)."""
192
+ backbone_prefix = 'obs_encoder.rgb.'
193
+
194
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
195
+ super().__init__(cfg)
196
+ self.obs_encoder = ImageStateEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone,
197
+ weights=init_weights, norm=cfg.backbone_norm)
198
+ self.model = FlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
199
+ hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim, num_layers=cfg.num_layers,
200
+ num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
201
+ time_embed_dim=cfg.time_embed_dim)
202
+
203
+ def condition(self, images, state):
204
+ return self.obs_encoder(images, self.state_norm.normalize(state))
205
+
206
+
207
+ class FMDiTPolicy(DiTPolicy):
208
+ """Flow-matching DiT (DextraVerse FlowMatchingDiTImagePolicy): x_t = (1 - t) noise + t a, t ~ U(0, 1), the DiT
209
+ regresses the velocity a - noise; sampling integrates t = 0 -> 1 with the midpoint rule."""
210
+ name = 'fm_dit'
211
+
212
+ @property
213
+ def sampling_steps(self) -> int:
214
+ return int(self.cfg.num_inference_steps or 10)
215
+
216
+ def compute_loss(self, images, state, action):
217
+ cond = self.condition(images, state)
218
+ target = self.action_norm.normalize(action)
219
+ noise = torch.randn_like(target)
220
+ t = torch.rand(target.shape[0], device=target.device)
221
+ te = t.view(-1, 1, 1)
222
+ x_t = (1 - te) * noise + te * target
223
+ loss = F.mse_loss(self.model(x_t, t, cond), target - noise)
224
+ return loss, dict(fm=float(loss.detach()))
225
+
226
+ @torch.no_grad()
227
+ def predict(self, images, state, generator=None):
228
+ cond = self.condition(images, state)
229
+ B, steps = images.shape[0], self.sampling_steps
230
+ x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=cond.device, dtype=cond.dtype,
231
+ generator=generator)
232
+ times = torch.linspace(0, 1.0, steps + 1, device=cond.device)
233
+ for i in range(steps):
234
+ t0 = times[i].view(1).expand(B)
235
+ t1 = times[i + 1].view(1).expand(B)
236
+ dt = (t1 - t0).view(-1, 1, 1)
237
+ x_mid = x + self.model(x, t0, cond) * dt / 2
238
+ x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond)
239
+ return self.action_norm.unnormalize(x), x
240
+
241
+
242
+ class DPPolicy(DiTPolicy):
243
+ """Diffusion Policy with the DiT backbone (DextraVerse DiffusionDiTImagePolicy, ddpm_dit.yaml): DDPM with 100
244
+ training steps, squaredcos_cap_v2 betas, fixed_small variance, clipped samples, epsilon prediction; sampled with
245
+ every training step (100 DiT calls)."""
246
+ name = 'dp'
247
+
248
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
249
+ super().__init__(cfg, init_weights)
250
+ from diffusers.schedulers.scheduling_ddpm import DDPMScheduler
251
+ self.noise_scheduler = DDPMScheduler(num_train_timesteps=cfg.num_train_timesteps, beta_start=0.0001,
252
+ beta_end=0.02, beta_schedule=cfg.beta_schedule,
253
+ variance_type='fixed_small', clip_sample=cfg.clip_sample,
254
+ prediction_type=cfg.prediction_type)
255
+
256
+ @property
257
+ def sampling_steps(self) -> int:
258
+ return int(self.cfg.num_inference_steps or self.cfg.num_train_timesteps)
259
+
260
+ def compute_loss(self, images, state, action):
261
+ cond = self.condition(images, state)
262
+ target = self.action_norm.normalize(action)
263
+ noise = torch.randn_like(target)
264
+ t = torch.randint(0, self.noise_scheduler.config.num_train_timesteps, (target.shape[0],),
265
+ device=target.device).long()
266
+ noisy = self.noise_scheduler.add_noise(target, noise, t)
267
+ pred = self.model(noisy, t, cond)
268
+ goal = noise if self.cfg.prediction_type == 'epsilon' else target
269
+ loss = F.mse_loss(pred, goal)
270
+ return loss, dict(ddpm=float(loss.detach()))
271
+
272
+ @torch.no_grad()
273
+ def predict(self, images, state, generator=None):
274
+ cond = self.condition(images, state)
275
+ scheduler = self.noise_scheduler
276
+ x = torch.randn((images.shape[0], self.cfg.horizon, self.cfg.action_dim), device=cond.device,
277
+ dtype=cond.dtype, generator=generator)
278
+ scheduler.set_timesteps(self.sampling_steps, device=cond.device)
279
+ for t in scheduler.timesteps:
280
+ x = scheduler.step(self.model(x, t.to(cond.device), cond), t, x, generator=generator).prev_sample
281
+ return self.action_norm.unnormalize(x), x
282
+
283
+
284
+ class ACTPolicy(BasePolicy):
285
+ """ACT (DextraVerse ACTImagePolicy, act.yaml): ImageNet-normalized cameras through one ResNet with frozen
286
+ BatchNorm (spatial tokens, no pooling), the normalized state as qpos, a CVAE style encoder over the action chunk in
287
+ training, the DETR decoder with `horizon` queries; loss L1 + kl_weight x KL; inference decodes from the zero
288
+ latent (deterministic)."""
289
+ name = 'act'
290
+ backbone_prefix = 'model.backbone.'
291
+
292
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
293
+ super().__init__(cfg)
294
+ transformer = Transformer(d_model=cfg.act_hidden_dim, nhead=cfg.nheads, num_encoder_layers=cfg.enc_layers,
295
+ num_decoder_layers=cfg.dec_layers, dim_feedforward=cfg.dim_feedforward,
296
+ dropout=cfg.dropout, return_intermediate_dec=False)
297
+ self.model = DETRVAE(build_backbone(cfg.backbone, hidden_dim=cfg.act_hidden_dim, weights=init_weights),
298
+ transformer,
299
+ build_style_encoder(cfg.act_hidden_dim, cfg.nheads, cfg.dim_feedforward, cfg.enc_layers,
300
+ cfg.dropout),
301
+ qpos_dim=cfg.state_dim, action_dim=cfg.action_dim, num_queries=cfg.horizon,
302
+ latent_dim=cfg.latent_dim)
303
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 1, 3, 1, 1), persistent=False)
304
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 1, 3, 1, 1), persistent=False)
305
+
306
+ def compute_loss(self, images, state, action):
307
+ target = self.action_norm.normalize(action)
308
+ a_hat, (mu, logvar) = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std,
309
+ actions=target)
310
+ l1 = F.l1_loss(a_hat, target)
311
+ kl = kl_divergence(mu, logvar)
312
+ return l1 + self.cfg.kl_weight * kl, dict(l1=float(l1.detach()), kl=float(kl.detach()))
313
+
314
+ @torch.no_grad()
315
+ def predict(self, images, state, generator=None): # noqa: ARG002 - deterministic (zero latent)
316
+ a_hat, _ = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std)
317
+ return self.action_norm.unnormalize(a_hat), a_hat
318
+
319
+
320
+ class ODEPolicy(BasePolicy):
321
+ """ODE policy as ODE Policy's G1 port (`SonicLatentODE`): the body part b of the action row (the first
322
+ ode_body_dim columns; G1 the SONIC motion token 64) is integrated with Euler, one row per unit of time,
323
+ b_{k+1} = b_k + field_scale * f(b_k, s | c), from b_0 = the body row before the chunk; the remaining columns (G1:
324
+ the measured DFX6 12) are decoded from c for every row (linear, SiLU, linear; continuous, no sigmoid). c =
325
+ Linear(LayerNorm(image features)): one ResNet18 per view (ODE Policy's encoder, in place of the G1 port's GR00T
326
+ reader); the state enters the field only, never the condition or the hands.
327
+
328
+ Normalization (the G1 port's): per-dimension q01 / q99 of the training rows to [-1, 1], the UNIT_RANGE columns
329
+ (DFX6) fixed at [0, 1], constant dimensions shifted to 0, clipped to [-5, 5]; the executed body row at inference is
330
+ not clipped (a carried endpoint may leave the interval). Start: training teacher-forces b_0 = the recorded body row
331
+ t-1, the normalized-zero BOS at an episode's first frame; execution starts from the body part of the row executed
332
+ at t-1 (the interface's past_actions[-1]), BOS without one. Loss: masked MSE in normalized units (rows past the
333
+ episode's end left out), body and hands weighted by their widths. The ODE head runs in FP32 (the encoder under the
334
+ caller's autocast). Deterministic; no start perturbation (the G1 port's)."""
335
+ name = 'ode_mlp'
336
+ field_arch = 'mlp'
337
+ backbone_prefix = 'obs_encoder.rgb.'
338
+ lead_rows = 1
339
+ CLIP = 5.0
340
+
341
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
342
+ super().__init__(cfg)
343
+ if cfg.ode_body_dim is None or not 0 < cfg.ode_body_dim <= cfg.action_dim:
344
+ raise ValueError(f'ode_body_dim must be in 1..{cfg.action_dim}, got {cfg.ode_body_dim}')
345
+ body, hands = cfg.ode_body_dim, cfg.action_dim - cfg.ode_body_dim
346
+ self.obs_encoder = ImageStateEncoder(cfg.n_cameras, 0, backbone=cfg.backbone, weights=init_weights,
347
+ norm=cfg.backbone_norm, shared=False) # images only
348
+ self.context_norm = nn.LayerNorm(self.obs_encoder.feature_dim)
349
+ self.context_proj = nn.Linear(self.obs_encoder.feature_dim, cfg.ode_cond_dim)
350
+ if self.field_arch == 'dit':
351
+ self.field = DiTVectorField(cfg.ode_cond_dim, cfg.state_dim, cfg.ode_dit_hidden, cfg.ode_dit_layers, body,
352
+ body, num_heads=cfg.ode_dit_heads, n_tokens=cfg.ode_dit_tokens)
353
+ else:
354
+ self.field = VectorField(cfg.ode_cond_dim, cfg.state_dim, cfg.ode_width, cfg.ode_layers, body, body)
355
+ self.hand_hidden = nn.Linear(cfg.ode_cond_dim, cfg.ode_cond_dim)
356
+ self.hand_output = nn.Linear(cfg.ode_cond_dim, cfg.horizon * hands) if hands else None
357
+
358
+ def fit_normalizers(self, stats: dict):
359
+ """The G1 port's bounds: q01 / q99 (from stats, else min / max), the stats' unit_dims fixed at [0, 1]."""
360
+ for key, norm in (('state', self.state_norm), ('action', self.action_norm)):
361
+ entry = stats[key]
362
+ lo = torch.as_tensor(entry.get('q01', entry['min']), dtype=torch.float64).clone()
363
+ hi = torch.as_tensor(entry.get('q99', entry['max']), dtype=torch.float64).clone()
364
+ unit = torch.as_tensor(entry.get('unit_dims', []), dtype=torch.long)
365
+ lo[unit], hi[unit] = 0.0, 1.0
366
+ norm.fit(lo, hi)
367
+
368
+ @property
369
+ def sampling_steps(self) -> int:
370
+ """Euler steps (field calls) per query."""
371
+ return int(self.cfg.horizon)
372
+
373
+ def features(self, images):
374
+ return self.obs_encoder(images, images.new_zeros(images.shape[0], 0))
375
+
376
+ def head(self, features, s, b0, n_steps):
377
+ """FP32: (body path (B, n_steps, body), hands (B, n_steps, hands)) in normalized units."""
378
+ cfg = self.cfg
379
+ c = self.context_proj(self.context_norm(features.float()))
380
+ film = self.field.precompute(c) # c is fixed over the chunk
381
+ b, path = b0, []
382
+ for _ in range(n_steps): # Euler, dt = one row
383
+ b = b + cfg.ode_field_scale * self.field(b, s, c, film)
384
+ path.append(b)
385
+ path = torch.stack(path, dim=1)
386
+ hands = cfg.action_dim - cfg.ode_body_dim
387
+ if not hands:
388
+ return path, path[..., :0]
389
+ out = self.hand_output(F.silu(self.hand_hidden(c))).view(c.shape[0], cfg.horizon, hands)
390
+ return path, out[:, :n_steps]
391
+
392
+ def compute_loss(self, images, state, action, valid=None):
393
+ cfg = self.cfg
394
+ H, body = cfg.horizon, cfg.ode_body_dim
395
+ if action.shape[1] != H + 1:
396
+ raise ValueError(f'the ODE policy trains on the row before + {H} rows, got {action.shape[1]} rows')
397
+ valid = torch.ones(action.shape[:2], device=action.device) if valid is None else valid.to(action.device)
398
+ features = self.features(images)
399
+ with torch.autocast(device_type=images.device.type, enabled=False):
400
+ s = self.state_norm.normalize(state.float()).clamp(-self.CLIP, self.CLIP)
401
+ nact = self.action_norm.normalize(action.float()).clamp(-self.CLIP, self.CLIP)
402
+ b0 = nact[:, 0, :body] * valid[:, :1].float() # BOS (normalized zero) at an episode's first frame
403
+ path, hands = self.head(features, s, b0, H)
404
+ target, mask = nact[:, 1:], valid[:, 1:, None].float()
405
+
406
+ def masked(pred, goal):
407
+ m = mask.expand_as(goal)
408
+ return ((pred - goal).square() * m).sum() / m.sum().clamp_min(1)
409
+
410
+ body_loss = masked(path, target[..., :body])
411
+ hand_loss = masked(hands, target[..., body:]) if hands.shape[-1] else body_loss.new_zeros(())
412
+ loss = (body * body_loss + (cfg.action_dim - body) * hand_loss) / cfg.action_dim
413
+ return loss, dict(body=float(body_loss.detach()), hand=float(hand_loss.detach()))
414
+
415
+ @torch.no_grad()
416
+ def predict(self, images, state, generator=None, previous=None, has_previous=None): # noqa: ARG002
417
+ """previous: (B, action_dim) physical, the row executed at t-1 (its body part is the start); None, or a False
418
+ in has_previous (B,), starts from the BOS."""
419
+ cfg = self.cfg
420
+ features = self.features(images)
421
+ with torch.autocast(device_type=images.device.type, enabled=False):
422
+ s = self.state_norm.normalize(state.float()).clamp(-self.CLIP, self.CLIP)
423
+ b0 = features.new_zeros(images.shape[0], cfg.ode_body_dim, dtype=torch.float32)
424
+ if previous is not None:
425
+ start = self.action_norm.normalize(previous.to(device=images.device, dtype=torch.float32))
426
+ keep = (torch.ones(images.shape[0], device=images.device) if has_previous is None else
427
+ has_previous.to(images.device).float())
428
+ b0 = start[:, :cfg.ode_body_dim] * keep[:, None] # unclipped carry
429
+ path, hands = self.head(features, s, b0, cfg.horizon)
430
+ raw = torch.cat([path, hands], dim=-1)
431
+ return self.action_norm.unnormalize(raw), raw
432
+
433
+
434
+ class ODEDiTPolicy(ODEPolicy):
435
+ """ODE-DiT: the ODE policy with ODE Policy's DiT (adaLN) vector field (ode_dit.yaml) over [b, s]."""
436
+ name = 'ode_dit'
437
+ field_arch = 'dit'
438
+
439
+
440
+ from .flash import FlashPolicy # noqa: E402 - FLASH (flash.py) builds on this module's Normalizer and nets.py
441
+
442
+ POLICIES = {cls.name: cls for cls in (FMDiTPolicy, DPPolicy, ACTPolicy, FlashPolicy, ODEPolicy, ODEDiTPolicy)}
443
+ LABELS = {'fm_dit': 'FM-DiT', 'dp': 'DP (DDPM-DiT)', 'act': 'ACT', 'flash': 'FLASH', 'ode_mlp': 'ODE-MLP',
444
+ 'ode_dit': 'ODE-DiT'}
445
+
446
+
447
+ def build_policy(cfg: PolicyConfig | dict, pretrained: bool = True) -> BasePolicy:
448
+ """The policy of `cfg`; pretrained=True initializes the backbone from cfg.backbone_weights (training),
449
+ False builds the same structure with random weights (a checkpoint load, which must not download anything)."""
450
+ cfg = cfg if isinstance(cfg, PolicyConfig) else PolicyConfig.from_dict(cfg)
451
+ if cfg.policy not in POLICIES:
452
+ raise KeyError(f'unknown baseline {cfg.policy!r}; one of {sorted(POLICIES)}')
453
+ cfg = replace(cfg) # a copy (resolved backbone_norm)
454
+ return POLICIES[cfg.policy](cfg, init_weights=cfg.backbone_weights if pretrained else None)
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/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
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/runtime.py ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Checkpoints and inference of the baselines.
2
+
3
+ A checkpoint is a directory written by train.py (`<run>/checkpoints/step-NNNNNN/`, `final` links the last one):
4
+
5
+ - `model.pt`: torch.save of {format, config (the config.json text), state_dict}: the EMA weights (or the raw ones when
6
+ EMA is off) with the policy's state and action normalizers, loaded strictly with `weights_only=True`;
7
+ - `config.json`: the policy configuration, the contract (robot, cameras, state and action columns), the image size,
8
+ the training task text, dataset, episodes, recipe and statistics;
9
+ - `protocol.json`: model.pt's size and SHA-256.
10
+
11
+ `BaselinePolicy.predict` takes the live frames of the checkpoint's cameras (any size; resized with data.resize_frame,
12
+ as the training cache), the physical state of the contract, a seed and, for a policy that starts from it (the ODE
13
+ policies, `uses_previous`), the action row executed at the frame before; it returns the physical (horizon,
14
+ action_dim) chunk with its normalized form; row 0 is the action of the observation's frame.
15
+ """
16
+ from __future__ import annotations
17
+
18
+ import hashlib
19
+ import json
20
+ from pathlib import Path
21
+
22
+ import numpy as np
23
+
24
+ FORMAT = 'hb_baselines/1'
25
+
26
+
27
+ def sha256(path) -> str:
28
+ digest = hashlib.sha256()
29
+ with Path(path).open('rb') as stream:
30
+ for block in iter(lambda: stream.read(16 << 20), b''):
31
+ digest.update(block)
32
+ return digest.hexdigest()
33
+
34
+
35
+ def save_checkpoint(folder, policy, config: dict):
36
+ """Write model.pt, config.json and protocol.json of `policy` (an nn.Module) into `folder`."""
37
+ import torch
38
+ folder = Path(folder)
39
+ folder.mkdir(parents=True, exist_ok=True)
40
+ text = json.dumps(dict(config, format=FORMAT), indent=1)
41
+ state = {k: v.detach().cpu().contiguous() for k, v in policy.state_dict().items()}
42
+ torch.save(dict(format=FORMAT, config=text, state_dict=state), folder / 'model.pt.tmp')
43
+ (folder / 'model.pt.tmp').replace(folder / 'model.pt')
44
+ (folder / 'config.json').write_text(text)
45
+ (folder / 'protocol.json').write_text(json.dumps(dict(
46
+ format=FORMAT, step=config.get('step'), policy=config['policy']['policy'],
47
+ files={'model.pt': dict(bytes=(folder / 'model.pt').stat().st_size, sha256=sha256(folder / 'model.pt'))}),
48
+ indent=1))
49
+
50
+
51
+ def load_checkpoint(folder, device='cpu', verify=True):
52
+ """(policy in eval mode on `device`, config dict) of a checkpoint directory."""
53
+ import torch
54
+ from .policies import build_policy
55
+ folder = Path(folder)
56
+ if verify:
57
+ protocol = json.loads((folder / 'protocol.json').read_text())
58
+ entry = protocol['files']['model.pt']
59
+ if (folder / 'model.pt').stat().st_size != entry['bytes']:
60
+ raise ValueError(f'{folder}/model.pt differs from protocol.json')
61
+ payload = torch.load(folder / 'model.pt', map_location='cpu', weights_only=True)
62
+ if payload.get('format') != FORMAT:
63
+ raise ValueError(f"{folder}: format {payload.get('format')!r}, expected {FORMAT}")
64
+ config = json.loads(payload['config'])
65
+ if json.loads((folder / 'config.json').read_text()) != config:
66
+ raise ValueError(f'{folder}: config.json differs from the one inside model.pt')
67
+ policy = build_policy(config['policy'], pretrained=False) # every weight comes from model.pt
68
+ policy.load_state_dict(payload['state_dict'], strict=True)
69
+ return policy.to(device).eval(), config
70
+
71
+
72
+ class BaselinePolicy:
73
+ """A loaded checkpoint for closed-loop inference (one request at a time)."""
74
+
75
+ def __init__(self, checkpoint, device='cuda:0', policy: str | None = None, robot: str | None = None):
76
+ import torch
77
+ self.torch = torch
78
+ self.device = torch.device(device)
79
+ self.model, self.config = load_checkpoint(checkpoint, device=self.device)
80
+ self.checkpoint = str(Path(checkpoint).resolve())
81
+ name, contract = self.config['policy']['policy'], self.config['contract']
82
+ if policy is not None and name != policy:
83
+ raise ValueError(f'{checkpoint} is a {name!r} checkpoint, not {policy!r}')
84
+ if robot is not None and contract['robot'] != robot:
85
+ raise ValueError(f"{checkpoint} was trained for {contract['robot']!r} ({contract['name']}), not {robot!r}")
86
+ self.name, self.contract = name, contract
87
+ self.cameras = tuple(contract['cameras'])
88
+ self.image_hw = tuple(self.config['image_hw'])
89
+ self.horizon = int(self.config['policy']['horizon'])
90
+ self.state_dim, self.action_dim = int(contract['state_dim']), int(contract['action_dim'])
91
+ self.sampling_steps = int(self.model.sampling_steps)
92
+ self.task_text = self.config.get('task_text')
93
+ self.uses_previous = bool(getattr(self.model, 'lead_rows', 0))
94
+
95
+ def info(self) -> dict:
96
+ out = dict(model=self.name, checkpoint=self.checkpoint, step=self.config.get('step'),
97
+ contract=self.contract['name'], views=list(self.cameras), image_hw=list(self.image_hw),
98
+ action_chunk=self.horizon, action_dim=self.action_dim, state_dim=self.state_dim,
99
+ sampling_steps=self.sampling_steps, task_text=self.task_text,
100
+ training_data=self.config.get('dataset', {}).get('name'))
101
+ if self.name == 'flash':
102
+ out['flash'] = dict(self.model.flash, history_rows=self.model.history_span)
103
+ if self.uses_previous:
104
+ out['starts_from'] = 'the body part of the row executed at t-1, else the normalized-zero BOS'
105
+ return out
106
+
107
+ def history(self, past_actions, history_valid):
108
+ """FLASH: (history (1, n_history, Da), has_history (1,)) tensors from the executed rows before the query
109
+ (past_actions (N, Da) oldest first, row N-1 = frame t-1; history_valid (N,) a contiguous valid suffix)."""
110
+ from .flash import history_rows
111
+ torch, span = self.torch, self.model.history_span
112
+ rows = np.asarray(past_actions, np.float32)
113
+ valid = np.asarray(history_valid, np.float32).reshape(-1) > 0.5
114
+ if rows.ndim != 2 or rows.shape[1] != self.action_dim or len(valid) != len(rows):
115
+ raise ValueError(f'past_actions {rows.shape} / history_valid {valid.shape}: '
116
+ f'expected (N, {self.action_dim})')
117
+ if len(rows) < span: # fewer rows than the history reaches back: the missing older rows are invalid
118
+ pad = span - len(rows)
119
+ rows = np.concatenate([np.zeros((pad, rows.shape[1]), np.float32), rows])
120
+ valid = np.concatenate([np.zeros(pad, bool), valid])
121
+ hist, has = history_rows(rows[-span:], valid[-span:], self.model.stride, self.model.n_history)
122
+ return (torch.from_numpy(hist)[None].to(self.device),
123
+ torch.tensor([bool(has)], device=self.device))
124
+
125
+ def images_tensor(self, images: dict):
126
+ from .data import resize_frame
127
+ missing = [c for c in self.cameras if c not in images]
128
+ if missing:
129
+ raise KeyError(f'missing cameras {missing}; the checkpoint reads {list(self.cameras)}')
130
+ frames = np.stack([resize_frame(np.asarray(images[c]), self.image_hw) for c in self.cameras])
131
+ x = self.torch.from_numpy(frames).to(self.device).permute(0, 3, 1, 2).float().div_(255.)
132
+ return x.unsqueeze(0) # (1, n_cameras, 3, h, w)
133
+
134
+ def predict(self, images: dict, state, seed: int = 0, previous=None, past_actions=None, history_valid=None):
135
+ """(action (horizon, action_dim) float32 physical, normalized form (FLASH: the polynomial coefficients)).
136
+ The ODE policies (`uses_previous`) start from `previous`, the physical action row executed at the frame before
137
+ (else the last row of past_actions when history_valid marks it; with neither, their BOS). FLASH needs
138
+ past_actions / history_valid (the interface's executed rows before the query). The others ignore all three."""
139
+ torch = self.torch
140
+ state = np.asarray(state, np.float32).reshape(-1)
141
+ if state.shape != (self.state_dim,) or not np.isfinite(state).all():
142
+ raise ValueError(f'expected a finite state of {self.state_dim} values, got {state.shape}')
143
+ args, kwargs = (), {}
144
+ if self.uses_previous:
145
+ if previous is None and past_actions is not None and history_valid is not None:
146
+ valid = np.asarray(history_valid, np.float32).reshape(-1)
147
+ if len(valid) and valid[-1] > 0.5:
148
+ previous = np.asarray(past_actions, np.float32)[-1]
149
+ if previous is not None:
150
+ previous = np.asarray(previous, np.float32).reshape(-1)
151
+ if previous.shape != (self.action_dim,) or not np.isfinite(previous).all():
152
+ raise ValueError(f'expected a finite previous action row of {self.action_dim} values, '
153
+ f'got {previous.shape}')
154
+ kwargs['previous'] = torch.from_numpy(previous)[None].to(self.device)
155
+ if self.name == 'flash':
156
+ if past_actions is None or history_valid is None:
157
+ raise ValueError('FLASH needs past_actions and history_valid (the executed rows before the query)')
158
+ args = self.history(past_actions, history_valid)
159
+ generator = torch.Generator(device=self.device)
160
+ generator.manual_seed(int(seed) % (2 ** 63 - 1))
161
+ with torch.inference_mode():
162
+ action, raw = self.model.predict(self.images_tensor(images),
163
+ torch.from_numpy(state)[None].to(self.device), *args,
164
+ generator=generator, **kwargs)
165
+ action = action[0].float().cpu().numpy()
166
+ if action.shape != (self.horizon, self.action_dim) or not np.isfinite(action).all():
167
+ raise ValueError(f'invalid prediction {action.shape}')
168
+ return np.ascontiguousarray(action, np.float32), raw[0].float().cpu().numpy().astype(np.float32)
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/baselines/train.py ADDED
@@ -0,0 +1,552 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Train an FM-DiT, DP (DDPM-DiT), ACT, FLASH, ODE-MLP or ODE-DiT baseline on a task's LeRobot v2.1 expert dataset.
2
+
3
+ <baselines env>/bin/python -I evaluation/baselines/train.py --policy fm_dit --contract h2_sharpa \\
4
+ --dataset data/h2_pour_water/h2_pour_water_r1/lerobot --out <run dir> --steps 60000
5
+
6
+ The recipe is DextraVerse's shared IL recipe (configs/algorithm/il/train.yaml; runners/train_dex_flow_matching.py):
7
+ AdamW (lr 1e-4, betas 0.95/0.999, weight decay 1e-6), cosine decay (here after a 500-step linear warm-up, as
8
+ Diffusion Policy), whole-policy EMA (Diffusion Policy's warm-up schedule, max decay 0.9999) whose weights are the
9
+ saved checkpoint, batch 64, one observation frame and 16-row chunks. Added for the humanoid views: frames resized
10
+ to 168x224 (the 480x640 aspect). bf16 autocast on CUDA.
11
+
12
+ 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, as every model's (ChunkDataset aug_seed; logged as HB_AUG_SEED=<seed>).
19
+
20
+ ODE-MLP / ODE-DiT (--policy ode_mlp / ode_dit, policies.ODEPolicy) keep their G1 port's choices
21
+ (policies.POLICY_DEFAULTS): 16-row chunks, the ODE head in FP32, their own normalization bounds (q01 / q99 of the
22
+ training rows, the DFX6 hands fixed at [0, 1]: stats q01 / q99 / unit_dims), the body part = the contract's first
23
+ action group, the encoder from scratch at the full learning rate, seed 42 (ODE Policy's default_train.yaml, whose
24
+ optimizer, schedule and EMA are the recipe above). Their items carry the row before t and the rows' validity
25
+ (ChunkDataset lead 1).
26
+
27
+ Augmentation (2026-11-16): the Humanoid Benchmark spec v2 (docs/augmentation_v2.md, evaluation/augmentation), the
28
+ same for every model of the benchmark, is on by default (--augmentation hb-v2): per training item one hb_aug_v2 call
29
+ on the cached 168x224 frames of all cameras (colour shared, geometry / light patches / white balance per camera, one
30
+ 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
31
+ body joint angles of the raw state (G1 29, H2 31), before the policy's normalizers; actions untouched. The native
32
+ random shift is off (--shift 0; a shift with hb-v2 is refused). Before the first step a preflight reads training items
33
+ through the augmented and the plain path and checks the state width (G1 44 / H2 78, no velocity), that only the body
34
+ joints move and by at most 2.75 deg, that the action rows (and FLASH's history) are bit-identical, that the images
35
+ change, and that the offline-check items are deterministic; it is stored in run.json (--preflight-only stops after it).
36
+ --augmentation none is an explicit exception to the spec, recorded in run.json and the checkpoints. The ResNet18
37
+ starts from torchvision's ImageNet-1k weights (--backbone-weights IMAGENET1K_V1, downloaded once to the torch hub
38
+ cache) and is fine-tuned at 0.1 x the learning rate (--backbone-lr-scale, the DETR practice) with its BatchNorm
39
+ frozen; --backbone-weights none trains it from scratch (DextraVerse's GroupNorm encoder for FM-DiT and DP).
40
+
41
+ In-training MSE (owner 2026-11-22, HumanWAM hb_training/REPRODUCIBILITY.md section 6): --inloop-task <key> with
42
+ --inloop-code <HumanWAM hb_training/eval-action-mse> evaluates the saved (EMA) weights every HB_INLOOP_EVERY (250)
43
+ steps on the protocol's cached episodes (inloop.py) into <out>/logs/inloop-mse.jsonl. FLASH refuses to train without
44
+ it unless --allow-no-inloop (an exception to the protocol, recorded in run.json); so do the ODE policies.
45
+
46
+ Writes into --out: run.json (arguments), train_log.jsonl, checkpoints/step-NNNNNN/ every --save-every steps and at the
47
+ end (runtime.py format), checkpoints/final -> the last one, and train_state.pt (optimizer, schedule, EMA, step) that
48
+ --resume continues from. Each save also measures the EMA policy offline on fixed frames (held-out episodes with
49
+ --val-episodes, else training frames): normalized-action MSE overall and per action group.
50
+ """
51
+ from __future__ import annotations
52
+
53
+ import argparse
54
+ import copy
55
+ from datetime import datetime
56
+ import json
57
+ import math
58
+ import os
59
+ from pathlib import Path
60
+ import subprocess
61
+ import sys
62
+ import time
63
+
64
+ import numpy as np
65
+
66
+ HERE = Path(__file__).resolve().parent
67
+ REPO = HERE.parents[1]
68
+ if str(HERE.parent) not in sys.path:
69
+ sys.path.insert(0, str(HERE.parent))
70
+
71
+ from baselines.data import (CONTRACTS, ChunkDataset, FlashChunkDataset, LeRobotDataset, # noqa: E402
72
+ augmentation_module, frame_cache, load_lowdim, parse_episodes, statistics,
73
+ unit_range_dims)
74
+ from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS # noqa: E402
75
+ from baselines.policies import ODE_POLICIES, POLICIES, POLICY_DEFAULTS, PolicyConfig, build_policy # noqa: E402
76
+ from baselines.runtime import save_checkpoint # noqa: E402
77
+
78
+ DEFAULTS = dict(lr=1e-4, betas=(0.95, 0.999), weight_decay=1e-6, warmup=500, ema=0.9999, batch_size=64,
79
+ horizon=16, backbone_weights='IMAGENET1K_V1', backbone_lr_scale=0.1, seed=0, amp=True)
80
+ # FLASH-Policy f47e490 default_train.yaml / flash.yaml where they differ from DEFAULTS
81
+ FLASH_TRAINING = dict(seed=42, backbone_weights=None, backbone_lr_scale=1.0, schedule='diffusers_cosine',
82
+ ema_schedule='diffusion_policy_emamodel')
83
+
84
+
85
+ def training_defaults(policy: str) -> dict:
86
+ """DEFAULTS with the policy's own: FLASH_TRAINING (flash), policies.POLICY_DEFAULTS (the ODE policies)."""
87
+ return dict(DEFAULTS, **(FLASH_TRAINING if policy == 'flash' else {}), **POLICY_DEFAULTS.get(policy, {}))
88
+
89
+
90
+ def policy_default(policy: str, key: str):
91
+ """The training default of `key` for `policy`."""
92
+ return training_defaults(policy)[key]
93
+
94
+
95
+ def same_policy_config(saved: dict, current: dict) -> bool:
96
+ """A saved policy configuration matches the current one; a field added to PolicyConfig after the save (absent
97
+ from it) matches when the current value is that field's default (e.g. the ode_* fields for an older FM-DiT run)."""
98
+ from dataclasses import MISSING, fields
99
+ defaults = {f.name: f.default for f in fields(PolicyConfig) if f.default is not MISSING}
100
+ return all(saved[k] == v if k in saved else (k in defaults and defaults[k] == v) for k, v in current.items()) \
101
+ and set(saved) <= set(current)
102
+
103
+
104
+ def git_commit():
105
+ try:
106
+ return subprocess.run(['git', '-C', str(REPO), 'rev-parse', 'HEAD'], capture_output=True, text=True,
107
+ check=True).stdout.strip()
108
+ except Exception: # noqa: BLE001 - outside a checkout
109
+ return None
110
+
111
+
112
+ def parse_hw(text):
113
+ h, w = text.lower().split('x')
114
+ return int(h), int(w)
115
+
116
+
117
+ def random_shift(images, pad):
118
+ """DrQ random shift: replicate-pad by `pad` pixels and crop back at a random offset per sample.
119
+ images (B, N, 3, H, W) float."""
120
+ import torch
121
+ import torch.nn.functional as F
122
+ if pad <= 0:
123
+ return images
124
+ B, N, C, H, W = images.shape
125
+ x = F.pad(images.reshape(B * N, C, H, W), (pad,) * 4, mode='replicate')
126
+ oy = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
127
+ ox = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
128
+ rows = (oy[:, None] + torch.arange(H, device=images.device)[None])[:, None, :, None].expand(-1, C, -1, W + 2 * pad)
129
+ x = x.gather(2, rows)
130
+ cols = (ox[:, None] + torch.arange(W, device=images.device)[None])[:, None, None, :].expand(-1, C, H, -1)
131
+ return x.gather(3, cols).reshape(B, N, C, H, W)
132
+
133
+
134
+ class EMA:
135
+ """Diffusion Policy's EMAModel schedule: decay = min(max_decay, 1 - (1 + step) ** -0.75), parameters averaged,
136
+ buffers (normalizers) copied. schedule 'diffusion_policy_emamodel' counts the steps as upstream's EMAModel does
137
+ (decay 0 for the first two updates, then 1 - (step - 1) ** -0.75; FLASH)."""
138
+
139
+ def __init__(self, model, max_decay, schedule='hb'):
140
+ self.model = copy.deepcopy(model).eval().requires_grad_(False)
141
+ self.max_decay = float(max_decay)
142
+ self.schedule = schedule
143
+
144
+ def decay(self, step):
145
+ if self.schedule == 'diffusion_policy_emamodel':
146
+ return 0.0 if step <= 2 else min(self.max_decay, max(0.0, 1 - (step - 1) ** -0.75))
147
+ return 0.0 if step <= 0 else min(self.max_decay, max(0.0, 1 - (1 + step) ** -0.75))
148
+
149
+ def update(self, model, step):
150
+ import torch
151
+ decay = self.decay(step)
152
+ with torch.no_grad():
153
+ for e, p in zip(self.model.parameters(), model.parameters()):
154
+ e.mul_(decay).add_(p.detach(), alpha=1 - decay)
155
+ for e, b in zip(self.model.buffers(), model.buffers()):
156
+ e.copy_(b)
157
+ return decay
158
+
159
+
160
+ def preflight(train_set, eval_set, contract, samples=64, seed=0) -> dict:
161
+ """Training items of `train_set` (augmented unless its body_dims is 0) against the same frames read without
162
+ augmentation, and two reads of the offline-check items; raises on any violation of docs/augmentation_v2.md.
163
+ Items are (images, state, *labels): every label (action rows; FLASH's polynomial rows and history) must be
164
+ bit-identical to the plain read."""
165
+ import torch
166
+ plain = train_set.plain() # the same frames without augmentation
167
+ picks = np.random.default_rng(seed).choice(len(plain), size=min(samples, len(plain)), replace=False)
168
+ nb, sd = train_set.body_dims, contract.state_dim
169
+ limit = augmentation_module().max_body_offset_rad() * (1 + 1e-5)
170
+ images_changed = body_moved = 0
171
+ worst = 0.0
172
+ for k in picks:
173
+ (im, st, *lab), (im0, st0, *lab0) = train_set[int(k)], plain[int(k)]
174
+ if st.shape != (sd,) or st0.shape != (sd,) or [x.shape for x in lab] != [x.shape for x in lab0]:
175
+ raise SystemExit(f'preflight: state {tuple(st.shape)} / labels {[tuple(x.shape) for x in lab]}, '
176
+ f'expected ({sd},)')
177
+ if not all(torch.equal(a, b) for a, b in zip(lab, lab0)):
178
+ raise SystemExit('preflight: an action label differs from the recorded data')
179
+ if not torch.equal(st[nb:], st0[nb:]):
180
+ raise SystemExit(f'preflight: a state value past the {nb} body joints changed')
181
+ delta = (st[:nb].double() - st0[:nb].double()).abs()
182
+ if nb:
183
+ worst = max(worst, float(delta.max()))
184
+ if worst > limit:
185
+ raise SystemExit(f'preflight: a body joint moved {math.degrees(worst):.3f} deg (> 2.75)')
186
+ body_moved += int((delta > 0).sum())
187
+ images_changed += int(not torch.equal(im, im0))
188
+ n = len(picks)
189
+ moved = body_moved / max(1, n * nb)
190
+ if nb and (images_changed < 0.9 * n or moved < 0.95):
191
+ raise SystemExit(f'preflight: augmentation inactive ({images_changed}/{n} images changed, {moved:.3f} of the '
192
+ 'body joint values moved)')
193
+ if not nb and (images_changed or worst):
194
+ raise SystemExit('preflight: items changed with the augmentation off')
195
+ eval_picks = np.random.default_rng(seed + 1).choice(len(eval_set), size=min(8, len(eval_set)), replace=False)
196
+ for k in eval_picks:
197
+ a, b = eval_set[int(k)], eval_set[int(k)]
198
+ if eval_set.body_dims or not all(torch.equal(x, y) for x, y in zip(a, b)):
199
+ raise SystemExit('preflight: the offline-check items are not deterministic')
200
+ return dict(samples=n, state_dim=sd, body_dims=nb, images_changed=images_changed,
201
+ body_values_moved=round(moved, 4),
202
+ max_body_offset_deg=round(math.degrees(worst), 4), actions_bit_identical=True,
203
+ non_body_state_bit_identical=True, eval_items_deterministic=len(eval_picks))
204
+
205
+
206
+ def offline_eval(policy, dataset, samples, device, groups):
207
+ """Normalized-action MSE of policy.predict on fixed dataset items (seeded), overall and per action group. FLASH:
208
+ its 30 Hz output rows against the recorded rows from the anchor (rows past the episode's end left out). A policy
209
+ with lead rows (ODE) starts from the recorded row before the frame (its BOS at an episode's first frame), as from
210
+ the executed row in closed loop, and is scored on the valid rows."""
211
+ import torch
212
+ policy.eval()
213
+ errs, masks = [], []
214
+ generator = torch.Generator(device=device)
215
+ generator.manual_seed(0)
216
+ lead = int(getattr(policy, 'lead_rows', 0))
217
+ for start in range(0, len(samples), 32):
218
+ batch = [dataset[int(k)] for k in samples[start:start + 32]]
219
+ images = torch.stack([b[0] for b in batch]).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
220
+ state = torch.stack([b[1] for b in batch]).to(device)
221
+ if policy.name == 'flash':
222
+ hist = torch.stack([b[3] for b in batch]).to(device)
223
+ has = torch.stack([b[4] for b in batch]).to(device)
224
+ target = torch.stack([b[5] for b in batch]).to(device)
225
+ valid = torch.stack([b[6] for b in batch]).numpy()
226
+ pred, _ = policy.predict(images, state, hist, has, generator=generator)
227
+ raw = policy.action_norm.normalize(pred.float())
228
+ elif lead:
229
+ rows = torch.stack([b[2] for b in batch]).to(device)
230
+ row_valid = torch.stack([b[3] for b in batch])
231
+ previous, target = rows[:, lead - 1], rows[:, lead:]
232
+ valid = (row_valid[:, lead:] > 0).numpy()
233
+ _, raw = policy.predict(images, state, generator=generator, previous=previous,
234
+ has_previous=(row_valid[:, lead - 1] > 0).to(device))
235
+ else:
236
+ target = torch.stack([b[2] for b in batch]).to(device)
237
+ valid = np.ones(target.shape[:2], bool)
238
+ _, raw = policy.predict(images, state, generator=generator)
239
+ errs.append((raw.float() - policy.action_norm.normalize(target)).pow(2).cpu().numpy())
240
+ masks.append(valid)
241
+ err, mask = np.concatenate(errs), np.concatenate(masks) # (S, horizon, action_dim), (S, horizon)
242
+ rows = err[mask]
243
+ out = dict(mse=float(rows.mean()), mse_row0=float(err[:, 0][mask[:, 0]].mean()))
244
+ offset = 0
245
+ for column, start, end in groups:
246
+ out[f'mse_{column.split(".")[-1]}'] = float(rows[:, offset:offset + end - start].mean())
247
+ offset += end - start
248
+ return out
249
+
250
+
251
+ def main():
252
+ p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
253
+ p.add_argument('--policy', choices=sorted(POLICIES), required=True)
254
+ p.add_argument('--dataset', type=Path, required=True, help='LeRobot v2.1 dataset directory')
255
+ p.add_argument('--contract', choices=sorted(CONTRACTS), required=True)
256
+ p.add_argument('--cameras', help='comma-separated cameras (default: the contract\'s)')
257
+ p.add_argument('--episodes', help="episodes to use, e.g. '0:100' (default: all)")
258
+ p.add_argument('--val-episodes', type=int, default=0, help='hold out the last N of them for the offline check')
259
+ p.add_argument('--out', type=Path, required=True)
260
+ p.add_argument('--steps', type=int, default=60000)
261
+ p.add_argument('--batch-size', type=int, default=DEFAULTS['batch_size'])
262
+ p.add_argument('--lr', type=float, default=DEFAULTS['lr'])
263
+ p.add_argument('--weight-decay', type=float, default=DEFAULTS['weight_decay'])
264
+ p.add_argument('--warmup', type=int, default=DEFAULTS['warmup'])
265
+ p.add_argument('--ema', type=float, default=DEFAULTS['ema'], help='max EMA decay; 0 saves the raw weights')
266
+ p.add_argument('--horizon', type=int, default=None,
267
+ help="action rows per chunk (default: the policy's; 16; FLASH: --flash rows)")
268
+ p.add_argument('--image-size', default='168x224', help='HxW of the policy images')
269
+ p.add_argument('--augmentation', choices=['hb-v2', 'none'], default='hb-v2',
270
+ help='training augmentation: the benchmark spec v2 (default; docs/augmentation_v2.md) or none '
271
+ '(an explicit exception, recorded in run.json)')
272
+ p.add_argument('--shift', type=int, default=0,
273
+ help='native random-shift augmentation in pixels (default 0: off; only with --augmentation none)')
274
+ p.add_argument('--preflight-only', action='store_true', help='run the data preflight, write run.json and stop')
275
+ p.add_argument('--backbone-weights', default=None,
276
+ help="torchvision weights the ResNet18 starts from (default IMAGENET1K_V1; FLASH, ODE: none); "
277
+ "'none': from scratch")
278
+ p.add_argument('--backbone-lr-scale', type=float, default=None,
279
+ help='learning rate of the image backbone relative to --lr (default 0.1; FLASH, ODE: 1)')
280
+ p.add_argument('--model', action='append', default=[], metavar='KEY=VALUE',
281
+ help='override a PolicyConfig field (JSON value), e.g. num_layers=6; repeatable')
282
+ p.add_argument('--flash', action='append', default=[], metavar='KEY=VALUE',
283
+ help='FLASH setting (JSON value), e.g. stride=2; repeatable (flash.FLASH_DEFAULTS)')
284
+ p.add_argument('--cache-dir', type=Path, default=Path('~/hb_models/baselines/cache'))
285
+ p.add_argument('--workers', type=int, default=32,
286
+ help='DataLoader workers (and frame-cache decoders); the v2 augmentation costs ~17 ms of one CPU '
287
+ 'core per item, so 8 workers feed only ~6 steps/s at batch 64')
288
+ p.add_argument('--prefetch', type=int, default=2, help='batches prefetched per worker')
289
+ p.add_argument('--save-every', type=int, default=10000)
290
+ p.add_argument('--log-every', type=int, default=100)
291
+ p.add_argument('--eval-samples', type=int, default=256)
292
+ p.add_argument('--seed', type=int, default=None,
293
+ help='training seed (default 0; FLASH, ODE: 42, their upstream recipes\')')
294
+ p.add_argument('--device', default='cuda:0')
295
+ p.add_argument('--no-amp', action='store_true')
296
+ p.add_argument('--resume', action='store_true', help='continue from <out>/train_state.pt')
297
+ p.add_argument('--inloop-task', help='in-training MSE: the task key of HumanWAM eval-action-mse hb_eval_common')
298
+ p.add_argument('--inloop-code', type=Path, help='in-training MSE: HumanWAM hb_training/eval-action-mse')
299
+ p.add_argument('--allow-no-inloop', action='store_true',
300
+ help='FLASH, ODE: train without the in-training MSE (an exception to the protocol, recorded)')
301
+ args = p.parse_args()
302
+
303
+ flash = args.policy == 'flash'
304
+ ode = args.policy in ODE_POLICIES
305
+ defaults = training_defaults(args.policy)
306
+ horizon = defaults['horizon'] if args.horizon is None else args.horizon
307
+ lead = POLICIES[args.policy].lead_rows
308
+ seed = defaults['seed'] if args.seed is None else args.seed
309
+ backbone_weights = defaults['backbone_weights'] if args.backbone_weights is None else args.backbone_weights
310
+ backbone_lr_scale = defaults['backbone_lr_scale'] if args.backbone_lr_scale is None else args.backbone_lr_scale
311
+ if (flash or ode) and not args.inloop_task and not args.allow_no_inloop:
312
+ raise SystemExit(f'{args.policy}: the protocol requires the in-training MSE (--inloop-task, --inloop-code), '
313
+ 'or --allow-no-inloop as a recorded exception')
314
+ if bool(args.inloop_task) != bool(args.inloop_code):
315
+ raise SystemExit('--inloop-task and --inloop-code go together')
316
+
317
+ out = args.out.expanduser().resolve()
318
+ out.mkdir(parents=True, exist_ok=True)
319
+ contract = CONTRACTS[args.contract]
320
+ aug = augmentation_module()
321
+ aug.check_state_layout(contract.robot, contract.state_dim, [column for column, _, _ in contract.state])
322
+ hb_aug = args.augmentation == 'hb-v2'
323
+ if hb_aug and args.shift:
324
+ raise SystemExit('--shift is the native random shift, which the augmentation spec v2 turns off '
325
+ '(docs/augmentation_v2.md); use it only with --augmentation none')
326
+ if contract.body_dims != aug.BODY_JOINTS[contract.robot]:
327
+ raise SystemExit(f'contract {contract.name}: body_dims {contract.body_dims}, the spec perturbs '
328
+ f'{aug.BODY_JOINTS[contract.robot]} body joints')
329
+ augmentation = (aug.describe(contract.robot, contract.body_dims) if hb_aug else
330
+ dict(version=None, exception='--augmentation none (not the benchmark default)'))
331
+ cameras = tuple(args.cameras.split(',')) if args.cameras else contract.cameras
332
+ hw = parse_hw(args.image_size)
333
+ dataset = LeRobotDataset(args.dataset)
334
+ dataset.check_contract(contract, cameras)
335
+ episodes = parse_episodes(args.episodes, dataset.lengths)
336
+ if not 0 <= args.val_episodes < len(episodes):
337
+ raise SystemExit('--val-episodes must leave training episodes')
338
+ lowdim = load_lowdim(dataset, contract, episodes)
339
+ if len(lowdim['tasks']) != 1:
340
+ raise SystemExit(f"the baselines take no language: one task per dataset, found {lowdim['tasks']}")
341
+ n_train = len(episodes) - args.val_episodes
342
+ train_pos, val_pos = list(range(n_train)), list(range(n_train, len(episodes)))
343
+ train_rows = np.concatenate([np.arange(s, s + n) for s, n in
344
+ zip(lowdim['starts'][:n_train], lowdim['lengths'][:n_train])])
345
+ stats = statistics(lowdim, train_rows, quantiles=ode)
346
+ if ode: # the G1 port's normalization: the DFX6 values fixed at [0, 1]
347
+ for key, dims in unit_range_dims(contract).items():
348
+ stats[key]['unit_dims'] = dims
349
+ frames = frame_cache(dataset, lowdim, cameras, hw, args.cache_dir, workers=args.workers)
350
+
351
+ overrides = {k: json.loads(v) for k, v in (item.split('=', 1) for item in args.model)}
352
+ base = dict(policy=args.policy, n_cameras=len(cameras), state_dim=contract.state_dim,
353
+ action_dim=contract.action_dim, horizon=horizon)
354
+ if ode: # the body part integrated as the ODE state: the contract's first action group (G1 token 64, H2 body 31)
355
+ _, first, last = contract.action[0]
356
+ overrides.setdefault('ode_body_dim', last - first)
357
+ if flash:
358
+ settings = dict(FLASH_DEFAULTS, **{k: json.loads(v) for k, v in (i.split('=', 1) for i in args.flash)})
359
+ if args.horizon is not None and args.horizon != settings['rows']:
360
+ raise SystemExit('FLASH: the output rows are --flash rows=N, not --horizon')
361
+ base.update(FLASH_POLICY_FIELDS, horizon=int(settings['rows']), extra=dict(flash=settings))
362
+ elif args.flash:
363
+ raise SystemExit('--flash applies to --policy flash only')
364
+ weights = None if str(backbone_weights).lower() in ('none', '') else backbone_weights
365
+ pcfg = PolicyConfig.from_dict({**base, 'backbone_weights': weights, **overrides})
366
+ aug_seed = seed if hb_aug else None # every model: the seeded augmentation stream (REPRODUCIBILITY.md section 3)
367
+ if flash:
368
+ from baselines.flash import FlashPolicy, flash_settings
369
+ fs = flash_settings(pcfg)
370
+ H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
371
+ offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
372
+ kw = dict(offsets=offsets, stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'])
373
+ train_set = FlashChunkDataset(lowdim, frames, cameras, hw, train_pos,
374
+ body_dims=contract.body_dims if hb_aug else 0, aug_seed=aug_seed, **kw)
375
+ eval_set = FlashChunkDataset(lowdim, frames, cameras, hw, val_pos or train_pos, with_dense=True, **kw)
376
+ assert FlashPolicy.name == 'flash'
377
+ else:
378
+ train_set = ChunkDataset(lowdim, frames, cameras, hw, horizon, train_pos,
379
+ body_dims=contract.body_dims if hb_aug else 0, lead=lead, aug_seed=aug_seed)
380
+ eval_set = ChunkDataset(lowdim, frames, cameras, hw, horizon, val_pos or train_pos,
381
+ lead=lead) # never augmented
382
+ print(f'HB_AUG_SEED={aug_seed}', file=sys.stderr, flush=True)
383
+ checks = preflight(train_set, eval_set, contract, seed=seed)
384
+ print(json.dumps(dict(event='preflight', augmentation=augmentation.get('version'), **checks)), flush=True)
385
+ layout = dict(nodes=1, gpus=1, per_gpu_batch=args.batch_size, global_batch=args.batch_size,
386
+ gradient_accumulation=1, num_workers=args.workers, prefetch=args.prefetch)
387
+ if args.preflight_only:
388
+ (out / 'run.json').write_text(json.dumps(dict(
389
+ argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
390
+ contract=contract.to_dict(cameras), image_hw=list(hw), augmentation=augmentation, preflight=checks,
391
+ shift_px=args.shift, seed=seed, aug_seed=aug_seed, layout=layout, policy=pcfg.to_dict(),
392
+ code_commit=git_commit()), indent=1, default=str))
393
+ return
394
+
395
+ import torch
396
+ torch.manual_seed(seed)
397
+ np.random.seed(seed)
398
+ device = torch.device(args.device)
399
+ policy = build_policy(pcfg)
400
+ policy.fit_normalizers(stats)
401
+ policy.to(device)
402
+ ema = EMA(policy, args.ema, defaults.get('ema_schedule', 'hb')) if args.ema > 0 else None
403
+ named = list(policy.named_parameters())
404
+ backbone = [p for n, p in named if n.startswith(policy.backbone_prefix)]
405
+ rest = [p for n, p in named if not n.startswith(policy.backbone_prefix)]
406
+ if not backbone:
407
+ raise SystemExit(f'no backbone parameters under {policy.backbone_prefix!r}')
408
+ optimizer = torch.optim.AdamW([dict(params=rest), dict(params=backbone, lr=args.lr * backbone_lr_scale)],
409
+ lr=args.lr, betas=DEFAULTS['betas'], weight_decay=args.weight_decay)
410
+ schedule = defaults.get('schedule', 'hb')
411
+
412
+ def lr_lambda(step):
413
+ if schedule == 'diffusers_cosine': # diffusers get_cosine_schedule_with_warmup (FLASH's lr_scheduler)
414
+ if step < args.warmup:
415
+ return step / max(1, args.warmup)
416
+ progress = (step - args.warmup) / max(1, args.steps - args.warmup)
417
+ return max(0.0, 0.5 * (1.0 + math.cos(math.pi * progress)))
418
+ if step < args.warmup:
419
+ return (step + 1) / max(1, args.warmup)
420
+ return 0.5 * (1 + math.cos(math.pi * min(1.0, (step - args.warmup) / max(1, args.steps - args.warmup))))
421
+
422
+ scheduler = torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda)
423
+ step = 0
424
+ state_path = out / 'train_state.pt'
425
+ if args.resume and state_path.exists():
426
+ saved = torch.load(state_path, map_location='cpu', weights_only=False)
427
+ if not same_policy_config(saved['config']['policy'], pcfg.to_dict()):
428
+ raise SystemExit('train_state.pt was written for another policy configuration')
429
+ before = saved['config'].get('training', {})
430
+ if (before.get('augmentation') or {}).get('version') != augmentation.get('version') \
431
+ or before.get('shift_px') != args.shift:
432
+ raise SystemExit('train_state.pt was trained with another augmentation (version / --shift); resuming '
433
+ 'would change it mid-run')
434
+ policy.load_state_dict(saved['policy'])
435
+ optimizer.load_state_dict(saved['optimizer'])
436
+ scheduler.load_state_dict(saved['scheduler'])
437
+ if ema is not None:
438
+ ema.model.load_state_dict(saved['ema'])
439
+ step = int(saved['step'])
440
+ print(json.dumps(dict(event='resumed', step=step)), flush=True)
441
+
442
+ inloop = None
443
+ if args.inloop_task:
444
+ from baselines import inloop as inloop_mod
445
+ inloop = inloop_mod.install(args.inloop_code, args.inloop_task, out,
446
+ lambda: ema.model if ema is not None else policy, contract, cameras, hw, lowdim,
447
+ args.policy, lowdim_loader=lambda eps: load_lowdim(dataset, contract, eps))
448
+ else:
449
+ print(f'HB_INLOOP {args.policy} disabled: no --inloop-task', flush=True)
450
+
451
+ samples = np.random.default_rng(1).choice(len(eval_set), size=min(args.eval_samples, len(eval_set)), replace=False)
452
+ training = dict(steps=args.steps, batch_size=args.batch_size, lr=args.lr, betas=list(DEFAULTS['betas']),
453
+ weight_decay=args.weight_decay, warmup=args.warmup,
454
+ schedule='linear warm-up + cosine' if schedule == 'hb' else schedule,
455
+ backbone_lr_scale=backbone_lr_scale,
456
+ ema=args.ema, shift_px=args.shift, amp=(not args.no_amp) and bool(defaults['amp']), seed=seed,
457
+ augmentation=augmentation, preflight=checks, aug_seed=aug_seed, layout=layout)
458
+ training.update(ema_schedule=defaults.get('ema_schedule', 'hb'),
459
+ inloop=dict(task=args.inloop_task, code=str(args.inloop_code) if args.inloop_code else None,
460
+ every=int(os.environ.get('HB_INLOOP_EVERY', '250')) if args.inloop_task else 0,
461
+ exception=None if args.inloop_task or not (flash or ode) else '--allow-no-inloop'))
462
+ if flash:
463
+ training.update(upstream='NTUMARS/FLASH-Policy@f47e490')
464
+ if ode:
465
+ training.update(upstream='NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + '
466
+ 'main@cea26d94 (encoder, ode_dit field, default_train.yaml)')
467
+ config = dict(
468
+ policy=pcfg.to_dict(), contract=contract.to_dict(cameras), image_hw=list(hw), task_text=lowdim['tasks'][0],
469
+ dataset=dict(name=dataset.name,
470
+ root=str(dataset.root), robot_type=dataset.info.get('robot_type'), fps=dataset.fps,
471
+ episodes=episodes, train_episodes=episodes[:n_train], val_episodes=episodes[n_train:],
472
+ train_frames=int(len(train_set)),
473
+ git_commit=dataset.info.get('script_config', {}).get('git_commit')),
474
+ training=training, stats=stats, code_commit=git_commit())
475
+ run = dict(argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
476
+ torch=torch.__version__, **config)
477
+ (out / 'run.json').write_text(json.dumps(run, indent=1, default=str))
478
+ loader = torch.utils.data.DataLoader(train_set, batch_size=args.batch_size, shuffle=True, drop_last=True,
479
+ num_workers=args.workers, pin_memory=True, persistent_workers=True,
480
+ prefetch_factor=args.prefetch)
481
+ params = sum(x.numel() for x in policy.parameters())
482
+ print(json.dumps(dict(event='start', policy=args.policy, params=params,
483
+ backbone_params=sum(x.numel() for x in backbone), backbone_weights=pcfg.backbone_weights,
484
+ backbone_norm=pcfg.backbone_norm, train_frames=len(train_set), steps=args.steps,
485
+ from_step=step, cameras=list(cameras), hw=list(hw), seed=seed)), flush=True)
486
+ log = (out / 'train_log.jsonl').open('a')
487
+ amp = (not args.no_amp) and device.type == 'cuda' and bool(defaults['amp'])
488
+
489
+ def save(step):
490
+ folder = out / f'checkpoints/step-{step:06d}'
491
+ model = ema.model if ema is not None else policy
492
+ metrics = offline_eval(model, eval_set, samples, device, contract.action)
493
+ save_checkpoint(folder, model, dict(config, step=step, weights='ema' if ema is not None else 'raw',
494
+ offline_eval=dict(metrics, samples=len(samples),
495
+ frames='val' if val_pos else 'train')))
496
+ final = out / 'checkpoints/final'
497
+ if final.is_symlink() or final.exists():
498
+ final.unlink()
499
+ final.symlink_to(folder.name)
500
+ torch.save(dict(policy=policy.state_dict(), optimizer=optimizer.state_dict(), scheduler=scheduler.state_dict(),
501
+ ema=None if ema is None else ema.model.state_dict(), step=step, config=config),
502
+ out / 'train_state.pt.tmp')
503
+ (out / 'train_state.pt.tmp').replace(state_path)
504
+ record = dict(event='save', step=step, checkpoint=str(folder), **metrics)
505
+ print(json.dumps(record), flush=True)
506
+ log.write(json.dumps(record) + '\n')
507
+ log.flush()
508
+ policy.train()
509
+
510
+ policy.train()
511
+ t0, data_s, acc = time.monotonic(), 0.0, {}
512
+ while step < args.steps:
513
+ tick = time.monotonic()
514
+ for images, *labels in loader:
515
+ data_s += time.monotonic() - tick
516
+ images = images.to(device, non_blocking=True).permute(0, 1, 4, 2, 3).float().div_(255.)
517
+ images = random_shift(images, args.shift)
518
+ labels = [x.to(device, non_blocking=True) for x in labels]
519
+ with torch.autocast(device.type, dtype=torch.bfloat16, enabled=amp):
520
+ loss, metrics = policy.compute_loss(images, *labels)
521
+ optimizer.zero_grad(set_to_none=True)
522
+ loss.backward()
523
+ optimizer.step()
524
+ scheduler.step()
525
+ step += 1
526
+ decay = ema.update(policy, step) if ema is not None else 0.0
527
+ for k, v in dict(metrics, loss=float(loss.detach())).items():
528
+ acc[k] = acc.get(k, 0.0) + v
529
+ if step % args.log_every == 0:
530
+ elapsed = time.monotonic() - t0
531
+ record = dict(event='train', step=step, lr=scheduler.get_last_lr()[0],
532
+ backbone_lr=scheduler.get_last_lr()[1], ema_decay=round(decay, 6),
533
+ it_s=round(args.log_every / elapsed, 2), data_frac=round(data_s / elapsed, 3),
534
+ **{k: v / args.log_every for k, v in acc.items()})
535
+ print(json.dumps(record), flush=True)
536
+ log.write(json.dumps(record) + '\n')
537
+ log.flush()
538
+ t0, data_s, acc = time.monotonic(), 0.0, {}
539
+ if inloop is not None and step % inloop.every == 0:
540
+ inloop.evaluate(step, ema.model if ema is not None else policy)
541
+ policy.train()
542
+ if step % args.save_every == 0 or step == args.steps:
543
+ save(step)
544
+ if step >= args.steps:
545
+ break
546
+ tick = time.monotonic()
547
+ log.close()
548
+ print(json.dumps(dict(event='done', step=step, checkpoint=str(out / 'checkpoints/final'))), flush=True)
549
+
550
+
551
+ if __name__ == '__main__':
552
+ main()
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEDiT/deploy.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ODE-DiT baseline (evaluation/baselines, after ODE Policy's G1 port: github.com/NTUMARS/ODE-POLICY real-g1, HumanWAM
2
+ # packages/ode_g1; in its authors' configuration): the SONIC token is an ODE state integrated with Euler over 16 rows
3
+ # from the token executed at t-1 (past_actions[-1]; the normalized-zero BOS without one), with ODE Policy's DiT field (adaLN, 512 wide, 4 blocks, 8 heads, 4 tokens); the DFX6 hands
4
+ # decoded from the condition; the condition from one ResNet18 per view (current ego_view and chest, 168x224, from
5
+ # scratch, GroupNorm; ODE Policy's encoder in place of the G1 port's GR00T reader), state44 into the field only.
6
+ # Deterministic, one field call per row.
7
+ # Train a checkpoint on a task's G1 expert dataset with
8
+ # evaluation/baselines/train.py --policy ode_dit --contract g1_sonic_dfx6 (evaluation/README.md#baselines)
9
+ # and register its checkpoints/final (or checkpoints/step-NNNNNN) directory below; the entry is a placeholder until
10
+ # then (no checkpoint trained yet, 2026-11-24). The adapter refuses a checkpoint of another baseline or robot, and a
11
+ # task text other than the training dataset's (config check_task: false skips that check).
12
+ policy_name: ODEDiT
13
+ python: /home/jason/benchmark/Humanoid_benchmark/model/.venv_baselines/bin/python # evaluation/baselines/requirements.txt
14
+ action_space: sonic_dfx6
15
+ checkpoints:
16
+ b6_placeholder: /path/to/runs/b6-pedal-bin/ode_dit/checkpoints/final # placeholder: to train
17
+ default_checkpoint: b6_placeholder
18
+ config:
19
+ # rows executed before the next query (null: the whole 16-row chunk; the runners query again after 12 rows at most,
20
+ # as the G1 port's deployment re-plans about 4 rows before a chunk ends)
21
+ execution_steps: null
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEDiT/model.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """ODE-DiT (ODE policy) baseline of the Humanoid Benchmark (evaluation/baselines, after ODE Policy's G1 port,
2
+ github.com/NTUMARS/ODE-POLICY): one checkpoint of evaluation/baselines/train.py with the g1_sonic_dfx6 contract, served
3
+ by the shared adapter evaluation/baselines/adapters.py (current ego_view + chest frames, state44 and the row executed at
4
+ t-1 -> 16 rows of action76).
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('ode_dit')
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEMLP/deploy.yml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ODE-MLP baseline (evaluation/baselines, after ODE Policy's G1 port: github.com/NTUMARS/ODE-POLICY real-g1, HumanWAM
2
+ # packages/ode_g1; in its authors' configuration): the SONIC token is an ODE state integrated with Euler over 16 rows
3
+ # from the token executed at t-1 (past_actions[-1]; the normalized-zero BOS without one), with a FiLM residual MLP field (512 wide, 4 layers; the G1 port's); the DFX6 hands
4
+ # decoded from the condition; the condition from one ResNet18 per view (current ego_view and chest, 168x224, from
5
+ # scratch, GroupNorm; ODE Policy's encoder in place of the G1 port's GR00T reader), state44 into the field only.
6
+ # Deterministic, one field call per row.
7
+ # Train a checkpoint on a task's G1 expert dataset with
8
+ # evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6 (evaluation/README.md#baselines)
9
+ # and register its checkpoints/final (or checkpoints/step-NNNNNN) directory below; the entry is a placeholder until
10
+ # then (no checkpoint trained yet, 2026-11-24). The adapter refuses a checkpoint of another baseline or robot, and a
11
+ # task text other than the training dataset's (config check_task: false skips that check).
12
+ policy_name: ODEMLP
13
+ python: /home/jason/benchmark/Humanoid_benchmark/model/.venv_baselines/bin/python # evaluation/baselines/requirements.txt
14
+ action_space: sonic_dfx6
15
+ checkpoints:
16
+ # Task b6, data v6 (owner 2026-11-24): train.py --policy ode_mlp --contract g1_sonic_dfx6 on all 542 b6 v6 episodes
17
+ # (HF humanoid-benchmark/b6-pedal-bin root @ad2f5bf0, 331,577 frames, 30 Hz, trim v2; local copy b6_v6_ad2f5bf0),
18
+ # batch 512, 8000 steps, lr 4e-4 (1e-4 at the authors' batch 32, square-root scaled), warm-up 400 then cosine,
19
+ # augmentation spec v2. Offline MSE on 2048 training frames, every 1000 steps: lowest at 8000 (0.00639; log
20
+ # dev_logs/ode_policy_baseline_2026-11-24.md). Code: the run's code_snapshot/ (uncommitted at training time).
21
+ # Evaluate on b6 v6's task configuration (cart and barrel ranges differ from v5).
22
+ b6v6_b512_s8000: /home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp/checkpoints/step-008000
23
+ default_checkpoint: b6v6_b512_s8000
24
+ config:
25
+ # rows executed before the next query (null: the whole 16-row chunk; the runners query again after 12 rows at most,
26
+ # as the G1 port's deployment re-plans about 4 rows before a chunk ends)
27
+ execution_steps: null
b6-pedal-bin/b512-v6/step-008000/training_records/code_b4b94d29/evaluation/policy/ODEMLP/model.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """ODE-MLP (ODE policy) baseline of the Humanoid Benchmark (evaluation/baselines, after ODE Policy's G1 port,
2
+ github.com/NTUMARS/ODE-POLICY): one checkpoint of evaluation/baselines/train.py with the g1_sonic_dfx6 contract, served
3
+ by the shared adapter evaluation/baselines/adapters.py (current ego_view + chest frames, state44 and the row executed at
4
+ t-1 -> 16 rows of action76).
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('ode_mlp')
b6-pedal-bin/b512-v6/step-008000/training_records/code_commit.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ b4b94d29585ab52e5ec927a0af647a635780155f
b6-pedal-bin/b512-v6/step-008000/training_records/inloop-mse.jsonl ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"step": 250, "utc": "2026-11-25T05:17:46Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 15.1, "infer_s_per_query": 0.0129, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0029124197168251473, "mae_raw": 0.035834008733364175, "nmse": 1.456615522525569, "groups": {"motion_token": {"mse_raw": 0.002003333090238315, "nmse": 0.15258116789825452}, "hands": {"mse_raw": 0.0077608817252882495, "nmse": 8.411465413871245}}, "nmse_by_step": [1.32574243138848, 1.5782184915665283, 1.2789334640215781, 1.16063126817837, 1.174485506871119, 0.9560631036248418, 1.7474229571364557, 1.3352347275519025, 1.6817821385578877, 1.1083599498163206, 1.6277119512711742, 2.0727044002678836, 1.2913389924960215, 1.4593328398941454, 2.0916429250349755, 1.4330816644479554], "nmse_per_episode": {"0": 1.3820853241012223, "60": 1.3388124530553243, "120": 1.293707154528192, "180": 1.477990371863599, "240": 1.16662427934213, "301": 1.893947619892632, "361": 1.919180316026378, "421": 1.4894655748711998, "481": 1.474554911714902, "541": 1.154146401364782}, "nmse_episode_sem": 0.08357152537434898}
2
+ {"step": 500, "utc": "2026-11-25T05:25:28Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0105, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0013260514306919224, "mae_raw": 0.024686522736068552, "nmse": 0.604533613257252, "groups": {"motion_token": {"mse_raw": 0.0012378729942516837, "nmse": 0.09624061753680513}, "hands": {"mse_raw": 0.0017963364250398613, "nmse": 3.3154295904329687}}, "nmse_by_step": [0.44978913117759345, 0.6448380696972806, 0.6017107516241967, 0.43482786883852426, 0.5901355823489577, 0.565880945892873, 0.6647149881846882, 0.6256808236615168, 0.7155130460926068, 0.4505739233875798, 0.5617978270060127, 0.7403604085051152, 0.6682639539166886, 0.6091191240656298, 0.7977833142709193, 0.5575526759116901], "nmse_per_episode": {"0": 0.5220933686977766, "60": 0.5857421700225035, "120": 0.5631205941193083, "180": 0.5893710190550147, "240": 0.5457937838928855, "301": 0.7458294667146348, "361": 0.6866055456261342, "421": 0.6320030926463517, "481": 0.6294292257957252, "541": 0.5562388093703278}, "nmse_episode_sem": 0.021842881667593777}
3
+ {"step": 750, "utc": "2026-11-25T05:32:56Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.5, "infer_s_per_query": 0.011, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001029665124169334, "mae_raw": 0.021574460762930056, "nmse": 0.2714384597459178, "groups": {"motion_token": {"mse_raw": 0.0010260453892488317, "nmse": 0.08019713352213521}, "hands": {"mse_raw": 0.0010489703770786803, "nmse": 1.2913921996060913}}, "nmse_by_step": [0.2160380263276898, 0.2568024895255762, 0.2408587879049256, 0.227798586997059, 0.2743324228887308, 0.26784049819063444, 0.281071235774698, 0.27805411344468556, 0.2874380448778293, 0.23957531220585698, 0.26420600865532584, 0.2813722054714918, 0.2859375605299039, 0.3138132764799317, 0.30976033052078994, 0.3210939459688569], "nmse_per_episode": {"0": 0.24131877777545405, "60": 0.28092104226276676, "120": 0.22607306915954117, "180": 0.25194730281647804, "240": 0.2356924346048409, "301": 0.37927509184769626, "361": 0.28706990201675214, "421": 0.3008245304547292, "481": 0.2586526698674483, "541": 0.2585082955270596}, "nmse_episode_sem": 0.014054111880457144}
4
+ {"step": 1000, "utc": "2026-11-25T05:40:02Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 8.0, "infer_s_per_query": 0.0198, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0009217873826989513, "mae_raw": 0.020474103494287833, "nmse": 0.22239932836374207, "groups": {"motion_token": {"mse_raw": 0.0009273874194412843, "nmse": 0.07268683731617082}, "hands": {"mse_raw": 0.000891920520073175, "nmse": 1.0208659472841222}}, "nmse_by_step": [0.18291949076014968, 0.2114747047249775, 0.19631402767859965, 0.20399832813049257, 0.2144746865490736, 0.20519207740618106, 0.24025345657920225, 0.22870499200812625, 0.2429816307937751, 0.20441107644272163, 0.21739429789380868, 0.21340296207229079, 0.23400035175349285, 0.2471376317319692, 0.24470412849753337, 0.2732056695264749], "nmse_per_episode": {"0": 0.19591861801428492, "60": 0.22174801421219456, "120": 0.19302554799834776, "180": 0.21827292713866378, "240": 0.19517117942603504, "301": 0.30676638086557756, "361": 0.23265484875722958, "421": 0.24253280827849796, "481": 0.2036270622400742, "541": 0.21731151698523035}, "nmse_episode_sem": 0.010712694985231624}
5
+ {"step": 1250, "utc": "2026-11-25T05:47:43Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.1, "infer_s_per_query": 0.01, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0008444516963690915, "mae_raw": 0.019672993446127253, "nmse": 0.1965208666981851, "groups": {"motion_token": {"mse_raw": 0.0008601223010342949, "nmse": 0.06762952201976064}, "hands": {"mse_raw": 0.0007608751381546733, "nmse": 0.8839413716497825}}, "nmse_by_step": [0.1623636758671252, 0.18537663873077914, 0.16886782795244026, 0.18627092997976136, 0.1793658654903571, 0.17785250114386722, 0.2083353301996052, 0.20818865655264301, 0.2200223581548403, 0.18327727322521825, 0.1977840938496266, 0.18750933193957198, 0.20999372560718407, 0.20862172764923295, 0.2151615653285396, 0.24738197539414022], "nmse_per_episode": {"0": 0.17059876004462332, "60": 0.19343327356969633, "120": 0.1761927762771913, "180": 0.1943743213267927, "240": 0.1765682569867017, "301": 0.2578616948520599, "361": 0.20456252500395017, "421": 0.21297904364665352, "481": 0.182446940807329, "541": 0.19855438059576366}, "nmse_episode_sem": 0.008025877244350223}
6
+ {"step": 1500, "utc": "2026-11-25T05:55:13Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0106, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0007912375715071395, "mae_raw": 0.019126158702796513, "nmse": 0.18059270809266, "groups": {"motion_token": {"mse_raw": 0.0008157862101185146, "nmse": 0.06430689910028307}, "hands": {"mse_raw": 0.0006603114989131407, "nmse": 0.8007836893853368}}, "nmse_by_step": [0.1519637877661948, 0.16812459017234022, 0.15026243237471626, 0.1762326740363167, 0.16350863943589605, 0.1614303096283164, 0.19119221127803873, 0.19022536318865518, 0.20743249381892354, 0.16667654394096024, 0.18923745983725737, 0.17345329854749594, 0.19291708409966066, 0.18944871544538688, 0.1960986824855753, 0.22310629894180978], "nmse_per_episode": {"0": 0.15751516368718896, "60": 0.1760040078327694, "120": 0.16480236391930672, "180": 0.17800905601255698, "240": 0.16577269157853286, "301": 0.22702659763263475, "361": 0.1871014947185656, "421": 0.19864742858618623, "481": 0.17015127266381555, "541": 0.18294236206309056}, "nmse_episode_sem": 0.00638387010322077}
7
+ {"step": 1750, "utc": "2026-11-25T06:02:57Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.9, "infer_s_per_query": 0.0146, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0007461394279016354, "mae_raw": 0.018655296854929497, "nmse": 0.1698993549271166, "groups": {"motion_token": {"mse_raw": 0.0007793228296218447, "nmse": 0.06162226711588733}, "hands": {"mse_raw": 0.000569161285393854, "nmse": 0.7473771565870062}}, "nmse_by_step": [0.14299524752318107, 0.1564417876612069, 0.13967813443508229, 0.1680843896308644, 0.15324993074802812, 0.154402964049715, 0.17362087243169516, 0.17615500634615552, 0.19510291002224536, 0.15892452653731964, 0.179633595552269, 0.16472014889698963, 0.18389015408316708, 0.17853013927494144, 0.18506868335906476, 0.20967167340238235], "nmse_per_episode": {"0": 0.14875205619409082, "60": 0.16386141453862785, "120": 0.15707239828780667, "180": 0.16835798758365436, "240": 0.15945816620735162, "301": 0.2070745933608407, "361": 0.17308796756889144, "421": 0.18777727283871506, "481": 0.16161839817195198, "541": 0.17348689118585148}, "nmse_episode_sem": 0.0053255973755694744}
8
+ {"step": 2000, "utc": "2026-11-25T06:09:39Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0106, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0007100857962984769, "mae_raw": 0.01826187238859688, "nmse": 0.1596009188801041, "groups": {"motion_token": {"mse_raw": 0.0007501328263787486, "nmse": 0.05949132782649024}, "hands": {"mse_raw": 0.0004965016358703609, "nmse": 0.6935187378327112}}, "nmse_by_step": [0.13415174889762552, 0.14818513529322833, 0.13251538041296254, 0.15902852099986123, 0.14310680902487555, 0.14596752689007894, 0.16107564535720864, 0.16173046301165575, 0.18450108423857545, 0.15104312658391905, 0.1693876436325612, 0.15653095330160205, 0.17291378862929294, 0.16843399822743724, 0.1735520391768178, 0.1931134779186026], "nmse_per_episode": {"0": 0.1389984827605906, "60": 0.15084492715102232, "120": 0.1491936191664006, "180": 0.15844218886717076, "240": 0.15022416747263043, "301": 0.19187922732424575, "361": 0.16171355156096862, "421": 0.1792358116643407, "481": 0.1507047008327636, "541": 0.1660735922809997}, "nmse_episode_sem": 0.005001617646953501}
9
+ {"step": 2250, "utc": "2026-11-25T06:17:30Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.0, "infer_s_per_query": 0.0122, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0006818558435967079, "mae_raw": 0.01795531261228634, "nmse": 0.15231348972583242, "groups": {"motion_token": {"mse_raw": 0.0007275192884957233, "nmse": 0.05782981565519882}, "hands": {"mse_raw": 0.0004383174708019581, "nmse": 0.6562264181025448}}, "nmse_by_step": [0.12675488044245473, 0.1407604929177653, 0.1283189328441227, 0.15251907978778623, 0.1370539625565545, 0.14106819216950886, 0.1516912206359565, 0.15146067526761764, 0.17643043025439395, 0.14531602715335537, 0.16201469514711206, 0.1499397060669877, 0.16520184843436553, 0.16126433467334533, 0.16676937895523417, 0.18199825440655845], "nmse_per_episode": {"0": 0.1337471225318381, "60": 0.1435545034359575, "120": 0.14385725547907557, "180": 0.15061722043876688, "240": 0.14281911318519594, "301": 0.18131118468075672, "361": 0.1540361482566201, "421": 0.17228000666657176, "481": 0.14188216577717497, "541": 0.16024082076325877}, "nmse_episode_sem": 0.004714000942006233}
10
+ {"step": 2500, "utc": "2026-11-25T06:25:08Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.8, "infer_s_per_query": 0.0117, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0006592077572181723, "mae_raw": 0.01767920439421768, "nmse": 0.14474385379406465, "groups": {"motion_token": {"mse_raw": 0.0007074380827246872, "nmse": 0.056355265858833416}, "hands": {"mse_raw": 0.0004019793545167582, "nmse": 0.6161496561152979}}, "nmse_by_step": [0.1214412868776119, 0.13349973264110643, 0.12510927391249468, 0.14508077277966855, 0.1289630189584331, 0.13561181613139897, 0.14304221425583682, 0.14120951140022667, 0.16755250014723483, 0.13869443081202204, 0.1524202039142234, 0.14293674164045309, 0.15798419377862705, 0.15388181069981507, 0.15692383662961285, 0.17298211770976057], "nmse_per_episode": {"0": 0.1273800293852414, "60": 0.13653904486112942, "120": 0.13647525926129359, "180": 0.14259324842034654, "240": 0.13656620921247314, "301": 0.17150189237819663, "361": 0.14473738799041197, "421": 0.1656585400984673, "481": 0.13333782960887547, "541": 0.153727602705124}, "nmse_episode_sem": 0.00456167063236116}
11
+ {"step": 2750, "utc": "2026-11-25T06:32:45Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 7.0, "infer_s_per_query": 0.0173, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0006394689065788309, "mae_raw": 0.017440992672301873, "nmse": 0.138820415047698, "groups": {"motion_token": {"mse_raw": 0.000688514949092097, "nmse": 0.054984147950464114}, "hands": {"mse_raw": 0.0003778900131747451, "nmse": 0.5859471728996121}}, "nmse_by_step": [0.11690364267413807, 0.1267925640884138, 0.12313293472815602, 0.14016957698127286, 0.12369390267609583, 0.12926875774695987, 0.13659840232877127, 0.13294815461426598, 0.1605218974371604, 0.13392856028748035, 0.14491073313900105, 0.13803258279292843, 0.1524867768767658, 0.14848069422985882, 0.14999552064453459, 0.1646152575474236], "nmse_per_episode": {"0": 0.12271928811154528, "60": 0.1293634247341912, "120": 0.13135362441325657, "180": 0.13687411172121572, "240": 0.13204130354661076, "301": 0.16389007289798957, "361": 0.1372969427077922, "421": 0.1610261285327218, "481": 0.12718342223760196, "541": 0.1473022282331524}, "nmse_episode_sem": 0.004453924496803202}
12
+ {"step": 3000, "utc": "2026-11-25T06:39:54Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.4, "infer_s_per_query": 0.011, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0006248992958669233, "mae_raw": 0.017250432071908874, "nmse": 0.13418282426429962, "groups": {"motion_token": {"mse_raw": 0.0006741148757532156, "nmse": 0.05392903873964919}, "hands": {"mse_raw": 0.00036241620314003074, "nmse": 0.5622030137291019}}, "nmse_by_step": [0.11313605356105652, 0.12226218625510832, 0.12035138704158976, 0.1355315609193981, 0.12021746186238547, 0.12570380569996922, 0.131920415697368, 0.12774629301886256, 0.15586208955078837, 0.1297648475268232, 0.13910939215820056, 0.13346416780744555, 0.1478002827461833, 0.14331625099436782, 0.14385701436944928, 0.15815008277678944], "nmse_per_episode": {"0": 0.11911173878768679, "60": 0.1251659663486424, "120": 0.12703971021666954, "180": 0.132332025956988, "240": 0.1277943088308798, "301": 0.15958184281584775, "361": 0.13129312003086474, "421": 0.1574109223875202, "481": 0.12187426839567672, "541": 0.14100402678985302}, "nmse_episode_sem": 0.004465519308771102}
13
+ {"step": 3250, "utc": "2026-11-25T06:47:20Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.8, "infer_s_per_query": 0.0119, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0006103789139354643, "mae_raw": 0.017076271622437765, "nmse": 0.13127521158874436, "groups": {"motion_token": {"mse_raw": 0.000660045733681518, "nmse": 0.052895504880736716}, "hands": {"mse_raw": 0.00034548920862317693, "nmse": 0.5493003140314516}}, "nmse_by_step": [0.11096547661232424, 0.11926492624468142, 0.11918069627050756, 0.13167374132855006, 0.11825473568089274, 0.12417744083383898, 0.12896077902993044, 0.12359640984396868, 0.15263549076139893, 0.12643134706173487, 0.13682831381334057, 0.13091841699508855, 0.14379342625647032, 0.1396112085827675, 0.1409528598546226, 0.15437538401698853], "nmse_per_episode": {"0": 0.11756313005605393, "60": 0.12238775486004136, "120": 0.12437580502087393, "180": 0.13085488322277347, "240": 0.12492486859965042, "301": 0.1531688244154486, "361": 0.1280299442707481, "421": 0.15507860356203448, "481": 0.11833355751804087, "541": 0.13865463186550334}, "nmse_episode_sem": 0.0042602565777282485}
14
+ {"step": 3500, "utc": "2026-11-25T06:55:04Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.4, "infer_s_per_query": 0.011, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005976278855087657, "mae_raw": 0.01692608239213902, "nmse": 0.12857204234356565, "groups": {"motion_token": {"mse_raw": 0.0006471249273069896, "nmse": 0.051929788120332235}, "hands": {"mse_raw": 0.0003336436625849062, "nmse": 0.5373307315341437}}, "nmse_by_step": [0.10865061621435515, 0.11638811694574179, 0.11746356052146731, 0.12795815640680808, 0.11706106760942521, 0.12115200133380305, 0.12650046083449354, 0.12127358124419103, 0.15042746713592295, 0.123223819569984, 0.1335157941618911, 0.12827413012536143, 0.14048651214699312, 0.1368833597353103, 0.13755714947087516, 0.1515250954217222], "nmse_per_episode": {"0": 0.11587443535506244, "60": 0.1205884370358694, "120": 0.12051566121368772, "180": 0.128029640317959, "240": 0.12235646962226095, "301": 0.14918817406186188, "361": 0.12530828513432943, "421": 0.1547371865315532, "481": 0.11481498499029076, "541": 0.13496049569939125}, "nmse_episode_sem": 0.004319359576658268}
15
+ {"step": 3750, "utc": "2026-11-25T07:02:41Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.2, "infer_s_per_query": 0.0128, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005863887845797424, "mae_raw": 0.016797466121863208, "nmse": 0.12763943945244693, "groups": {"motion_token": {"mse_raw": 0.0006366704806229562, "nmse": 0.05115102731992834}, "hands": {"mse_raw": 0.0003182197390159344, "nmse": 0.535577637492546}}, "nmse_by_step": [0.107643924008848, 0.11548772465748544, 0.11772156730414311, 0.12647416814373758, 0.11661202122331696, 0.11993128972563796, 0.12608374258984636, 0.12004991990052237, 0.14995559787634316, 0.12163569353968678, 0.13272839929950067, 0.12738604500445452, 0.13887417381441444, 0.1359048157380455, 0.13642929324507164, 0.15048490093555825], "nmse_per_episode": {"0": 0.11717136942821907, "60": 0.12007561761570716, "120": 0.11913092566576933, "180": 0.12700680487312982, "240": 0.12053062056362808, "301": 0.14710413262516256, "361": 0.12422432739286571, "421": 0.15314106978734457, "481": 0.1144029976338128, "541": 0.1342508040313793}, "nmse_episode_sem": 0.004149785369513475}
16
+ {"step": 4000, "utc": "2026-11-25T07:09:36Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.2, "infer_s_per_query": 0.0105, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005734090556044974, "mae_raw": 0.016655964695506266, "nmse": 0.1255418450127693, "groups": {"motion_token": {"mse_raw": 0.0006240981989792596, "nmse": 0.05023837698301586}, "hands": {"mse_raw": 0.00030306695760576536, "nmse": 0.5271603411714544}}, "nmse_by_step": [0.10583111037604746, 0.11486797539620705, 0.1163693391890666, 0.12417186502045023, 0.1148100251213684, 0.11771965263634449, 0.12449649973144812, 0.11786959330814704, 0.14644605527251894, 0.11936839035524652, 0.13118238500740786, 0.1253051667202266, 0.1364948451343612, 0.1326277152552518, 0.13475353443962926, 0.1474820801496738], "nmse_per_episode": {"0": 0.11546425508726671, "60": 0.11739248394223803, "120": 0.11693369536346834, "180": 0.12543291695962117, "240": 0.11735224813241886, "301": 0.14418515539183643, "361": 0.1224104214174959, "421": 0.15072966399624915, "481": 0.11419791220508889, "541": 0.13204076336829623}, "nmse_episode_sem": 0.004043960278211658}
17
+ {"step": 4250, "utc": "2026-11-25T07:17:25Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.2, "infer_s_per_query": 0.0103, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005625725090738355, "mae_raw": 0.016534000732438416, "nmse": 0.12429162874399027, "groups": {"motion_token": {"mse_raw": 0.0006128961361239915, "nmse": 0.04940063216123738}, "hands": {"mse_raw": 0.0002941798314730033, "nmse": 0.5237102771853391}}, "nmse_by_step": [0.10529054207721868, 0.1142634341344819, 0.11482647971025604, 0.12348123832996938, 0.1143124917622812, 0.11544408785520126, 0.12377021303252274, 0.11704569239621267, 0.14369731963651963, 0.11859256070685036, 0.13043317004954438, 0.1238220751619639, 0.1345182874271625, 0.13023425564075453, 0.13350122250009874, 0.1465250054845989], "nmse_per_episode": {"0": 0.11383490827652006, "60": 0.11568922278592245, "120": 0.11511646002786245, "180": 0.12492143844218234, "240": 0.11642690556700307, "301": 0.1420781084472577, "361": 0.12119053132410748, "421": 0.14855091474963605, "481": 0.11390257902863013, "541": 0.13184818272538398}, "nmse_episode_sem": 0.003957074940778141}
18
+ {"step": 4500, "utc": "2026-11-25T07:24:33Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 0.8, "infer_s_per_query": 0.0021, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005533248099361105, "mae_raw": 0.016428317219287756, "nmse": 0.12343246443624704, "groups": {"motion_token": {"mse_raw": 0.000603406934209443, "nmse": 0.0486968696656197}, "hands": {"mse_raw": 0.0002862201471450048, "nmse": 0.5220223032129262}}, "nmse_by_step": [0.10488043983808563, 0.11446671776259387, 0.11447970516086907, 0.1230171018652656, 0.11364459803251, 0.11443990030632152, 0.1226900244183676, 0.11630115536524982, 0.1414589344423393, 0.11730744056570529, 0.13050021505452417, 0.12338402676976427, 0.13298272022585045, 0.12847289316604088, 0.13245753266472116, 0.14548875082311352], "nmse_per_episode": {"0": 0.11279485280477451, "60": 0.11476133860293962, "120": 0.11388261993605514, "180": 0.12406723864817107, "240": 0.11562178578019909, "301": 0.14068671476002054, "361": 0.12088433068926208, "421": 0.1472069597443684, "481": 0.11344848530607617, "541": 0.1316178298029497}, "nmse_episode_sem": 0.003911554477989665}
19
+ {"step": 4750, "utc": "2026-11-25T07:31:54Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.0, "infer_s_per_query": 0.0122, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005449764321244328, "mae_raw": 0.016330341742990882, "nmse": 0.12290324866274441, "groups": {"motion_token": {"mse_raw": 0.0005947995379602194, "nmse": 0.048050134663116945}, "hands": {"mse_raw": 0.0002792532010002371, "nmse": 0.5221198566607577}}, "nmse_by_step": [0.10432141053264911, 0.11413184665928335, 0.1141840923683058, 0.12294871244423564, 0.11391192527769518, 0.11470762425552977, 0.12198907149551487, 0.11586127515293163, 0.13945192790778202, 0.11666245300709036, 0.13014831587679962, 0.12332311611615424, 0.13150526173745536, 0.1274381097272486, 0.13261306361212508, 0.14428088807773412], "nmse_per_episode": {"0": 0.11282061695518183, "60": 0.11411359780394163, "120": 0.11322235042905007, "180": 0.12388008705357514, "240": 0.11484644513036765, "301": 0.14004776443007372, "361": 0.11981766910021804, "421": 0.14602873055468793, "481": 0.11339590805831339, "541": 0.1314607079474882}, "nmse_episode_sem": 0.0038590875633363695}
20
+ {"step": 5000, "utc": "2026-11-25T07:39:35Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.5, "infer_s_per_query": 0.0136, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005368290437852756, "mae_raw": 0.016238373517163607, "nmse": 0.12319163491806825, "groups": {"motion_token": {"mse_raw": 0.0005861496871280914, "nmse": 0.04739444639852287}, "hands": {"mse_raw": 0.00027378561262359104, "nmse": 0.5274433070223106}}, "nmse_by_step": [0.10484189035423971, 0.11462413719940694, 0.1153419298364466, 0.12282282853892008, 0.1152232677392176, 0.1148582025650916, 0.12232643388261755, 0.11588375401056406, 0.13941832674862906, 0.11683098161011535, 0.13060783597869804, 0.12364142639173485, 0.1311021674056625, 0.12728559373840015, 0.1326948871976345, 0.14456211524884402], "nmse_per_episode": {"0": 0.11310542541579642, "60": 0.11434026316341765, "120": 0.11326773369535931, "180": 0.12455442122852249, "240": 0.1155195927232827, "301": 0.14002687016517673, "361": 0.11992392416558167, "421": 0.14533615333987418, "481": 0.1150813472744459, "541": 0.13133122188020363}, "nmse_episode_sem": 0.0037353558446093682}
21
+ {"step": 5250, "utc": "2026-11-25T07:46:58Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0106, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005280872977873537, "mae_raw": 0.016139418576990534, "nmse": 0.1228333608277249, "groups": {"motion_token": {"mse_raw": 0.0005769879219997988, "nmse": 0.04670101303037693}, "hands": {"mse_raw": 0.0002672839686543131, "nmse": 0.5288725490802474}}, "nmse_by_step": [0.10473723307766095, 0.11452177409274818, 0.11548429468201013, 0.12259655925613185, 0.11574438558672308, 0.11397996108497592, 0.12138918893488106, 0.11617318847218154, 0.13785787995281346, 0.11661461998359322, 0.1299983944400618, 0.1238205315495056, 0.13018159338510205, 0.12671080763627512, 0.1323256229502887, 0.14417829474192614], "nmse_per_episode": {"0": 0.11281069144082626, "60": 0.1142693524718467, "120": 0.11330866168254654, "180": 0.12467069764137927, "240": 0.11514232871826807, "301": 0.13935470460733715, "361": 0.11991609897974417, "421": 0.14423034210893346, "481": 0.115065324534678, "541": 0.13012582769988046}, "nmse_episode_sem": 0.0036206673642916326}
22
+ {"step": 5500, "utc": "2026-11-25T07:54:38Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.2, "infer_s_per_query": 0.0103, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005199524770287176, "mae_raw": 0.01604955663089228, "nmse": 0.12349245626816102, "groups": {"motion_token": {"mse_raw": 0.0005685468906652225, "nmse": 0.04605879399772928}, "hands": {"mse_raw": 0.00026078227096735797, "nmse": 0.5364719883771303}}, "nmse_by_step": [0.1058338913547447, 0.115727593729108, 0.11650805143234609, 0.123417077396665, 0.11728155521807182, 0.11443653567842522, 0.12230875370670222, 0.11690741028599465, 0.13745345776419826, 0.11686490380287891, 0.1305689701705087, 0.12498894946408902, 0.13056083627493603, 0.1271478443985333, 0.1327111796484296, 0.14410661981664968], "nmse_per_episode": {"0": 0.11291960149007978, "60": 0.1149247285967405, "120": 0.11443217836891101, "180": 0.12601124807058842, "240": 0.11577063708171545, "301": 0.1400843310458502, "361": 0.12098522970364224, "421": 0.14408208286893698, "481": 0.11620273641212214, "541": 0.13006582950595663}, "nmse_episode_sem": 0.0035513353159636525}
23
+ {"step": 5750, "utc": "2026-11-25T08:01:41Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.8, "infer_s_per_query": 0.0118, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005135627145524107, "mae_raw": 0.01597785070297194, "nmse": 0.12450154925165405, "groups": {"motion_token": {"mse_raw": 0.0005617775481474074, "nmse": 0.045530594535716014}, "hands": {"mse_raw": 0.0002564169353790951, "nmse": 0.5456799744033235}}, "nmse_by_step": [0.10725810652660964, 0.11728206579582717, 0.11764426687633081, 0.1241662454744187, 0.11877336552553636, 0.11487251507717569, 0.12287058891266925, 0.1178700939605409, 0.13766891706669437, 0.11778535266773922, 0.13187383141193174, 0.1264134376979765, 0.13160142939606012, 0.12791288446041174, 0.13360775640879127, 0.14535879622926232], "nmse_per_episode": {"0": 0.1138288406801489, "60": 0.11561075563637266, "120": 0.11489376981490126, "180": 0.1272460314234326, "240": 0.11624855162016849, "301": 0.14172368367132984, "361": 0.12192410477288551, "421": 0.14467313848044447, "481": 0.11830197746405817, "541": 0.13115713896755124}, "nmse_episode_sem": 0.0035804113708069706}
24
+ {"step": 6000, "utc": "2026-11-25T08:09:10Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0105, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.000507521589017132, "mae_raw": 0.015909911935040856, "nmse": 0.12558917689508028, "groups": {"motion_token": {"mse_raw": 0.0005552885193542656, "nmse": 0.04503286371433391}, "hands": {"mse_raw": 0.0002527646272190868, "nmse": 0.5552228471923943}}, "nmse_by_step": [0.10851629941469554, 0.11873172184352447, 0.11912054799709142, 0.12516248617675077, 0.12032708887570881, 0.11547790892103307, 0.12386983734821451, 0.11891344446080028, 0.1377967739146932, 0.1190217515630574, 0.13329397381416164, 0.12780894941269105, 0.13306079388376732, 0.12847530504403207, 0.1344375144095681, 0.146334215464348], "nmse_per_episode": {"0": 0.11504328249983456, "60": 0.11688599145850119, "120": 0.1156848949554916, "180": 0.1293359014815429, "240": 0.11708429773377142, "301": 0.1427862079639602, "361": 0.1225782968391882, "421": 0.14519267799707536, "481": 0.11979126959337509, "541": 0.13205175191198248}, "nmse_episode_sem": 0.0035525870289914397}
25
+ {"step": 6250, "utc": "2026-11-25T08:16:56Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.2, "infer_s_per_query": 0.0103, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0005028702338676185, "mae_raw": 0.015857440135652608, "nmse": 0.1265954916812173, "groups": {"motion_token": {"mse_raw": 0.0005503669461828057, "nmse": 0.04464723942456538}, "hands": {"mse_raw": 0.0002495544348532872, "nmse": 0.5636528370500277}}, "nmse_by_step": [0.10945334413658883, 0.11997365571278143, 0.1204263010888208, 0.126011449970912, 0.12176729800868502, 0.11612952631605214, 0.12498722420787564, 0.1199501246456115, 0.13800640469297978, 0.12025894255898054, 0.13455489616719313, 0.12952151832558292, 0.1341378231317567, 0.12905128391942733, 0.1354845771779524, 0.14672597916907495], "nmse_per_episode": {"0": 0.11615724499202691, "60": 0.11774736783754297, "120": 0.11654839087303721, "180": 0.1308276094569821, "240": 0.118036762250112, "301": 0.1440347427657558, "361": 0.12369157318064598, "421": 0.14539943126321864, "481": 0.12112460803407318, "541": 0.13287786714255728}, "nmse_episode_sem": 0.0035195900832595134}
26
+ {"step": 6500, "utc": "2026-11-25T08:23:45Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.1, "infer_s_per_query": 0.0127, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0004991243458642239, "mae_raw": 0.01581280403791358, "nmse": 0.12787409471456948, "groups": {"motion_token": {"mse_raw": 0.0005462432654886534, "nmse": 0.0443264028631652}, "hands": {"mse_raw": 0.00024782344120059975, "nmse": 0.5734617845887255}}, "nmse_by_step": [0.11089974620693081, 0.12193014183654033, 0.12182592907412836, 0.1269467376166086, 0.12329908183540525, 0.1169911300938167, 0.12607027818587016, 0.121219689144114, 0.13877987291098767, 0.12138488263169134, 0.13592802214200164, 0.1313598850886189, 0.1354037725678813, 0.13009953468134122, 0.1364203244955037, 0.14833111500952254], "nmse_per_episode": {"0": 0.11785800230822166, "60": 0.11915227068692215, "120": 0.1177314320222724, "180": 0.13208099188799716, "240": 0.11891804580836687, "301": 0.14568087898027196, "361": 0.12552296877132677, "421": 0.1459934538951278, "481": 0.12278256185076898, "541": 0.1335345299715378}, "nmse_episode_sem": 0.0034737636572116305}
27
+ {"step": 6750, "utc": "2026-11-25T08:31:29Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.8, "infer_s_per_query": 0.0119, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0004952863573693744, "mae_raw": 0.015771031671521003, "nmse": 0.12939207399902625, "groups": {"motion_token": {"mse_raw": 0.0005418533805830397, "nmse": 0.04398333345688554}, "hands": {"mse_raw": 0.00024692890022982606, "nmse": 0.5849053568904433}}, "nmse_by_step": [0.11219970162658194, 0.12384543749511204, 0.12346353677445754, 0.12815655914062413, 0.12526314714138223, 0.11784286565252303, 0.1278066658090468, 0.12269321965440602, 0.13968318160032878, 0.12279933777063946, 0.13763636778786656, 0.13352014310300572, 0.13709910876511963, 0.13157232431009255, 0.1380966294671809, 0.14950159554429837], "nmse_per_episode": {"0": 0.11968442116024659, "60": 0.12069751363196263, "120": 0.11913572014168737, "180": 0.13344092865185703, "240": 0.11994618966552634, "301": 0.14768920765518637, "361": 0.12725635153517087, "421": 0.14700574159450586, "481": 0.12469718955035444, "541": 0.1349200050755166}, "nmse_episode_sem": 0.0034685920658274277}
28
+ {"step": 7000, "utc": "2026-11-25T08:38:59Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 3.9, "infer_s_per_query": 0.0097, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0004921547982079676, "mae_raw": 0.015736782374899123, "nmse": 0.13089888523437723, "groups": {"motion_token": {"mse_raw": 0.0005385000257073311, "nmse": 0.04372167716743514}, "hands": {"mse_raw": 0.0002449802515446949, "nmse": 0.595843994924735}}, "nmse_by_step": [0.1135385147249341, 0.1256262015383241, 0.12526438599289677, 0.12955668013143382, 0.1268853697653418, 0.11891543158131761, 0.1293311920446345, 0.12411110371220885, 0.1405614367761247, 0.12437489415684784, 0.13898708700706638, 0.13547701926784161, 0.13893344730961185, 0.13309347990264972, 0.13966753587130748, 0.1509687637038475], "nmse_per_episode": {"0": 0.12183538600997056, "60": 0.12204821374973585, "120": 0.12068947117860485, "180": 0.13472850785865667, "240": 0.12095953027120163, "301": 0.1497062054296937, "361": 0.1286066413082312, "421": 0.14790700241298366, "481": 0.12692526302959592, "541": 0.13615955265635143}, "nmse_episode_sem": 0.003447780384569422}
29
+ {"step": 7250, "utc": "2026-11-25T08:46:34Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.3, "infer_s_per_query": 0.0106, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.000489581110615668, "mae_raw": 0.015709936848692367, "nmse": 0.13234783170077435, "groups": {"motion_token": {"mse_raw": 0.0005358675189490492, "nmse": 0.04351257980149577}, "hands": {"mse_raw": 0.0002427202661709681, "nmse": 0.60613584183026}}, "nmse_by_step": [0.11472748612481866, 0.12765542876701944, 0.12679794954119003, 0.1308809067645218, 0.12850004566632903, 0.11997808083844322, 0.13046784546296433, 0.12557178621521525, 0.14170598833933232, 0.12577741341771934, 0.1403134427749074, 0.1372001281881452, 0.14061948655582132, 0.13465303805378484, 0.14101105118270932, 0.15261875572039063], "nmse_per_episode": {"0": 0.12328008634504112, "60": 0.12385616909125059, "120": 0.12205547102946665, "180": 0.13596365898504395, "240": 0.1222927905853465, "301": 0.15158217666986404, "361": 0.12999094868254374, "421": 0.14904140858838794, "481": 0.12898253512093144, "541": 0.13707092603330037}, "nmse_episode_sem": 0.0034354777692831725}
30
+ {"step": 7500, "utc": "2026-11-25T08:53:45Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 5.4, "infer_s_per_query": 0.0132, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.00048752235448538365, "mae_raw": 0.01568943134472066, "nmse": 0.1336184846947099, "groups": {"motion_token": {"mse_raw": 0.0005336160484022631, "nmse": 0.04333502994470515}, "hands": {"mse_raw": 0.0002416893202620259, "nmse": 0.615130243361402}}, "nmse_by_step": [0.11583111572658915, 0.12918782170335144, 0.12835833704181035, 0.132028579322499, 0.1300333194771278, 0.12089762872606012, 0.1314600754444355, 0.12692729432614894, 0.1425062868369669, 0.12723730276080236, 0.14150333623633726, 0.13876679753092266, 0.14205912563456746, 0.13583732082033365, 0.1423050367881989, 0.15387032188187938], "nmse_per_episode": {"0": 0.12468882292310848, "60": 0.12526588605684474, "120": 0.1233064061141151, "180": 0.13688674966175562, "240": 0.12338284177774837, "301": 0.15342748270376155, "361": 0.13129477502504697, "421": 0.15015373193788442, "481": 0.1304793543141415, "541": 0.1379806092716578}, "nmse_episode_sem": 0.003450184992579516}
31
+ {"step": 7750, "utc": "2026-11-25T09:00:44Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 0.9, "infer_s_per_query": 0.0023, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.00048612419225258776, "mae_raw": 0.01567550106162928, "nmse": 0.13476007412898658, "groups": {"motion_token": {"mse_raw": 0.0005320149331880294, "nmse": 0.04320783442482034}, "hands": {"mse_raw": 0.00024137357393023208, "nmse": 0.6230386858845399}}, "nmse_by_step": [0.1169770621974509, 0.13037214347532866, 0.12959677614880719, 0.13310177954190744, 0.13145205566505713, 0.12174002397381382, 0.1325349622500919, 0.12807171132111578, 0.1434232647791372, 0.1283684891059461, 0.14266066282105316, 0.14017951350464627, 0.1433783640808414, 0.13687164855061015, 0.14346244418501122, 0.15488378616600657], "nmse_per_episode": {"0": 0.1259846136686518, "60": 0.1264491720813004, "120": 0.1244114420914488, "180": 0.1377284547957696, "240": 0.1244269407196577, "301": 0.15484664594487754, "361": 0.13249736508224524, "421": 0.1511230703943215, "481": 0.13181964549474487, "541": 0.13902116752458576}, "nmse_episode_sem": 0.003451005848651662}
32
+ {"step": 8000, "utc": "2026-11-25T09:08:53Z", "model": "ode_mlp", "task": "b6v6", "split": "train10", "queries": 393, "ranks": 1, "wall_s": 4.6, "infer_s_per_query": 0.0112, "seed": 1234, "weights": "ema", "policy": "ode_mlp", "cache_checked_episodes": [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], "inloop_code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse", "cache": "/home/jason/hb_models/hb_eval_work/policies-20261109/eval-action-mse/cache/b6v6/train10", "rows": 6198, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0004850831596966747, "mae_raw": 0.015665681602879802, "nmse": 0.1356715930331608, "groups": {"motion_token": {"mse_raw": 0.0005308426499337809, "nmse": 0.04311552255690616}, "hands": {"mse_raw": 0.0002410325450987749, "nmse": 0.6293039689065187}}, "nmse_by_step": [0.1178558256800492, 0.13131957132213734, 0.1305645112660093, 0.13404365539888644, 0.1325814353696584, 0.12248190292125771, 0.13340464738709015, 0.12894756912827823, 0.14416376379649937, 0.1292053630544299, 0.1435696874413214, 0.14126772911014743, 0.14445564334076172, 0.13769800614452202, 0.14435505646170396, 0.15574409796883873], "nmse_per_episode": {"0": 0.12699843661298096, "60": 0.12744620725307726, "120": 0.12527741913120938, "180": 0.1384393792025796, "240": 0.12515534897025749, "301": 0.15602174944626707, "361": 0.13351951076337548, "421": 0.15189290820578272, "481": 0.1327659355777025, "541": 0.13993192428601606}, "nmse_episode_sem": 0.0034602543887605184}
b6-pedal-bin/b512-v6/step-008000/training_records/launch.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # The exact command of this run (run.json argv), started with setsid nohup from the Humanoid_benchmark root
3
+ # at commit b4b94d29585ab52e5ec927a0af647a635780155f. Local paths: the b6 v6 dataset copy, the cache, HumanWAM hb_training/eval-action-mse.
4
+ cd "$HB_ROOT"
5
+ model/.venv_baselines/bin/python evaluation/baselines/train.py --policy ode_mlp --contract g1_sonic_dfx6 --dataset /mnt/hdd/jason/humanoid_benchmark_models/b6_v6_ad2f5bf0 --out /home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol --steps 8000 --batch-size 512 --workers 32 --save-every 1000 --log-every 100 --cache-dir /mnt/hdd/jason/hb_baselines/cache --inloop-task b6v6 --inloop-code /home/jason/benchmark/HumanWAM/hb_training/eval-action-mse
b6-pedal-bin/b512-v6/step-008000/training_records/pip_freeze_hb-baselines.txt ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ anyio==4.16.0
2
+ av==15.1.0
3
+ certifi==2026.10.23
4
+ charset-normalizer==3.5.2
5
+ click==8.5.1
6
+ diffusers==0.35.1
7
+ filelock==4.2.10
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.3
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.3
46
+ regex==2026.11.15
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
+ torchcodec==0.8.0
53
+ torchvision==0.24.0+cu128
54
+ tqdm==4.70.1
55
+ triton==3.5.0
56
+ truststore==0.10.5
57
+ typing-extensions==4.16.0
58
+ urllib3==2.8.0
59
+ zipp==4.1.2
b6-pedal-bin/b512-v6/step-008000/training_records/run.json ADDED
@@ -0,0 +1,2089 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "argv": [
3
+ "evaluation/baselines/train.py",
4
+ "--policy",
5
+ "ode_mlp",
6
+ "--contract",
7
+ "g1_sonic_dfx6",
8
+ "--dataset",
9
+ "/mnt/hdd/jason/humanoid_benchmark_models/b6_v6_ad2f5bf0",
10
+ "--out",
11
+ "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol",
12
+ "--steps",
13
+ "8000",
14
+ "--batch-size",
15
+ "512",
16
+ "--workers",
17
+ "32",
18
+ "--save-every",
19
+ "1000",
20
+ "--log-every",
21
+ "100",
22
+ "--cache-dir",
23
+ "/mnt/hdd/jason/hb_baselines/cache",
24
+ "--inloop-task",
25
+ "b6v6",
26
+ "--inloop-code",
27
+ "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse"
28
+ ],
29
+ "started": "2026-11-25T13:08:53",
30
+ "host": "b1ue-jay",
31
+ "torch": "2.9.0+cu128",
32
+ "policy": {
33
+ "policy": "ode_mlp",
34
+ "n_cameras": 2,
35
+ "state_dim": 44,
36
+ "action_dim": 76,
37
+ "horizon": 16,
38
+ "backbone": "resnet18",
39
+ "backbone_weights": null,
40
+ "backbone_norm": "group",
41
+ "hidden_dim": 384,
42
+ "num_layers": 4,
43
+ "num_heads": 8,
44
+ "mlp_ratio": 4.0,
45
+ "dropout": 0.1,
46
+ "time_embed_dim": 128,
47
+ "num_inference_steps": null,
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
+ "ode_body_dim": 64,
60
+ "ode_width": 512,
61
+ "ode_layers": 4,
62
+ "ode_cond_dim": 512,
63
+ "ode_field_scale": 1.0,
64
+ "ode_dit_hidden": 512,
65
+ "ode_dit_layers": 4,
66
+ "ode_dit_heads": 8,
67
+ "ode_dit_tokens": 4,
68
+ "extra": {}
69
+ },
70
+ "contract": {
71
+ "name": "g1_sonic_dfx6",
72
+ "robot": "g1",
73
+ "cameras": [
74
+ "ego_view",
75
+ "chest"
76
+ ],
77
+ "state": [
78
+ [
79
+ "observation.state",
80
+ 0,
81
+ 29
82
+ ],
83
+ [
84
+ "observation.inspire_left_hand_state",
85
+ 0,
86
+ 6
87
+ ],
88
+ [
89
+ "observation.inspire_right_hand_state",
90
+ 0,
91
+ 6
92
+ ],
93
+ [
94
+ "observation.projected_gravity",
95
+ 0,
96
+ 3
97
+ ]
98
+ ],
99
+ "action": [
100
+ [
101
+ "action.motion_token",
102
+ 0,
103
+ 64
104
+ ],
105
+ [
106
+ "observation.inspire_left_hand_state",
107
+ 0,
108
+ 6
109
+ ],
110
+ [
111
+ "observation.inspire_right_hand_state",
112
+ 0,
113
+ 6
114
+ ]
115
+ ],
116
+ "state_dim": 44,
117
+ "action_dim": 76,
118
+ "action_space": "sonic_dfx6",
119
+ "body_dims": 29
120
+ },
121
+ "image_hw": [
122
+ 168,
123
+ 224
124
+ ],
125
+ "task_text": "Pick up the chip barrel from the cart, walk to the pedal bin, step on its pedal and drop it in.",
126
+ "dataset": {
127
+ "name": "b6_v6_ad2f5bf0",
128
+ "root": "/mnt/hdd/jason/humanoid_benchmark_models/b6_v6_ad2f5bf0",
129
+ "robot_type": null,
130
+ "fps": 30.0,
131
+ "episodes": [
132
+ 0,
133
+ 1,
134
+ 2,
135
+ 3,
136
+ 4,
137
+ 5,
138
+ 6,
139
+ 7,
140
+ 8,
141
+ 9,
142
+ 10,
143
+ 11,
144
+ 12,
145
+ 13,
146
+ 14,
147
+ 15,
148
+ 16,
149
+ 17,
150
+ 18,
151
+ 19,
152
+ 20,
153
+ 21,
154
+ 22,
155
+ 23,
156
+ 24,
157
+ 25,
158
+ 26,
159
+ 27,
160
+ 28,
161
+ 29,
162
+ 30,
163
+ 31,
164
+ 32,
165
+ 33,
166
+ 34,
167
+ 35,
168
+ 36,
169
+ 37,
170
+ 38,
171
+ 39,
172
+ 40,
173
+ 41,
174
+ 42,
175
+ 43,
176
+ 44,
177
+ 45,
178
+ 46,
179
+ 47,
180
+ 48,
181
+ 49,
182
+ 50,
183
+ 51,
184
+ 52,
185
+ 53,
186
+ 54,
187
+ 55,
188
+ 56,
189
+ 57,
190
+ 58,
191
+ 59,
192
+ 60,
193
+ 61,
194
+ 62,
195
+ 63,
196
+ 64,
197
+ 65,
198
+ 66,
199
+ 67,
200
+ 68,
201
+ 69,
202
+ 70,
203
+ 71,
204
+ 72,
205
+ 73,
206
+ 74,
207
+ 75,
208
+ 76,
209
+ 77,
210
+ 78,
211
+ 79,
212
+ 80,
213
+ 81,
214
+ 82,
215
+ 83,
216
+ 84,
217
+ 85,
218
+ 86,
219
+ 87,
220
+ 88,
221
+ 89,
222
+ 90,
223
+ 91,
224
+ 92,
225
+ 93,
226
+ 94,
227
+ 95,
228
+ 96,
229
+ 97,
230
+ 98,
231
+ 99,
232
+ 100,
233
+ 101,
234
+ 102,
235
+ 103,
236
+ 104,
237
+ 105,
238
+ 106,
239
+ 107,
240
+ 108,
241
+ 109,
242
+ 110,
243
+ 111,
244
+ 112,
245
+ 113,
246
+ 114,
247
+ 115,
248
+ 116,
249
+ 117,
250
+ 118,
251
+ 119,
252
+ 120,
253
+ 121,
254
+ 122,
255
+ 123,
256
+ 124,
257
+ 125,
258
+ 126,
259
+ 127,
260
+ 128,
261
+ 129,
262
+ 130,
263
+ 131,
264
+ 132,
265
+ 133,
266
+ 134,
267
+ 135,
268
+ 136,
269
+ 137,
270
+ 138,
271
+ 139,
272
+ 140,
273
+ 141,
274
+ 142,
275
+ 143,
276
+ 144,
277
+ 145,
278
+ 146,
279
+ 147,
280
+ 148,
281
+ 149,
282
+ 150,
283
+ 151,
284
+ 152,
285
+ 153,
286
+ 154,
287
+ 155,
288
+ 156,
289
+ 157,
290
+ 158,
291
+ 159,
292
+ 160,
293
+ 161,
294
+ 162,
295
+ 163,
296
+ 164,
297
+ 165,
298
+ 166,
299
+ 167,
300
+ 168,
301
+ 169,
302
+ 170,
303
+ 171,
304
+ 172,
305
+ 173,
306
+ 174,
307
+ 175,
308
+ 176,
309
+ 177,
310
+ 178,
311
+ 179,
312
+ 180,
313
+ 181,
314
+ 182,
315
+ 183,
316
+ 184,
317
+ 185,
318
+ 186,
319
+ 187,
320
+ 188,
321
+ 189,
322
+ 190,
323
+ 191,
324
+ 192,
325
+ 193,
326
+ 194,
327
+ 195,
328
+ 196,
329
+ 197,
330
+ 198,
331
+ 199,
332
+ 200,
333
+ 201,
334
+ 202,
335
+ 203,
336
+ 204,
337
+ 205,
338
+ 206,
339
+ 207,
340
+ 208,
341
+ 209,
342
+ 210,
343
+ 211,
344
+ 212,
345
+ 213,
346
+ 214,
347
+ 215,
348
+ 216,
349
+ 217,
350
+ 218,
351
+ 219,
352
+ 220,
353
+ 221,
354
+ 222,
355
+ 223,
356
+ 224,
357
+ 225,
358
+ 226,
359
+ 227,
360
+ 228,
361
+ 229,
362
+ 230,
363
+ 231,
364
+ 232,
365
+ 233,
366
+ 234,
367
+ 235,
368
+ 236,
369
+ 237,
370
+ 238,
371
+ 239,
372
+ 240,
373
+ 241,
374
+ 242,
375
+ 243,
376
+ 244,
377
+ 245,
378
+ 246,
379
+ 247,
380
+ 248,
381
+ 249,
382
+ 250,
383
+ 251,
384
+ 252,
385
+ 253,
386
+ 254,
387
+ 255,
388
+ 256,
389
+ 257,
390
+ 258,
391
+ 259,
392
+ 260,
393
+ 261,
394
+ 262,
395
+ 263,
396
+ 264,
397
+ 265,
398
+ 266,
399
+ 267,
400
+ 268,
401
+ 269,
402
+ 270,
403
+ 271,
404
+ 272,
405
+ 273,
406
+ 274,
407
+ 275,
408
+ 276,
409
+ 277,
410
+ 278,
411
+ 279,
412
+ 280,
413
+ 281,
414
+ 282,
415
+ 283,
416
+ 284,
417
+ 285,
418
+ 286,
419
+ 287,
420
+ 288,
421
+ 289,
422
+ 290,
423
+ 291,
424
+ 292,
425
+ 293,
426
+ 294,
427
+ 295,
428
+ 296,
429
+ 297,
430
+ 298,
431
+ 299,
432
+ 300,
433
+ 301,
434
+ 302,
435
+ 303,
436
+ 304,
437
+ 305,
438
+ 306,
439
+ 307,
440
+ 308,
441
+ 309,
442
+ 310,
443
+ 311,
444
+ 312,
445
+ 313,
446
+ 314,
447
+ 315,
448
+ 316,
449
+ 317,
450
+ 318,
451
+ 319,
452
+ 320,
453
+ 321,
454
+ 322,
455
+ 323,
456
+ 324,
457
+ 325,
458
+ 326,
459
+ 327,
460
+ 328,
461
+ 329,
462
+ 330,
463
+ 331,
464
+ 332,
465
+ 333,
466
+ 334,
467
+ 335,
468
+ 336,
469
+ 337,
470
+ 338,
471
+ 339,
472
+ 340,
473
+ 341,
474
+ 342,
475
+ 343,
476
+ 344,
477
+ 345,
478
+ 346,
479
+ 347,
480
+ 348,
481
+ 349,
482
+ 350,
483
+ 351,
484
+ 352,
485
+ 353,
486
+ 354,
487
+ 355,
488
+ 356,
489
+ 357,
490
+ 358,
491
+ 359,
492
+ 360,
493
+ 361,
494
+ 362,
495
+ 363,
496
+ 364,
497
+ 365,
498
+ 366,
499
+ 367,
500
+ 368,
501
+ 369,
502
+ 370,
503
+ 371,
504
+ 372,
505
+ 373,
506
+ 374,
507
+ 375,
508
+ 376,
509
+ 377,
510
+ 378,
511
+ 379,
512
+ 380,
513
+ 381,
514
+ 382,
515
+ 383,
516
+ 384,
517
+ 385,
518
+ 386,
519
+ 387,
520
+ 388,
521
+ 389,
522
+ 390,
523
+ 391,
524
+ 392,
525
+ 393,
526
+ 394,
527
+ 395,
528
+ 396,
529
+ 397,
530
+ 398,
531
+ 399,
532
+ 400,
533
+ 401,
534
+ 402,
535
+ 403,
536
+ 404,
537
+ 405,
538
+ 406,
539
+ 407,
540
+ 408,
541
+ 409,
542
+ 410,
543
+ 411,
544
+ 412,
545
+ 413,
546
+ 414,
547
+ 415,
548
+ 416,
549
+ 417,
550
+ 418,
551
+ 419,
552
+ 420,
553
+ 421,
554
+ 422,
555
+ 423,
556
+ 424,
557
+ 425,
558
+ 426,
559
+ 427,
560
+ 428,
561
+ 429,
562
+ 430,
563
+ 431,
564
+ 432,
565
+ 433,
566
+ 434,
567
+ 435,
568
+ 436,
569
+ 437,
570
+ 438,
571
+ 439,
572
+ 440,
573
+ 441,
574
+ 442,
575
+ 443,
576
+ 444,
577
+ 445,
578
+ 446,
579
+ 447,
580
+ 448,
581
+ 449,
582
+ 450,
583
+ 451,
584
+ 452,
585
+ 453,
586
+ 454,
587
+ 455,
588
+ 456,
589
+ 457,
590
+ 458,
591
+ 459,
592
+ 460,
593
+ 461,
594
+ 462,
595
+ 463,
596
+ 464,
597
+ 465,
598
+ 466,
599
+ 467,
600
+ 468,
601
+ 469,
602
+ 470,
603
+ 471,
604
+ 472,
605
+ 473,
606
+ 474,
607
+ 475,
608
+ 476,
609
+ 477,
610
+ 478,
611
+ 479,
612
+ 480,
613
+ 481,
614
+ 482,
615
+ 483,
616
+ 484,
617
+ 485,
618
+ 486,
619
+ 487,
620
+ 488,
621
+ 489,
622
+ 490,
623
+ 491,
624
+ 492,
625
+ 493,
626
+ 494,
627
+ 495,
628
+ 496,
629
+ 497,
630
+ 498,
631
+ 499,
632
+ 500,
633
+ 501,
634
+ 502,
635
+ 503,
636
+ 504,
637
+ 505,
638
+ 506,
639
+ 507,
640
+ 508,
641
+ 509,
642
+ 510,
643
+ 511,
644
+ 512,
645
+ 513,
646
+ 514,
647
+ 515,
648
+ 516,
649
+ 517,
650
+ 518,
651
+ 519,
652
+ 520,
653
+ 521,
654
+ 522,
655
+ 523,
656
+ 524,
657
+ 525,
658
+ 526,
659
+ 527,
660
+ 528,
661
+ 529,
662
+ 530,
663
+ 531,
664
+ 532,
665
+ 533,
666
+ 534,
667
+ 535,
668
+ 536,
669
+ 537,
670
+ 538,
671
+ 539,
672
+ 540,
673
+ 541
674
+ ],
675
+ "train_episodes": [
676
+ 0,
677
+ 1,
678
+ 2,
679
+ 3,
680
+ 4,
681
+ 5,
682
+ 6,
683
+ 7,
684
+ 8,
685
+ 9,
686
+ 10,
687
+ 11,
688
+ 12,
689
+ 13,
690
+ 14,
691
+ 15,
692
+ 16,
693
+ 17,
694
+ 18,
695
+ 19,
696
+ 20,
697
+ 21,
698
+ 22,
699
+ 23,
700
+ 24,
701
+ 25,
702
+ 26,
703
+ 27,
704
+ 28,
705
+ 29,
706
+ 30,
707
+ 31,
708
+ 32,
709
+ 33,
710
+ 34,
711
+ 35,
712
+ 36,
713
+ 37,
714
+ 38,
715
+ 39,
716
+ 40,
717
+ 41,
718
+ 42,
719
+ 43,
720
+ 44,
721
+ 45,
722
+ 46,
723
+ 47,
724
+ 48,
725
+ 49,
726
+ 50,
727
+ 51,
728
+ 52,
729
+ 53,
730
+ 54,
731
+ 55,
732
+ 56,
733
+ 57,
734
+ 58,
735
+ 59,
736
+ 60,
737
+ 61,
738
+ 62,
739
+ 63,
740
+ 64,
741
+ 65,
742
+ 66,
743
+ 67,
744
+ 68,
745
+ 69,
746
+ 70,
747
+ 71,
748
+ 72,
749
+ 73,
750
+ 74,
751
+ 75,
752
+ 76,
753
+ 77,
754
+ 78,
755
+ 79,
756
+ 80,
757
+ 81,
758
+ 82,
759
+ 83,
760
+ 84,
761
+ 85,
762
+ 86,
763
+ 87,
764
+ 88,
765
+ 89,
766
+ 90,
767
+ 91,
768
+ 92,
769
+ 93,
770
+ 94,
771
+ 95,
772
+ 96,
773
+ 97,
774
+ 98,
775
+ 99,
776
+ 100,
777
+ 101,
778
+ 102,
779
+ 103,
780
+ 104,
781
+ 105,
782
+ 106,
783
+ 107,
784
+ 108,
785
+ 109,
786
+ 110,
787
+ 111,
788
+ 112,
789
+ 113,
790
+ 114,
791
+ 115,
792
+ 116,
793
+ 117,
794
+ 118,
795
+ 119,
796
+ 120,
797
+ 121,
798
+ 122,
799
+ 123,
800
+ 124,
801
+ 125,
802
+ 126,
803
+ 127,
804
+ 128,
805
+ 129,
806
+ 130,
807
+ 131,
808
+ 132,
809
+ 133,
810
+ 134,
811
+ 135,
812
+ 136,
813
+ 137,
814
+ 138,
815
+ 139,
816
+ 140,
817
+ 141,
818
+ 142,
819
+ 143,
820
+ 144,
821
+ 145,
822
+ 146,
823
+ 147,
824
+ 148,
825
+ 149,
826
+ 150,
827
+ 151,
828
+ 152,
829
+ 153,
830
+ 154,
831
+ 155,
832
+ 156,
833
+ 157,
834
+ 158,
835
+ 159,
836
+ 160,
837
+ 161,
838
+ 162,
839
+ 163,
840
+ 164,
841
+ 165,
842
+ 166,
843
+ 167,
844
+ 168,
845
+ 169,
846
+ 170,
847
+ 171,
848
+ 172,
849
+ 173,
850
+ 174,
851
+ 175,
852
+ 176,
853
+ 177,
854
+ 178,
855
+ 179,
856
+ 180,
857
+ 181,
858
+ 182,
859
+ 183,
860
+ 184,
861
+ 185,
862
+ 186,
863
+ 187,
864
+ 188,
865
+ 189,
866
+ 190,
867
+ 191,
868
+ 192,
869
+ 193,
870
+ 194,
871
+ 195,
872
+ 196,
873
+ 197,
874
+ 198,
875
+ 199,
876
+ 200,
877
+ 201,
878
+ 202,
879
+ 203,
880
+ 204,
881
+ 205,
882
+ 206,
883
+ 207,
884
+ 208,
885
+ 209,
886
+ 210,
887
+ 211,
888
+ 212,
889
+ 213,
890
+ 214,
891
+ 215,
892
+ 216,
893
+ 217,
894
+ 218,
895
+ 219,
896
+ 220,
897
+ 221,
898
+ 222,
899
+ 223,
900
+ 224,
901
+ 225,
902
+ 226,
903
+ 227,
904
+ 228,
905
+ 229,
906
+ 230,
907
+ 231,
908
+ 232,
909
+ 233,
910
+ 234,
911
+ 235,
912
+ 236,
913
+ 237,
914
+ 238,
915
+ 239,
916
+ 240,
917
+ 241,
918
+ 242,
919
+ 243,
920
+ 244,
921
+ 245,
922
+ 246,
923
+ 247,
924
+ 248,
925
+ 249,
926
+ 250,
927
+ 251,
928
+ 252,
929
+ 253,
930
+ 254,
931
+ 255,
932
+ 256,
933
+ 257,
934
+ 258,
935
+ 259,
936
+ 260,
937
+ 261,
938
+ 262,
939
+ 263,
940
+ 264,
941
+ 265,
942
+ 266,
943
+ 267,
944
+ 268,
945
+ 269,
946
+ 270,
947
+ 271,
948
+ 272,
949
+ 273,
950
+ 274,
951
+ 275,
952
+ 276,
953
+ 277,
954
+ 278,
955
+ 279,
956
+ 280,
957
+ 281,
958
+ 282,
959
+ 283,
960
+ 284,
961
+ 285,
962
+ 286,
963
+ 287,
964
+ 288,
965
+ 289,
966
+ 290,
967
+ 291,
968
+ 292,
969
+ 293,
970
+ 294,
971
+ 295,
972
+ 296,
973
+ 297,
974
+ 298,
975
+ 299,
976
+ 300,
977
+ 301,
978
+ 302,
979
+ 303,
980
+ 304,
981
+ 305,
982
+ 306,
983
+ 307,
984
+ 308,
985
+ 309,
986
+ 310,
987
+ 311,
988
+ 312,
989
+ 313,
990
+ 314,
991
+ 315,
992
+ 316,
993
+ 317,
994
+ 318,
995
+ 319,
996
+ 320,
997
+ 321,
998
+ 322,
999
+ 323,
1000
+ 324,
1001
+ 325,
1002
+ 326,
1003
+ 327,
1004
+ 328,
1005
+ 329,
1006
+ 330,
1007
+ 331,
1008
+ 332,
1009
+ 333,
1010
+ 334,
1011
+ 335,
1012
+ 336,
1013
+ 337,
1014
+ 338,
1015
+ 339,
1016
+ 340,
1017
+ 341,
1018
+ 342,
1019
+ 343,
1020
+ 344,
1021
+ 345,
1022
+ 346,
1023
+ 347,
1024
+ 348,
1025
+ 349,
1026
+ 350,
1027
+ 351,
1028
+ 352,
1029
+ 353,
1030
+ 354,
1031
+ 355,
1032
+ 356,
1033
+ 357,
1034
+ 358,
1035
+ 359,
1036
+ 360,
1037
+ 361,
1038
+ 362,
1039
+ 363,
1040
+ 364,
1041
+ 365,
1042
+ 366,
1043
+ 367,
1044
+ 368,
1045
+ 369,
1046
+ 370,
1047
+ 371,
1048
+ 372,
1049
+ 373,
1050
+ 374,
1051
+ 375,
1052
+ 376,
1053
+ 377,
1054
+ 378,
1055
+ 379,
1056
+ 380,
1057
+ 381,
1058
+ 382,
1059
+ 383,
1060
+ 384,
1061
+ 385,
1062
+ 386,
1063
+ 387,
1064
+ 388,
1065
+ 389,
1066
+ 390,
1067
+ 391,
1068
+ 392,
1069
+ 393,
1070
+ 394,
1071
+ 395,
1072
+ 396,
1073
+ 397,
1074
+ 398,
1075
+ 399,
1076
+ 400,
1077
+ 401,
1078
+ 402,
1079
+ 403,
1080
+ 404,
1081
+ 405,
1082
+ 406,
1083
+ 407,
1084
+ 408,
1085
+ 409,
1086
+ 410,
1087
+ 411,
1088
+ 412,
1089
+ 413,
1090
+ 414,
1091
+ 415,
1092
+ 416,
1093
+ 417,
1094
+ 418,
1095
+ 419,
1096
+ 420,
1097
+ 421,
1098
+ 422,
1099
+ 423,
1100
+ 424,
1101
+ 425,
1102
+ 426,
1103
+ 427,
1104
+ 428,
1105
+ 429,
1106
+ 430,
1107
+ 431,
1108
+ 432,
1109
+ 433,
1110
+ 434,
1111
+ 435,
1112
+ 436,
1113
+ 437,
1114
+ 438,
1115
+ 439,
1116
+ 440,
1117
+ 441,
1118
+ 442,
1119
+ 443,
1120
+ 444,
1121
+ 445,
1122
+ 446,
1123
+ 447,
1124
+ 448,
1125
+ 449,
1126
+ 450,
1127
+ 451,
1128
+ 452,
1129
+ 453,
1130
+ 454,
1131
+ 455,
1132
+ 456,
1133
+ 457,
1134
+ 458,
1135
+ 459,
1136
+ 460,
1137
+ 461,
1138
+ 462,
1139
+ 463,
1140
+ 464,
1141
+ 465,
1142
+ 466,
1143
+ 467,
1144
+ 468,
1145
+ 469,
1146
+ 470,
1147
+ 471,
1148
+ 472,
1149
+ 473,
1150
+ 474,
1151
+ 475,
1152
+ 476,
1153
+ 477,
1154
+ 478,
1155
+ 479,
1156
+ 480,
1157
+ 481,
1158
+ 482,
1159
+ 483,
1160
+ 484,
1161
+ 485,
1162
+ 486,
1163
+ 487,
1164
+ 488,
1165
+ 489,
1166
+ 490,
1167
+ 491,
1168
+ 492,
1169
+ 493,
1170
+ 494,
1171
+ 495,
1172
+ 496,
1173
+ 497,
1174
+ 498,
1175
+ 499,
1176
+ 500,
1177
+ 501,
1178
+ 502,
1179
+ 503,
1180
+ 504,
1181
+ 505,
1182
+ 506,
1183
+ 507,
1184
+ 508,
1185
+ 509,
1186
+ 510,
1187
+ 511,
1188
+ 512,
1189
+ 513,
1190
+ 514,
1191
+ 515,
1192
+ 516,
1193
+ 517,
1194
+ 518,
1195
+ 519,
1196
+ 520,
1197
+ 521,
1198
+ 522,
1199
+ 523,
1200
+ 524,
1201
+ 525,
1202
+ 526,
1203
+ 527,
1204
+ 528,
1205
+ 529,
1206
+ 530,
1207
+ 531,
1208
+ 532,
1209
+ 533,
1210
+ 534,
1211
+ 535,
1212
+ 536,
1213
+ 537,
1214
+ 538,
1215
+ 539,
1216
+ 540,
1217
+ 541
1218
+ ],
1219
+ "val_episodes": [],
1220
+ "train_frames": 331577,
1221
+ "git_commit": "9bfeb4aec689c080b964f0dec10feec47d5b1741"
1222
+ },
1223
+ "training": {
1224
+ "steps": 8000,
1225
+ "batch_size": 512,
1226
+ "lr": 0.0001,
1227
+ "betas": [
1228
+ 0.95,
1229
+ 0.999
1230
+ ],
1231
+ "weight_decay": 1e-06,
1232
+ "warmup": 500,
1233
+ "schedule": "diffusers_cosine",
1234
+ "backbone_lr_scale": 1.0,
1235
+ "ema": 0.9999,
1236
+ "shift_px": 0,
1237
+ "amp": true,
1238
+ "seed": 42,
1239
+ "augmentation": {
1240
+ "spec": "docs/augmentation_v2.md",
1241
+ "version": "hb-aug-v2-20261109",
1242
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
1243
+ "visual": {
1244
+ "effects": [
1245
+ "exposure",
1246
+ "contrast",
1247
+ "saturation",
1248
+ "hue",
1249
+ "gamma",
1250
+ "temperature",
1251
+ "rotation_crop",
1252
+ "noise",
1253
+ "gaussian_blur",
1254
+ "jpeg",
1255
+ "motion_blur",
1256
+ "sharpen",
1257
+ "defocus",
1258
+ "light_shadow",
1259
+ "wb_channel"
1260
+ ],
1261
+ "boosted_per_sample": 1,
1262
+ "boost": 1.5,
1263
+ "pixel_scale": "H / 224",
1264
+ "future_targets": "none (one observation frame)"
1265
+ },
1266
+ "proprio": {
1267
+ "robot": "g1",
1268
+ "body_dims": 29,
1269
+ "bias_deg": 2.0,
1270
+ "bias_scope": "per_sample",
1271
+ "noise_deg": 0.25,
1272
+ "noise_clip_sigma": 3,
1273
+ "delay_probability": 0.0,
1274
+ "history_drop_probability": 0.0,
1275
+ "velocity": false
1276
+ },
1277
+ "native_image_augmentation": "off",
1278
+ "evaluation": "off"
1279
+ },
1280
+ "preflight": {
1281
+ "samples": 64,
1282
+ "state_dim": 44,
1283
+ "body_dims": 29,
1284
+ "images_changed": 64,
1285
+ "body_values_moved": 1.0,
1286
+ "max_body_offset_deg": 2.5999,
1287
+ "actions_bit_identical": true,
1288
+ "non_body_state_bit_identical": true,
1289
+ "eval_items_deterministic": 8
1290
+ },
1291
+ "aug_seed": 42,
1292
+ "layout": {
1293
+ "nodes": 1,
1294
+ "gpus": 1,
1295
+ "per_gpu_batch": 512,
1296
+ "global_batch": 512,
1297
+ "gradient_accumulation": 1,
1298
+ "num_workers": 32,
1299
+ "prefetch": 2
1300
+ },
1301
+ "ema_schedule": "diffusion_policy_emamodel",
1302
+ "inloop": {
1303
+ "task": "b6v6",
1304
+ "code": "/home/jason/benchmark/HumanWAM/hb_training/eval-action-mse",
1305
+ "every": 250,
1306
+ "exception": null
1307
+ },
1308
+ "upstream": "NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + main@cea26d94 (encoder, ode_dit field, default_train.yaml)"
1309
+ },
1310
+ "stats": {
1311
+ "state": {
1312
+ "min": [
1313
+ -1.037501573562622,
1314
+ -0.264034628868103,
1315
+ -0.4427748918533325,
1316
+ 0.0667380765080452,
1317
+ -0.5215858817100525,
1318
+ -0.2416602224111557,
1319
+ -0.6867885589599609,
1320
+ -0.47648993134498596,
1321
+ -0.9344953298568726,
1322
+ 0.10217262804508209,
1323
+ -0.6552681922912598,
1324
+ -0.21590328216552734,
1325
+ -0.15592412650585175,
1326
+ -0.1158304288983345,
1327
+ 0.07265116274356842,
1328
+ 0.022757036611437798,
1329
+ -0.02251558005809784,
1330
+ -0.44369247555732727,
1331
+ -0.5461236238479614,
1332
+ -0.5896561145782471,
1333
+ -0.26370522379875183,
1334
+ 0.0013440968468785286,
1335
+ -0.9844546318054199,
1336
+ -1.5772571563720703,
1337
+ -1.0258455276489258,
1338
+ -0.8631634712219238,
1339
+ -0.5786121487617493,
1340
+ -1.024689793586731,
1341
+ -0.9216610789299011,
1342
+ 0.9997360110282898,
1343
+ 0.9988104701042175,
1344
+ 0.9986811280250549,
1345
+ 0.9989097118377686,
1346
+ 0.9351540803909302,
1347
+ 0.0,
1348
+ 0.5493931770324707,
1349
+ 0.5609477758407593,
1350
+ 0.6044747233390808,
1351
+ 0.6079143285751343,
1352
+ 0.8139541745185852,
1353
+ 0.0,
1354
+ -0.29203763604164124,
1355
+ -0.12108057737350464,
1356
+ -1.0
1357
+ ],
1358
+ "max": [
1359
+ 0.31642699241638184,
1360
+ 0.32778802514076233,
1361
+ 0.5025486946105957,
1362
+ 1.8408095836639404,
1363
+ 0.5323996543884277,
1364
+ 0.23189055919647217,
1365
+ 0.39967241883277893,
1366
+ 0.18936435878276825,
1367
+ 0.1610136777162552,
1368
+ 1.3123230934143066,
1369
+ 0.25517070293426514,
1370
+ 0.21713340282440186,
1371
+ 0.19809074699878693,
1372
+ 0.11862942576408386,
1373
+ 0.30983150005340576,
1374
+ 0.4407850205898285,
1375
+ 0.4915717840194702,
1376
+ 0.1512441635131836,
1377
+ -0.14922617375850677,
1378
+ -0.20036308467388153,
1379
+ 0.13975681364536285,
1380
+ 0.4291156232357025,
1381
+ 0.8944763541221619,
1382
+ 0.1526746302843094,
1383
+ 0.7923631072044373,
1384
+ 1.1935943365097046,
1385
+ 1.549551248550415,
1386
+ 1.3240046501159668,
1387
+ 1.1530930995941162,
1388
+ 1.0,
1389
+ 1.0,
1390
+ 1.0,
1391
+ 1.0,
1392
+ 1.0,
1393
+ 0.0036626288201659918,
1394
+ 1.0,
1395
+ 1.0,
1396
+ 1.0,
1397
+ 1.0,
1398
+ 1.0,
1399
+ 0.011179528199136257,
1400
+ 0.08667038381099701,
1401
+ 0.1206020638346672,
1402
+ -0.9563509225845337
1403
+ ],
1404
+ "mean": [
1405
+ -0.11453739324440969,
1406
+ 0.04011084241805277,
1407
+ 0.042604342544257975,
1408
+ 0.3101375482929991,
1409
+ -0.09883363973761503,
1410
+ -0.03264575295857167,
1411
+ -0.05904688190983114,
1412
+ -0.06457161075417515,
1413
+ -0.2835409265675875,
1414
+ 0.3173361870458159,
1415
+ -0.17238908965674926,
1416
+ -0.022206056895898326,
1417
+ 0.01720015949095758,
1418
+ 0.010739354338715243,
1419
+ 0.14542730844781557,
1420
+ 0.23942305438226613,
1421
+ 0.19775352569474616,
1422
+ -0.06352798202838195,
1423
+ -0.3432223755631105,
1424
+ -0.37103841771520646,
1425
+ -0.04449127923501375,
1426
+ 0.18419998718936037,
1427
+ 0.06295970191975703,
1428
+ -0.3409248401139509,
1429
+ -0.005028062842690194,
1430
+ -0.07113524459719395,
1431
+ 0.35502965168391576,
1432
+ 0.041413371540891426,
1433
+ -0.008045864253059339,
1434
+ 0.9999993913050222,
1435
+ 0.9999989068213664,
1436
+ 0.9999985447814413,
1437
+ 0.9999986399345618,
1438
+ 0.9997595920880835,
1439
+ 4.1432946030695356e-08,
1440
+ 0.848720485038278,
1441
+ 0.8478708518704877,
1442
+ 0.8541396666476672,
1443
+ 0.8627360528043341,
1444
+ 0.9322875091376083,
1445
+ 0.0013038922559370368,
1446
+ -0.07185684814001166,
1447
+ 0.003796186879417613,
1448
+ -0.9959426704259458
1449
+ ],
1450
+ "std": [
1451
+ 0.22314642932157291,
1452
+ 0.07865177014736555,
1453
+ 0.13175734378126513,
1454
+ 0.26774492089834084,
1455
+ 0.138597724289319,
1456
+ 0.05425034662016361,
1457
+ 0.14586651661033237,
1458
+ 0.06093383638045563,
1459
+ 0.14535052480778932,
1460
+ 0.16501149156409287,
1461
+ 0.11795297516115227,
1462
+ 0.05220902917773687,
1463
+ 0.04589606128733729,
1464
+ 0.02124229308479261,
1465
+ 0.023465064820185715,
1466
+ 0.06147598163079173,
1467
+ 0.08019322209832842,
1468
+ 0.10835271570424901,
1469
+ 0.049692413539137906,
1470
+ 0.04662608297189601,
1471
+ 0.06414416688004776,
1472
+ 0.06755100433487839,
1473
+ 0.3112339885690449,
1474
+ 0.24397518045868727,
1475
+ 0.24187918334876668,
1476
+ 0.5876198067006639,
1477
+ 0.2545545751519334,
1478
+ 0.2513222402223307,
1479
+ 0.2206716966214715,
1480
+ 3.0745450764358815e-06,
1481
+ 1.0280418129053001e-05,
1482
+ 1.3003933935428358e-05,
1483
+ 1.0326645711325357e-05,
1484
+ 0.0002625973205270167,
1485
+ 1.1079706153857785e-05,
1486
+ 0.1666589578526184,
1487
+ 0.16783685131463846,
1488
+ 0.16091359576221068,
1489
+ 0.15173440996739748,
1490
+ 0.07479574625351736,
1491
+ 0.0016642108162531056,
1492
+ 0.04762500188416354,
1493
+ 0.025104825839366962,
1494
+ 0.004688973726931697
1495
+ ],
1496
+ "q01": [
1497
+ -0.9045831370353699,
1498
+ -0.13757071018218994,
1499
+ -0.2569125294685364,
1500
+ 0.1278476357460022,
1501
+ -0.39663622379302976,
1502
+ -0.12917980551719666,
1503
+ -0.4405965781211853,
1504
+ -0.24917301774024964,
1505
+ -0.6295552921295166,
1506
+ 0.1603124076128006,
1507
+ -0.4720695352554321,
1508
+ -0.1568482679128647,
1509
+ -0.061930555552244186,
1510
+ -0.04285239815711975,
1511
+ 0.10330679059028626,
1512
+ 0.08520439445972443,
1513
+ 0.06402801901102066,
1514
+ -0.3122930061817169,
1515
+ -0.4440067780017853,
1516
+ -0.4813148105144501,
1517
+ -0.17662575483322143,
1518
+ 0.07811619132757187,
1519
+ -0.7038879680633545,
1520
+ -1.074288420677185,
1521
+ -0.5174330973625183,
1522
+ -0.8296286749839783,
1523
+ -0.046649148613214494,
1524
+ -0.5297652673721314,
1525
+ -0.4525022149085998,
1526
+ 0.9999856948852539,
1527
+ 0.9999788999557495,
1528
+ 0.9999739527702332,
1529
+ 0.9999754428863525,
1530
+ 0.9992824649810791,
1531
+ 0.0,
1532
+ 0.6091572046279907,
1533
+ 0.6036605787277222,
1534
+ 0.624807596206665,
1535
+ 0.6392338871955872,
1536
+ 0.8250055313110352,
1537
+ 0.0,
1538
+ -0.18815172016620635,
1539
+ -0.05641369238495827,
1540
+ -0.9999467134475708
1541
+ ],
1542
+ "q99": [
1543
+ 0.1692169380187985,
1544
+ 0.17853675007820122,
1545
+ 0.2504714381694793,
1546
+ 1.3830337762832627,
1547
+ 0.22025565922260237,
1548
+ 0.12152969658374776,
1549
+ 0.26838738083839414,
1550
+ 0.05813095644116398,
1551
+ -0.03372923016548196,
1552
+ 0.9813192462921138,
1553
+ 0.0548072496056556,
1554
+ 0.09750931084156036,
1555
+ 0.15023184537887574,
1556
+ 0.05916855245828619,
1557
+ 0.23604949593544,
1558
+ 0.34267205715179444,
1559
+ 0.40151971697807304,
1560
+ 0.09628749728202818,
1561
+ -0.20530834913253787,
1562
+ -0.2752486991882324,
1563
+ 0.07086087167263026,
1564
+ 0.36542059302330004,
1565
+ 0.516453638076782,
1566
+ 0.03925376668572419,
1567
+ 0.5594508004188538,
1568
+ 1.1245078516006468,
1569
+ 1.1421368551254258,
1570
+ 0.6226067781448352,
1571
+ 0.6182300543785093,
1572
+ 1.0,
1573
+ 1.0,
1574
+ 1.0,
1575
+ 1.0,
1576
+ 1.0,
1577
+ 0.0,
1578
+ 1.0,
1579
+ 1.0,
1580
+ 1.0,
1581
+ 1.0,
1582
+ 1.0,
1583
+ 0.0058600762858986855,
1584
+ 0.013552068993449205,
1585
+ 0.06995626598596572,
1586
+ -0.9812720465660095
1587
+ ],
1588
+ "unit_dims": [
1589
+ 29,
1590
+ 30,
1591
+ 31,
1592
+ 32,
1593
+ 33,
1594
+ 34,
1595
+ 35,
1596
+ 36,
1597
+ 37,
1598
+ 38,
1599
+ 39,
1600
+ 40
1601
+ ]
1602
+ },
1603
+ "action": {
1604
+ "min": [
1605
+ -0.5625,
1606
+ -0.4375,
1607
+ -0.4375,
1608
+ -0.4375,
1609
+ -0.5,
1610
+ -0.3125,
1611
+ -0.4375,
1612
+ -0.375,
1613
+ -0.5,
1614
+ -0.5,
1615
+ -0.5625,
1616
+ -0.5,
1617
+ -0.375,
1618
+ -0.375,
1619
+ -0.3125,
1620
+ -0.5625,
1621
+ -0.375,
1622
+ -0.4375,
1623
+ -0.5,
1624
+ -0.5,
1625
+ -0.375,
1626
+ -0.5625,
1627
+ -0.4375,
1628
+ -0.4375,
1629
+ -0.3125,
1630
+ -0.3125,
1631
+ -0.375,
1632
+ -0.5625,
1633
+ -0.4375,
1634
+ -0.375,
1635
+ -0.4375,
1636
+ -0.5625,
1637
+ -0.4375,
1638
+ -0.25,
1639
+ -0.1875,
1640
+ -0.3125,
1641
+ -0.5625,
1642
+ -0.5,
1643
+ -0.125,
1644
+ -0.375,
1645
+ -0.4375,
1646
+ -0.5,
1647
+ -0.3125,
1648
+ -0.375,
1649
+ -0.375,
1650
+ -0.3125,
1651
+ -0.375,
1652
+ -0.5,
1653
+ -0.625,
1654
+ -0.5625,
1655
+ -0.75,
1656
+ -0.375,
1657
+ -0.5625,
1658
+ -0.4375,
1659
+ -0.25,
1660
+ -0.5,
1661
+ -0.4375,
1662
+ -0.1875,
1663
+ -0.3125,
1664
+ -0.4375,
1665
+ -0.5625,
1666
+ -0.4375,
1667
+ -0.25,
1668
+ -0.5625,
1669
+ 0.9997360110282898,
1670
+ 0.9988104701042175,
1671
+ 0.9986811280250549,
1672
+ 0.9989097118377686,
1673
+ 0.9351540803909302,
1674
+ 0.0,
1675
+ 0.5493931770324707,
1676
+ 0.5609477758407593,
1677
+ 0.6044747233390808,
1678
+ 0.6079143285751343,
1679
+ 0.8139541745185852,
1680
+ 0.0
1681
+ ],
1682
+ "max": [
1683
+ 0.3125,
1684
+ 0.375,
1685
+ 0.5,
1686
+ 0.3125,
1687
+ 0.6875,
1688
+ 0.5,
1689
+ 0.5625,
1690
+ 0.3125,
1691
+ 0.3125,
1692
+ 0.125,
1693
+ 0.375,
1694
+ 0.1875,
1695
+ 0.375,
1696
+ 0.4375,
1697
+ 0.5,
1698
+ 0.4375,
1699
+ 0.25,
1700
+ 0.3125,
1701
+ 0.4375,
1702
+ 0.1875,
1703
+ 0.3125,
1704
+ 0.25,
1705
+ 0.3125,
1706
+ 0.375,
1707
+ 0.3125,
1708
+ 0.375,
1709
+ 0.0625,
1710
+ 0.3125,
1711
+ 0.3125,
1712
+ 0.375,
1713
+ 0.375,
1714
+ 0.3125,
1715
+ 0.375,
1716
+ 0.5,
1717
+ 0.1875,
1718
+ 0.375,
1719
+ 0.5,
1720
+ 0.5,
1721
+ 0.4375,
1722
+ 0.3125,
1723
+ 0.5,
1724
+ 0.4375,
1725
+ 0.5,
1726
+ 0.25,
1727
+ 0.4375,
1728
+ 0.4375,
1729
+ 0.3125,
1730
+ 0.5625,
1731
+ 0.1875,
1732
+ 0.375,
1733
+ 0.4375,
1734
+ 0.3125,
1735
+ 0.5625,
1736
+ 0.5,
1737
+ 0.3125,
1738
+ 0.625,
1739
+ 0.375,
1740
+ 0.3125,
1741
+ 0.4375,
1742
+ 0.125,
1743
+ 0.375,
1744
+ 0.4375,
1745
+ 0.5,
1746
+ 0.375,
1747
+ 1.0,
1748
+ 1.0,
1749
+ 1.0,
1750
+ 1.0,
1751
+ 1.0,
1752
+ 0.0036626288201659918,
1753
+ 1.0,
1754
+ 1.0,
1755
+ 1.0,
1756
+ 1.0,
1757
+ 1.0,
1758
+ 0.011179528199136257
1759
+ ],
1760
+ "mean": [
1761
+ 0.035801073355510186,
1762
+ 0.008993197658462439,
1763
+ -0.040684742910394874,
1764
+ -0.015219504066928647,
1765
+ 0.06590757953657823,
1766
+ 0.10679928794819907,
1767
+ 0.07591468195924325,
1768
+ 0.005018630664973747,
1769
+ 0.02696074365833577,
1770
+ -0.21216018451219476,
1771
+ -0.1270698435054301,
1772
+ -0.20399956118789905,
1773
+ -0.038899524092443086,
1774
+ 0.06899321273791607,
1775
+ 0.17266030967166,
1776
+ -0.0748498840390015,
1777
+ 0.0503489762558923,
1778
+ -0.06576507869966855,
1779
+ 0.0027595400163461276,
1780
+ -0.08168671982676724,
1781
+ -0.0738222192733513,
1782
+ -0.1700281910385823,
1783
+ -0.09772541521275602,
1784
+ -0.10753158391565157,
1785
+ 0.019795175781191096,
1786
+ -0.025940241633165148,
1787
+ -0.17703749807736965,
1788
+ -0.05779030964150107,
1789
+ 0.025859755049355053,
1790
+ -0.010009175847540693,
1791
+ 0.0017912505994082822,
1792
+ -0.15789281222762735,
1793
+ 0.03512852972311107,
1794
+ 0.12875553792934974,
1795
+ 0.02877913727429828,
1796
+ 0.08183280203391671,
1797
+ -0.08610895810023012,
1798
+ -0.05243861154422653,
1799
+ 0.12698634103089176,
1800
+ -0.07630052747928837,
1801
+ -0.06368411409717803,
1802
+ -0.07644208585034547,
1803
+ 0.10793175491665585,
1804
+ -0.11472240987764531,
1805
+ 0.0446866414136083,
1806
+ -0.04013735874321801,
1807
+ -0.021028863582214688,
1808
+ -0.039761126374869185,
1809
+ -0.2875461431281422,
1810
+ -0.07881219897640669,
1811
+ 0.023944852930088637,
1812
+ 0.07625246172080694,
1813
+ 0.028764434806998074,
1814
+ -0.06805847510532999,
1815
+ -0.0025467312268341894,
1816
+ 0.10802901739264183,
1817
+ -0.05356523522439735,
1818
+ 0.0780337221821779,
1819
+ 0.13257554052301576,
1820
+ -0.16686659508952673,
1821
+ -0.044055377785552075,
1822
+ 0.07334570853828824,
1823
+ 0.17842857767577366,
1824
+ -0.05643768264988223,
1825
+ 0.9999993913050222,
1826
+ 0.9999989068213664,
1827
+ 0.9999985447814413,
1828
+ 0.9999986399345618,
1829
+ 0.9997595920880835,
1830
+ 4.1432946030695356e-08,
1831
+ 0.848720485038278,
1832
+ 0.8478708518704877,
1833
+ 0.8541396666476672,
1834
+ 0.8627360528043341,
1835
+ 0.9322875091376083,
1836
+ 0.0013038922559370368
1837
+ ],
1838
+ "std": [
1839
+ 0.11173244677940765,
1840
+ 0.15194660980294933,
1841
+ 0.1351430711515662,
1842
+ 0.10484135405721283,
1843
+ 0.1929176685503166,
1844
+ 0.13755941559466697,
1845
+ 0.17051900489315974,
1846
+ 0.09179112225976728,
1847
+ 0.09192408768656414,
1848
+ 0.07671847366968917,
1849
+ 0.13186630647447378,
1850
+ 0.10839263606678452,
1851
+ 0.12993358124861237,
1852
+ 0.14329446957419215,
1853
+ 0.10953734185200527,
1854
+ 0.14750468461845972,
1855
+ 0.08484062397807172,
1856
+ 0.15093021798116624,
1857
+ 0.15118011919576488,
1858
+ 0.10079911766908481,
1859
+ 0.10664686862803845,
1860
+ 0.13285217338230945,
1861
+ 0.09754221857903407,
1862
+ 0.10789405672773242,
1863
+ 0.08581448960575783,
1864
+ 0.12451903338694055,
1865
+ 0.06710254750165537,
1866
+ 0.12620998029099512,
1867
+ 0.1070435007690436,
1868
+ 0.13340008187123648,
1869
+ 0.13824680236385728,
1870
+ 0.13209141989319176,
1871
+ 0.09043010314064626,
1872
+ 0.10448598825889968,
1873
+ 0.05152826575928413,
1874
+ 0.101548845386541,
1875
+ 0.12231309853193433,
1876
+ 0.15164600068096626,
1877
+ 0.09056976406094214,
1878
+ 0.10507904679337436,
1879
+ 0.12492820977689113,
1880
+ 0.14563987562071293,
1881
+ 0.1485299613415581,
1882
+ 0.07991123184450995,
1883
+ 0.11136094888438179,
1884
+ 0.14478875216432144,
1885
+ 0.11837466954458266,
1886
+ 0.15013454795740372,
1887
+ 0.11021753863508399,
1888
+ 0.13943847366018014,
1889
+ 0.11837348053983793,
1890
+ 0.08625441769459002,
1891
+ 0.20280470849201804,
1892
+ 0.14262414065572115,
1893
+ 0.06812308254176133,
1894
+ 0.16804197774588864,
1895
+ 0.15184038871544758,
1896
+ 0.06009853362212434,
1897
+ 0.13033233324270047,
1898
+ 0.08743776901836958,
1899
+ 0.11568911736106861,
1900
+ 0.10386805895710192,
1901
+ 0.10887203688609184,
1902
+ 0.14395784989811514,
1903
+ 3.0745450764358815e-06,
1904
+ 1.0280418129053001e-05,
1905
+ 1.3003933935428358e-05,
1906
+ 1.0326645711325357e-05,
1907
+ 0.0002625973205270167,
1908
+ 1.1079706153857785e-05,
1909
+ 0.1666589578526184,
1910
+ 0.16783685131463846,
1911
+ 0.16091359576221068,
1912
+ 0.15173440996739748,
1913
+ 0.07479574625351736,
1914
+ 0.0016642108162531056
1915
+ ],
1916
+ "q01": [
1917
+ -0.3125,
1918
+ -0.3125,
1919
+ -0.3125,
1920
+ -0.25,
1921
+ -0.375,
1922
+ -0.1875,
1923
+ -0.25,
1924
+ -0.1875,
1925
+ -0.25,
1926
+ -0.4375,
1927
+ -0.375,
1928
+ -0.4375,
1929
+ -0.25,
1930
+ -0.1875,
1931
+ -0.125,
1932
+ -0.4375,
1933
+ -0.1875,
1934
+ -0.375,
1935
+ -0.3125,
1936
+ -0.3125,
1937
+ -0.25,
1938
+ -0.5,
1939
+ -0.25,
1940
+ -0.375,
1941
+ -0.1875,
1942
+ -0.25,
1943
+ -0.3125,
1944
+ -0.375,
1945
+ -0.25,
1946
+ -0.25,
1947
+ -0.3125,
1948
+ -0.4375,
1949
+ -0.25,
1950
+ -0.125,
1951
+ -0.125,
1952
+ -0.1875,
1953
+ -0.3125,
1954
+ -0.4375,
1955
+ -0.0625,
1956
+ -0.3125,
1957
+ -0.25,
1958
+ -0.375,
1959
+ -0.1875,
1960
+ -0.25,
1961
+ -0.25,
1962
+ -0.25,
1963
+ -0.25,
1964
+ -0.375,
1965
+ -0.5,
1966
+ -0.4375,
1967
+ -0.375,
1968
+ -0.1875,
1969
+ -0.5,
1970
+ -0.375,
1971
+ -0.125,
1972
+ -0.3125,
1973
+ -0.3125,
1974
+ -0.0625,
1975
+ -0.125,
1976
+ -0.375,
1977
+ -0.25,
1978
+ -0.1875,
1979
+ -0.0625,
1980
+ -0.4375,
1981
+ 0.9999856948852539,
1982
+ 0.9999788999557495,
1983
+ 0.9999739527702332,
1984
+ 0.9999754428863525,
1985
+ 0.9992824649810791,
1986
+ 0.0,
1987
+ 0.6091572046279907,
1988
+ 0.6036605787277222,
1989
+ 0.624807596206665,
1990
+ 0.6392338871955872,
1991
+ 0.8250055313110352,
1992
+ 0.0
1993
+ ],
1994
+ "q99": [
1995
+ 0.25,
1996
+ 0.3125,
1997
+ 0.3125,
1998
+ 0.25,
1999
+ 0.5625,
2000
+ 0.375,
2001
+ 0.4375,
2002
+ 0.1875,
2003
+ 0.1875,
2004
+ -0.0625,
2005
+ 0.1875,
2006
+ 0.0625,
2007
+ 0.3125,
2008
+ 0.375,
2009
+ 0.4375,
2010
+ 0.25,
2011
+ 0.1875,
2012
+ 0.1875,
2013
+ 0.375,
2014
+ 0.1875,
2015
+ 0.1875,
2016
+ 0.0625,
2017
+ 0.1875,
2018
+ 0.1875,
2019
+ 0.1875,
2020
+ 0.25,
2021
+ -0.0625,
2022
+ 0.1875,
2023
+ 0.1875,
2024
+ 0.25,
2025
+ 0.3125,
2026
+ 0.1875,
2027
+ 0.25,
2028
+ 0.375,
2029
+ 0.125,
2030
+ 0.3125,
2031
+ 0.3125,
2032
+ 0.25,
2033
+ 0.375,
2034
+ 0.1875,
2035
+ 0.3125,
2036
+ 0.25,
2037
+ 0.4375,
2038
+ 0.0625,
2039
+ 0.3125,
2040
+ 0.375,
2041
+ 0.25,
2042
+ 0.3125,
2043
+ 0.0,
2044
+ 0.1875,
2045
+ 0.25,
2046
+ 0.25,
2047
+ 0.4375,
2048
+ 0.25,
2049
+ 0.1875,
2050
+ 0.5,
2051
+ 0.3125,
2052
+ 0.25,
2053
+ 0.375,
2054
+ 0.0,
2055
+ 0.25,
2056
+ 0.25,
2057
+ 0.375,
2058
+ 0.25,
2059
+ 1.0,
2060
+ 1.0,
2061
+ 1.0,
2062
+ 1.0,
2063
+ 1.0,
2064
+ 0.0,
2065
+ 1.0,
2066
+ 1.0,
2067
+ 1.0,
2068
+ 1.0,
2069
+ 1.0,
2070
+ 0.0058600762858986855
2071
+ ],
2072
+ "unit_dims": [
2073
+ 64,
2074
+ 65,
2075
+ 66,
2076
+ 67,
2077
+ 68,
2078
+ 69,
2079
+ 70,
2080
+ 71,
2081
+ 72,
2082
+ 73,
2083
+ 74,
2084
+ 75
2085
+ ]
2086
+ }
2087
+ },
2088
+ "code_commit": "b4b94d29585ab52e5ec927a0af647a635780155f"
2089
+ }
b6-pedal-bin/b512-v6/step-008000/training_records/train.log ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ HB_AUG_SEED=42
2
+ {"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 44, "body_dims": 29, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.5999, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
3
+ HB_INLOOP ode_mlp installed: task b6v6 split train10, every 250 steps, cache checked on episodes [0, 60, 120, 180, 240, 301, 361, 421, 481, 541], code /home/jason/benchmark/HumanWAM/hb_training/eval-action-mse, G=/home/jason/hb_models/hb_eval_work/policies-20261109
4
+ {"event": "start", "policy": "ode_mlp", "params": 26481536, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 331577, "steps": 8000, "from_step": 0, "cameras": ["ego_view", "chest"], "hw": [168, 224], "seed": 42}
5
+ {"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 0.37, "data_frac": 0.819, "body": 0.0641707542911172, "hand": 0.5248616199195385, "loss": 0.1369114176183939}
6
+ {"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 0.54, "data_frac": 0.731, "body": 0.036730024740099905, "hand": 0.04401182405650616, "loss": 0.03787978295236826}
7
+ HB_INLOOP ode_mlp ready: task b6v6 split train10 queries 393 (rank 0/1: 393), every 250 steps, batch 8, cams ['ego_view', 'chest']
8
+ HB_INLOOP ode_mlp step 250: b6v6/train10 nMSE 1.4566 (motion_token 0.1526 hands 8.4115) on 393 queries, 15.1 s
9
+ {"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 0.56, "data_frac": 0.654, "body": 0.02620173405855894, "hand": 0.027034577205777167, "loss": 0.026333235763013364}
10
+ {"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 0.55, "data_frac": 0.723, "body": 0.02121318655088544, "hand": 0.011204879283905029, "loss": 0.019632927849888803}
11
+ {"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 0.55, "data_frac": 0.756, "body": 0.01901901323348284, "hand": 0.007041298989206552, "loss": 0.017127795331180095}
12
+ HB_INLOOP ode_mlp step 500: b6v6/train10 nMSE 0.6045 (motion_token 0.0962 hands 3.3154) on 393 queries, 4.3 s
13
+ {"event": "train", "step": 600, "lr": 9.995614150494293e-05, "backbone_lr": 9.995614150494293e-05, "ema_decay": 0.991741, "it_s": 0.57, "data_frac": 0.736, "body": 0.01769511166960001, "hand": 0.005485141412355006, "loss": 0.01576722170226276}
14
+ {"event": "train", "step": 700, "lr": 9.982464296247522e-05, "backbone_lr": 9.982464296247522e-05, "ema_decay": 0.992644, "it_s": 0.64, "data_frac": 0.824, "body": 0.016525614755228162, "hand": 0.004552887498866767, "loss": 0.014635184276849032}
15
+ HB_INLOOP ode_mlp step 750: b6v6/train10 nMSE 0.2714 (motion_token 0.0802 hands 1.2914) on 393 queries, 4.5 s
16
+ {"event": "train", "step": 800, "lr": 9.96057350657239e-05, "backbone_lr": 9.96057350657239e-05, "ema_decay": 0.993346, "it_s": 0.56, "data_frac": 0.779, "body": 0.015807644119486212, "hand": 0.004340602329466492, "loss": 0.013997058710083365}
17
+ {"event": "train", "step": 900, "lr": 9.929980185352526e-05, "backbone_lr": 9.929980185352526e-05, "ema_decay": 0.993909, "it_s": 0.56, "data_frac": 0.77, "body": 0.015497054886072874, "hand": 0.004242584281601011, "loss": 0.013720033401623368}
18
+ {"event": "train", "step": 1000, "lr": 9.890738003669029e-05, "backbone_lr": 9.890738003669029e-05, "ema_decay": 0.994372, "it_s": 0.56, "data_frac": 0.732, "body": 0.014869528515264392, "hand": 0.0037429753434844314, "loss": 0.013112704381346702}
19
+ HB_INLOOP ode_mlp step 1000: b6v6/train10 nMSE 0.2224 (motion_token 0.0727 hands 1.0209) on 393 queries, 8.0 s
20
+ {"event": "save", "step": 1000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-001000", "mse": 0.011080628260970116, "mse_row0": 0.004847242031246424, "mse_motion_token": 0.012569259852170944, "mse_inspire_left_hand_state": 0.0002183417818741873, "mse_inspire_right_hand_state": 0.006064191460609436}
21
+ {"event": "train", "step": 1100, "lr": 9.842915805643155e-05, "backbone_lr": 9.842915805643155e-05, "ema_decay": 0.994761, "it_s": 0.46, "data_frac": 0.73, "body": 0.014479360831901432, "hand": 0.0034714050265029074, "loss": 0.012741262707859278}
22
+ {"event": "train", "step": 1200, "lr": 9.786597487660337e-05, "backbone_lr": 9.786597487660337e-05, "ema_decay": 0.995092, "it_s": 0.55, "data_frac": 0.727, "body": 0.014341748347505926, "hand": 0.0032044822559691966, "loss": 0.012583232736214995}
23
+ HB_INLOOP ode_mlp step 1250: b6v6/train10 nMSE 0.1965 (motion_token 0.0676 hands 0.8839) on 393 queries, 4.1 s
24
+ {"event": "train", "step": 1300, "lr": 9.721881851187406e-05, "backbone_lr": 9.721881851187406e-05, "ema_decay": 0.995378, "it_s": 0.62, "data_frac": 0.747, "body": 0.014041534084826708, "hand": 0.003177114850841463, "loss": 0.012326099527999759}
25
+ {"event": "train", "step": 1400, "lr": 9.648882429441257e-05, "backbone_lr": 9.648882429441257e-05, "ema_decay": 0.995628, "it_s": 0.57, "data_frac": 0.751, "body": 0.013610516535118222, "hand": 0.0031436786823906006, "loss": 0.011957857981324196}
26
+ {"event": "train", "step": 1500, "lr": 9.567727288213005e-05, "backbone_lr": 9.567727288213005e-05, "ema_decay": 0.995849, "it_s": 0.56, "data_frac": 0.768, "body": 0.01337172655388713, "hand": 0.002936447919346392, "loss": 0.011724051143974066}
27
+ HB_INLOOP ode_mlp step 1500: b6v6/train10 nMSE 0.1806 (motion_token 0.0643 hands 0.8008) on 393 queries, 4.3 s
28
+ {"event": "train", "step": 1600, "lr": 9.478558801197065e-05, "backbone_lr": 9.478558801197065e-05, "ema_decay": 0.996045, "it_s": 0.58, "data_frac": 0.723, "body": 0.01326553052291274, "hand": 0.002791747332084924, "loss": 0.01161177541129291}
29
+ {"event": "train", "step": 1700, "lr": 9.381533400219318e-05, "backbone_lr": 9.381533400219318e-05, "ema_decay": 0.996221, "it_s": 0.55, "data_frac": 0.771, "body": 0.013043927419930696, "hand": 0.002615736873121932, "loss": 0.011397371143102646}
30
+ HB_INLOOP ode_mlp step 1750: b6v6/train10 nMSE 0.1699 (motion_token 0.0616 hands 0.7474) on 393 queries, 5.9 s
31
+ {"event": "train", "step": 1800, "lr": 9.276821300802534e-05, "backbone_lr": 9.276821300802534e-05, "ema_decay": 0.99638, "it_s": 0.56, "data_frac": 0.727, "body": 0.012905618390068412, "hand": 0.0027095024671871214, "loss": 0.011295705484226346}
32
+ {"event": "train", "step": 1900, "lr": 9.164606203550497e-05, "backbone_lr": 9.164606203550497e-05, "ema_decay": 0.996524, "it_s": 0.57, "data_frac": 0.692, "body": 0.012565050590783357, "hand": 0.0024105258437339214, "loss": 0.010961704710498453}
33
+ {"event": "train", "step": 2000, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.996655, "it_s": 0.63, "data_frac": 0.797, "body": 0.012634374685585498, "hand": 0.002617583672981709, "loss": 0.0110527762491256}
34
+ HB_INLOOP ode_mlp step 2000: b6v6/train10 nMSE 0.1596 (motion_token 0.0595 hands 0.6935) on 393 queries, 4.3 s
35
+ {"event": "save", "step": 2000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-002000", "mse": 0.008950824849307537, "mse_row0": 0.004472704604268074, "mse_motion_token": 0.010316556319594383, "mse_inspire_left_hand_state": 0.00014835696492809802, "mse_inspire_right_hand_state": 0.003185480134561658}
36
+ {"event": "train", "step": 2100, "lr": 8.9184672866292e-05, "backbone_lr": 8.9184672866292e-05, "ema_decay": 0.996775, "it_s": 0.55, "data_frac": 0.719, "body": 0.012410512138158082, "hand": 0.0023011569248046725, "loss": 0.010814298260957003}
37
+ {"event": "train", "step": 2200, "lr": 8.784975278258783e-05, "backbone_lr": 8.784975278258783e-05, "ema_decay": 0.996886, "it_s": 0.47, "data_frac": 0.752, "body": 0.012175066629424691, "hand": 0.0023153642122633756, "loss": 0.010618271613493562}
38
+ HB_INLOOP ode_mlp step 2250: b6v6/train10 nMSE 0.1523 (motion_token 0.0578 hands 0.6562) on 393 queries, 5.0 s
39
+ {"event": "train", "step": 2300, "lr": 8.644843137107059e-05, "backbone_lr": 8.644843137107059e-05, "ema_decay": 0.996988, "it_s": 0.55, "data_frac": 0.704, "body": 0.012118437550961971, "hand": 0.0022254903893917798, "loss": 0.010556393377482891}
40
+ {"event": "train", "step": 2400, "lr": 8.498316702566828e-05, "backbone_lr": 8.498316702566828e-05, "ema_decay": 0.997083, "it_s": 0.55, "data_frac": 0.752, "body": 0.011891069170087577, "hand": 0.0022692528401967137, "loss": 0.010371835129335523}
41
+ {"event": "train", "step": 2500, "lr": 8.345653031794292e-05, "backbone_lr": 8.345653031794292e-05, "ema_decay": 0.997171, "it_s": 0.58, "data_frac": 0.689, "body": 0.011903805769979953, "hand": 0.0022302551451139152, "loss": 0.0103764031175524}
42
+ HB_INLOOP ode_mlp step 2500: b6v6/train10 nMSE 0.1447 (motion_token 0.0564 hands 0.6161) on 393 queries, 4.8 s
43
+ {"event": "train", "step": 2600, "lr": 8.18711994874345e-05, "backbone_lr": 8.18711994874345e-05, "ema_decay": 0.997253, "it_s": 0.58, "data_frac": 0.746, "body": 0.011702205948531628, "hand": 0.002110153012908995, "loss": 0.01018767137080431}
44
+ {"event": "train", "step": 2700, "lr": 8.022995574311876e-05, "backbone_lr": 8.022995574311876e-05, "ema_decay": 0.997329, "it_s": 0.55, "data_frac": 0.744, "body": 0.01160532862879336, "hand": 0.0020202249533031137, "loss": 0.010091891335323453}
45
+ HB_INLOOP ode_mlp step 2750: b6v6/train10 nMSE 0.1388 (motion_token 0.0550 hands 0.5859) on 393 queries, 7.0 s
46
+ {"event": "train", "step": 2800, "lr": 7.85356783842216e-05, "backbone_lr": 7.85356783842216e-05, "ema_decay": 0.997401, "it_s": 0.57, "data_frac": 0.708, "body": 0.01155791575089097, "hand": 0.0019064047432038934, "loss": 0.010033993106335402}
47
+ {"event": "train", "step": 2900, "lr": 7.679133974894983e-05, "backbone_lr": 7.679133974894983e-05, "ema_decay": 0.997469, "it_s": 0.57, "data_frac": 0.748, "body": 0.011425123801454901, "hand": 0.0019920524023473263, "loss": 0.009935691561549902}
48
+ {"event": "train", "step": 3000, "lr": 7.500000000000001e-05, "backbone_lr": 7.500000000000001e-05, "ema_decay": 0.997532, "it_s": 0.56, "data_frac": 0.719, "body": 0.011325791645795107, "hand": 0.0020342778228223325, "loss": 0.00985871055163443}
49
+ HB_INLOOP ode_mlp step 3000: b6v6/train10 nMSE 0.1342 (motion_token 0.0539 hands 0.5622) on 393 queries, 4.4 s
50
+ {"event": "save", "step": 3000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-003000", "mse": 0.008034422993659973, "mse_row0": 0.004300552420318127, "mse_motion_token": 0.009309224784374237, "mse_inspire_left_hand_state": 0.00012188872642582282, "mse_inspire_right_hand_state": 0.0023491038009524345}
51
+ {"event": "train", "step": 3100, "lr": 7.316480175599309e-05, "backbone_lr": 7.316480175599309e-05, "ema_decay": 0.997592, "it_s": 0.57, "data_frac": 0.699, "body": 0.01122806865721941, "hand": 0.0018480846576858312, "loss": 0.009747018599882721}
52
+ {"event": "train", "step": 3200, "lr": 7.128896457825364e-05, "backbone_lr": 7.128896457825364e-05, "ema_decay": 0.997649, "it_s": 0.53, "data_frac": 0.747, "body": 0.011162715870887041, "hand": 0.0018608243542257697, "loss": 0.009693996207788587}
53
+ HB_INLOOP ode_mlp step 3250: b6v6/train10 nMSE 0.1313 (motion_token 0.0529 hands 0.5493) on 393 queries, 4.8 s
54
+ {"event": "train", "step": 3300, "lr": 6.937577932260515e-05, "backbone_lr": 6.937577932260515e-05, "ema_decay": 0.997703, "it_s": 0.56, "data_frac": 0.749, "body": 0.01100530093535781, "hand": 0.0019278706039767713, "loss": 0.009572022557258607}
55
+ {"event": "train", "step": 3400, "lr": 6.742860236609077e-05, "backbone_lr": 6.742860236609077e-05, "ema_decay": 0.997754, "it_s": 0.52, "data_frac": 0.781, "body": 0.011018149238079786, "hand": 0.001770670257974416, "loss": 0.009558020979166032}
56
+ {"event": "train", "step": 3500, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.997802, "it_s": 0.57, "data_frac": 0.737, "body": 0.010896266987547278, "hand": 0.0017047083599027247, "loss": 0.009444968327879905}
57
+ HB_INLOOP ode_mlp step 3500: b6v6/train10 nMSE 0.1286 (motion_token 0.0519 hands 0.5373) on 393 queries, 4.4 s
58
+ {"event": "train", "step": 3600, "lr": 6.344599103076329e-05, "backbone_lr": 6.344599103076329e-05, "ema_decay": 0.997848, "it_s": 0.57, "data_frac": 0.755, "body": 0.010748015893623232, "hand": 0.0017132483830209822, "loss": 0.009321473725140094}
59
+ {"event": "train", "step": 3700, "lr": 6.141754350553279e-05, "backbone_lr": 6.141754350553279e-05, "ema_decay": 0.997892, "it_s": 0.58, "data_frac": 0.769, "body": 0.010633354391902685, "hand": 0.0017251838475931436, "loss": 0.009226801190525293}
60
+ HB_INLOOP ode_mlp step 3750: b6v6/train10 nMSE 0.1276 (motion_token 0.0512 hands 0.5356) on 393 queries, 5.2 s
61
+ {"event": "train", "step": 3800, "lr": 5.9369065729286245e-05, "backbone_lr": 5.9369065729286245e-05, "ema_decay": 0.997933, "it_s": 0.56, "data_frac": 0.782, "body": 0.010664535807445646, "hand": 0.0016279942949768156, "loss": 0.009237713497132063}
62
+ {"event": "train", "step": 3900, "lr": 5.730415142812059e-05, "backbone_lr": 5.730415142812059e-05, "ema_decay": 0.997973, "it_s": 0.59, "data_frac": 0.796, "body": 0.010578485745936632, "hand": 0.0016136583173647523, "loss": 0.009162986697629095}
63
+ {"event": "train", "step": 4000, "lr": 5.522642316338268e-05, "backbone_lr": 5.522642316338268e-05, "ema_decay": 0.998011, "it_s": 0.57, "data_frac": 0.733, "body": 0.010453721480444074, "hand": 0.0016872448055073618, "loss": 0.009069541050121189}
64
+ HB_INLOOP ode_mlp step 4000: b6v6/train10 nMSE 0.1255 (motion_token 0.0502 hands 0.5272) on 393 queries, 4.2 s
65
+ {"event": "save", "step": 4000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-004000", "mse": 0.0075093344785273075, "mse_row0": 0.004182934295386076, "mse_motion_token": 0.008723283186554909, "mse_inspire_left_hand_state": 0.00011528821050887927, "mse_inspire_right_hand_state": 0.0019545950926840305}
66
+ {"event": "train", "step": 4100, "lr": 5.313952597646568e-05, "backbone_lr": 5.313952597646568e-05, "ema_decay": 0.998048, "it_s": 0.56, "data_frac": 0.693, "body": 0.010450621889904142, "hand": 0.0015746092388872056, "loss": 0.00904914633370936}
67
+ {"event": "train", "step": 4200, "lr": 5.104712099416785e-05, "backbone_lr": 5.104712099416785e-05, "ema_decay": 0.998083, "it_s": 0.55, "data_frac": 0.744, "body": 0.010252565508708358, "hand": 0.0015915100020356477, "loss": 0.00888503048568964}
68
+ HB_INLOOP ode_mlp step 4250: b6v6/train10 nMSE 0.1243 (motion_token 0.0494 hands 0.5237) on 393 queries, 4.2 s
69
+ {"event": "train", "step": 4300, "lr": 4.895287900583216e-05, "backbone_lr": 4.895287900583216e-05, "ema_decay": 0.998116, "it_s": 0.46, "data_frac": 0.783, "body": 0.010278341257944704, "hand": 0.0015531133976764977, "loss": 0.008900673734024167}
70
+ {"event": "train", "step": 4400, "lr": 4.6860474023534335e-05, "backbone_lr": 4.6860474023534335e-05, "ema_decay": 0.998149, "it_s": 0.55, "data_frac": 0.774, "body": 0.010253330217674375, "hand": 0.0014982333383522929, "loss": 0.00887094653211534}
71
+ {"event": "train", "step": 4500, "lr": 4.477357683661734e-05, "backbone_lr": 4.477357683661734e-05, "ema_decay": 0.99818, "it_s": 0.68, "data_frac": 0.762, "body": 0.010194751247763634, "hand": 0.0015298903780058026, "loss": 0.008826615344733}
72
+ HB_INLOOP ode_mlp step 4500: b6v6/train10 nMSE 0.1234 (motion_token 0.0487 hands 0.5220) on 393 queries, 0.8 s
73
+ {"event": "train", "step": 4600, "lr": 4.269584857187943e-05, "backbone_lr": 4.269584857187943e-05, "ema_decay": 0.998209, "it_s": 0.53, "data_frac": 0.838, "body": 0.010041694520041347, "hand": 0.0014805405586957932, "loss": 0.008689933428540826}
74
+ {"event": "train", "step": 4700, "lr": 4.063093427071376e-05, "backbone_lr": 4.063093427071376e-05, "ema_decay": 0.998238, "it_s": 0.56, "data_frac": 0.763, "body": 0.0100122797396034, "hand": 0.0013981448987033219, "loss": 0.008652153257280588}
75
+ HB_INLOOP ode_mlp step 4750: b6v6/train10 nMSE 0.1229 (motion_token 0.0481 hands 0.5221) on 393 queries, 5.0 s
76
+ {"event": "train", "step": 4800, "lr": 3.858245649446721e-05, "backbone_lr": 3.858245649446721e-05, "ema_decay": 0.998266, "it_s": 0.55, "data_frac": 0.732, "body": 0.009897826947271824, "hand": 0.0014675455330871046, "loss": 0.00856672995723784}
77
+ {"event": "train", "step": 4900, "lr": 3.655400896923672e-05, "backbone_lr": 3.655400896923672e-05, "ema_decay": 0.998292, "it_s": 0.57, "data_frac": 0.763, "body": 0.009748786827549339, "hand": 0.0013787349383346736, "loss": 0.008427199721336365}
78
+ {"event": "train", "step": 5000, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998318, "it_s": 0.58, "data_frac": 0.766, "body": 0.009837622558698057, "hand": 0.0014573777455370873, "loss": 0.008514426033943891}
79
+ HB_INLOOP ode_mlp step 5000: b6v6/train10 nMSE 0.1232 (motion_token 0.0474 hands 0.5274) on 393 queries, 5.5 s
80
+ {"event": "save", "step": 5000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-005000", "mse": 0.0071502672508358955, "mse_row0": 0.004100673366338015, "mse_motion_token": 0.008318188600242138, "mse_inspire_left_hand_state": 0.00011660745803965256, "mse_inspire_right_hand_state": 0.001726100454106927}
81
+ {"event": "train", "step": 5100, "lr": 3.257139763390925e-05, "backbone_lr": 3.257139763390925e-05, "ema_decay": 0.998343, "it_s": 0.56, "data_frac": 0.697, "body": 0.009743029791861773, "hand": 0.001368532336782664, "loss": 0.00842074074782431}
82
+ {"event": "train", "step": 5200, "lr": 3.062422067739485e-05, "backbone_lr": 3.062422067739485e-05, "ema_decay": 0.998367, "it_s": 0.64, "data_frac": 0.81, "body": 0.00971955606713891, "hand": 0.0013390637771226465, "loss": 0.008396320529282093}
83
+ HB_INLOOP ode_mlp step 5250: b6v6/train10 nMSE 0.1228 (motion_token 0.0467 hands 0.5289) on 393 queries, 4.3 s
84
+ {"event": "train", "step": 5300, "lr": 2.8711035421746367e-05, "backbone_lr": 2.8711035421746367e-05, "ema_decay": 0.99839, "it_s": 0.56, "data_frac": 0.704, "body": 0.009572289250791073, "hand": 0.0013078270724508911, "loss": 0.008267374262213707}
85
+ {"event": "train", "step": 5400, "lr": 2.6835198244006927e-05, "backbone_lr": 2.6835198244006927e-05, "ema_decay": 0.998412, "it_s": 0.59, "data_frac": 0.76, "body": 0.009491434358060359, "hand": 0.001266281537245959, "loss": 0.008192726094275713}
86
+ {"event": "train", "step": 5500, "lr": 2.500000000000001e-05, "backbone_lr": 2.500000000000001e-05, "ema_decay": 0.998434, "it_s": 0.45, "data_frac": 0.775, "body": 0.00945665559731424, "hand": 0.0013029169256333262, "loss": 0.008169223275035619}
87
+ HB_INLOOP ode_mlp step 5500: b6v6/train10 nMSE 0.1235 (motion_token 0.0461 hands 0.5365) on 393 queries, 4.2 s
88
+ {"event": "train", "step": 5600, "lr": 2.3208660251050158e-05, "backbone_lr": 2.3208660251050158e-05, "ema_decay": 0.998455, "it_s": 0.55, "data_frac": 0.729, "body": 0.009380865506827832, "hand": 0.0012590405554510652, "loss": 0.008098472170531749}
89
+ {"event": "train", "step": 5700, "lr": 2.1464321615778422e-05, "backbone_lr": 2.1464321615778422e-05, "ema_decay": 0.998475, "it_s": 0.57, "data_frac": 0.749, "body": 0.00934417244978249, "hand": 0.0012565621361136437, "loss": 0.008067181394435465}
90
+ HB_INLOOP ode_mlp step 5750: b6v6/train10 nMSE 0.1245 (motion_token 0.0455 hands 0.5457) on 393 queries, 4.8 s
91
+ {"event": "train", "step": 5800, "lr": 1.977004425688126e-05, "backbone_lr": 1.977004425688126e-05, "ema_decay": 0.998495, "it_s": 0.67, "data_frac": 0.716, "body": 0.00929296855814755, "hand": 0.0012361232982948422, "loss": 0.00802083513699472}
92
+ {"event": "train", "step": 5900, "lr": 1.8128800512565513e-05, "backbone_lr": 1.8128800512565513e-05, "ema_decay": 0.998514, "it_s": 0.53, "data_frac": 0.79, "body": 0.009254084238782524, "hand": 0.0011936046526534482, "loss": 0.00798137697391212}
93
+ {"event": "train", "step": 6000, "lr": 1.6543469682057106e-05, "backbone_lr": 1.6543469682057106e-05, "ema_decay": 0.998533, "it_s": 0.57, "data_frac": 0.756, "body": 0.00920112089253962, "hand": 0.0012153797986684367, "loss": 0.00794021443463862}
94
+ HB_INLOOP ode_mlp step 6000: b6v6/train10 nMSE 0.1256 (motion_token 0.0450 hands 0.5552) on 393 queries, 4.3 s
95
+ {"event": "save", "step": 6000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-006000", "mse": 0.006907737348228693, "mse_row0": 0.004050403833389282, "mse_motion_token": 0.00804031454026699, "mse_inspire_left_hand_state": 0.0001237593387486413, "mse_inspire_right_hand_state": 0.0016109150601550937}
96
+ {"event": "train", "step": 6100, "lr": 1.5016832974331724e-05, "backbone_lr": 1.5016832974331724e-05, "ema_decay": 0.998551, "it_s": 0.55, "data_frac": 0.689, "body": 0.009071860332041978, "hand": 0.0011940552538726478, "loss": 0.007827996434643865}
97
+ {"event": "train", "step": 6200, "lr": 1.3551568628929434e-05, "backbone_lr": 1.3551568628929434e-05, "ema_decay": 0.998569, "it_s": 0.57, "data_frac": 0.754, "body": 0.009091242272406817, "hand": 0.0012037811346817763, "loss": 0.007845853739418089}
98
+ HB_INLOOP ode_mlp step 6250: b6v6/train10 nMSE 0.1266 (motion_token 0.0446 hands 0.5637) on 393 queries, 4.2 s
99
+ {"event": "train", "step": 6300, "lr": 1.2150247217412186e-05, "backbone_lr": 1.2150247217412186e-05, "ema_decay": 0.998586, "it_s": 0.57, "data_frac": 0.711, "body": 0.009093586290255189, "hand": 0.00119157777458895, "loss": 0.00784590077586472}
100
+ {"event": "train", "step": 6400, "lr": 1.0815327133708015e-05, "backbone_lr": 1.0815327133708015e-05, "ema_decay": 0.998602, "it_s": 0.53, "data_frac": 0.763, "body": 0.009006741512566805, "hand": 0.0011704726610332727, "loss": 0.00776943595148623}
101
+ {"event": "train", "step": 6500, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998618, "it_s": 0.65, "data_frac": 0.755, "body": 0.008998122354969383, "hand": 0.0011421476962277667, "loss": 0.007757705375552177}
102
+ HB_INLOOP ode_mlp step 6500: b6v6/train10 nMSE 0.1279 (motion_token 0.0443 hands 0.5735) on 393 queries, 5.1 s
103
+ {"event": "train", "step": 6600, "lr": 8.353937964495029e-06, "backbone_lr": 8.353937964495029e-06, "ema_decay": 0.998634, "it_s": 0.45, "data_frac": 0.759, "body": 0.008900138009339571, "hand": 0.0011401293036760762, "loss": 0.0076748735085129735}
104
+ {"event": "train", "step": 6700, "lr": 7.2317869919746705e-06, "backbone_lr": 7.2317869919746705e-06, "ema_decay": 0.99865, "it_s": 0.56, "data_frac": 0.758, "body": 0.008885207381099462, "hand": 0.0011464157269801944, "loss": 0.0076632929360494016}
105
+ HB_INLOOP ode_mlp step 6750: b6v6/train10 nMSE 0.1294 (motion_token 0.0440 hands 0.5849) on 393 queries, 4.8 s
106
+ {"event": "train", "step": 6800, "lr": 6.184665997806832e-06, "backbone_lr": 6.184665997806832e-06, "ema_decay": 0.998664, "it_s": 0.57, "data_frac": 0.734, "body": 0.008849633317440748, "hand": 0.0011237903474830091, "loss": 0.007629763442091644}
107
+ {"event": "train", "step": 6900, "lr": 5.214411988029355e-06, "backbone_lr": 5.214411988029355e-06, "ema_decay": 0.998679, "it_s": 0.59, "data_frac": 0.733, "body": 0.008856649165973068, "hand": 0.0010967344418168067, "loss": 0.007631399505771697}
108
+ {"event": "train", "step": 7000, "lr": 4.322727117869951e-06, "backbone_lr": 4.322727117869951e-06, "ema_decay": 0.998693, "it_s": 0.59, "data_frac": 0.746, "body": 0.008829338243231177, "hand": 0.001100752908969298, "loss": 0.007609035363420844}
109
+ HB_INLOOP ode_mlp step 7000: b6v6/train10 nMSE 0.1309 (motion_token 0.0437 hands 0.5958) on 393 queries, 3.9 s
110
+ {"event": "save", "step": 7000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-007000", "mse": 0.00677058519795537, "mse_row0": 0.00402041943743825, "mse_motion_token": 0.007882385514676571, "mse_inspire_left_hand_state": 0.00013365724589675665, "mse_inspire_right_hand_state": 0.0015483229653909802}
111
+ {"event": "train", "step": 7100, "lr": 3.511175705587433e-06, "backbone_lr": 3.511175705587433e-06, "ema_decay": 0.998707, "it_s": 0.65, "data_frac": 0.684, "body": 0.00880504721775651, "hand": 0.0011064210470067338, "loss": 0.007589474692940712}
112
+ {"event": "train", "step": 7200, "lr": 2.7811814881259503e-06, "backbone_lr": 2.7811814881259503e-06, "ema_decay": 0.99872, "it_s": 0.53, "data_frac": 0.793, "body": 0.008787597212940455, "hand": 0.0010726275137858466, "loss": 0.007569444091059268}
113
+ HB_INLOOP ode_mlp step 7250: b6v6/train10 nMSE 0.1323 (motion_token 0.0435 hands 0.6061) on 393 queries, 4.3 s
114
+ {"event": "train", "step": 7300, "lr": 2.134025123396638e-06, "backbone_lr": 2.134025123396638e-06, "ema_decay": 0.998734, "it_s": 0.55, "data_frac": 0.712, "body": 0.008711913404986261, "hand": 0.0011170021636644379, "loss": 0.007512716958299279}
115
+ {"event": "train", "step": 7400, "lr": 1.5708419435684462e-06, "backbone_lr": 1.5708419435684462e-06, "ema_decay": 0.998747, "it_s": 0.55, "data_frac": 0.777, "body": 0.008712747618556022, "hand": 0.001112491908716038, "loss": 0.0075127073004841805}
116
+ {"event": "train", "step": 7500, "lr": 1.0926199633097157e-06, "backbone_lr": 1.0926199633097157e-06, "ema_decay": 0.998759, "it_s": 0.56, "data_frac": 0.731, "body": 0.008722972981631756, "hand": 0.0010870554018765689, "loss": 0.007517301812767983}
117
+ HB_INLOOP ode_mlp step 7500: b6v6/train10 nMSE 0.1336 (motion_token 0.0433 hands 0.6151) on 393 queries, 5.4 s
118
+ {"event": "train", "step": 7600, "lr": 7.001981464747565e-07, "backbone_lr": 7.001981464747565e-07, "ema_decay": 0.998771, "it_s": 0.48, "data_frac": 0.754, "body": 0.00871021163649857, "hand": 0.0010765202768379823, "loss": 0.0075048919767141346}
119
+ {"event": "train", "step": 7700, "lr": 3.9426493427611177e-07, "backbone_lr": 3.9426493427611177e-07, "ema_decay": 0.998783, "it_s": 0.56, "data_frac": 0.781, "body": 0.008739382261410356, "hand": 0.001075048855273053, "loss": 0.007529224427416921}
120
+ HB_INLOOP ode_mlp step 7750: b6v6/train10 nMSE 0.1348 (motion_token 0.0432 hands 0.6230) on 393 queries, 0.9 s
121
+ {"event": "train", "step": 7800, "lr": 1.753570375247815e-07, "backbone_lr": 1.753570375247815e-07, "ema_decay": 0.998795, "it_s": 0.62, "data_frac": 0.776, "body": 0.008693089513108133, "hand": 0.0010834760928992181, "loss": 0.007491571651771664}
122
+ {"event": "train", "step": 7900, "lr": 4.385849505708084e-08, "backbone_lr": 4.385849505708084e-08, "ema_decay": 0.998807, "it_s": 0.55, "data_frac": 0.744, "body": 0.008695028806105256, "hand": 0.0010773202369455247, "loss": 0.007492232844233513}
123
+ {"event": "train", "step": 8000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.998818, "it_s": 0.55, "data_frac": 0.753, "body": 0.008681618478149175, "hand": 0.0010848965065088122, "loss": 0.00748213610611856}
124
+ HB_INLOOP ode_mlp step 8000: b6v6/train10 nMSE 0.1357 (motion_token 0.0431 hands 0.6293) on 393 queries, 4.6 s
125
+ {"event": "save", "step": 8000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-008000", "mse": 0.006718621589243412, "mse_row0": 0.0040106503292918205, "mse_motion_token": 0.007822207175195217, "mse_inspire_left_hand_state": 0.00014191253285389394, "mse_inspire_right_hand_state": 0.0015237501356750727}
126
+ {"event": "done", "step": 8000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/final"}
b6-pedal-bin/b512-v6/step-008000/training_records/train_log.jsonl ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 0.37, "data_frac": 0.819, "body": 0.0641707542911172, "hand": 0.5248616199195385, "loss": 0.1369114176183939}
2
+ {"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 0.54, "data_frac": 0.731, "body": 0.036730024740099905, "hand": 0.04401182405650616, "loss": 0.03787978295236826}
3
+ {"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 0.56, "data_frac": 0.654, "body": 0.02620173405855894, "hand": 0.027034577205777167, "loss": 0.026333235763013364}
4
+ {"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 0.55, "data_frac": 0.723, "body": 0.02121318655088544, "hand": 0.011204879283905029, "loss": 0.019632927849888803}
5
+ {"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 0.55, "data_frac": 0.756, "body": 0.01901901323348284, "hand": 0.007041298989206552, "loss": 0.017127795331180095}
6
+ {"event": "train", "step": 600, "lr": 9.995614150494293e-05, "backbone_lr": 9.995614150494293e-05, "ema_decay": 0.991741, "it_s": 0.57, "data_frac": 0.736, "body": 0.01769511166960001, "hand": 0.005485141412355006, "loss": 0.01576722170226276}
7
+ {"event": "train", "step": 700, "lr": 9.982464296247522e-05, "backbone_lr": 9.982464296247522e-05, "ema_decay": 0.992644, "it_s": 0.64, "data_frac": 0.824, "body": 0.016525614755228162, "hand": 0.004552887498866767, "loss": 0.014635184276849032}
8
+ {"event": "train", "step": 800, "lr": 9.96057350657239e-05, "backbone_lr": 9.96057350657239e-05, "ema_decay": 0.993346, "it_s": 0.56, "data_frac": 0.779, "body": 0.015807644119486212, "hand": 0.004340602329466492, "loss": 0.013997058710083365}
9
+ {"event": "train", "step": 900, "lr": 9.929980185352526e-05, "backbone_lr": 9.929980185352526e-05, "ema_decay": 0.993909, "it_s": 0.56, "data_frac": 0.77, "body": 0.015497054886072874, "hand": 0.004242584281601011, "loss": 0.013720033401623368}
10
+ {"event": "train", "step": 1000, "lr": 9.890738003669029e-05, "backbone_lr": 9.890738003669029e-05, "ema_decay": 0.994372, "it_s": 0.56, "data_frac": 0.732, "body": 0.014869528515264392, "hand": 0.0037429753434844314, "loss": 0.013112704381346702}
11
+ {"event": "save", "step": 1000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-001000", "mse": 0.011080628260970116, "mse_row0": 0.004847242031246424, "mse_motion_token": 0.012569259852170944, "mse_inspire_left_hand_state": 0.0002183417818741873, "mse_inspire_right_hand_state": 0.006064191460609436}
12
+ {"event": "train", "step": 1100, "lr": 9.842915805643155e-05, "backbone_lr": 9.842915805643155e-05, "ema_decay": 0.994761, "it_s": 0.46, "data_frac": 0.73, "body": 0.014479360831901432, "hand": 0.0034714050265029074, "loss": 0.012741262707859278}
13
+ {"event": "train", "step": 1200, "lr": 9.786597487660337e-05, "backbone_lr": 9.786597487660337e-05, "ema_decay": 0.995092, "it_s": 0.55, "data_frac": 0.727, "body": 0.014341748347505926, "hand": 0.0032044822559691966, "loss": 0.012583232736214995}
14
+ {"event": "train", "step": 1300, "lr": 9.721881851187406e-05, "backbone_lr": 9.721881851187406e-05, "ema_decay": 0.995378, "it_s": 0.62, "data_frac": 0.747, "body": 0.014041534084826708, "hand": 0.003177114850841463, "loss": 0.012326099527999759}
15
+ {"event": "train", "step": 1400, "lr": 9.648882429441257e-05, "backbone_lr": 9.648882429441257e-05, "ema_decay": 0.995628, "it_s": 0.57, "data_frac": 0.751, "body": 0.013610516535118222, "hand": 0.0031436786823906006, "loss": 0.011957857981324196}
16
+ {"event": "train", "step": 1500, "lr": 9.567727288213005e-05, "backbone_lr": 9.567727288213005e-05, "ema_decay": 0.995849, "it_s": 0.56, "data_frac": 0.768, "body": 0.01337172655388713, "hand": 0.002936447919346392, "loss": 0.011724051143974066}
17
+ {"event": "train", "step": 1600, "lr": 9.478558801197065e-05, "backbone_lr": 9.478558801197065e-05, "ema_decay": 0.996045, "it_s": 0.58, "data_frac": 0.723, "body": 0.01326553052291274, "hand": 0.002791747332084924, "loss": 0.01161177541129291}
18
+ {"event": "train", "step": 1700, "lr": 9.381533400219318e-05, "backbone_lr": 9.381533400219318e-05, "ema_decay": 0.996221, "it_s": 0.55, "data_frac": 0.771, "body": 0.013043927419930696, "hand": 0.002615736873121932, "loss": 0.011397371143102646}
19
+ {"event": "train", "step": 1800, "lr": 9.276821300802534e-05, "backbone_lr": 9.276821300802534e-05, "ema_decay": 0.99638, "it_s": 0.56, "data_frac": 0.727, "body": 0.012905618390068412, "hand": 0.0027095024671871214, "loss": 0.011295705484226346}
20
+ {"event": "train", "step": 1900, "lr": 9.164606203550497e-05, "backbone_lr": 9.164606203550497e-05, "ema_decay": 0.996524, "it_s": 0.57, "data_frac": 0.692, "body": 0.012565050590783357, "hand": 0.0024105258437339214, "loss": 0.010961704710498453}
21
+ {"event": "train", "step": 2000, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.996655, "it_s": 0.63, "data_frac": 0.797, "body": 0.012634374685585498, "hand": 0.002617583672981709, "loss": 0.0110527762491256}
22
+ {"event": "save", "step": 2000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-002000", "mse": 0.008950824849307537, "mse_row0": 0.004472704604268074, "mse_motion_token": 0.010316556319594383, "mse_inspire_left_hand_state": 0.00014835696492809802, "mse_inspire_right_hand_state": 0.003185480134561658}
23
+ {"event": "train", "step": 2100, "lr": 8.9184672866292e-05, "backbone_lr": 8.9184672866292e-05, "ema_decay": 0.996775, "it_s": 0.55, "data_frac": 0.719, "body": 0.012410512138158082, "hand": 0.0023011569248046725, "loss": 0.010814298260957003}
24
+ {"event": "train", "step": 2200, "lr": 8.784975278258783e-05, "backbone_lr": 8.784975278258783e-05, "ema_decay": 0.996886, "it_s": 0.47, "data_frac": 0.752, "body": 0.012175066629424691, "hand": 0.0023153642122633756, "loss": 0.010618271613493562}
25
+ {"event": "train", "step": 2300, "lr": 8.644843137107059e-05, "backbone_lr": 8.644843137107059e-05, "ema_decay": 0.996988, "it_s": 0.55, "data_frac": 0.704, "body": 0.012118437550961971, "hand": 0.0022254903893917798, "loss": 0.010556393377482891}
26
+ {"event": "train", "step": 2400, "lr": 8.498316702566828e-05, "backbone_lr": 8.498316702566828e-05, "ema_decay": 0.997083, "it_s": 0.55, "data_frac": 0.752, "body": 0.011891069170087577, "hand": 0.0022692528401967137, "loss": 0.010371835129335523}
27
+ {"event": "train", "step": 2500, "lr": 8.345653031794292e-05, "backbone_lr": 8.345653031794292e-05, "ema_decay": 0.997171, "it_s": 0.58, "data_frac": 0.689, "body": 0.011903805769979953, "hand": 0.0022302551451139152, "loss": 0.0103764031175524}
28
+ {"event": "train", "step": 2600, "lr": 8.18711994874345e-05, "backbone_lr": 8.18711994874345e-05, "ema_decay": 0.997253, "it_s": 0.58, "data_frac": 0.746, "body": 0.011702205948531628, "hand": 0.002110153012908995, "loss": 0.01018767137080431}
29
+ {"event": "train", "step": 2700, "lr": 8.022995574311876e-05, "backbone_lr": 8.022995574311876e-05, "ema_decay": 0.997329, "it_s": 0.55, "data_frac": 0.744, "body": 0.01160532862879336, "hand": 0.0020202249533031137, "loss": 0.010091891335323453}
30
+ {"event": "train", "step": 2800, "lr": 7.85356783842216e-05, "backbone_lr": 7.85356783842216e-05, "ema_decay": 0.997401, "it_s": 0.57, "data_frac": 0.708, "body": 0.01155791575089097, "hand": 0.0019064047432038934, "loss": 0.010033993106335402}
31
+ {"event": "train", "step": 2900, "lr": 7.679133974894983e-05, "backbone_lr": 7.679133974894983e-05, "ema_decay": 0.997469, "it_s": 0.57, "data_frac": 0.748, "body": 0.011425123801454901, "hand": 0.0019920524023473263, "loss": 0.009935691561549902}
32
+ {"event": "train", "step": 3000, "lr": 7.500000000000001e-05, "backbone_lr": 7.500000000000001e-05, "ema_decay": 0.997532, "it_s": 0.56, "data_frac": 0.719, "body": 0.011325791645795107, "hand": 0.0020342778228223325, "loss": 0.00985871055163443}
33
+ {"event": "save", "step": 3000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-003000", "mse": 0.008034422993659973, "mse_row0": 0.004300552420318127, "mse_motion_token": 0.009309224784374237, "mse_inspire_left_hand_state": 0.00012188872642582282, "mse_inspire_right_hand_state": 0.0023491038009524345}
34
+ {"event": "train", "step": 3100, "lr": 7.316480175599309e-05, "backbone_lr": 7.316480175599309e-05, "ema_decay": 0.997592, "it_s": 0.57, "data_frac": 0.699, "body": 0.01122806865721941, "hand": 0.0018480846576858312, "loss": 0.009747018599882721}
35
+ {"event": "train", "step": 3200, "lr": 7.128896457825364e-05, "backbone_lr": 7.128896457825364e-05, "ema_decay": 0.997649, "it_s": 0.53, "data_frac": 0.747, "body": 0.011162715870887041, "hand": 0.0018608243542257697, "loss": 0.009693996207788587}
36
+ {"event": "train", "step": 3300, "lr": 6.937577932260515e-05, "backbone_lr": 6.937577932260515e-05, "ema_decay": 0.997703, "it_s": 0.56, "data_frac": 0.749, "body": 0.01100530093535781, "hand": 0.0019278706039767713, "loss": 0.009572022557258607}
37
+ {"event": "train", "step": 3400, "lr": 6.742860236609077e-05, "backbone_lr": 6.742860236609077e-05, "ema_decay": 0.997754, "it_s": 0.52, "data_frac": 0.781, "body": 0.011018149238079786, "hand": 0.001770670257974416, "loss": 0.009558020979166032}
38
+ {"event": "train", "step": 3500, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.997802, "it_s": 0.57, "data_frac": 0.737, "body": 0.010896266987547278, "hand": 0.0017047083599027247, "loss": 0.009444968327879905}
39
+ {"event": "train", "step": 3600, "lr": 6.344599103076329e-05, "backbone_lr": 6.344599103076329e-05, "ema_decay": 0.997848, "it_s": 0.57, "data_frac": 0.755, "body": 0.010748015893623232, "hand": 0.0017132483830209822, "loss": 0.009321473725140094}
40
+ {"event": "train", "step": 3700, "lr": 6.141754350553279e-05, "backbone_lr": 6.141754350553279e-05, "ema_decay": 0.997892, "it_s": 0.58, "data_frac": 0.769, "body": 0.010633354391902685, "hand": 0.0017251838475931436, "loss": 0.009226801190525293}
41
+ {"event": "train", "step": 3800, "lr": 5.9369065729286245e-05, "backbone_lr": 5.9369065729286245e-05, "ema_decay": 0.997933, "it_s": 0.56, "data_frac": 0.782, "body": 0.010664535807445646, "hand": 0.0016279942949768156, "loss": 0.009237713497132063}
42
+ {"event": "train", "step": 3900, "lr": 5.730415142812059e-05, "backbone_lr": 5.730415142812059e-05, "ema_decay": 0.997973, "it_s": 0.59, "data_frac": 0.796, "body": 0.010578485745936632, "hand": 0.0016136583173647523, "loss": 0.009162986697629095}
43
+ {"event": "train", "step": 4000, "lr": 5.522642316338268e-05, "backbone_lr": 5.522642316338268e-05, "ema_decay": 0.998011, "it_s": 0.57, "data_frac": 0.733, "body": 0.010453721480444074, "hand": 0.0016872448055073618, "loss": 0.009069541050121189}
44
+ {"event": "save", "step": 4000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-004000", "mse": 0.0075093344785273075, "mse_row0": 0.004182934295386076, "mse_motion_token": 0.008723283186554909, "mse_inspire_left_hand_state": 0.00011528821050887927, "mse_inspire_right_hand_state": 0.0019545950926840305}
45
+ {"event": "train", "step": 4100, "lr": 5.313952597646568e-05, "backbone_lr": 5.313952597646568e-05, "ema_decay": 0.998048, "it_s": 0.56, "data_frac": 0.693, "body": 0.010450621889904142, "hand": 0.0015746092388872056, "loss": 0.00904914633370936}
46
+ {"event": "train", "step": 4200, "lr": 5.104712099416785e-05, "backbone_lr": 5.104712099416785e-05, "ema_decay": 0.998083, "it_s": 0.55, "data_frac": 0.744, "body": 0.010252565508708358, "hand": 0.0015915100020356477, "loss": 0.00888503048568964}
47
+ {"event": "train", "step": 4300, "lr": 4.895287900583216e-05, "backbone_lr": 4.895287900583216e-05, "ema_decay": 0.998116, "it_s": 0.46, "data_frac": 0.783, "body": 0.010278341257944704, "hand": 0.0015531133976764977, "loss": 0.008900673734024167}
48
+ {"event": "train", "step": 4400, "lr": 4.6860474023534335e-05, "backbone_lr": 4.6860474023534335e-05, "ema_decay": 0.998149, "it_s": 0.55, "data_frac": 0.774, "body": 0.010253330217674375, "hand": 0.0014982333383522929, "loss": 0.00887094653211534}
49
+ {"event": "train", "step": 4500, "lr": 4.477357683661734e-05, "backbone_lr": 4.477357683661734e-05, "ema_decay": 0.99818, "it_s": 0.68, "data_frac": 0.762, "body": 0.010194751247763634, "hand": 0.0015298903780058026, "loss": 0.008826615344733}
50
+ {"event": "train", "step": 4600, "lr": 4.269584857187943e-05, "backbone_lr": 4.269584857187943e-05, "ema_decay": 0.998209, "it_s": 0.53, "data_frac": 0.838, "body": 0.010041694520041347, "hand": 0.0014805405586957932, "loss": 0.008689933428540826}
51
+ {"event": "train", "step": 4700, "lr": 4.063093427071376e-05, "backbone_lr": 4.063093427071376e-05, "ema_decay": 0.998238, "it_s": 0.56, "data_frac": 0.763, "body": 0.0100122797396034, "hand": 0.0013981448987033219, "loss": 0.008652153257280588}
52
+ {"event": "train", "step": 4800, "lr": 3.858245649446721e-05, "backbone_lr": 3.858245649446721e-05, "ema_decay": 0.998266, "it_s": 0.55, "data_frac": 0.732, "body": 0.009897826947271824, "hand": 0.0014675455330871046, "loss": 0.00856672995723784}
53
+ {"event": "train", "step": 4900, "lr": 3.655400896923672e-05, "backbone_lr": 3.655400896923672e-05, "ema_decay": 0.998292, "it_s": 0.57, "data_frac": 0.763, "body": 0.009748786827549339, "hand": 0.0013787349383346736, "loss": 0.008427199721336365}
54
+ {"event": "train", "step": 5000, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998318, "it_s": 0.58, "data_frac": 0.766, "body": 0.009837622558698057, "hand": 0.0014573777455370873, "loss": 0.008514426033943891}
55
+ {"event": "save", "step": 5000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-005000", "mse": 0.0071502672508358955, "mse_row0": 0.004100673366338015, "mse_motion_token": 0.008318188600242138, "mse_inspire_left_hand_state": 0.00011660745803965256, "mse_inspire_right_hand_state": 0.001726100454106927}
56
+ {"event": "train", "step": 5100, "lr": 3.257139763390925e-05, "backbone_lr": 3.257139763390925e-05, "ema_decay": 0.998343, "it_s": 0.56, "data_frac": 0.697, "body": 0.009743029791861773, "hand": 0.001368532336782664, "loss": 0.00842074074782431}
57
+ {"event": "train", "step": 5200, "lr": 3.062422067739485e-05, "backbone_lr": 3.062422067739485e-05, "ema_decay": 0.998367, "it_s": 0.64, "data_frac": 0.81, "body": 0.00971955606713891, "hand": 0.0013390637771226465, "loss": 0.008396320529282093}
58
+ {"event": "train", "step": 5300, "lr": 2.8711035421746367e-05, "backbone_lr": 2.8711035421746367e-05, "ema_decay": 0.99839, "it_s": 0.56, "data_frac": 0.704, "body": 0.009572289250791073, "hand": 0.0013078270724508911, "loss": 0.008267374262213707}
59
+ {"event": "train", "step": 5400, "lr": 2.6835198244006927e-05, "backbone_lr": 2.6835198244006927e-05, "ema_decay": 0.998412, "it_s": 0.59, "data_frac": 0.76, "body": 0.009491434358060359, "hand": 0.001266281537245959, "loss": 0.008192726094275713}
60
+ {"event": "train", "step": 5500, "lr": 2.500000000000001e-05, "backbone_lr": 2.500000000000001e-05, "ema_decay": 0.998434, "it_s": 0.45, "data_frac": 0.775, "body": 0.00945665559731424, "hand": 0.0013029169256333262, "loss": 0.008169223275035619}
61
+ {"event": "train", "step": 5600, "lr": 2.3208660251050158e-05, "backbone_lr": 2.3208660251050158e-05, "ema_decay": 0.998455, "it_s": 0.55, "data_frac": 0.729, "body": 0.009380865506827832, "hand": 0.0012590405554510652, "loss": 0.008098472170531749}
62
+ {"event": "train", "step": 5700, "lr": 2.1464321615778422e-05, "backbone_lr": 2.1464321615778422e-05, "ema_decay": 0.998475, "it_s": 0.57, "data_frac": 0.749, "body": 0.00934417244978249, "hand": 0.0012565621361136437, "loss": 0.008067181394435465}
63
+ {"event": "train", "step": 5800, "lr": 1.977004425688126e-05, "backbone_lr": 1.977004425688126e-05, "ema_decay": 0.998495, "it_s": 0.67, "data_frac": 0.716, "body": 0.00929296855814755, "hand": 0.0012361232982948422, "loss": 0.00802083513699472}
64
+ {"event": "train", "step": 5900, "lr": 1.8128800512565513e-05, "backbone_lr": 1.8128800512565513e-05, "ema_decay": 0.998514, "it_s": 0.53, "data_frac": 0.79, "body": 0.009254084238782524, "hand": 0.0011936046526534482, "loss": 0.00798137697391212}
65
+ {"event": "train", "step": 6000, "lr": 1.6543469682057106e-05, "backbone_lr": 1.6543469682057106e-05, "ema_decay": 0.998533, "it_s": 0.57, "data_frac": 0.756, "body": 0.00920112089253962, "hand": 0.0012153797986684367, "loss": 0.00794021443463862}
66
+ {"event": "save", "step": 6000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-006000", "mse": 0.006907737348228693, "mse_row0": 0.004050403833389282, "mse_motion_token": 0.00804031454026699, "mse_inspire_left_hand_state": 0.0001237593387486413, "mse_inspire_right_hand_state": 0.0016109150601550937}
67
+ {"event": "train", "step": 6100, "lr": 1.5016832974331724e-05, "backbone_lr": 1.5016832974331724e-05, "ema_decay": 0.998551, "it_s": 0.55, "data_frac": 0.689, "body": 0.009071860332041978, "hand": 0.0011940552538726478, "loss": 0.007827996434643865}
68
+ {"event": "train", "step": 6200, "lr": 1.3551568628929434e-05, "backbone_lr": 1.3551568628929434e-05, "ema_decay": 0.998569, "it_s": 0.57, "data_frac": 0.754, "body": 0.009091242272406817, "hand": 0.0012037811346817763, "loss": 0.007845853739418089}
69
+ {"event": "train", "step": 6300, "lr": 1.2150247217412186e-05, "backbone_lr": 1.2150247217412186e-05, "ema_decay": 0.998586, "it_s": 0.57, "data_frac": 0.711, "body": 0.009093586290255189, "hand": 0.00119157777458895, "loss": 0.00784590077586472}
70
+ {"event": "train", "step": 6400, "lr": 1.0815327133708015e-05, "backbone_lr": 1.0815327133708015e-05, "ema_decay": 0.998602, "it_s": 0.53, "data_frac": 0.763, "body": 0.009006741512566805, "hand": 0.0011704726610332727, "loss": 0.00776943595148623}
71
+ {"event": "train", "step": 6500, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998618, "it_s": 0.65, "data_frac": 0.755, "body": 0.008998122354969383, "hand": 0.0011421476962277667, "loss": 0.007757705375552177}
72
+ {"event": "train", "step": 6600, "lr": 8.353937964495029e-06, "backbone_lr": 8.353937964495029e-06, "ema_decay": 0.998634, "it_s": 0.45, "data_frac": 0.759, "body": 0.008900138009339571, "hand": 0.0011401293036760762, "loss": 0.0076748735085129735}
73
+ {"event": "train", "step": 6700, "lr": 7.2317869919746705e-06, "backbone_lr": 7.2317869919746705e-06, "ema_decay": 0.99865, "it_s": 0.56, "data_frac": 0.758, "body": 0.008885207381099462, "hand": 0.0011464157269801944, "loss": 0.0076632929360494016}
74
+ {"event": "train", "step": 6800, "lr": 6.184665997806832e-06, "backbone_lr": 6.184665997806832e-06, "ema_decay": 0.998664, "it_s": 0.57, "data_frac": 0.734, "body": 0.008849633317440748, "hand": 0.0011237903474830091, "loss": 0.007629763442091644}
75
+ {"event": "train", "step": 6900, "lr": 5.214411988029355e-06, "backbone_lr": 5.214411988029355e-06, "ema_decay": 0.998679, "it_s": 0.59, "data_frac": 0.733, "body": 0.008856649165973068, "hand": 0.0010967344418168067, "loss": 0.007631399505771697}
76
+ {"event": "train", "step": 7000, "lr": 4.322727117869951e-06, "backbone_lr": 4.322727117869951e-06, "ema_decay": 0.998693, "it_s": 0.59, "data_frac": 0.746, "body": 0.008829338243231177, "hand": 0.001100752908969298, "loss": 0.007609035363420844}
77
+ {"event": "save", "step": 7000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-007000", "mse": 0.00677058519795537, "mse_row0": 0.00402041943743825, "mse_motion_token": 0.007882385514676571, "mse_inspire_left_hand_state": 0.00013365724589675665, "mse_inspire_right_hand_state": 0.0015483229653909802}
78
+ {"event": "train", "step": 7100, "lr": 3.511175705587433e-06, "backbone_lr": 3.511175705587433e-06, "ema_decay": 0.998707, "it_s": 0.65, "data_frac": 0.684, "body": 0.00880504721775651, "hand": 0.0011064210470067338, "loss": 0.007589474692940712}
79
+ {"event": "train", "step": 7200, "lr": 2.7811814881259503e-06, "backbone_lr": 2.7811814881259503e-06, "ema_decay": 0.99872, "it_s": 0.53, "data_frac": 0.793, "body": 0.008787597212940455, "hand": 0.0010726275137858466, "loss": 0.007569444091059268}
80
+ {"event": "train", "step": 7300, "lr": 2.134025123396638e-06, "backbone_lr": 2.134025123396638e-06, "ema_decay": 0.998734, "it_s": 0.55, "data_frac": 0.712, "body": 0.008711913404986261, "hand": 0.0011170021636644379, "loss": 0.007512716958299279}
81
+ {"event": "train", "step": 7400, "lr": 1.5708419435684462e-06, "backbone_lr": 1.5708419435684462e-06, "ema_decay": 0.998747, "it_s": 0.55, "data_frac": 0.777, "body": 0.008712747618556022, "hand": 0.001112491908716038, "loss": 0.0075127073004841805}
82
+ {"event": "train", "step": 7500, "lr": 1.0926199633097157e-06, "backbone_lr": 1.0926199633097157e-06, "ema_decay": 0.998759, "it_s": 0.56, "data_frac": 0.731, "body": 0.008722972981631756, "hand": 0.0010870554018765689, "loss": 0.007517301812767983}
83
+ {"event": "train", "step": 7600, "lr": 7.001981464747565e-07, "backbone_lr": 7.001981464747565e-07, "ema_decay": 0.998771, "it_s": 0.48, "data_frac": 0.754, "body": 0.00871021163649857, "hand": 0.0010765202768379823, "loss": 0.0075048919767141346}
84
+ {"event": "train", "step": 7700, "lr": 3.9426493427611177e-07, "backbone_lr": 3.9426493427611177e-07, "ema_decay": 0.998783, "it_s": 0.56, "data_frac": 0.781, "body": 0.008739382261410356, "hand": 0.001075048855273053, "loss": 0.007529224427416921}
85
+ {"event": "train", "step": 7800, "lr": 1.753570375247815e-07, "backbone_lr": 1.753570375247815e-07, "ema_decay": 0.998795, "it_s": 0.62, "data_frac": 0.776, "body": 0.008693089513108133, "hand": 0.0010834760928992181, "loss": 0.007491571651771664}
86
+ {"event": "train", "step": 7900, "lr": 4.385849505708084e-08, "backbone_lr": 4.385849505708084e-08, "ema_decay": 0.998807, "it_s": 0.55, "data_frac": 0.744, "body": 0.008695028806105256, "hand": 0.0010773202369455247, "loss": 0.007492232844233513}
87
+ {"event": "train", "step": 8000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.998818, "it_s": 0.55, "data_frac": 0.753, "body": 0.008681618478149175, "hand": 0.0010848965065088122, "loss": 0.00748213610611856}
88
+ {"event": "save", "step": 8000, "checkpoint": "/home/jason/hb_models/baselines/runs/b6-pedal-bin-v6/ode_mlp-protocol/checkpoints/step-008000", "mse": 0.006718621589243412, "mse_row0": 0.0040106503292918205, "mse_motion_token": 0.007822207175195217, "mse_inspire_left_hand_state": 0.00014191253285389394, "mse_inspire_right_hand_state": 0.0015237501356750727}