BIue-Jay commited on
Commit
dc176cd
·
verified ·
1 Parent(s): af12237

FLASH B4 cushion from bed to sofa: A800 1 GPU x 512, 12000 steps, `step-008000`, `step-012000`

Browse files
Files changed (31) hide show
  1. README.md +21 -0
  2. b4-cushion/b512/step-008000/SHA256SUMS +3 -0
  3. b4-cushion/b512/step-008000/config.json +1322 -0
  4. b4-cushion/b512/step-008000/model.pt +3 -0
  5. b4-cushion/b512/step-008000/protocol.json +128 -0
  6. b4-cushion/b512/step-012000/SHA256SUMS +25 -0
  7. b4-cushion/b512/step-012000/config.json +1322 -0
  8. b4-cushion/b512/step-012000/model.pt +3 -0
  9. b4-cushion/b512/step-012000/protocol.json +216 -0
  10. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py +163 -0
  11. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py +9 -0
  12. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py +615 -0
  13. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py +57 -0
  14. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py +114 -0
  15. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py +141 -0
  16. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/data.py +363 -0
  17. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/flash.py +412 -0
  18. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py +110 -0
  19. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/nets.py +207 -0
  20. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/policies.py +285 -0
  21. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt +12 -0
  22. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py +151 -0
  23. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/train.py +500 -0
  24. b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py +12 -0
  25. b4-cushion/b512/step-012000/training_records/code_commit.txt +1 -0
  26. b4-cushion/b512/step-012000/training_records/flash_pool_a800.sh +29 -0
  27. b4-cushion/b512/step-012000/training_records/inloop-mse.jsonl +48 -0
  28. b4-cushion/b512/step-012000/training_records/pip_freeze_hb-baselines.txt +58 -0
  29. b4-cushion/b512/step-012000/training_records/run.json +1340 -0
  30. b4-cushion/b512/step-012000/training_records/train.log +297 -0
  31. b4-cushion/b512/step-012000/training_records/train_log.jsonl +243 -0
README.md CHANGED
@@ -34,6 +34,7 @@ the lowest in-training action MSE, unless the task's section below says otherwis
34
  | `c6-bathroom-door-fetch/b512/` | C6 bathroom door fetch (long task) | Unitree G1 (Inspire hands) | ego_view, chest | `c6-bathroom-door-fetch-expert-v1` @3afba69, all 100 episodes (221,805 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
35
  | `a14-unscrew-bulb/cropped-v3-b512/` | A14 screw bulb (cropped v3, planner interface) | Unitree H2 (Sharpa hands) | head, chest | `a14-screw-bulb` @79fe08a, all 100 episodes (182,007 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
36
  | `b1-riceball-microwave/b512-v2/` | B1 rice ball into the microwave, data v2 | Unitree G1 (Inspire hands) | ego_view, chest | `b1-riceball-microwave-expert-v2-30hz` @b58f0434, all 200 episodes (179,689 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
 
37
  ## Recipe (every folder)
38
 
39
  - **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
@@ -459,3 +460,23 @@ Checkpoints: [`b1-riceball-microwave/b512-v2/step-012000/`](b1-riceball-microwav
459
  | MSE | 0.5483 | 0.2911 | 0.2367 | 0.2192 | 0.2107 | 0.2052 | 0.2028 (lowest) |
460
 
461
  Closed-loop evaluation: pending.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  | `c6-bathroom-door-fetch/b512/` | C6 bathroom door fetch (long task) | Unitree G1 (Inspire hands) | ego_view, chest | `c6-bathroom-door-fetch-expert-v1` @3afba69, all 100 episodes (221,805 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
35
  | `a14-unscrew-bulb/cropped-v3-b512/` | A14 screw bulb (cropped v3, planner interface) | Unitree H2 (Sharpa hands) | head, chest | `a14-screw-bulb` @79fe08a, all 100 episodes (182,007 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
36
  | `b1-riceball-microwave/b512-v2/` | B1 rice ball into the microwave, data v2 | Unitree G1 (Inspire hands) | ego_view, chest | `b1-riceball-microwave-expert-v2-30hz` @b58f0434, all 200 episodes (179,689 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
37
+ | `b4-cushion/b512/` | B4 cushion from bed to sofa | Unitree G1 (Inspire hands) | ego_view, chest | `b4-cushion` @194e7cde, all 302 episodes (259,888 frames) | 512 | 12,000 | `step-008000`, `step-012000` | `step-012000` |
38
  ## Recipe (every folder)
39
 
40
  - **Inputs.** Unitree G1 state, 44-D: 29 body joint angles, 6 + 6 measured Inspire hand values and 3 projected
 
460
  | MSE | 0.5483 | 0.2911 | 0.2367 | 0.2192 | 0.2107 | 0.2052 | 0.2028 (lowest) |
461
 
462
  Closed-loop evaluation: pending.
463
+
464
+ ## B4 cushion from bed to sofa, batch 512, steps 8000 and 12000 (2026-11-25)
465
+
466
+ Checkpoints: [`b4-cushion/b512/step-012000/`](b4-cushion/b512/step-012000) (evaluated) and [`step-008000/`](b4-cushion/b512/step-008000).
467
+
468
+ **Data.**
469
+ - Source: `b4-cushion` @194e7cde.
470
+ - All 302 episodes (259,888 frames) are used for training.
471
+ - Instruction: "Take the cushion from the bed and put it on the sofa."
472
+ - Humanoid_benchmark commit: 78235367.
473
+
474
+ **Training hardware.** One NVIDIA A800 80 GB (Aliyun PAI DLC), batch 512, no gradient accumulation, seed 42.
475
+
476
+ **In-training normalized action MSE on 10 equally spaced training episodes (every episode is used for training; there are no held-out episodes).**
477
+
478
+ | Step | 250 | 2,000 | 4,000 | 6,000 | 8,000 | 10,000 | 12,000 |
479
+ |---|---|---|---|---|---|---|---|
480
+ | MSE | 0.4139 | 0.1234 | 0.0964 | 0.0857 | 0.0799 | 0.0766 | 0.0753 (lowest) |
481
+
482
+ Closed-loop evaluation: pending.
b4-cushion/b512/step-008000/SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 3f5c195037bf56bf122a01cdc6ec50e088fb84e2267b44e4ed8c17125d5bca38 config.json
2
+ 682d7d7b3e52591315abccb4d71083188c592d106dee4d085980aa4c70beaf94 model.pt
3
+ ea1800bd5b0edf0f88bd6203a60d5d0fe1d57e02ef5200dd131ead0abae6f36d protocol.json
b4-cushion/b512/step-008000/config.json ADDED
@@ -0,0 +1,1322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "flash",
4
+ "n_cameras": 2,
5
+ "state_dim": 44,
6
+ "action_dim": 76,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 512,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.0,
16
+ "time_embed_dim": 256,
17
+ "num_inference_steps": 1,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "extra": {
30
+ "flash": {
31
+ "stride": 2,
32
+ "n_history": 8,
33
+ "n_action": 8,
34
+ "rows": 16,
35
+ "poly_order": 6,
36
+ "fit_pad": 1,
37
+ "boundary_constraint": true,
38
+ "poly_prefix": 1,
39
+ "poly_suffix": 1,
40
+ "history_noise_std": 0.5,
41
+ "history_reg_lambda": 0.1,
42
+ "consistency_weight": 1.0,
43
+ "solver": "euler"
44
+ }
45
+ }
46
+ },
47
+ "contract": {
48
+ "name": "g1_sonic_dfx6",
49
+ "robot": "g1",
50
+ "cameras": [
51
+ "ego_view",
52
+ "chest"
53
+ ],
54
+ "state": [
55
+ [
56
+ "observation.state",
57
+ 0,
58
+ 29
59
+ ],
60
+ [
61
+ "observation.inspire_left_hand_state",
62
+ 0,
63
+ 6
64
+ ],
65
+ [
66
+ "observation.inspire_right_hand_state",
67
+ 0,
68
+ 6
69
+ ],
70
+ [
71
+ "observation.projected_gravity",
72
+ 0,
73
+ 3
74
+ ]
75
+ ],
76
+ "action": [
77
+ [
78
+ "action.motion_token",
79
+ 0,
80
+ 64
81
+ ],
82
+ [
83
+ "observation.inspire_left_hand_state",
84
+ 0,
85
+ 6
86
+ ],
87
+ [
88
+ "observation.inspire_right_hand_state",
89
+ 0,
90
+ 6
91
+ ]
92
+ ],
93
+ "state_dim": 44,
94
+ "action_dim": 76,
95
+ "action_space": "sonic_dfx6",
96
+ "body_dims": 29
97
+ },
98
+ "image_hw": [
99
+ 168,
100
+ 224
101
+ ],
102
+ "task_text": "Take the cushion from the bed and put it on the sofa.",
103
+ "dataset": {
104
+ "name": "data",
105
+ "root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/b4-cushion-194e7cd/data",
106
+ "robot_type": null,
107
+ "fps": 30.0,
108
+ "episodes": [
109
+ 0,
110
+ 1,
111
+ 2,
112
+ 3,
113
+ 4,
114
+ 5,
115
+ 6,
116
+ 7,
117
+ 8,
118
+ 9,
119
+ 10,
120
+ 11,
121
+ 12,
122
+ 13,
123
+ 14,
124
+ 15,
125
+ 16,
126
+ 17,
127
+ 18,
128
+ 19,
129
+ 20,
130
+ 21,
131
+ 22,
132
+ 23,
133
+ 24,
134
+ 25,
135
+ 26,
136
+ 27,
137
+ 28,
138
+ 29,
139
+ 30,
140
+ 31,
141
+ 32,
142
+ 33,
143
+ 34,
144
+ 35,
145
+ 36,
146
+ 37,
147
+ 38,
148
+ 39,
149
+ 40,
150
+ 41,
151
+ 42,
152
+ 43,
153
+ 44,
154
+ 45,
155
+ 46,
156
+ 47,
157
+ 48,
158
+ 49,
159
+ 50,
160
+ 51,
161
+ 52,
162
+ 53,
163
+ 54,
164
+ 55,
165
+ 56,
166
+ 57,
167
+ 58,
168
+ 59,
169
+ 60,
170
+ 61,
171
+ 62,
172
+ 63,
173
+ 64,
174
+ 65,
175
+ 66,
176
+ 67,
177
+ 68,
178
+ 69,
179
+ 70,
180
+ 71,
181
+ 72,
182
+ 73,
183
+ 74,
184
+ 75,
185
+ 76,
186
+ 77,
187
+ 78,
188
+ 79,
189
+ 80,
190
+ 81,
191
+ 82,
192
+ 83,
193
+ 84,
194
+ 85,
195
+ 86,
196
+ 87,
197
+ 88,
198
+ 89,
199
+ 90,
200
+ 91,
201
+ 92,
202
+ 93,
203
+ 94,
204
+ 95,
205
+ 96,
206
+ 97,
207
+ 98,
208
+ 99,
209
+ 100,
210
+ 101,
211
+ 102,
212
+ 103,
213
+ 104,
214
+ 105,
215
+ 106,
216
+ 107,
217
+ 108,
218
+ 109,
219
+ 110,
220
+ 111,
221
+ 112,
222
+ 113,
223
+ 114,
224
+ 115,
225
+ 116,
226
+ 117,
227
+ 118,
228
+ 119,
229
+ 120,
230
+ 121,
231
+ 122,
232
+ 123,
233
+ 124,
234
+ 125,
235
+ 126,
236
+ 127,
237
+ 128,
238
+ 129,
239
+ 130,
240
+ 131,
241
+ 132,
242
+ 133,
243
+ 134,
244
+ 135,
245
+ 136,
246
+ 137,
247
+ 138,
248
+ 139,
249
+ 140,
250
+ 141,
251
+ 142,
252
+ 143,
253
+ 144,
254
+ 145,
255
+ 146,
256
+ 147,
257
+ 148,
258
+ 149,
259
+ 150,
260
+ 151,
261
+ 152,
262
+ 153,
263
+ 154,
264
+ 155,
265
+ 156,
266
+ 157,
267
+ 158,
268
+ 159,
269
+ 160,
270
+ 161,
271
+ 162,
272
+ 163,
273
+ 164,
274
+ 165,
275
+ 166,
276
+ 167,
277
+ 168,
278
+ 169,
279
+ 170,
280
+ 171,
281
+ 172,
282
+ 173,
283
+ 174,
284
+ 175,
285
+ 176,
286
+ 177,
287
+ 178,
288
+ 179,
289
+ 180,
290
+ 181,
291
+ 182,
292
+ 183,
293
+ 184,
294
+ 185,
295
+ 186,
296
+ 187,
297
+ 188,
298
+ 189,
299
+ 190,
300
+ 191,
301
+ 192,
302
+ 193,
303
+ 194,
304
+ 195,
305
+ 196,
306
+ 197,
307
+ 198,
308
+ 199,
309
+ 200,
310
+ 201,
311
+ 202,
312
+ 203,
313
+ 204,
314
+ 205,
315
+ 206,
316
+ 207,
317
+ 208,
318
+ 209,
319
+ 210,
320
+ 211,
321
+ 212,
322
+ 213,
323
+ 214,
324
+ 215,
325
+ 216,
326
+ 217,
327
+ 218,
328
+ 219,
329
+ 220,
330
+ 221,
331
+ 222,
332
+ 223,
333
+ 224,
334
+ 225,
335
+ 226,
336
+ 227,
337
+ 228,
338
+ 229,
339
+ 230,
340
+ 231,
341
+ 232,
342
+ 233,
343
+ 234,
344
+ 235,
345
+ 236,
346
+ 237,
347
+ 238,
348
+ 239,
349
+ 240,
350
+ 241,
351
+ 242,
352
+ 243,
353
+ 244,
354
+ 245,
355
+ 246,
356
+ 247,
357
+ 248,
358
+ 249,
359
+ 250,
360
+ 251,
361
+ 252,
362
+ 253,
363
+ 254,
364
+ 255,
365
+ 256,
366
+ 257,
367
+ 258,
368
+ 259,
369
+ 260,
370
+ 261,
371
+ 262,
372
+ 263,
373
+ 264,
374
+ 265,
375
+ 266,
376
+ 267,
377
+ 268,
378
+ 269,
379
+ 270,
380
+ 271,
381
+ 272,
382
+ 273,
383
+ 274,
384
+ 275,
385
+ 276,
386
+ 277,
387
+ 278,
388
+ 279,
389
+ 280,
390
+ 281,
391
+ 282,
392
+ 283,
393
+ 284,
394
+ 285,
395
+ 286,
396
+ 287,
397
+ 288,
398
+ 289,
399
+ 290,
400
+ 291,
401
+ 292,
402
+ 293,
403
+ 294,
404
+ 295,
405
+ 296,
406
+ 297,
407
+ 298,
408
+ 299,
409
+ 300,
410
+ 301
411
+ ],
412
+ "train_episodes": [
413
+ 0,
414
+ 1,
415
+ 2,
416
+ 3,
417
+ 4,
418
+ 5,
419
+ 6,
420
+ 7,
421
+ 8,
422
+ 9,
423
+ 10,
424
+ 11,
425
+ 12,
426
+ 13,
427
+ 14,
428
+ 15,
429
+ 16,
430
+ 17,
431
+ 18,
432
+ 19,
433
+ 20,
434
+ 21,
435
+ 22,
436
+ 23,
437
+ 24,
438
+ 25,
439
+ 26,
440
+ 27,
441
+ 28,
442
+ 29,
443
+ 30,
444
+ 31,
445
+ 32,
446
+ 33,
447
+ 34,
448
+ 35,
449
+ 36,
450
+ 37,
451
+ 38,
452
+ 39,
453
+ 40,
454
+ 41,
455
+ 42,
456
+ 43,
457
+ 44,
458
+ 45,
459
+ 46,
460
+ 47,
461
+ 48,
462
+ 49,
463
+ 50,
464
+ 51,
465
+ 52,
466
+ 53,
467
+ 54,
468
+ 55,
469
+ 56,
470
+ 57,
471
+ 58,
472
+ 59,
473
+ 60,
474
+ 61,
475
+ 62,
476
+ 63,
477
+ 64,
478
+ 65,
479
+ 66,
480
+ 67,
481
+ 68,
482
+ 69,
483
+ 70,
484
+ 71,
485
+ 72,
486
+ 73,
487
+ 74,
488
+ 75,
489
+ 76,
490
+ 77,
491
+ 78,
492
+ 79,
493
+ 80,
494
+ 81,
495
+ 82,
496
+ 83,
497
+ 84,
498
+ 85,
499
+ 86,
500
+ 87,
501
+ 88,
502
+ 89,
503
+ 90,
504
+ 91,
505
+ 92,
506
+ 93,
507
+ 94,
508
+ 95,
509
+ 96,
510
+ 97,
511
+ 98,
512
+ 99,
513
+ 100,
514
+ 101,
515
+ 102,
516
+ 103,
517
+ 104,
518
+ 105,
519
+ 106,
520
+ 107,
521
+ 108,
522
+ 109,
523
+ 110,
524
+ 111,
525
+ 112,
526
+ 113,
527
+ 114,
528
+ 115,
529
+ 116,
530
+ 117,
531
+ 118,
532
+ 119,
533
+ 120,
534
+ 121,
535
+ 122,
536
+ 123,
537
+ 124,
538
+ 125,
539
+ 126,
540
+ 127,
541
+ 128,
542
+ 129,
543
+ 130,
544
+ 131,
545
+ 132,
546
+ 133,
547
+ 134,
548
+ 135,
549
+ 136,
550
+ 137,
551
+ 138,
552
+ 139,
553
+ 140,
554
+ 141,
555
+ 142,
556
+ 143,
557
+ 144,
558
+ 145,
559
+ 146,
560
+ 147,
561
+ 148,
562
+ 149,
563
+ 150,
564
+ 151,
565
+ 152,
566
+ 153,
567
+ 154,
568
+ 155,
569
+ 156,
570
+ 157,
571
+ 158,
572
+ 159,
573
+ 160,
574
+ 161,
575
+ 162,
576
+ 163,
577
+ 164,
578
+ 165,
579
+ 166,
580
+ 167,
581
+ 168,
582
+ 169,
583
+ 170,
584
+ 171,
585
+ 172,
586
+ 173,
587
+ 174,
588
+ 175,
589
+ 176,
590
+ 177,
591
+ 178,
592
+ 179,
593
+ 180,
594
+ 181,
595
+ 182,
596
+ 183,
597
+ 184,
598
+ 185,
599
+ 186,
600
+ 187,
601
+ 188,
602
+ 189,
603
+ 190,
604
+ 191,
605
+ 192,
606
+ 193,
607
+ 194,
608
+ 195,
609
+ 196,
610
+ 197,
611
+ 198,
612
+ 199,
613
+ 200,
614
+ 201,
615
+ 202,
616
+ 203,
617
+ 204,
618
+ 205,
619
+ 206,
620
+ 207,
621
+ 208,
622
+ 209,
623
+ 210,
624
+ 211,
625
+ 212,
626
+ 213,
627
+ 214,
628
+ 215,
629
+ 216,
630
+ 217,
631
+ 218,
632
+ 219,
633
+ 220,
634
+ 221,
635
+ 222,
636
+ 223,
637
+ 224,
638
+ 225,
639
+ 226,
640
+ 227,
641
+ 228,
642
+ 229,
643
+ 230,
644
+ 231,
645
+ 232,
646
+ 233,
647
+ 234,
648
+ 235,
649
+ 236,
650
+ 237,
651
+ 238,
652
+ 239,
653
+ 240,
654
+ 241,
655
+ 242,
656
+ 243,
657
+ 244,
658
+ 245,
659
+ 246,
660
+ 247,
661
+ 248,
662
+ 249,
663
+ 250,
664
+ 251,
665
+ 252,
666
+ 253,
667
+ 254,
668
+ 255,
669
+ 256,
670
+ 257,
671
+ 258,
672
+ 259,
673
+ 260,
674
+ 261,
675
+ 262,
676
+ 263,
677
+ 264,
678
+ 265,
679
+ 266,
680
+ 267,
681
+ 268,
682
+ 269,
683
+ 270,
684
+ 271,
685
+ 272,
686
+ 273,
687
+ 274,
688
+ 275,
689
+ 276,
690
+ 277,
691
+ 278,
692
+ 279,
693
+ 280,
694
+ 281,
695
+ 282,
696
+ 283,
697
+ 284,
698
+ 285,
699
+ 286,
700
+ 287,
701
+ 288,
702
+ 289,
703
+ 290,
704
+ 291,
705
+ 292,
706
+ 293,
707
+ 294,
708
+ 295,
709
+ 296,
710
+ 297,
711
+ 298,
712
+ 299,
713
+ 300,
714
+ 301
715
+ ],
716
+ "val_episodes": [],
717
+ "train_frames": 259888,
718
+ "git_commit": "05af0034d505e6041f74569082a148f3ced8633d"
719
+ },
720
+ "training": {
721
+ "steps": 12000,
722
+ "batch_size": 512,
723
+ "lr": 0.0001,
724
+ "betas": [
725
+ 0.95,
726
+ 0.999
727
+ ],
728
+ "weight_decay": 1e-06,
729
+ "warmup": 500,
730
+ "schedule": "diffusers_cosine",
731
+ "backbone_lr_scale": 1.0,
732
+ "ema": 0.9999,
733
+ "shift_px": 0,
734
+ "amp": true,
735
+ "seed": 42,
736
+ "augmentation": {
737
+ "spec": "docs/augmentation_v2.md",
738
+ "version": "hb-aug-v2-20261109",
739
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
740
+ "visual": {
741
+ "effects": [
742
+ "exposure",
743
+ "contrast",
744
+ "saturation",
745
+ "hue",
746
+ "gamma",
747
+ "temperature",
748
+ "rotation_crop",
749
+ "noise",
750
+ "gaussian_blur",
751
+ "jpeg",
752
+ "motion_blur",
753
+ "sharpen",
754
+ "defocus",
755
+ "light_shadow",
756
+ "wb_channel"
757
+ ],
758
+ "boosted_per_sample": 1,
759
+ "boost": 1.5,
760
+ "pixel_scale": "H / 224",
761
+ "future_targets": "none (one observation frame)"
762
+ },
763
+ "proprio": {
764
+ "robot": "g1",
765
+ "body_dims": 29,
766
+ "bias_deg": 2.0,
767
+ "bias_scope": "per_sample",
768
+ "noise_deg": 0.25,
769
+ "noise_clip_sigma": 3,
770
+ "delay_probability": 0.0,
771
+ "history_drop_probability": 0.0,
772
+ "velocity": false
773
+ },
774
+ "native_image_augmentation": "off",
775
+ "evaluation": "off"
776
+ },
777
+ "preflight": {
778
+ "samples": 64,
779
+ "state_dim": 44,
780
+ "body_dims": 29,
781
+ "images_changed": 64,
782
+ "body_values_moved": 1.0,
783
+ "max_body_offset_deg": 2.5884,
784
+ "actions_bit_identical": true,
785
+ "non_body_state_bit_identical": true,
786
+ "eval_items_deterministic": 8
787
+ },
788
+ "aug_seed": 42,
789
+ "ema_schedule": "diffusion_policy_emamodel",
790
+ "layout": {
791
+ "nodes": 1,
792
+ "gpus": 1,
793
+ "per_gpu_batch": 512,
794
+ "global_batch": 512,
795
+ "gradient_accumulation": 1,
796
+ "num_workers": 40,
797
+ "prefetch": 2
798
+ },
799
+ "upstream": "NTUMARS/FLASH-Policy@f47e490",
800
+ "inloop": {
801
+ "task": "b4",
802
+ "code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
803
+ "every": 250,
804
+ "exception": null
805
+ }
806
+ },
807
+ "stats": {
808
+ "state": {
809
+ "min": [
810
+ -1.6820039749145508,
811
+ -0.12490279972553253,
812
+ -0.18221651017665863,
813
+ 0.07608192414045334,
814
+ -0.753582239151001,
815
+ -0.1858997493982315,
816
+ -1.7167080640792847,
817
+ -0.3942810595035553,
818
+ -0.7669742703437805,
819
+ 0.04507094621658325,
820
+ -0.6731131076812744,
821
+ -0.2145681232213974,
822
+ -0.05022455006837845,
823
+ -0.10020869970321655,
824
+ -0.049226418137550354,
825
+ 0.01203091535717249,
826
+ 0.041421886533498764,
827
+ -0.6986868381500244,
828
+ -0.6122351884841919,
829
+ -1.0193026065826416,
830
+ -0.17467375099658966,
831
+ -0.3660516142845154,
832
+ -1.7415019273757935,
833
+ -0.9988508224487305,
834
+ -0.4195443093776703,
835
+ -0.810554027557373,
836
+ -1.490663766860962,
837
+ -0.6740890145301819,
838
+ -0.7927517294883728,
839
+ 0.9619228839874268,
840
+ 0.9594700932502747,
841
+ 0.9783294796943665,
842
+ 0.9819534420967102,
843
+ 0.9528332948684692,
844
+ 0.0,
845
+ 0.48516789078712463,
846
+ 0.4854155480861664,
847
+ 0.5378386974334717,
848
+ 0.5014791488647461,
849
+ 0.36801642179489136,
850
+ 0.0,
851
+ -0.17542186379432678,
852
+ -0.15042829513549805,
853
+ -1.0
854
+ ],
855
+ "max": [
856
+ 0.3854926526546478,
857
+ 0.29587215185165405,
858
+ 1.0773335695266724,
859
+ 1.71208918094635,
860
+ 0.367715448141098,
861
+ 0.15625183284282684,
862
+ 0.1948571503162384,
863
+ 0.2456209808588028,
864
+ 0.7957448363304138,
865
+ 1.7925269603729248,
866
+ 0.33214133977890015,
867
+ 0.20641140639781952,
868
+ 0.26123446226119995,
869
+ 0.1018887385725975,
870
+ 0.3822789788246155,
871
+ 0.4861968457698822,
872
+ 0.48954296112060547,
873
+ 0.13781574368476868,
874
+ 1.0096713304519653,
875
+ 0.3458910584449768,
876
+ 0.5013867020606995,
877
+ 0.27674785256385803,
878
+ 0.4791494607925415,
879
+ 0.029629994183778763,
880
+ 0.7884672284126282,
881
+ 1.11447274684906,
882
+ 0.7494932413101196,
883
+ 0.7988896369934082,
884
+ 0.6681351065635681,
885
+ 1.0,
886
+ 1.0,
887
+ 1.0,
888
+ 1.0,
889
+ 1.0,
890
+ 1.0,
891
+ 1.0,
892
+ 1.0,
893
+ 1.0,
894
+ 1.0,
895
+ 1.0,
896
+ 0.008115201257169247,
897
+ 0.5811348557472229,
898
+ 0.08487062901258469,
899
+ -0.8134717345237732
900
+ ],
901
+ "mean": [
902
+ -0.35808269720638713,
903
+ 0.06338315052257075,
904
+ 0.16419951921933892,
905
+ 0.49053102917977826,
906
+ -0.20526293598703885,
907
+ -0.0031740636043618973,
908
+ -0.44498932122369506,
909
+ -0.11478813305860504,
910
+ -0.197945082462602,
911
+ 0.4833258965518039,
912
+ -0.1225698313976737,
913
+ -0.023115810141848752,
914
+ 0.06274106339245715,
915
+ 0.0007995611868251279,
916
+ 0.13170820905502256,
917
+ 0.2667451196345807,
918
+ 0.21395583935051282,
919
+ -0.3216893427388743,
920
+ -0.05321306991402941,
921
+ -0.520182469701929,
922
+ 0.1545425338263408,
923
+ -0.11778959293504257,
924
+ -0.1929313559670213,
925
+ -0.2878113255635929,
926
+ 0.08425276288873897,
927
+ 0.06902507353118478,
928
+ -0.48623667725161257,
929
+ 0.09308031873644634,
930
+ -0.05141770340246306,
931
+ 0.9999936620514414,
932
+ 0.9999937707226753,
933
+ 0.9999948050715555,
934
+ 0.9999909429539566,
935
+ 0.9981655841162916,
936
+ 0.6919767666696247,
937
+ 0.702214066318414,
938
+ 0.7273468945970327,
939
+ 0.7886838515002501,
940
+ 0.8043705116704456,
941
+ 0.6998508090483253,
942
+ 0.0007492819133353805,
943
+ 0.10239021200847494,
944
+ -0.01792790646167245,
945
+ -0.9794414862279403
946
+ ],
947
+ "std": [
948
+ 0.41077426341279666,
949
+ 0.05819967457673647,
950
+ 0.1172524413022925,
951
+ 0.3420536687040473,
952
+ 0.15319127081431327,
953
+ 0.048300170458301865,
954
+ 0.4133648199222961,
955
+ 0.08726981252891516,
956
+ 0.12406492199519821,
957
+ 0.3272352410750656,
958
+ 0.1327221747699627,
959
+ 0.06025389109402514,
960
+ 0.05555482537243791,
961
+ 0.022278835034521344,
962
+ 0.06729082653302149,
963
+ 0.07204364015282737,
964
+ 0.05251900587392237,
965
+ 0.11956818521577167,
966
+ 0.2957219432404772,
967
+ 0.25730237274157847,
968
+ 0.046324704045504844,
969
+ 0.08798606987301097,
970
+ 0.42212122320131723,
971
+ 0.1411154657283182,
972
+ 0.20506048597277796,
973
+ 0.4918762460434884,
974
+ 0.36961833321418724,
975
+ 0.1618461493527747,
976
+ 0.26659695575321574,
977
+ 0.00025597486509197994,
978
+ 0.0002978988689316117,
979
+ 0.00018445416996611553,
980
+ 0.00019616313489046396,
981
+ 0.0006616678487758073,
982
+ 0.45699987841098066,
983
+ 0.24183495810203598,
984
+ 0.22272751657245496,
985
+ 0.17213927716197644,
986
+ 0.160046500286501,
987
+ 0.23339196342262103,
988
+ 0.0005959051043599751,
989
+ 0.1677869880395805,
990
+ 0.02765762284215703,
991
+ 0.031173583486239963
992
+ ]
993
+ },
994
+ "action": {
995
+ "min": [
996
+ -0.125,
997
+ -0.5,
998
+ -0.5625,
999
+ -0.375,
1000
+ -0.375,
1001
+ -0.4375,
1002
+ -0.1875,
1003
+ -0.625,
1004
+ -0.5,
1005
+ -0.375,
1006
+ -0.6875,
1007
+ -0.375,
1008
+ -0.375,
1009
+ -0.5,
1010
+ -0.5,
1011
+ -0.4375,
1012
+ -0.5,
1013
+ -0.4375,
1014
+ -0.4375,
1015
+ -0.375,
1016
+ -0.3125,
1017
+ -0.625,
1018
+ -0.5625,
1019
+ -0.3125,
1020
+ -0.3125,
1021
+ -0.25,
1022
+ -0.4375,
1023
+ -0.5,
1024
+ -0.3125,
1025
+ -0.4375,
1026
+ -0.375,
1027
+ -0.375,
1028
+ -0.5,
1029
+ -0.375,
1030
+ -0.3125,
1031
+ -0.375,
1032
+ -0.5,
1033
+ -0.6875,
1034
+ -0.375,
1035
+ -0.1875,
1036
+ -0.4375,
1037
+ -0.3125,
1038
+ -0.375,
1039
+ -0.25,
1040
+ -0.375,
1041
+ -0.4375,
1042
+ -0.5625,
1043
+ -0.5625,
1044
+ -0.4375,
1045
+ -0.625,
1046
+ -0.25,
1047
+ -0.625,
1048
+ -0.3125,
1049
+ -0.4375,
1050
+ -0.1875,
1051
+ -0.1875,
1052
+ -0.5,
1053
+ -0.5625,
1054
+ -0.375,
1055
+ -0.4375,
1056
+ -0.625,
1057
+ -0.25,
1058
+ -0.125,
1059
+ -0.5625,
1060
+ 0.9619228839874268,
1061
+ 0.9594700932502747,
1062
+ 0.9783294796943665,
1063
+ 0.9819534420967102,
1064
+ 0.9528332948684692,
1065
+ 0.0,
1066
+ 0.48516789078712463,
1067
+ 0.4854155480861664,
1068
+ 0.5378386974334717,
1069
+ 0.5014791488647461,
1070
+ 0.36801642179489136,
1071
+ 0.0
1072
+ ],
1073
+ "max": [
1074
+ 0.5,
1075
+ 0.3125,
1076
+ 0.3125,
1077
+ 0.6875,
1078
+ 0.375,
1079
+ 0.3125,
1080
+ 0.4375,
1081
+ 0.125,
1082
+ 0.125,
1083
+ 0.3125,
1084
+ 0.125,
1085
+ 0.25,
1086
+ 0.375,
1087
+ 0.25,
1088
+ 0.5,
1089
+ 0.3125,
1090
+ 0.25,
1091
+ 0.375,
1092
+ 0.1875,
1093
+ 0.3125,
1094
+ 0.375,
1095
+ 0.1875,
1096
+ 0.1875,
1097
+ 0.3125,
1098
+ 0.125,
1099
+ 0.4375,
1100
+ 0.1875,
1101
+ 0.375,
1102
+ 0.3125,
1103
+ 0.25,
1104
+ 0.5625,
1105
+ 0.3125,
1106
+ 0.125,
1107
+ 0.3125,
1108
+ 0.25,
1109
+ 0.25,
1110
+ 0.5,
1111
+ 0.125,
1112
+ 0.375,
1113
+ 0.625,
1114
+ 0.25,
1115
+ 0.4375,
1116
+ 0.3125,
1117
+ 0.4375,
1118
+ 0.375,
1119
+ 0.375,
1120
+ 0.375,
1121
+ 0.25,
1122
+ 0.3125,
1123
+ 0.3125,
1124
+ 0.5,
1125
+ 0.1875,
1126
+ 0.625,
1127
+ 0.375,
1128
+ 0.25,
1129
+ 0.5625,
1130
+ 0.375,
1131
+ 0.25,
1132
+ 0.25,
1133
+ 0.4375,
1134
+ 0.375,
1135
+ 0.4375,
1136
+ 0.5,
1137
+ 0.3125,
1138
+ 1.0,
1139
+ 1.0,
1140
+ 1.0,
1141
+ 1.0,
1142
+ 1.0,
1143
+ 1.0,
1144
+ 1.0,
1145
+ 1.0,
1146
+ 1.0,
1147
+ 1.0,
1148
+ 1.0,
1149
+ 0.008115201257169247
1150
+ ],
1151
+ "mean": [
1152
+ 0.19912063081019515,
1153
+ -0.04713328433786862,
1154
+ -0.14682526703810872,
1155
+ 0.10493270177922798,
1156
+ -0.0555525360924706,
1157
+ -0.004463942159699563,
1158
+ 0.09608754540417411,
1159
+ -0.18815364695561165,
1160
+ -0.09510851790001847,
1161
+ -0.1391683629101767,
1162
+ -0.2983585717693776,
1163
+ 0.0154600250877301,
1164
+ -0.00940837976359047,
1165
+ -0.007643436788154897,
1166
+ 0.10452026449855323,
1167
+ -0.06137499615218864,
1168
+ -0.010156538585852368,
1169
+ -0.09271662216031522,
1170
+ -0.16939436411069383,
1171
+ -0.03558720487286831,
1172
+ 0.009889596672412732,
1173
+ -0.27717300337068274,
1174
+ -0.21460157837222188,
1175
+ -0.044185620344148246,
1176
+ -0.06219722534322478,
1177
+ 0.09509120274887643,
1178
+ -0.17119273494736195,
1179
+ -0.04735188812103675,
1180
+ 0.013905268808101952,
1181
+ -0.04665254840546697,
1182
+ 0.16449417633749924,
1183
+ -0.0654082239272302,
1184
+ -0.15077769077448747,
1185
+ -0.0029952806593609555,
1186
+ 0.058705577017792276,
1187
+ -0.06615085152065506,
1188
+ -0.0051834828849350485,
1189
+ -0.23531314450840363,
1190
+ 0.02820950755710152,
1191
+ 0.194137474604445,
1192
+ -0.11788275141599458,
1193
+ 0.017566701810010465,
1194
+ -0.06849056131872192,
1195
+ 0.20300547735947794,
1196
+ 0.014148642876931601,
1197
+ -0.016169465308132736,
1198
+ -0.0331205172997599,
1199
+ -0.18235667864618604,
1200
+ -0.045193265945330297,
1201
+ -0.22416988279566583,
1202
+ 0.09975571207597118,
1203
+ -0.099036411838946,
1204
+ 0.12663195299513635,
1205
+ -0.10164474696792465,
1206
+ 0.020704832466293174,
1207
+ 0.12009355953333743,
1208
+ -0.015079332250815735,
1209
+ -0.01766674490549775,
1210
+ 0.035241623314658625,
1211
+ 0.033211421843255554,
1212
+ -0.24424078833959245,
1213
+ 0.09681574370498061,
1214
+ 0.18492509273225388,
1215
+ -0.022742008095795112,
1216
+ 0.9999936620514414,
1217
+ 0.9999937707226753,
1218
+ 0.9999948050715555,
1219
+ 0.9999909429539566,
1220
+ 0.9981655841162916,
1221
+ 0.6919767666696247,
1222
+ 0.702214066318414,
1223
+ 0.7273468945970327,
1224
+ 0.7886838515002501,
1225
+ 0.8043705116704456,
1226
+ 0.6998508090483253,
1227
+ 0.0007492819133353805
1228
+ ],
1229
+ "std": [
1230
+ 0.0941084974860378,
1231
+ 0.17185972008345138,
1232
+ 0.08438269842838665,
1233
+ 0.17716102052705152,
1234
+ 0.11450048389819291,
1235
+ 0.09448002504232993,
1236
+ 0.13870451891947141,
1237
+ 0.16487552633513414,
1238
+ 0.13408425017115613,
1239
+ 0.12540033300650139,
1240
+ 0.1329900209775417,
1241
+ 0.09553429213977248,
1242
+ 0.13446057122515567,
1243
+ 0.1082989917651951,
1244
+ 0.16795554038128352,
1245
+ 0.09946033991653933,
1246
+ 0.11818593453771994,
1247
+ 0.1558883177548388,
1248
+ 0.08514136829112755,
1249
+ 0.14363906788233177,
1250
+ 0.08470516620112252,
1251
+ 0.16262561776639584,
1252
+ 0.14160311283626847,
1253
+ 0.12322383855038192,
1254
+ 0.09539658418125412,
1255
+ 0.125865545840183,
1256
+ 0.07807645734421215,
1257
+ 0.14367997208278988,
1258
+ 0.10650562960594574,
1259
+ 0.13671069795473043,
1260
+ 0.1315804284058909,
1261
+ 0.12933957265154283,
1262
+ 0.09275386769010797,
1263
+ 0.12228474323050423,
1264
+ 0.12466238593939773,
1265
+ 0.10436035220115127,
1266
+ 0.1312371918523952,
1267
+ 0.16366749531927174,
1268
+ 0.10955322454582661,
1269
+ 0.1606812587752228,
1270
+ 0.10730226695701574,
1271
+ 0.11265127514591113,
1272
+ 0.1001804379858154,
1273
+ 0.1225909964352062,
1274
+ 0.11274845500542101,
1275
+ 0.14229340472262297,
1276
+ 0.17644458087323034,
1277
+ 0.11235640881885092,
1278
+ 0.1448938230505715,
1279
+ 0.14054463439396062,
1280
+ 0.10080264201843625,
1281
+ 0.19499710788891536,
1282
+ 0.18165922747873958,
1283
+ 0.1176552651276845,
1284
+ 0.08516277793955987,
1285
+ 0.12192372062343444,
1286
+ 0.14240783108385247,
1287
+ 0.18536508226546256,
1288
+ 0.0807012426889652,
1289
+ 0.18398265697362567,
1290
+ 0.16549925290624093,
1291
+ 0.14705802573694088,
1292
+ 0.13189349251379065,
1293
+ 0.13684871021408498,
1294
+ 0.00025597486509197994,
1295
+ 0.0002978988689316117,
1296
+ 0.00018445416996611553,
1297
+ 0.00019616313489046396,
1298
+ 0.0006616678487758073,
1299
+ 0.45699987841098066,
1300
+ 0.24183495810203598,
1301
+ 0.22272751657245496,
1302
+ 0.17213927716197644,
1303
+ 0.160046500286501,
1304
+ 0.23339196342262103,
1305
+ 0.0005959051043599751
1306
+ ]
1307
+ }
1308
+ },
1309
+ "code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
1310
+ "step": 8000,
1311
+ "weights": "ema",
1312
+ "offline_eval": {
1313
+ "mse": 0.005584599915891886,
1314
+ "mse_row0": 0.004342962056398392,
1315
+ "mse_motion_token": 0.005997427739202976,
1316
+ "mse_inspire_left_hand_state": 0.0010537519119679928,
1317
+ "mse_inspire_right_hand_state": 0.005711947102099657,
1318
+ "samples": 256,
1319
+ "frames": "train"
1320
+ },
1321
+ "format": "hb_baselines/1"
1322
+ }
b4-cushion/b512/step-008000/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:682d7d7b3e52591315abccb4d71083188c592d106dee4d085980aa4c70beaf94
3
+ size 170779901
b4-cushion/b512/step-008000/protocol.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 8000,
4
+ "policy": "flash",
5
+ "files": {
6
+ "config.json": {
7
+ "bytes": 19125,
8
+ "sha256": "3f5c195037bf56bf122a01cdc6ec50e088fb84e2267b44e4ed8c17125d5bca38"
9
+ },
10
+ "model.pt": {
11
+ "bytes": 170779901,
12
+ "sha256": "682d7d7b3e52591315abccb4d71083188c592d106dee4d085980aa4c70beaf94"
13
+ }
14
+ },
15
+ "task_dir": "b4-cushion",
16
+ "training_data": "b4-cushion @194e7cde, all episodes (A800 FLASH pool 2026-11-25)",
17
+ "episodes": 302,
18
+ "frames": 259888,
19
+ "steps": 12000,
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "save_steps": [
25
+ 8000,
26
+ 12000
27
+ ],
28
+ "lr": 0.0001,
29
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
30
+ "ema": 0.9999,
31
+ "augmentation": "Humanoid Benchmark online augmentation spec v2 (hb-aug-v2-20261109): 15 visual effects, one per sample at 1.5x; proprio per-joint bias U(+-2 deg) + N(0, 0.25 deg); no delay, no history drop; model-native image augmentation off",
32
+ "state_dim": 44,
33
+ "action_dim": 76,
34
+ "cameras": [
35
+ "ego_view",
36
+ "chest"
37
+ ],
38
+ "contract": "g1_sonic_dfx6",
39
+ "image_hw": [
40
+ 168,
41
+ 224
42
+ ],
43
+ "task_text": "Take the cushion from the bed and put it on the sofa.",
44
+ "inloop_mse": {
45
+ "task": "b4",
46
+ "split": "train10",
47
+ "every": 250,
48
+ "seed": 1234,
49
+ "weights": "ema",
50
+ "nmse_at_this_step": 0.0799,
51
+ "curve": {
52
+ "250": 0.4139,
53
+ "500": 0.2751,
54
+ "750": 0.2447,
55
+ "1000": 0.17,
56
+ "1250": 0.1501,
57
+ "1500": 0.1387,
58
+ "1750": 0.1302,
59
+ "2000": 0.1234,
60
+ "2250": 0.1177,
61
+ "2500": 0.1132,
62
+ "2750": 0.1094,
63
+ "3000": 0.1062,
64
+ "3250": 0.1034,
65
+ "3500": 0.1008,
66
+ "3750": 0.0985,
67
+ "4000": 0.0964,
68
+ "4250": 0.0946,
69
+ "4500": 0.093,
70
+ "4750": 0.0915,
71
+ "5000": 0.0901,
72
+ "5250": 0.089,
73
+ "5500": 0.0878,
74
+ "5750": 0.0867,
75
+ "6000": 0.0857,
76
+ "6250": 0.0848,
77
+ "6500": 0.084,
78
+ "6750": 0.0832,
79
+ "7000": 0.0825,
80
+ "7250": 0.0818,
81
+ "7500": 0.0811,
82
+ "7750": 0.0805,
83
+ "8000": 0.0799,
84
+ "8250": 0.0794,
85
+ "8500": 0.0789,
86
+ "8750": 0.0784,
87
+ "9000": 0.0779,
88
+ "9250": 0.0776,
89
+ "9500": 0.0772,
90
+ "9750": 0.0769,
91
+ "10000": 0.0766,
92
+ "10250": 0.0763,
93
+ "10500": 0.0761,
94
+ "10750": 0.0759,
95
+ "11000": 0.0757,
96
+ "11250": 0.0756,
97
+ "11500": 0.0755,
98
+ "11750": 0.0754,
99
+ "12000": 0.0753
100
+ }
101
+ },
102
+ "seed": 42,
103
+ "reproducibility": {
104
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
105
+ "protocol_commit": "c89e8d19",
106
+ "training_seed": 42,
107
+ "training_seed_source": "FLASH-Policy upstream default (42)",
108
+ "training_seed_verified_from_run_files": true,
109
+ "augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
110
+ "inloop_mse_seed": 1234,
111
+ "layout": {
112
+ "nodes": 1,
113
+ "gpus_per_node": 1,
114
+ "per_gpu_batch": 512,
115
+ "global_batch": 512,
116
+ "gradient_accumulation": 1,
117
+ "num_workers": 40,
118
+ "prefetch": 2
119
+ },
120
+ "environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
121
+ "hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
122
+ "upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
123
+ "determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
124
+ "exceptions": []
125
+ },
126
+ "inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
127
+ "resume_state_included": false
128
+ }
b4-cushion/b512/step-012000/SHA256SUMS ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 662ae31007863d4576a5f7743484bde6ded068ca8f91a4c96756abf0557b6195 config.json
2
+ bdfe5c90b2a46d9594f68f14f6e52392889f7d2ad795aeb45aa75f20d6e8e9ec model.pt
3
+ 58efc2fa4893136e9f6ab27562fda75fcc460eba6f0e4ff74980a5bb4205e2f8 protocol.json
4
+ 9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py
5
+ 69e97429f08c1a249e48c519026c3534245f22543c5a6876f0a13b09ff3f79b1 training_records/code_78235367/evaluation/baselines/__init__.py
6
+ 3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19 training_records/code_78235367/evaluation/baselines/act_nets.py
7
+ 71e26fbbe13a8df02c82cf98555c4e45dd42af053e45a371e5356f2e23596061 training_records/code_78235367/evaluation/baselines/adapters.py
8
+ aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81 training_records/code_78235367/evaluation/baselines/check_flash_adapter.py
9
+ 91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f training_records/code_78235367/evaluation/baselines/check_flash_parity.py
10
+ d27091c71268657c9341d95fb7f85466c540be6dd76047bebd888c6e00379e7b training_records/code_78235367/evaluation/baselines/data.py
11
+ 35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53 training_records/code_78235367/evaluation/baselines/flash.py
12
+ 8c2f29132ba03b6401f972f7e8e8c16094d4d6d68b736972b9f40a538c0939cf training_records/code_78235367/evaluation/baselines/inloop.py
13
+ 38a66937bb92393a3f1ce0644b249da28d582a4fd03d134b7743e6037abd88b9 training_records/code_78235367/evaluation/baselines/nets.py
14
+ 68d4bad86d82007ed77ab0dcc8f7345da810d57c298323fccadc1efcf99dac4a training_records/code_78235367/evaluation/baselines/policies.py
15
+ bb211f66038e53efd08ee3ec03e133d8bb206ec36cc608d349b4fad3a61e874b training_records/code_78235367/evaluation/baselines/requirements.txt
16
+ 379a2b2c5221e337df62e2097616438ae83a65d8cbb89a0e433e15ecd7aec881 training_records/code_78235367/evaluation/baselines/runtime.py
17
+ b17dcd85ca3300b8707deb4ca31dc870245f2bdd26733f7e21c9c668c75b4b1b training_records/code_78235367/evaluation/baselines/train.py
18
+ 823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159 training_records/code_78235367/evaluation/policy/FLASH/model.py
19
+ 27d134217d9f9dd84cf9c8e0ff946a02d746e530410150b39712fbb308fa8b45 training_records/code_commit.txt
20
+ ba5dc6e619fced677b89ac5ebc4fea82dc3b9803c8835cf7b7154c98bc524e36 training_records/flash_pool_a800.sh
21
+ 3e24cd45fcd6a39d1e9185ec2f9267a744d23493958969c878bcfda12fa08c10 training_records/inloop-mse.jsonl
22
+ 72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2 training_records/pip_freeze_hb-baselines.txt
23
+ 03eee41eb778fbd52386a7d7478d5b5b128b10aed1e4d44091df2fae42a912c0 training_records/run.json
24
+ 76e11fcf89636039c014a8c836b8b86d0cc954aa37106cf108c74fb9e37beba8 training_records/train.log
25
+ f757c148fb5bb2d8c565b77eee53b73f5a3426443ec71b7630dcfd41653208c6 training_records/train_log.jsonl
b4-cushion/b512/step-012000/config.json ADDED
@@ -0,0 +1,1322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "flash",
4
+ "n_cameras": 2,
5
+ "state_dim": 44,
6
+ "action_dim": 76,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 512,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.0,
16
+ "time_embed_dim": 256,
17
+ "num_inference_steps": 1,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "extra": {
30
+ "flash": {
31
+ "stride": 2,
32
+ "n_history": 8,
33
+ "n_action": 8,
34
+ "rows": 16,
35
+ "poly_order": 6,
36
+ "fit_pad": 1,
37
+ "boundary_constraint": true,
38
+ "poly_prefix": 1,
39
+ "poly_suffix": 1,
40
+ "history_noise_std": 0.5,
41
+ "history_reg_lambda": 0.1,
42
+ "consistency_weight": 1.0,
43
+ "solver": "euler"
44
+ }
45
+ }
46
+ },
47
+ "contract": {
48
+ "name": "g1_sonic_dfx6",
49
+ "robot": "g1",
50
+ "cameras": [
51
+ "ego_view",
52
+ "chest"
53
+ ],
54
+ "state": [
55
+ [
56
+ "observation.state",
57
+ 0,
58
+ 29
59
+ ],
60
+ [
61
+ "observation.inspire_left_hand_state",
62
+ 0,
63
+ 6
64
+ ],
65
+ [
66
+ "observation.inspire_right_hand_state",
67
+ 0,
68
+ 6
69
+ ],
70
+ [
71
+ "observation.projected_gravity",
72
+ 0,
73
+ 3
74
+ ]
75
+ ],
76
+ "action": [
77
+ [
78
+ "action.motion_token",
79
+ 0,
80
+ 64
81
+ ],
82
+ [
83
+ "observation.inspire_left_hand_state",
84
+ 0,
85
+ 6
86
+ ],
87
+ [
88
+ "observation.inspire_right_hand_state",
89
+ 0,
90
+ 6
91
+ ]
92
+ ],
93
+ "state_dim": 44,
94
+ "action_dim": 76,
95
+ "action_space": "sonic_dfx6",
96
+ "body_dims": 29
97
+ },
98
+ "image_hw": [
99
+ 168,
100
+ 224
101
+ ],
102
+ "task_text": "Take the cushion from the bed and put it on the sofa.",
103
+ "dataset": {
104
+ "name": "data",
105
+ "root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/b4-cushion-194e7cd/data",
106
+ "robot_type": null,
107
+ "fps": 30.0,
108
+ "episodes": [
109
+ 0,
110
+ 1,
111
+ 2,
112
+ 3,
113
+ 4,
114
+ 5,
115
+ 6,
116
+ 7,
117
+ 8,
118
+ 9,
119
+ 10,
120
+ 11,
121
+ 12,
122
+ 13,
123
+ 14,
124
+ 15,
125
+ 16,
126
+ 17,
127
+ 18,
128
+ 19,
129
+ 20,
130
+ 21,
131
+ 22,
132
+ 23,
133
+ 24,
134
+ 25,
135
+ 26,
136
+ 27,
137
+ 28,
138
+ 29,
139
+ 30,
140
+ 31,
141
+ 32,
142
+ 33,
143
+ 34,
144
+ 35,
145
+ 36,
146
+ 37,
147
+ 38,
148
+ 39,
149
+ 40,
150
+ 41,
151
+ 42,
152
+ 43,
153
+ 44,
154
+ 45,
155
+ 46,
156
+ 47,
157
+ 48,
158
+ 49,
159
+ 50,
160
+ 51,
161
+ 52,
162
+ 53,
163
+ 54,
164
+ 55,
165
+ 56,
166
+ 57,
167
+ 58,
168
+ 59,
169
+ 60,
170
+ 61,
171
+ 62,
172
+ 63,
173
+ 64,
174
+ 65,
175
+ 66,
176
+ 67,
177
+ 68,
178
+ 69,
179
+ 70,
180
+ 71,
181
+ 72,
182
+ 73,
183
+ 74,
184
+ 75,
185
+ 76,
186
+ 77,
187
+ 78,
188
+ 79,
189
+ 80,
190
+ 81,
191
+ 82,
192
+ 83,
193
+ 84,
194
+ 85,
195
+ 86,
196
+ 87,
197
+ 88,
198
+ 89,
199
+ 90,
200
+ 91,
201
+ 92,
202
+ 93,
203
+ 94,
204
+ 95,
205
+ 96,
206
+ 97,
207
+ 98,
208
+ 99,
209
+ 100,
210
+ 101,
211
+ 102,
212
+ 103,
213
+ 104,
214
+ 105,
215
+ 106,
216
+ 107,
217
+ 108,
218
+ 109,
219
+ 110,
220
+ 111,
221
+ 112,
222
+ 113,
223
+ 114,
224
+ 115,
225
+ 116,
226
+ 117,
227
+ 118,
228
+ 119,
229
+ 120,
230
+ 121,
231
+ 122,
232
+ 123,
233
+ 124,
234
+ 125,
235
+ 126,
236
+ 127,
237
+ 128,
238
+ 129,
239
+ 130,
240
+ 131,
241
+ 132,
242
+ 133,
243
+ 134,
244
+ 135,
245
+ 136,
246
+ 137,
247
+ 138,
248
+ 139,
249
+ 140,
250
+ 141,
251
+ 142,
252
+ 143,
253
+ 144,
254
+ 145,
255
+ 146,
256
+ 147,
257
+ 148,
258
+ 149,
259
+ 150,
260
+ 151,
261
+ 152,
262
+ 153,
263
+ 154,
264
+ 155,
265
+ 156,
266
+ 157,
267
+ 158,
268
+ 159,
269
+ 160,
270
+ 161,
271
+ 162,
272
+ 163,
273
+ 164,
274
+ 165,
275
+ 166,
276
+ 167,
277
+ 168,
278
+ 169,
279
+ 170,
280
+ 171,
281
+ 172,
282
+ 173,
283
+ 174,
284
+ 175,
285
+ 176,
286
+ 177,
287
+ 178,
288
+ 179,
289
+ 180,
290
+ 181,
291
+ 182,
292
+ 183,
293
+ 184,
294
+ 185,
295
+ 186,
296
+ 187,
297
+ 188,
298
+ 189,
299
+ 190,
300
+ 191,
301
+ 192,
302
+ 193,
303
+ 194,
304
+ 195,
305
+ 196,
306
+ 197,
307
+ 198,
308
+ 199,
309
+ 200,
310
+ 201,
311
+ 202,
312
+ 203,
313
+ 204,
314
+ 205,
315
+ 206,
316
+ 207,
317
+ 208,
318
+ 209,
319
+ 210,
320
+ 211,
321
+ 212,
322
+ 213,
323
+ 214,
324
+ 215,
325
+ 216,
326
+ 217,
327
+ 218,
328
+ 219,
329
+ 220,
330
+ 221,
331
+ 222,
332
+ 223,
333
+ 224,
334
+ 225,
335
+ 226,
336
+ 227,
337
+ 228,
338
+ 229,
339
+ 230,
340
+ 231,
341
+ 232,
342
+ 233,
343
+ 234,
344
+ 235,
345
+ 236,
346
+ 237,
347
+ 238,
348
+ 239,
349
+ 240,
350
+ 241,
351
+ 242,
352
+ 243,
353
+ 244,
354
+ 245,
355
+ 246,
356
+ 247,
357
+ 248,
358
+ 249,
359
+ 250,
360
+ 251,
361
+ 252,
362
+ 253,
363
+ 254,
364
+ 255,
365
+ 256,
366
+ 257,
367
+ 258,
368
+ 259,
369
+ 260,
370
+ 261,
371
+ 262,
372
+ 263,
373
+ 264,
374
+ 265,
375
+ 266,
376
+ 267,
377
+ 268,
378
+ 269,
379
+ 270,
380
+ 271,
381
+ 272,
382
+ 273,
383
+ 274,
384
+ 275,
385
+ 276,
386
+ 277,
387
+ 278,
388
+ 279,
389
+ 280,
390
+ 281,
391
+ 282,
392
+ 283,
393
+ 284,
394
+ 285,
395
+ 286,
396
+ 287,
397
+ 288,
398
+ 289,
399
+ 290,
400
+ 291,
401
+ 292,
402
+ 293,
403
+ 294,
404
+ 295,
405
+ 296,
406
+ 297,
407
+ 298,
408
+ 299,
409
+ 300,
410
+ 301
411
+ ],
412
+ "train_episodes": [
413
+ 0,
414
+ 1,
415
+ 2,
416
+ 3,
417
+ 4,
418
+ 5,
419
+ 6,
420
+ 7,
421
+ 8,
422
+ 9,
423
+ 10,
424
+ 11,
425
+ 12,
426
+ 13,
427
+ 14,
428
+ 15,
429
+ 16,
430
+ 17,
431
+ 18,
432
+ 19,
433
+ 20,
434
+ 21,
435
+ 22,
436
+ 23,
437
+ 24,
438
+ 25,
439
+ 26,
440
+ 27,
441
+ 28,
442
+ 29,
443
+ 30,
444
+ 31,
445
+ 32,
446
+ 33,
447
+ 34,
448
+ 35,
449
+ 36,
450
+ 37,
451
+ 38,
452
+ 39,
453
+ 40,
454
+ 41,
455
+ 42,
456
+ 43,
457
+ 44,
458
+ 45,
459
+ 46,
460
+ 47,
461
+ 48,
462
+ 49,
463
+ 50,
464
+ 51,
465
+ 52,
466
+ 53,
467
+ 54,
468
+ 55,
469
+ 56,
470
+ 57,
471
+ 58,
472
+ 59,
473
+ 60,
474
+ 61,
475
+ 62,
476
+ 63,
477
+ 64,
478
+ 65,
479
+ 66,
480
+ 67,
481
+ 68,
482
+ 69,
483
+ 70,
484
+ 71,
485
+ 72,
486
+ 73,
487
+ 74,
488
+ 75,
489
+ 76,
490
+ 77,
491
+ 78,
492
+ 79,
493
+ 80,
494
+ 81,
495
+ 82,
496
+ 83,
497
+ 84,
498
+ 85,
499
+ 86,
500
+ 87,
501
+ 88,
502
+ 89,
503
+ 90,
504
+ 91,
505
+ 92,
506
+ 93,
507
+ 94,
508
+ 95,
509
+ 96,
510
+ 97,
511
+ 98,
512
+ 99,
513
+ 100,
514
+ 101,
515
+ 102,
516
+ 103,
517
+ 104,
518
+ 105,
519
+ 106,
520
+ 107,
521
+ 108,
522
+ 109,
523
+ 110,
524
+ 111,
525
+ 112,
526
+ 113,
527
+ 114,
528
+ 115,
529
+ 116,
530
+ 117,
531
+ 118,
532
+ 119,
533
+ 120,
534
+ 121,
535
+ 122,
536
+ 123,
537
+ 124,
538
+ 125,
539
+ 126,
540
+ 127,
541
+ 128,
542
+ 129,
543
+ 130,
544
+ 131,
545
+ 132,
546
+ 133,
547
+ 134,
548
+ 135,
549
+ 136,
550
+ 137,
551
+ 138,
552
+ 139,
553
+ 140,
554
+ 141,
555
+ 142,
556
+ 143,
557
+ 144,
558
+ 145,
559
+ 146,
560
+ 147,
561
+ 148,
562
+ 149,
563
+ 150,
564
+ 151,
565
+ 152,
566
+ 153,
567
+ 154,
568
+ 155,
569
+ 156,
570
+ 157,
571
+ 158,
572
+ 159,
573
+ 160,
574
+ 161,
575
+ 162,
576
+ 163,
577
+ 164,
578
+ 165,
579
+ 166,
580
+ 167,
581
+ 168,
582
+ 169,
583
+ 170,
584
+ 171,
585
+ 172,
586
+ 173,
587
+ 174,
588
+ 175,
589
+ 176,
590
+ 177,
591
+ 178,
592
+ 179,
593
+ 180,
594
+ 181,
595
+ 182,
596
+ 183,
597
+ 184,
598
+ 185,
599
+ 186,
600
+ 187,
601
+ 188,
602
+ 189,
603
+ 190,
604
+ 191,
605
+ 192,
606
+ 193,
607
+ 194,
608
+ 195,
609
+ 196,
610
+ 197,
611
+ 198,
612
+ 199,
613
+ 200,
614
+ 201,
615
+ 202,
616
+ 203,
617
+ 204,
618
+ 205,
619
+ 206,
620
+ 207,
621
+ 208,
622
+ 209,
623
+ 210,
624
+ 211,
625
+ 212,
626
+ 213,
627
+ 214,
628
+ 215,
629
+ 216,
630
+ 217,
631
+ 218,
632
+ 219,
633
+ 220,
634
+ 221,
635
+ 222,
636
+ 223,
637
+ 224,
638
+ 225,
639
+ 226,
640
+ 227,
641
+ 228,
642
+ 229,
643
+ 230,
644
+ 231,
645
+ 232,
646
+ 233,
647
+ 234,
648
+ 235,
649
+ 236,
650
+ 237,
651
+ 238,
652
+ 239,
653
+ 240,
654
+ 241,
655
+ 242,
656
+ 243,
657
+ 244,
658
+ 245,
659
+ 246,
660
+ 247,
661
+ 248,
662
+ 249,
663
+ 250,
664
+ 251,
665
+ 252,
666
+ 253,
667
+ 254,
668
+ 255,
669
+ 256,
670
+ 257,
671
+ 258,
672
+ 259,
673
+ 260,
674
+ 261,
675
+ 262,
676
+ 263,
677
+ 264,
678
+ 265,
679
+ 266,
680
+ 267,
681
+ 268,
682
+ 269,
683
+ 270,
684
+ 271,
685
+ 272,
686
+ 273,
687
+ 274,
688
+ 275,
689
+ 276,
690
+ 277,
691
+ 278,
692
+ 279,
693
+ 280,
694
+ 281,
695
+ 282,
696
+ 283,
697
+ 284,
698
+ 285,
699
+ 286,
700
+ 287,
701
+ 288,
702
+ 289,
703
+ 290,
704
+ 291,
705
+ 292,
706
+ 293,
707
+ 294,
708
+ 295,
709
+ 296,
710
+ 297,
711
+ 298,
712
+ 299,
713
+ 300,
714
+ 301
715
+ ],
716
+ "val_episodes": [],
717
+ "train_frames": 259888,
718
+ "git_commit": "05af0034d505e6041f74569082a148f3ced8633d"
719
+ },
720
+ "training": {
721
+ "steps": 12000,
722
+ "batch_size": 512,
723
+ "lr": 0.0001,
724
+ "betas": [
725
+ 0.95,
726
+ 0.999
727
+ ],
728
+ "weight_decay": 1e-06,
729
+ "warmup": 500,
730
+ "schedule": "diffusers_cosine",
731
+ "backbone_lr_scale": 1.0,
732
+ "ema": 0.9999,
733
+ "shift_px": 0,
734
+ "amp": true,
735
+ "seed": 42,
736
+ "augmentation": {
737
+ "spec": "docs/augmentation_v2.md",
738
+ "version": "hb-aug-v2-20261109",
739
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
740
+ "visual": {
741
+ "effects": [
742
+ "exposure",
743
+ "contrast",
744
+ "saturation",
745
+ "hue",
746
+ "gamma",
747
+ "temperature",
748
+ "rotation_crop",
749
+ "noise",
750
+ "gaussian_blur",
751
+ "jpeg",
752
+ "motion_blur",
753
+ "sharpen",
754
+ "defocus",
755
+ "light_shadow",
756
+ "wb_channel"
757
+ ],
758
+ "boosted_per_sample": 1,
759
+ "boost": 1.5,
760
+ "pixel_scale": "H / 224",
761
+ "future_targets": "none (one observation frame)"
762
+ },
763
+ "proprio": {
764
+ "robot": "g1",
765
+ "body_dims": 29,
766
+ "bias_deg": 2.0,
767
+ "bias_scope": "per_sample",
768
+ "noise_deg": 0.25,
769
+ "noise_clip_sigma": 3,
770
+ "delay_probability": 0.0,
771
+ "history_drop_probability": 0.0,
772
+ "velocity": false
773
+ },
774
+ "native_image_augmentation": "off",
775
+ "evaluation": "off"
776
+ },
777
+ "preflight": {
778
+ "samples": 64,
779
+ "state_dim": 44,
780
+ "body_dims": 29,
781
+ "images_changed": 64,
782
+ "body_values_moved": 1.0,
783
+ "max_body_offset_deg": 2.5884,
784
+ "actions_bit_identical": true,
785
+ "non_body_state_bit_identical": true,
786
+ "eval_items_deterministic": 8
787
+ },
788
+ "aug_seed": 42,
789
+ "ema_schedule": "diffusion_policy_emamodel",
790
+ "layout": {
791
+ "nodes": 1,
792
+ "gpus": 1,
793
+ "per_gpu_batch": 512,
794
+ "global_batch": 512,
795
+ "gradient_accumulation": 1,
796
+ "num_workers": 40,
797
+ "prefetch": 2
798
+ },
799
+ "upstream": "NTUMARS/FLASH-Policy@f47e490",
800
+ "inloop": {
801
+ "task": "b4",
802
+ "code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
803
+ "every": 250,
804
+ "exception": null
805
+ }
806
+ },
807
+ "stats": {
808
+ "state": {
809
+ "min": [
810
+ -1.6820039749145508,
811
+ -0.12490279972553253,
812
+ -0.18221651017665863,
813
+ 0.07608192414045334,
814
+ -0.753582239151001,
815
+ -0.1858997493982315,
816
+ -1.7167080640792847,
817
+ -0.3942810595035553,
818
+ -0.7669742703437805,
819
+ 0.04507094621658325,
820
+ -0.6731131076812744,
821
+ -0.2145681232213974,
822
+ -0.05022455006837845,
823
+ -0.10020869970321655,
824
+ -0.049226418137550354,
825
+ 0.01203091535717249,
826
+ 0.041421886533498764,
827
+ -0.6986868381500244,
828
+ -0.6122351884841919,
829
+ -1.0193026065826416,
830
+ -0.17467375099658966,
831
+ -0.3660516142845154,
832
+ -1.7415019273757935,
833
+ -0.9988508224487305,
834
+ -0.4195443093776703,
835
+ -0.810554027557373,
836
+ -1.490663766860962,
837
+ -0.6740890145301819,
838
+ -0.7927517294883728,
839
+ 0.9619228839874268,
840
+ 0.9594700932502747,
841
+ 0.9783294796943665,
842
+ 0.9819534420967102,
843
+ 0.9528332948684692,
844
+ 0.0,
845
+ 0.48516789078712463,
846
+ 0.4854155480861664,
847
+ 0.5378386974334717,
848
+ 0.5014791488647461,
849
+ 0.36801642179489136,
850
+ 0.0,
851
+ -0.17542186379432678,
852
+ -0.15042829513549805,
853
+ -1.0
854
+ ],
855
+ "max": [
856
+ 0.3854926526546478,
857
+ 0.29587215185165405,
858
+ 1.0773335695266724,
859
+ 1.71208918094635,
860
+ 0.367715448141098,
861
+ 0.15625183284282684,
862
+ 0.1948571503162384,
863
+ 0.2456209808588028,
864
+ 0.7957448363304138,
865
+ 1.7925269603729248,
866
+ 0.33214133977890015,
867
+ 0.20641140639781952,
868
+ 0.26123446226119995,
869
+ 0.1018887385725975,
870
+ 0.3822789788246155,
871
+ 0.4861968457698822,
872
+ 0.48954296112060547,
873
+ 0.13781574368476868,
874
+ 1.0096713304519653,
875
+ 0.3458910584449768,
876
+ 0.5013867020606995,
877
+ 0.27674785256385803,
878
+ 0.4791494607925415,
879
+ 0.029629994183778763,
880
+ 0.7884672284126282,
881
+ 1.11447274684906,
882
+ 0.7494932413101196,
883
+ 0.7988896369934082,
884
+ 0.6681351065635681,
885
+ 1.0,
886
+ 1.0,
887
+ 1.0,
888
+ 1.0,
889
+ 1.0,
890
+ 1.0,
891
+ 1.0,
892
+ 1.0,
893
+ 1.0,
894
+ 1.0,
895
+ 1.0,
896
+ 0.008115201257169247,
897
+ 0.5811348557472229,
898
+ 0.08487062901258469,
899
+ -0.8134717345237732
900
+ ],
901
+ "mean": [
902
+ -0.35808269720638713,
903
+ 0.06338315052257075,
904
+ 0.16419951921933892,
905
+ 0.49053102917977826,
906
+ -0.20526293598703885,
907
+ -0.0031740636043618973,
908
+ -0.44498932122369506,
909
+ -0.11478813305860504,
910
+ -0.197945082462602,
911
+ 0.4833258965518039,
912
+ -0.1225698313976737,
913
+ -0.023115810141848752,
914
+ 0.06274106339245715,
915
+ 0.0007995611868251279,
916
+ 0.13170820905502256,
917
+ 0.2667451196345807,
918
+ 0.21395583935051282,
919
+ -0.3216893427388743,
920
+ -0.05321306991402941,
921
+ -0.520182469701929,
922
+ 0.1545425338263408,
923
+ -0.11778959293504257,
924
+ -0.1929313559670213,
925
+ -0.2878113255635929,
926
+ 0.08425276288873897,
927
+ 0.06902507353118478,
928
+ -0.48623667725161257,
929
+ 0.09308031873644634,
930
+ -0.05141770340246306,
931
+ 0.9999936620514414,
932
+ 0.9999937707226753,
933
+ 0.9999948050715555,
934
+ 0.9999909429539566,
935
+ 0.9981655841162916,
936
+ 0.6919767666696247,
937
+ 0.702214066318414,
938
+ 0.7273468945970327,
939
+ 0.7886838515002501,
940
+ 0.8043705116704456,
941
+ 0.6998508090483253,
942
+ 0.0007492819133353805,
943
+ 0.10239021200847494,
944
+ -0.01792790646167245,
945
+ -0.9794414862279403
946
+ ],
947
+ "std": [
948
+ 0.41077426341279666,
949
+ 0.05819967457673647,
950
+ 0.1172524413022925,
951
+ 0.3420536687040473,
952
+ 0.15319127081431327,
953
+ 0.048300170458301865,
954
+ 0.4133648199222961,
955
+ 0.08726981252891516,
956
+ 0.12406492199519821,
957
+ 0.3272352410750656,
958
+ 0.1327221747699627,
959
+ 0.06025389109402514,
960
+ 0.05555482537243791,
961
+ 0.022278835034521344,
962
+ 0.06729082653302149,
963
+ 0.07204364015282737,
964
+ 0.05251900587392237,
965
+ 0.11956818521577167,
966
+ 0.2957219432404772,
967
+ 0.25730237274157847,
968
+ 0.046324704045504844,
969
+ 0.08798606987301097,
970
+ 0.42212122320131723,
971
+ 0.1411154657283182,
972
+ 0.20506048597277796,
973
+ 0.4918762460434884,
974
+ 0.36961833321418724,
975
+ 0.1618461493527747,
976
+ 0.26659695575321574,
977
+ 0.00025597486509197994,
978
+ 0.0002978988689316117,
979
+ 0.00018445416996611553,
980
+ 0.00019616313489046396,
981
+ 0.0006616678487758073,
982
+ 0.45699987841098066,
983
+ 0.24183495810203598,
984
+ 0.22272751657245496,
985
+ 0.17213927716197644,
986
+ 0.160046500286501,
987
+ 0.23339196342262103,
988
+ 0.0005959051043599751,
989
+ 0.1677869880395805,
990
+ 0.02765762284215703,
991
+ 0.031173583486239963
992
+ ]
993
+ },
994
+ "action": {
995
+ "min": [
996
+ -0.125,
997
+ -0.5,
998
+ -0.5625,
999
+ -0.375,
1000
+ -0.375,
1001
+ -0.4375,
1002
+ -0.1875,
1003
+ -0.625,
1004
+ -0.5,
1005
+ -0.375,
1006
+ -0.6875,
1007
+ -0.375,
1008
+ -0.375,
1009
+ -0.5,
1010
+ -0.5,
1011
+ -0.4375,
1012
+ -0.5,
1013
+ -0.4375,
1014
+ -0.4375,
1015
+ -0.375,
1016
+ -0.3125,
1017
+ -0.625,
1018
+ -0.5625,
1019
+ -0.3125,
1020
+ -0.3125,
1021
+ -0.25,
1022
+ -0.4375,
1023
+ -0.5,
1024
+ -0.3125,
1025
+ -0.4375,
1026
+ -0.375,
1027
+ -0.375,
1028
+ -0.5,
1029
+ -0.375,
1030
+ -0.3125,
1031
+ -0.375,
1032
+ -0.5,
1033
+ -0.6875,
1034
+ -0.375,
1035
+ -0.1875,
1036
+ -0.4375,
1037
+ -0.3125,
1038
+ -0.375,
1039
+ -0.25,
1040
+ -0.375,
1041
+ -0.4375,
1042
+ -0.5625,
1043
+ -0.5625,
1044
+ -0.4375,
1045
+ -0.625,
1046
+ -0.25,
1047
+ -0.625,
1048
+ -0.3125,
1049
+ -0.4375,
1050
+ -0.1875,
1051
+ -0.1875,
1052
+ -0.5,
1053
+ -0.5625,
1054
+ -0.375,
1055
+ -0.4375,
1056
+ -0.625,
1057
+ -0.25,
1058
+ -0.125,
1059
+ -0.5625,
1060
+ 0.9619228839874268,
1061
+ 0.9594700932502747,
1062
+ 0.9783294796943665,
1063
+ 0.9819534420967102,
1064
+ 0.9528332948684692,
1065
+ 0.0,
1066
+ 0.48516789078712463,
1067
+ 0.4854155480861664,
1068
+ 0.5378386974334717,
1069
+ 0.5014791488647461,
1070
+ 0.36801642179489136,
1071
+ 0.0
1072
+ ],
1073
+ "max": [
1074
+ 0.5,
1075
+ 0.3125,
1076
+ 0.3125,
1077
+ 0.6875,
1078
+ 0.375,
1079
+ 0.3125,
1080
+ 0.4375,
1081
+ 0.125,
1082
+ 0.125,
1083
+ 0.3125,
1084
+ 0.125,
1085
+ 0.25,
1086
+ 0.375,
1087
+ 0.25,
1088
+ 0.5,
1089
+ 0.3125,
1090
+ 0.25,
1091
+ 0.375,
1092
+ 0.1875,
1093
+ 0.3125,
1094
+ 0.375,
1095
+ 0.1875,
1096
+ 0.1875,
1097
+ 0.3125,
1098
+ 0.125,
1099
+ 0.4375,
1100
+ 0.1875,
1101
+ 0.375,
1102
+ 0.3125,
1103
+ 0.25,
1104
+ 0.5625,
1105
+ 0.3125,
1106
+ 0.125,
1107
+ 0.3125,
1108
+ 0.25,
1109
+ 0.25,
1110
+ 0.5,
1111
+ 0.125,
1112
+ 0.375,
1113
+ 0.625,
1114
+ 0.25,
1115
+ 0.4375,
1116
+ 0.3125,
1117
+ 0.4375,
1118
+ 0.375,
1119
+ 0.375,
1120
+ 0.375,
1121
+ 0.25,
1122
+ 0.3125,
1123
+ 0.3125,
1124
+ 0.5,
1125
+ 0.1875,
1126
+ 0.625,
1127
+ 0.375,
1128
+ 0.25,
1129
+ 0.5625,
1130
+ 0.375,
1131
+ 0.25,
1132
+ 0.25,
1133
+ 0.4375,
1134
+ 0.375,
1135
+ 0.4375,
1136
+ 0.5,
1137
+ 0.3125,
1138
+ 1.0,
1139
+ 1.0,
1140
+ 1.0,
1141
+ 1.0,
1142
+ 1.0,
1143
+ 1.0,
1144
+ 1.0,
1145
+ 1.0,
1146
+ 1.0,
1147
+ 1.0,
1148
+ 1.0,
1149
+ 0.008115201257169247
1150
+ ],
1151
+ "mean": [
1152
+ 0.19912063081019515,
1153
+ -0.04713328433786862,
1154
+ -0.14682526703810872,
1155
+ 0.10493270177922798,
1156
+ -0.0555525360924706,
1157
+ -0.004463942159699563,
1158
+ 0.09608754540417411,
1159
+ -0.18815364695561165,
1160
+ -0.09510851790001847,
1161
+ -0.1391683629101767,
1162
+ -0.2983585717693776,
1163
+ 0.0154600250877301,
1164
+ -0.00940837976359047,
1165
+ -0.007643436788154897,
1166
+ 0.10452026449855323,
1167
+ -0.06137499615218864,
1168
+ -0.010156538585852368,
1169
+ -0.09271662216031522,
1170
+ -0.16939436411069383,
1171
+ -0.03558720487286831,
1172
+ 0.009889596672412732,
1173
+ -0.27717300337068274,
1174
+ -0.21460157837222188,
1175
+ -0.044185620344148246,
1176
+ -0.06219722534322478,
1177
+ 0.09509120274887643,
1178
+ -0.17119273494736195,
1179
+ -0.04735188812103675,
1180
+ 0.013905268808101952,
1181
+ -0.04665254840546697,
1182
+ 0.16449417633749924,
1183
+ -0.0654082239272302,
1184
+ -0.15077769077448747,
1185
+ -0.0029952806593609555,
1186
+ 0.058705577017792276,
1187
+ -0.06615085152065506,
1188
+ -0.0051834828849350485,
1189
+ -0.23531314450840363,
1190
+ 0.02820950755710152,
1191
+ 0.194137474604445,
1192
+ -0.11788275141599458,
1193
+ 0.017566701810010465,
1194
+ -0.06849056131872192,
1195
+ 0.20300547735947794,
1196
+ 0.014148642876931601,
1197
+ -0.016169465308132736,
1198
+ -0.0331205172997599,
1199
+ -0.18235667864618604,
1200
+ -0.045193265945330297,
1201
+ -0.22416988279566583,
1202
+ 0.09975571207597118,
1203
+ -0.099036411838946,
1204
+ 0.12663195299513635,
1205
+ -0.10164474696792465,
1206
+ 0.020704832466293174,
1207
+ 0.12009355953333743,
1208
+ -0.015079332250815735,
1209
+ -0.01766674490549775,
1210
+ 0.035241623314658625,
1211
+ 0.033211421843255554,
1212
+ -0.24424078833959245,
1213
+ 0.09681574370498061,
1214
+ 0.18492509273225388,
1215
+ -0.022742008095795112,
1216
+ 0.9999936620514414,
1217
+ 0.9999937707226753,
1218
+ 0.9999948050715555,
1219
+ 0.9999909429539566,
1220
+ 0.9981655841162916,
1221
+ 0.6919767666696247,
1222
+ 0.702214066318414,
1223
+ 0.7273468945970327,
1224
+ 0.7886838515002501,
1225
+ 0.8043705116704456,
1226
+ 0.6998508090483253,
1227
+ 0.0007492819133353805
1228
+ ],
1229
+ "std": [
1230
+ 0.0941084974860378,
1231
+ 0.17185972008345138,
1232
+ 0.08438269842838665,
1233
+ 0.17716102052705152,
1234
+ 0.11450048389819291,
1235
+ 0.09448002504232993,
1236
+ 0.13870451891947141,
1237
+ 0.16487552633513414,
1238
+ 0.13408425017115613,
1239
+ 0.12540033300650139,
1240
+ 0.1329900209775417,
1241
+ 0.09553429213977248,
1242
+ 0.13446057122515567,
1243
+ 0.1082989917651951,
1244
+ 0.16795554038128352,
1245
+ 0.09946033991653933,
1246
+ 0.11818593453771994,
1247
+ 0.1558883177548388,
1248
+ 0.08514136829112755,
1249
+ 0.14363906788233177,
1250
+ 0.08470516620112252,
1251
+ 0.16262561776639584,
1252
+ 0.14160311283626847,
1253
+ 0.12322383855038192,
1254
+ 0.09539658418125412,
1255
+ 0.125865545840183,
1256
+ 0.07807645734421215,
1257
+ 0.14367997208278988,
1258
+ 0.10650562960594574,
1259
+ 0.13671069795473043,
1260
+ 0.1315804284058909,
1261
+ 0.12933957265154283,
1262
+ 0.09275386769010797,
1263
+ 0.12228474323050423,
1264
+ 0.12466238593939773,
1265
+ 0.10436035220115127,
1266
+ 0.1312371918523952,
1267
+ 0.16366749531927174,
1268
+ 0.10955322454582661,
1269
+ 0.1606812587752228,
1270
+ 0.10730226695701574,
1271
+ 0.11265127514591113,
1272
+ 0.1001804379858154,
1273
+ 0.1225909964352062,
1274
+ 0.11274845500542101,
1275
+ 0.14229340472262297,
1276
+ 0.17644458087323034,
1277
+ 0.11235640881885092,
1278
+ 0.1448938230505715,
1279
+ 0.14054463439396062,
1280
+ 0.10080264201843625,
1281
+ 0.19499710788891536,
1282
+ 0.18165922747873958,
1283
+ 0.1176552651276845,
1284
+ 0.08516277793955987,
1285
+ 0.12192372062343444,
1286
+ 0.14240783108385247,
1287
+ 0.18536508226546256,
1288
+ 0.0807012426889652,
1289
+ 0.18398265697362567,
1290
+ 0.16549925290624093,
1291
+ 0.14705802573694088,
1292
+ 0.13189349251379065,
1293
+ 0.13684871021408498,
1294
+ 0.00025597486509197994,
1295
+ 0.0002978988689316117,
1296
+ 0.00018445416996611553,
1297
+ 0.00019616313489046396,
1298
+ 0.0006616678487758073,
1299
+ 0.45699987841098066,
1300
+ 0.24183495810203598,
1301
+ 0.22272751657245496,
1302
+ 0.17213927716197644,
1303
+ 0.160046500286501,
1304
+ 0.23339196342262103,
1305
+ 0.0005959051043599751
1306
+ ]
1307
+ }
1308
+ },
1309
+ "code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258",
1310
+ "step": 12000,
1311
+ "weights": "ema",
1312
+ "offline_eval": {
1313
+ "mse": 0.005075207445770502,
1314
+ "mse_row0": 0.004007824696600437,
1315
+ "mse_motion_token": 0.005465776193886995,
1316
+ "mse_inspire_left_hand_state": 0.0008931347401812673,
1317
+ "mse_inspire_right_hand_state": 0.005091215018182993,
1318
+ "samples": 256,
1319
+ "frames": "train"
1320
+ },
1321
+ "format": "hb_baselines/1"
1322
+ }
b4-cushion/b512/step-012000/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdfe5c90b2a46d9594f68f14f6e52392889f7d2ad795aeb45aa75f20d6e8e9ec
3
+ size 170779901
b4-cushion/b512/step-012000/protocol.json ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 12000,
4
+ "policy": "flash",
5
+ "files": {
6
+ "config.json": {
7
+ "bytes": 19126,
8
+ "sha256": "662ae31007863d4576a5f7743484bde6ded068ca8f91a4c96756abf0557b6195"
9
+ },
10
+ "model.pt": {
11
+ "bytes": 170779901,
12
+ "sha256": "bdfe5c90b2a46d9594f68f14f6e52392889f7d2ad795aeb45aa75f20d6e8e9ec"
13
+ },
14
+ "training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py": {
15
+ "bytes": 7475,
16
+ "sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde"
17
+ },
18
+ "training_records/code_78235367/evaluation/baselines/__init__.py": {
19
+ "bytes": 755,
20
+ "sha256": "69e97429f08c1a249e48c519026c3534245f22543c5a6876f0a13b09ff3f79b1"
21
+ },
22
+ "training_records/code_78235367/evaluation/baselines/act_nets.py": {
23
+ "bytes": 22435,
24
+ "sha256": "3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19"
25
+ },
26
+ "training_records/code_78235367/evaluation/baselines/adapters.py": {
27
+ "bytes": 3349,
28
+ "sha256": "71e26fbbe13a8df02c82cf98555c4e45dd42af053e45a371e5356f2e23596061"
29
+ },
30
+ "training_records/code_78235367/evaluation/baselines/check_flash_adapter.py": {
31
+ "bytes": 6003,
32
+ "sha256": "aa7fc175f50de83b130427cc30533a45220e70d0ed8c807f33ca44d39cb9fb81"
33
+ },
34
+ "training_records/code_78235367/evaluation/baselines/check_flash_parity.py": {
35
+ "bytes": 7900,
36
+ "sha256": "91f714aa3b7ec6b5c28764496163671cadabe4a833c0b06b6bc4c155cec7f66f"
37
+ },
38
+ "training_records/code_78235367/evaluation/baselines/data.py": {
39
+ "bytes": 18527,
40
+ "sha256": "d27091c71268657c9341d95fb7f85466c540be6dd76047bebd888c6e00379e7b"
41
+ },
42
+ "training_records/code_78235367/evaluation/baselines/flash.py": {
43
+ "bytes": 24032,
44
+ "sha256": "35c01a4e2edd80f85878b37928069c09ed3238127bbb51a5443e7f1c92703e53"
45
+ },
46
+ "training_records/code_78235367/evaluation/baselines/inloop.py": {
47
+ "bytes": 6324,
48
+ "sha256": "8c2f29132ba03b6401f972f7e8e8c16094d4d6d68b736972b9f40a538c0939cf"
49
+ },
50
+ "training_records/code_78235367/evaluation/baselines/nets.py": {
51
+ "bytes": 9986,
52
+ "sha256": "38a66937bb92393a3f1ce0644b249da28d582a4fd03d134b7743e6037abd88b9"
53
+ },
54
+ "training_records/code_78235367/evaluation/baselines/policies.py": {
55
+ "bytes": 14190,
56
+ "sha256": "68d4bad86d82007ed77ab0dcc8f7345da810d57c298323fccadc1efcf99dac4a"
57
+ },
58
+ "training_records/code_78235367/evaluation/baselines/requirements.txt": {
59
+ "bytes": 485,
60
+ "sha256": "bb211f66038e53efd08ee3ec03e133d8bb206ec36cc608d349b4fad3a61e874b"
61
+ },
62
+ "training_records/code_78235367/evaluation/baselines/runtime.py": {
63
+ "bytes": 8550,
64
+ "sha256": "379a2b2c5221e337df62e2097616438ae83a65d8cbb89a0e433e15ecd7aec881"
65
+ },
66
+ "training_records/code_78235367/evaluation/baselines/train.py": {
67
+ "bytes": 31119,
68
+ "sha256": "b17dcd85ca3300b8707deb4ca31dc870245f2bdd26733f7e21c9c668c75b4b1b"
69
+ },
70
+ "training_records/code_78235367/evaluation/policy/FLASH/model.py": {
71
+ "bytes": 647,
72
+ "sha256": "823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159"
73
+ },
74
+ "training_records/code_commit.txt": {
75
+ "bytes": 41,
76
+ "sha256": "27d134217d9f9dd84cf9c8e0ff946a02d746e530410150b39712fbb308fa8b45"
77
+ },
78
+ "training_records/flash_pool_a800.sh": {
79
+ "bytes": 1949,
80
+ "sha256": "ba5dc6e619fced677b89ac5ebc4fea82dc3b9803c8835cf7b7154c98bc524e36"
81
+ },
82
+ "training_records/inloop-mse.jsonl": {
83
+ "bytes": 79131,
84
+ "sha256": "3e24cd45fcd6a39d1e9185ec2f9267a744d23493958969c878bcfda12fa08c10"
85
+ },
86
+ "training_records/pip_freeze_hb-baselines.txt": {
87
+ "bytes": 1185,
88
+ "sha256": "72942d6f1c95ab99ba51fcf641bfd0e4cb34943c5b19a2a39d8da72ef5daa6b2"
89
+ },
90
+ "training_records/run.json": {
91
+ "bytes": 19730,
92
+ "sha256": "03eee41eb778fbd52386a7d7478d5b5b128b10aed1e4d44091df2fae42a912c0"
93
+ },
94
+ "training_records/train.log": {
95
+ "bytes": 67069,
96
+ "sha256": "76e11fcf89636039c014a8c836b8b86d0cc954aa37106cf108c74fb9e37beba8"
97
+ },
98
+ "training_records/train_log.jsonl": {
99
+ "bytes": 60753,
100
+ "sha256": "f757c148fb5bb2d8c565b77eee53b73f5a3426443ec71b7630dcfd41653208c6"
101
+ }
102
+ },
103
+ "task_dir": "b4-cushion",
104
+ "training_data": "b4-cushion @194e7cde, all episodes (A800 FLASH pool 2026-11-25)",
105
+ "episodes": 302,
106
+ "frames": 259888,
107
+ "steps": 12000,
108
+ "global_batch": 512,
109
+ "per_gpu_batch": 512,
110
+ "num_gpus": 1,
111
+ "gradient_accumulation_steps": 1,
112
+ "save_steps": [
113
+ 8000,
114
+ 12000
115
+ ],
116
+ "lr": 0.0001,
117
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
118
+ "ema": 0.9999,
119
+ "augmentation": "Humanoid Benchmark online augmentation spec v2 (hb-aug-v2-20261109): 15 visual effects, one per sample at 1.5x; proprio per-joint bias U(+-2 deg) + N(0, 0.25 deg); no delay, no history drop; model-native image augmentation off",
120
+ "state_dim": 44,
121
+ "action_dim": 76,
122
+ "cameras": [
123
+ "ego_view",
124
+ "chest"
125
+ ],
126
+ "contract": "g1_sonic_dfx6",
127
+ "image_hw": [
128
+ 168,
129
+ 224
130
+ ],
131
+ "task_text": "Take the cushion from the bed and put it on the sofa.",
132
+ "inloop_mse": {
133
+ "task": "b4",
134
+ "split": "train10",
135
+ "every": 250,
136
+ "seed": 1234,
137
+ "weights": "ema",
138
+ "nmse_at_this_step": 0.0753,
139
+ "curve": {
140
+ "250": 0.4139,
141
+ "500": 0.2751,
142
+ "750": 0.2447,
143
+ "1000": 0.17,
144
+ "1250": 0.1501,
145
+ "1500": 0.1387,
146
+ "1750": 0.1302,
147
+ "2000": 0.1234,
148
+ "2250": 0.1177,
149
+ "2500": 0.1132,
150
+ "2750": 0.1094,
151
+ "3000": 0.1062,
152
+ "3250": 0.1034,
153
+ "3500": 0.1008,
154
+ "3750": 0.0985,
155
+ "4000": 0.0964,
156
+ "4250": 0.0946,
157
+ "4500": 0.093,
158
+ "4750": 0.0915,
159
+ "5000": 0.0901,
160
+ "5250": 0.089,
161
+ "5500": 0.0878,
162
+ "5750": 0.0867,
163
+ "6000": 0.0857,
164
+ "6250": 0.0848,
165
+ "6500": 0.084,
166
+ "6750": 0.0832,
167
+ "7000": 0.0825,
168
+ "7250": 0.0818,
169
+ "7500": 0.0811,
170
+ "7750": 0.0805,
171
+ "8000": 0.0799,
172
+ "8250": 0.0794,
173
+ "8500": 0.0789,
174
+ "8750": 0.0784,
175
+ "9000": 0.0779,
176
+ "9250": 0.0776,
177
+ "9500": 0.0772,
178
+ "9750": 0.0769,
179
+ "10000": 0.0766,
180
+ "10250": 0.0763,
181
+ "10500": 0.0761,
182
+ "10750": 0.0759,
183
+ "11000": 0.0757,
184
+ "11250": 0.0756,
185
+ "11500": 0.0755,
186
+ "11750": 0.0754,
187
+ "12000": 0.0753
188
+ }
189
+ },
190
+ "seed": 42,
191
+ "reproducibility": {
192
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md",
193
+ "protocol_commit": "c89e8d19",
194
+ "training_seed": 42,
195
+ "training_seed_source": "FLASH-Policy upstream default (42)",
196
+ "training_seed_verified_from_run_files": true,
197
+ "augmentation_random_stream": "seeded: numpy default_rng([HB_AUG_SEED=42, torch.initial_seed(), worker id])",
198
+ "inloop_mse_seed": 1234,
199
+ "layout": {
200
+ "nodes": 1,
201
+ "gpus_per_node": 1,
202
+ "per_gpu_batch": 512,
203
+ "global_batch": 512,
204
+ "gradient_accumulation": 1,
205
+ "num_workers": 40,
206
+ "prefetch": 2
207
+ },
208
+ "environment": "hb-baselines (evaluation/baselines/requirements.txt: Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
209
+ "hardware": "Aliyun PAI DLC, 1 x NVIDIA A800 80 GB",
210
+ "upstream_code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ 78235367c03e0ea376ca1880ec3026c28dd93258 (evaluation/baselines/train.py --policy flash --contract g1_sonic_dfx6); policy from NTUMARS/FLASH-Policy@f47e490",
211
+ "determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels are not bitwise deterministic",
212
+ "exceptions": []
213
+ },
214
+ "inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/code_* in the last checkpoint is the exact code",
215
+ "resume_state_included": false
216
+ }
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/augmentation/hb_aug_v2.py ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Humanoid Benchmark data augmentation v2 (project CLAUDE.md), model-agnostic torch implementation.
2
+
3
+ augment(x, rng, obs_mask=None) takes x: float [T, V, 3, H, W] in [0, 1] (T frames, V cameras) and returns the
4
+ augmented tensor. Each call is one training sample: one of the 15 effects is chosen uniformly and its magnitude
5
+ is scaled by 1.5 around identity; the rest stay at x1. Colour is shared across cameras and time; geometry, light
6
+ patches and white balance are drawn per camera and fixed over time; sensor/optics effects (noise, gaussian blur,
7
+ JPEG, motion blur, sharpen, defocus) apply only to observation frames (obs_mask True).
8
+ Pixel-size parameters are defined at 224 px and scaled by H / 224.
9
+ perturb_joints(q, rng) applies the proprio spec: per-joint bias +-2 deg plus N(0, 0.25 deg) clipped at 3 sigma.
10
+ """
11
+ import io
12
+ import math
13
+
14
+ import numpy as np
15
+ import torch
16
+ import torch.nn.functional as F
17
+ from PIL import Image
18
+ from torchvision.transforms import InterpolationMode
19
+ from torchvision.transforms import functional as TF
20
+
21
+ EFFECTS = ("exposure", "contrast", "saturation", "hue", "gamma", "temperature", "rotation_crop", "noise",
22
+ "gaussian_blur", "jpeg", "motion_blur", "sharpen", "defocus", "light_shadow", "wb_channel")
23
+ CENTER = {"exposure": 0.0, "contrast": 1.0, "saturation": 1.0, "hue": 0.0, "gamma": 1.0, "temperature": 0.0}
24
+ RANGE = {"exposure": (-0.22, 0.22), "contrast": (0.88, 1.12), "saturation": (0.76, 1.24), "hue": (-0.015, 0.015),
25
+ "gamma": (0.89, 1.11), "temperature": (-0.066, 0.066)}
26
+ VERSION = "hb-aug-v2-20261109"
27
+
28
+
29
+ def sample(rng, views, height):
30
+ boost = EFFECTS[int(rng.integers(len(EFFECTS)))]
31
+
32
+ def k(name):
33
+ return 1.5 if boost == name else 1.0
34
+
35
+ px = height / 224.0
36
+ p = {"boost": boost}
37
+ for name, (a, b) in RANGE.items():
38
+ c = CENTER[name]
39
+ p[name] = float(rng.uniform(c + k(name) * (a - c), c + k(name) * (b - c)))
40
+ p["geometry"] = []
41
+ for _ in range(views):
42
+ angle = float(rng.uniform(-1.5 * k("rotation_crop"), 1.5 * k("rotation_crop")))
43
+ p["geometry"].append((angle, 1.0 + abs(angle) * 0.015 + float(rng.uniform(0, 0.02 * k("rotation_crop")))))
44
+ p["noise"] = 4.0 / 255.0 * k("noise") if rng.random() < 0.5 else 0.0
45
+ p["gaussian_blur"] = float(rng.uniform(0.25, 0.65)) * k("gaussian_blur") if rng.random() < 0.15 else 0.0
46
+ if rng.random() < 0.35:
47
+ lo = int(round(100 - k("jpeg") * 30))
48
+ hi = int(round(100 - k("jpeg") * 5))
49
+ p["jpeg"] = int(rng.integers(lo, hi + 1))
50
+ else:
51
+ p["jpeg"] = None
52
+ p["motion_blur"] = ((float(rng.uniform(3, 7)) * k("motion_blur") * px, float(rng.uniform(0, 180)))
53
+ if rng.random() < 0.15 else None)
54
+ p["sharpen"] = float(rng.uniform(0.2, 0.6)) * k("sharpen") if rng.random() < 0.15 else 0.0
55
+ p["defocus"] = float(rng.uniform(1, 2)) * k("defocus") * px if rng.random() < 0.10 else 0.0
56
+ if rng.random() < 0.30:
57
+ g = 0.30 * k("light_shadow")
58
+ p["light_shadow"] = [[(float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.1, 0.9)),
59
+ float(rng.uniform(0.15, 0.35)), float(rng.uniform(1 - g, 1 + g)))
60
+ for _ in range(int(rng.integers(1, 3)))] for _ in range(views)]
61
+ else:
62
+ p["light_shadow"] = None
63
+ if rng.random() < 0.30:
64
+ g = 0.10 * k("wb_channel")
65
+ gains = []
66
+ for _ in range(views):
67
+ row = [1.0, 1.0, 1.0]
68
+ row[int(rng.integers(0, 3))] = float(rng.uniform(1 - g, 1 + g))
69
+ gains.append(row)
70
+ p["wb_channel"] = gains
71
+ else:
72
+ p["wb_channel"] = None
73
+ return p
74
+
75
+
76
+ def _conv(x, kernel):
77
+ n, c, h, w = x.shape
78
+ k = kernel.to(x)[None, None].repeat(c, 1, 1, 1)
79
+ pad = kernel.shape[-1] // 2
80
+ return F.conv2d(F.pad(x, (pad, pad, pad, pad), mode="reflect"), k, groups=c)
81
+
82
+
83
+ def motion_kernel(length, angle_deg):
84
+ size = max(3, int(round(length)) | 1)
85
+ k = torch.zeros(size, size)
86
+ c = size // 2
87
+ th = math.radians(angle_deg)
88
+ for s in np.linspace(-(length - 1) / 2, (length - 1) / 2, 8 * size):
89
+ k[int(round(c - s * math.sin(th))), int(round(c + s * math.cos(th)))] = 1.0
90
+ return k / k.sum()
91
+
92
+
93
+ def disk_kernel(r):
94
+ size = 2 * int(math.ceil(r)) + 1
95
+ c = size // 2
96
+ yy, xx = torch.meshgrid(torch.arange(size), torch.arange(size), indexing="ij")
97
+ k = (((yy - c) ** 2 + (xx - c) ** 2) <= (r + 0.5) ** 2).float()
98
+ return k / k.sum()
99
+
100
+
101
+ def apply(x, p, obs_mask=None, noise_seed=0):
102
+ t, v, c, h, w = x.shape
103
+ x = x.clone().clamp(0, 1)
104
+ for vi, (angle, scale) in enumerate(p["geometry"]):
105
+ x[:, vi] = TF.affine(x[:, vi], angle=angle, translate=[0, 0], scale=scale, shear=[0, 0],
106
+ interpolation=InterpolationMode.BILINEAR)
107
+ if p["light_shadow"] is not None:
108
+ yy, xx = torch.meshgrid(torch.linspace(0, 1, h), torch.linspace(0, 1, w), indexing="ij")
109
+ for vi, blobs in enumerate(p["light_shadow"]):
110
+ m = torch.ones(h, w)
111
+ for cx, cy, s, g in blobs:
112
+ m = m + (g - 1.0) * torch.exp(-((xx - cx) ** 2 + (yy - cy) ** 2) / (2 * s * s))
113
+ x[:, vi] = (x[:, vi] * m.clamp(min=0).to(x)).clamp(0, 1)
114
+ if p["wb_channel"] is not None:
115
+ for vi, g in enumerate(p["wb_channel"]):
116
+ x[:, vi] = (x[:, vi] * torch.tensor(g, dtype=x.dtype).view(1, 3, 1, 1)).clamp(0, 1)
117
+ y = x.reshape(t * v, c, h, w)
118
+ y = (y * float(2.0 ** p["exposure"])).clamp(0, 1)
119
+ d = p["temperature"]
120
+ y = (y * y.new_tensor([1.0 + d, 1.0, 1.0 - d]).view(1, 3, 1, 1)).clamp(0, 1)
121
+ y = ((y - 0.5) * p["contrast"] + 0.5).clamp(0, 1)
122
+ y = TF.adjust_saturation(y, p["saturation"])
123
+ y = TF.adjust_hue(y, p["hue"])
124
+ y = y.clamp(0, 1).pow(p["gamma"])
125
+ x = y.reshape(t, v, c, h, w)
126
+ mask = torch.ones(t, dtype=torch.bool) if obs_mask is None else torch.as_tensor(obs_mask, dtype=torch.bool)
127
+ if bool(mask.any()):
128
+ o = x[mask].reshape(-1, c, h, w)
129
+ if p["gaussian_blur"] > 0:
130
+ o = TF.gaussian_blur(o, [3, 3], [p["gaussian_blur"]] * 2)
131
+ if p["motion_blur"] is not None:
132
+ o = _conv(o, motion_kernel(*p["motion_blur"]))
133
+ if p["defocus"] > 0:
134
+ o = _conv(o, disk_kernel(p["defocus"]))
135
+ if p["sharpen"] > 0:
136
+ o = o + p["sharpen"] * (o - TF.gaussian_blur(o, [5, 5], [1.0, 1.0]))
137
+ o = o.clamp(0, 1)
138
+ if p["noise"] > 0:
139
+ gen = torch.Generator().manual_seed(int(noise_seed))
140
+ o = (o + torch.randn(o.shape, generator=gen, dtype=o.dtype) * p["noise"]).clamp(0, 1)
141
+ if p["jpeg"] is not None:
142
+ for i in range(o.shape[0]):
143
+ buf = io.BytesIO()
144
+ TF.to_pil_image(o[i]).save(buf, format="JPEG", quality=int(p["jpeg"]))
145
+ buf.seek(0)
146
+ with Image.open(buf) as im:
147
+ o[i] = TF.pil_to_tensor(im.convert("RGB")).to(o.dtype).div(255.0)
148
+ x[mask] = o.reshape(-1, v, c, h, w)
149
+ return x.clamp(0, 1)
150
+
151
+
152
+ def augment(x, rng, obs_mask=None):
153
+ p = sample(rng, x.shape[1], x.shape[-2])
154
+ return apply(x, p, obs_mask, noise_seed=int(rng.integers(0, 2 ** 62))), p
155
+
156
+
157
+ def perturb_joints(q, rng):
158
+ q = np.asarray(q, dtype=np.float64)
159
+ d = q.shape[-1]
160
+ bias = rng.uniform(-math.radians(2.0), math.radians(2.0), size=d)
161
+ sigma = math.radians(0.25)
162
+ noise = np.clip(rng.normal(0.0, sigma, size=q.shape), -3 * sigma, 3 * sigma)
163
+ return (q + bias + noise).astype(np.float32)
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/__init__.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ """FM-DiT, DP (Diffusion Policy, DDPM-DiT), ACT and FLASH visuomotor baselines of the Humanoid Benchmark.
2
+
3
+ The first three ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/{fm_dit,
4
+ ddpm_dit,act}.py` and their networks), FLASH from NTUMARS/FLASH-Policy @ f47e490 (`flash.py`), torch only.
5
+ `train.py` trains one on a task's LeRobot v2.1 expert dataset through a robot contract
6
+ (`data.CONTRACTS`: G1 state44/action76 or H2 state78/action75); `runtime.BaselinePolicy` serves a checkpoint to the
7
+ G1 evaluation adapters (`evaluation/policy/{FMDiT,DP,ACT,FLASH}/model.py`, via `adapters.py`) and to the H2 adapter
8
+ (`debug/newton/h2_policy_adapters/baseline.py`). Usage and the environment: evaluation/README.md#baselines.
9
+ """
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/act_nets.py ADDED
@@ -0,0 +1,615 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """ACT (Zhao et al. 2023, "Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware") network core: the
2
+ ResNet backbone with frozen BatchNorm and sine position embedding, the DETR encoder-decoder transformer and the CVAE
3
+ action-chunk decoder.
4
+
5
+ Ported unchanged from DextraVerse (`dextraverse/algorithms/il/models/nets/act/`), which vendors the ACT repository's
6
+ `detr/models/{backbone,position_encoding,transformer,detr_vae}.py` (Apache-2.0, (c) Facebook, Inc. and its
7
+ affiliates; see THIRD_PARTY_NOTICES.md) with the NestedTensor/argparse plumbing removed, explicit `qpos_dim` /
8
+ `action_dim` instead of the ALOHA 14-DoF constants, and one backbone shared by every camera (upstream behaviour).
9
+ The policy uses `return_intermediate_dec=False`: `Transformer.forward(...)[0]` is the final decoder layer.
10
+ """
11
+ from __future__ import annotations
12
+
13
+ import copy
14
+ import math
15
+ from typing import Optional
16
+
17
+ import numpy as np
18
+ import torch
19
+ import torch.nn.functional as F
20
+ import torchvision
21
+ from torch import Tensor, nn
22
+ from torchvision.models._utils import IntermediateLayerGetter
23
+
24
+
25
+ class PositionEmbeddingSine(nn.Module):
26
+ """Standard DETR sine embedding over a ``(B, C, H, W)`` feature map."""
27
+
28
+ def __init__(
29
+ self, num_pos_feats: int = 64, temperature: int = 10000, normalize: bool = False
30
+ ) -> None:
31
+ super().__init__()
32
+ self.num_pos_feats = num_pos_feats
33
+ self.temperature = temperature
34
+ self.normalize = normalize
35
+ self.scale = 2 * math.pi
36
+
37
+ def forward(self, x: torch.Tensor) -> torch.Tensor:
38
+ not_mask = torch.ones((1, x.shape[-2], x.shape[-1]), device=x.device)
39
+ y_embed = not_mask.cumsum(1, dtype=torch.float32)
40
+ x_embed = not_mask.cumsum(2, dtype=torch.float32)
41
+ if self.normalize:
42
+ eps = 1e-6
43
+ y_embed = y_embed / (y_embed[:, -1:, :] + eps) * self.scale
44
+ x_embed = x_embed / (x_embed[:, :, -1:] + eps) * self.scale
45
+
46
+ dim_t = torch.arange(self.num_pos_feats, dtype=torch.float32, device=x.device)
47
+ dim_t = self.temperature ** (2 * (dim_t // 2) / self.num_pos_feats)
48
+
49
+ pos_x = x_embed[:, :, :, None] / dim_t
50
+ pos_y = y_embed[:, :, :, None] / dim_t
51
+ pos_x = torch.stack(
52
+ (pos_x[:, :, :, 0::2].sin(), pos_x[:, :, :, 1::2].cos()), dim=4
53
+ ).flatten(3)
54
+ pos_y = torch.stack(
55
+ (pos_y[:, :, :, 0::2].sin(), pos_y[:, :, :, 1::2].cos()), dim=4
56
+ ).flatten(3)
57
+ return torch.cat((pos_y, pos_x), dim=3).permute(0, 3, 1, 2)
58
+
59
+
60
+ class FrozenBatchNorm2d(nn.Module):
61
+ """BatchNorm2d with fixed statistics and affine parameters (the DETR/ACT backbone norm)."""
62
+
63
+ def __init__(self, n: int) -> None:
64
+ super().__init__()
65
+ self.register_buffer("weight", torch.ones(n))
66
+ self.register_buffer("bias", torch.zeros(n))
67
+ self.register_buffer("running_mean", torch.zeros(n))
68
+ self.register_buffer("running_var", torch.ones(n))
69
+
70
+ def _load_from_state_dict(self, state_dict, prefix, local_metadata, strict, *args):
71
+ state_dict.pop(prefix + "num_batches_tracked", None)
72
+ super()._load_from_state_dict(state_dict, prefix, local_metadata, strict, *args)
73
+
74
+ def forward(self, x: torch.Tensor) -> torch.Tensor:
75
+ w = self.weight.reshape(1, -1, 1, 1)
76
+ b = self.bias.reshape(1, -1, 1, 1)
77
+ rv = self.running_var.reshape(1, -1, 1, 1)
78
+ rm = self.running_mean.reshape(1, -1, 1, 1)
79
+ scale = w * (rv + 1e-5).rsqrt()
80
+ return x * scale + (b - rm * scale)
81
+
82
+
83
+ class Backbone(nn.Module):
84
+ """ResNet trunk returning the layer4 feature map."""
85
+
86
+ def __init__(self, name: str = "resnet18", weights: str | None = None) -> None:
87
+ super().__init__()
88
+ trunk = getattr(torchvision.models, name)(
89
+ replace_stride_with_dilation=[False, False, False],
90
+ weights=weights,
91
+ norm_layer=FrozenBatchNorm2d,
92
+ )
93
+ self.body = IntermediateLayerGetter(trunk, return_layers={"layer4": "0"})
94
+ self.num_channels = 512 if name in ("resnet18", "resnet34") else 2048
95
+
96
+ def forward(self, x: torch.Tensor) -> dict[str, torch.Tensor]:
97
+ return self.body(x)
98
+
99
+
100
+ class Joiner(nn.Sequential):
101
+ """Backbone + position embedding, returning matched feature/position lists."""
102
+
103
+ def __init__(self, backbone: Backbone, position_embedding: PositionEmbeddingSine) -> None:
104
+ super().__init__(backbone, position_embedding)
105
+ self.num_channels = backbone.num_channels
106
+
107
+ def forward(self, x: torch.Tensor) -> tuple[list[torch.Tensor], list[torch.Tensor]]:
108
+ features = list(self[0](x).values())
109
+ pos = [self[1](f).to(f.dtype) for f in features]
110
+ return features, pos
111
+
112
+
113
+ def build_backbone(
114
+ name: str = "resnet18", hidden_dim: int = 512, weights: str | None = None
115
+ ) -> Joiner:
116
+ """The ACT camera backbone: ResNet + sine embedding sized to the transformer width."""
117
+ return Joiner(Backbone(name, weights=weights), PositionEmbeddingSine(hidden_dim // 2))
118
+
119
+
120
+ class Transformer(nn.Module):
121
+ def __init__(
122
+ self,
123
+ d_model=512,
124
+ nhead=8,
125
+ num_encoder_layers=6,
126
+ num_decoder_layers=6,
127
+ dim_feedforward=2048,
128
+ dropout=0.1,
129
+ activation="relu",
130
+ normalize_before=False,
131
+ return_intermediate_dec=False,
132
+ ):
133
+ super().__init__()
134
+
135
+ encoder_layer = TransformerEncoderLayer(
136
+ d_model, nhead, dim_feedforward, dropout, activation, normalize_before
137
+ )
138
+ encoder_norm = nn.LayerNorm(d_model) if normalize_before else None
139
+ self.encoder = TransformerEncoder(encoder_layer, num_encoder_layers, encoder_norm)
140
+
141
+ decoder_layer = TransformerDecoderLayer(
142
+ d_model, nhead, dim_feedforward, dropout, activation, normalize_before
143
+ )
144
+ decoder_norm = nn.LayerNorm(d_model)
145
+ self.decoder = TransformerDecoder(
146
+ decoder_layer,
147
+ num_decoder_layers,
148
+ decoder_norm,
149
+ return_intermediate=return_intermediate_dec,
150
+ )
151
+
152
+ self._reset_parameters()
153
+
154
+ self.d_model = d_model
155
+ self.nhead = nhead
156
+
157
+ def _reset_parameters(self):
158
+ for p in self.parameters():
159
+ if p.dim() > 1:
160
+ nn.init.xavier_uniform_(p)
161
+
162
+ def forward(
163
+ self,
164
+ src,
165
+ mask,
166
+ query_embed,
167
+ pos_embed,
168
+ latent_input=None,
169
+ proprio_input=None,
170
+ additional_pos_embed=None,
171
+ ):
172
+ # TODO flatten only when input has H and W
173
+ if len(src.shape) == 4: # has H and W
174
+ # flatten NxCxHxW to HWxNxC
175
+ bs, c, h, w = src.shape
176
+ src = src.flatten(2).permute(2, 0, 1)
177
+ pos_embed = pos_embed.flatten(2).permute(2, 0, 1).repeat(1, bs, 1)
178
+ query_embed = query_embed.unsqueeze(1).repeat(1, bs, 1)
179
+ # mask = mask.flatten(1)
180
+
181
+ additional_pos_embed = additional_pos_embed.unsqueeze(1).repeat(
182
+ 1, bs, 1
183
+ ) # seq, bs, dim
184
+ pos_embed = torch.cat([additional_pos_embed, pos_embed], axis=0)
185
+
186
+ addition_input = torch.stack([latent_input, proprio_input], axis=0)
187
+ src = torch.cat([addition_input, src], axis=0)
188
+ else:
189
+ assert len(src.shape) == 3
190
+ # flatten NxHWxC to HWxNxC
191
+ bs, hw, c = src.shape
192
+ src = src.permute(1, 0, 2)
193
+ pos_embed = pos_embed.unsqueeze(1).repeat(1, bs, 1)
194
+ query_embed = query_embed.unsqueeze(1).repeat(1, bs, 1)
195
+
196
+ tgt = torch.zeros_like(query_embed)
197
+ memory = self.encoder(src, src_key_padding_mask=mask, pos=pos_embed)
198
+ hs = self.decoder(
199
+ tgt, memory, memory_key_padding_mask=mask, pos=pos_embed, query_pos=query_embed
200
+ )
201
+ hs = hs.transpose(1, 2)
202
+ return hs
203
+
204
+
205
+ class TransformerEncoder(nn.Module):
206
+ def __init__(self, encoder_layer, num_layers, norm=None):
207
+ super().__init__()
208
+ self.layers = _get_clones(encoder_layer, num_layers)
209
+ self.num_layers = num_layers
210
+ self.norm = norm
211
+
212
+ def forward(
213
+ self,
214
+ src,
215
+ mask: Optional[Tensor] = None,
216
+ src_key_padding_mask: Optional[Tensor] = None,
217
+ pos: Optional[Tensor] = None,
218
+ ):
219
+ output = src
220
+
221
+ for layer in self.layers:
222
+ output = layer(
223
+ output, src_mask=mask, src_key_padding_mask=src_key_padding_mask, pos=pos
224
+ )
225
+
226
+ if self.norm is not None:
227
+ output = self.norm(output)
228
+
229
+ return output
230
+
231
+
232
+ class TransformerDecoder(nn.Module):
233
+ def __init__(self, decoder_layer, num_layers, norm=None, return_intermediate=False):
234
+ super().__init__()
235
+ self.layers = _get_clones(decoder_layer, num_layers)
236
+ self.num_layers = num_layers
237
+ self.norm = norm
238
+ self.return_intermediate = return_intermediate
239
+
240
+ def forward(
241
+ self,
242
+ tgt,
243
+ memory,
244
+ tgt_mask: Optional[Tensor] = None,
245
+ memory_mask: Optional[Tensor] = None,
246
+ tgt_key_padding_mask: Optional[Tensor] = None,
247
+ memory_key_padding_mask: Optional[Tensor] = None,
248
+ pos: Optional[Tensor] = None,
249
+ query_pos: Optional[Tensor] = None,
250
+ ):
251
+ output = tgt
252
+
253
+ intermediate = []
254
+
255
+ for layer in self.layers:
256
+ output = layer(
257
+ output,
258
+ memory,
259
+ tgt_mask=tgt_mask,
260
+ memory_mask=memory_mask,
261
+ tgt_key_padding_mask=tgt_key_padding_mask,
262
+ memory_key_padding_mask=memory_key_padding_mask,
263
+ pos=pos,
264
+ query_pos=query_pos,
265
+ )
266
+ if self.return_intermediate:
267
+ intermediate.append(self.norm(output))
268
+
269
+ if self.norm is not None:
270
+ output = self.norm(output)
271
+ if self.return_intermediate:
272
+ intermediate.pop()
273
+ intermediate.append(output)
274
+
275
+ if self.return_intermediate:
276
+ return torch.stack(intermediate)
277
+
278
+ return output.unsqueeze(0)
279
+
280
+
281
+ class TransformerEncoderLayer(nn.Module):
282
+ def __init__(
283
+ self,
284
+ d_model,
285
+ nhead,
286
+ dim_feedforward=2048,
287
+ dropout=0.1,
288
+ activation="relu",
289
+ normalize_before=False,
290
+ ):
291
+ super().__init__()
292
+ self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
293
+ # Implementation of Feedforward model
294
+ self.linear1 = nn.Linear(d_model, dim_feedforward)
295
+ self.dropout = nn.Dropout(dropout)
296
+ self.linear2 = nn.Linear(dim_feedforward, d_model)
297
+
298
+ self.norm1 = nn.LayerNorm(d_model)
299
+ self.norm2 = nn.LayerNorm(d_model)
300
+ self.dropout1 = nn.Dropout(dropout)
301
+ self.dropout2 = nn.Dropout(dropout)
302
+
303
+ self.activation = _get_activation_fn(activation)
304
+ self.normalize_before = normalize_before
305
+
306
+ def with_pos_embed(self, tensor, pos: Optional[Tensor]):
307
+ return tensor if pos is None else tensor + pos
308
+
309
+ def forward_post(
310
+ self,
311
+ src,
312
+ src_mask: Optional[Tensor] = None,
313
+ src_key_padding_mask: Optional[Tensor] = None,
314
+ pos: Optional[Tensor] = None,
315
+ ):
316
+ q = k = self.with_pos_embed(src, pos)
317
+ src2 = self.self_attn(
318
+ q, k, value=src, attn_mask=src_mask, key_padding_mask=src_key_padding_mask
319
+ )[0]
320
+ src = src + self.dropout1(src2)
321
+ src = self.norm1(src)
322
+ src2 = self.linear2(self.dropout(self.activation(self.linear1(src))))
323
+ src = src + self.dropout2(src2)
324
+ src = self.norm2(src)
325
+ return src
326
+
327
+ def forward_pre(
328
+ self,
329
+ src,
330
+ src_mask: Optional[Tensor] = None,
331
+ src_key_padding_mask: Optional[Tensor] = None,
332
+ pos: Optional[Tensor] = None,
333
+ ):
334
+ src2 = self.norm1(src)
335
+ q = k = self.with_pos_embed(src2, pos)
336
+ src2 = self.self_attn(
337
+ q, k, value=src2, attn_mask=src_mask, key_padding_mask=src_key_padding_mask
338
+ )[0]
339
+ src = src + self.dropout1(src2)
340
+ src2 = self.norm2(src)
341
+ src2 = self.linear2(self.dropout(self.activation(self.linear1(src2))))
342
+ src = src + self.dropout2(src2)
343
+ return src
344
+
345
+ def forward(
346
+ self,
347
+ src,
348
+ src_mask: Optional[Tensor] = None,
349
+ src_key_padding_mask: Optional[Tensor] = None,
350
+ pos: Optional[Tensor] = None,
351
+ ):
352
+ if self.normalize_before:
353
+ return self.forward_pre(src, src_mask, src_key_padding_mask, pos)
354
+ return self.forward_post(src, src_mask, src_key_padding_mask, pos)
355
+
356
+
357
+ class TransformerDecoderLayer(nn.Module):
358
+ def __init__(
359
+ self,
360
+ d_model,
361
+ nhead,
362
+ dim_feedforward=2048,
363
+ dropout=0.1,
364
+ activation="relu",
365
+ normalize_before=False,
366
+ ):
367
+ super().__init__()
368
+ self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
369
+ self.multihead_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
370
+ # Implementation of Feedforward model
371
+ self.linear1 = nn.Linear(d_model, dim_feedforward)
372
+ self.dropout = nn.Dropout(dropout)
373
+ self.linear2 = nn.Linear(dim_feedforward, d_model)
374
+
375
+ self.norm1 = nn.LayerNorm(d_model)
376
+ self.norm2 = nn.LayerNorm(d_model)
377
+ self.norm3 = nn.LayerNorm(d_model)
378
+ self.dropout1 = nn.Dropout(dropout)
379
+ self.dropout2 = nn.Dropout(dropout)
380
+ self.dropout3 = nn.Dropout(dropout)
381
+
382
+ self.activation = _get_activation_fn(activation)
383
+ self.normalize_before = normalize_before
384
+
385
+ def with_pos_embed(self, tensor, pos: Optional[Tensor]):
386
+ return tensor if pos is None else tensor + pos
387
+
388
+ def forward_post(
389
+ self,
390
+ tgt,
391
+ memory,
392
+ tgt_mask: Optional[Tensor] = None,
393
+ memory_mask: Optional[Tensor] = None,
394
+ tgt_key_padding_mask: Optional[Tensor] = None,
395
+ memory_key_padding_mask: Optional[Tensor] = None,
396
+ pos: Optional[Tensor] = None,
397
+ query_pos: Optional[Tensor] = None,
398
+ ):
399
+ q = k = self.with_pos_embed(tgt, query_pos)
400
+ tgt2 = self.self_attn(
401
+ q, k, value=tgt, attn_mask=tgt_mask, key_padding_mask=tgt_key_padding_mask
402
+ )[0]
403
+ tgt = tgt + self.dropout1(tgt2)
404
+ tgt = self.norm1(tgt)
405
+ tgt2 = self.multihead_attn(
406
+ query=self.with_pos_embed(tgt, query_pos),
407
+ key=self.with_pos_embed(memory, pos),
408
+ value=memory,
409
+ attn_mask=memory_mask,
410
+ key_padding_mask=memory_key_padding_mask,
411
+ )[0]
412
+ tgt = tgt + self.dropout2(tgt2)
413
+ tgt = self.norm2(tgt)
414
+ tgt2 = self.linear2(self.dropout(self.activation(self.linear1(tgt))))
415
+ tgt = tgt + self.dropout3(tgt2)
416
+ tgt = self.norm3(tgt)
417
+ return tgt
418
+
419
+ def forward_pre(
420
+ self,
421
+ tgt,
422
+ memory,
423
+ tgt_mask: Optional[Tensor] = None,
424
+ memory_mask: Optional[Tensor] = None,
425
+ tgt_key_padding_mask: Optional[Tensor] = None,
426
+ memory_key_padding_mask: Optional[Tensor] = None,
427
+ pos: Optional[Tensor] = None,
428
+ query_pos: Optional[Tensor] = None,
429
+ ):
430
+ tgt2 = self.norm1(tgt)
431
+ q = k = self.with_pos_embed(tgt2, query_pos)
432
+ tgt2 = self.self_attn(
433
+ q, k, value=tgt2, attn_mask=tgt_mask, key_padding_mask=tgt_key_padding_mask
434
+ )[0]
435
+ tgt = tgt + self.dropout1(tgt2)
436
+ tgt2 = self.norm2(tgt)
437
+ tgt2 = self.multihead_attn(
438
+ query=self.with_pos_embed(tgt2, query_pos),
439
+ key=self.with_pos_embed(memory, pos),
440
+ value=memory,
441
+ attn_mask=memory_mask,
442
+ key_padding_mask=memory_key_padding_mask,
443
+ )[0]
444
+ tgt = tgt + self.dropout2(tgt2)
445
+ tgt2 = self.norm3(tgt)
446
+ tgt2 = self.linear2(self.dropout(self.activation(self.linear1(tgt2))))
447
+ tgt = tgt + self.dropout3(tgt2)
448
+ return tgt
449
+
450
+ def forward(
451
+ self,
452
+ tgt,
453
+ memory,
454
+ tgt_mask: Optional[Tensor] = None,
455
+ memory_mask: Optional[Tensor] = None,
456
+ tgt_key_padding_mask: Optional[Tensor] = None,
457
+ memory_key_padding_mask: Optional[Tensor] = None,
458
+ pos: Optional[Tensor] = None,
459
+ query_pos: Optional[Tensor] = None,
460
+ ):
461
+ if self.normalize_before:
462
+ return self.forward_pre(
463
+ tgt,
464
+ memory,
465
+ tgt_mask,
466
+ memory_mask,
467
+ tgt_key_padding_mask,
468
+ memory_key_padding_mask,
469
+ pos,
470
+ query_pos,
471
+ )
472
+ return self.forward_post(
473
+ tgt,
474
+ memory,
475
+ tgt_mask,
476
+ memory_mask,
477
+ tgt_key_padding_mask,
478
+ memory_key_padding_mask,
479
+ pos,
480
+ query_pos,
481
+ )
482
+
483
+
484
+ def _get_clones(module, N):
485
+ return nn.ModuleList([copy.deepcopy(module) for i in range(N)])
486
+
487
+
488
+ def _get_activation_fn(activation):
489
+ """Return an activation function given a string."""
490
+ if activation == "relu":
491
+ return F.relu
492
+ if activation == "gelu":
493
+ return F.gelu
494
+ raise RuntimeError(f"activation should be relu/gelu, not {activation}.")
495
+
496
+
497
+
498
+ def reparametrize(mu: torch.Tensor, logvar: torch.Tensor) -> torch.Tensor:
499
+ std = logvar.div(2).exp()
500
+ return mu + std * torch.randn_like(std)
501
+
502
+
503
+ def get_sinusoid_encoding_table(n_position: int, d_hid: int) -> torch.Tensor:
504
+ def angle_vec(position: int) -> list[float]:
505
+ return [position / np.power(10000, 2 * (j // 2) / d_hid) for j in range(d_hid)]
506
+
507
+ table = np.array([angle_vec(i) for i in range(n_position)])
508
+ table[:, 0::2] = np.sin(table[:, 0::2])
509
+ table[:, 1::2] = np.cos(table[:, 1::2])
510
+ return torch.FloatTensor(table).unsqueeze(0)
511
+
512
+
513
+ def build_style_encoder(
514
+ hidden_dim: int, nheads: int, dim_feedforward: int, enc_layers: int, dropout: float
515
+ ) -> TransformerEncoder:
516
+ """The CVAE style encoder (a plain transformer encoder over [CLS, qpos, action seq])."""
517
+ layer = TransformerEncoderLayer(hidden_dim, nheads, dim_feedforward, dropout, "relu", False)
518
+ return TransformerEncoder(layer, enc_layers, norm=None)
519
+
520
+
521
+ class DETRVAE(nn.Module):
522
+ """CVAE decoder: (qpos, images[, action seq]) → ``num_queries`` future actions."""
523
+
524
+ def __init__(
525
+ self,
526
+ backbone: Joiner,
527
+ transformer: Transformer,
528
+ encoder: TransformerEncoder,
529
+ *,
530
+ qpos_dim: int,
531
+ action_dim: int,
532
+ num_queries: int,
533
+ latent_dim: int = 32,
534
+ ) -> None:
535
+ super().__init__()
536
+ self.num_queries = num_queries
537
+ self.transformer = transformer
538
+ self.encoder = encoder
539
+ hidden_dim = transformer.d_model
540
+ self.action_head = nn.Linear(hidden_dim, action_dim)
541
+ self.query_embed = nn.Embedding(num_queries, hidden_dim)
542
+ self.backbone = backbone # ONE backbone shared by every camera (upstream behavior)
543
+ self.input_proj = nn.Conv2d(backbone.num_channels, hidden_dim, kernel_size=1)
544
+ self.input_proj_robot_state = nn.Linear(qpos_dim, hidden_dim)
545
+
546
+ # CVAE style encoder inputs
547
+ self.latent_dim = latent_dim
548
+ self.cls_embed = nn.Embedding(1, hidden_dim)
549
+ self.encoder_action_proj = nn.Linear(action_dim, hidden_dim)
550
+ self.encoder_joint_proj = nn.Linear(qpos_dim, hidden_dim)
551
+ self.latent_proj = nn.Linear(hidden_dim, latent_dim * 2)
552
+ self.register_buffer(
553
+ "pos_table", get_sinusoid_encoding_table(1 + 1 + num_queries, hidden_dim)
554
+ )
555
+ # decoder side
556
+ self.latent_out_proj = nn.Linear(latent_dim, hidden_dim)
557
+ self.additional_pos_embed = nn.Embedding(2, hidden_dim) # latent + proprio slots
558
+
559
+ def forward(
560
+ self,
561
+ qpos: torch.Tensor,
562
+ images: torch.Tensor,
563
+ actions: torch.Tensor | None = None,
564
+ is_pad: torch.Tensor | None = None,
565
+ ) -> tuple[torch.Tensor, tuple[torch.Tensor | None, torch.Tensor | None]]:
566
+ """``qpos (B, Dq)``, ``images (B, ncam, C, H, W)``; train passes ``actions (B, T, Da)``."""
567
+ is_training = actions is not None
568
+ bs = qpos.shape[0]
569
+ if is_training:
570
+ action_embed = self.encoder_action_proj(actions)
571
+ qpos_embed = self.encoder_joint_proj(qpos).unsqueeze(1)
572
+ cls_embed = self.cls_embed.weight.unsqueeze(0).repeat(bs, 1, 1)
573
+ encoder_input = torch.cat([cls_embed, qpos_embed, action_embed], dim=1)
574
+ encoder_input = encoder_input.permute(1, 0, 2)
575
+ if is_pad is None:
576
+ is_pad = torch.zeros(bs, actions.shape[1], dtype=torch.bool, device=qpos.device)
577
+ cls_joint_is_pad = torch.full((bs, 2), False, device=qpos.device)
578
+ key_pad = torch.cat([cls_joint_is_pad, is_pad], dim=1)
579
+ pos_embed = self.pos_table.clone().detach().permute(1, 0, 2)
580
+ encoder_output = self.encoder(
581
+ encoder_input, pos=pos_embed, src_key_padding_mask=key_pad
582
+ )[0]
583
+ latent_info = self.latent_proj(encoder_output)
584
+ mu = latent_info[:, : self.latent_dim]
585
+ logvar = latent_info[:, self.latent_dim :]
586
+ latent_input = self.latent_out_proj(reparametrize(mu, logvar))
587
+ else:
588
+ mu = logvar = None
589
+ latent_sample = torch.zeros(bs, self.latent_dim, device=qpos.device)
590
+ latent_input = self.latent_out_proj(latent_sample)
591
+
592
+ all_cam_features, all_cam_pos = [], []
593
+ for cam_id in range(images.shape[1]):
594
+ features, pos = self.backbone(images[:, cam_id])
595
+ all_cam_features.append(self.input_proj(features[0]))
596
+ all_cam_pos.append(pos[0])
597
+ proprio_input = self.input_proj_robot_state(qpos)
598
+ src = torch.cat(all_cam_features, dim=3) # cameras fold into the width axis
599
+ pos = torch.cat(all_cam_pos, dim=3)
600
+ hs = self.transformer(
601
+ src,
602
+ None,
603
+ self.query_embed.weight,
604
+ pos,
605
+ latent_input,
606
+ proprio_input,
607
+ self.additional_pos_embed.weight,
608
+ )[0]
609
+ return self.action_head(hs), (mu, logvar)
610
+
611
+
612
+ def kl_divergence(mu: torch.Tensor, logvar: torch.Tensor) -> torch.Tensor:
613
+ """Total KL(q(z|x) || N(0, I)), summed over latent dims, meaned over the batch."""
614
+ klds = -0.5 * (1 + logvar - mu.pow(2) - logvar.exp())
615
+ return klds.sum(1).mean()
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/adapters.py ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """The G1 evaluation adapters of the baselines (evaluation/README.md#the-model-interface): `make_model('fm_dit')`
2
+ returns the `Model` class that `evaluation/policy/FMDiT/model.py` exports (likewise DP, ACT, FLASH).
3
+
4
+ Observation: the current ego_view and chest frames (480x640 RGB, resized as the training cache) and state44; FM-DiT,
5
+ DP and ACT read no past actions or earlier frames (one frame); FLASH also reads the interface's executed rows before
6
+ the query (`past_actions`, `history_valid`: the token sent and the INSPIRE opening measured at each earlier frame)
7
+ for its polynomial history. Output: the checkpoint's whole chunk (16 rows of action76, row 0 executed at the request's
8
+ frame), `execution_steps` rows of it executed before the next query (deploy.yml `config: execution_steps`, default the
9
+ whole chunk; the runners re-query after at most 12 rows), the request's seed for the sampling noise (FM-DiT, DP).
10
+ """
11
+ from __future__ import annotations
12
+
13
+ from .runtime import BaselinePolicy
14
+
15
+ WIDTH = {'sonic_dfx6': 76}
16
+
17
+
18
+ def require(condition, message):
19
+ if not condition:
20
+ raise RuntimeError(message)
21
+
22
+
23
+ def make_model(policy_name: str):
24
+ class Model:
25
+ history_length = 1 # the current head and chest frames only
26
+ video_frames = 0
27
+
28
+ def __init__(self, cfg):
29
+ self.policy = BaselinePolicy(cfg['checkpoint_path'], device=cfg.get('device', 'cuda:0'),
30
+ policy=policy_name, robot='g1')
31
+ contract = self.policy.contract
32
+ require(cfg['action_space'] in WIDTH and contract['action_space'] == cfg['action_space']
33
+ and self.policy.action_dim == WIDTH[cfg['action_space']] and self.policy.state_dim == 44
34
+ and list(self.policy.cameras) == ['ego_view', 'chest'],
35
+ f"checkpoint contract {contract['name']} does not serve {cfg['action_space']}")
36
+ extra = cfg.get('config') or {}
37
+ if extra.get('check_task', True):
38
+ require(cfg['task'].strip() == (self.policy.task_text or '').strip(),
39
+ f'task text {cfg["task"]!r} is not the training task {self.policy.task_text!r}')
40
+ self.execution_steps = int(extra.get('execution_steps') or self.policy.horizon)
41
+ require(1 <= self.execution_steps <= self.policy.horizon, f'execution_steps {self.execution_steps}')
42
+ self.uses_history = self.policy.name == 'flash'
43
+ self.info = dict(self.policy.info(), execution_steps=self.execution_steps,
44
+ inputs='current frames + state44' + (' + executed-action history' if self.uses_history
45
+ else ''))
46
+
47
+ def get_action(self, obs):
48
+ if self.uses_history:
49
+ action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'],
50
+ past_actions=obs['past_actions'], history_valid=obs['history_valid'])
51
+ else:
52
+ action, _ = self.policy.predict(obs['images'], obs['state'], seed=obs['seed'])
53
+ return dict(action=action, execution_steps=self.execution_steps,
54
+ sampling_steps=self.policy.sampling_steps)
55
+
56
+ Model.__name__ = Model.__qualname__ = f'Model_{policy_name}'
57
+ return Model
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_adapter.py ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Offline check of the FLASH adapter against the training path on recorded frames (before any closed-loop run):
2
+
3
+ <baselines env>/bin/python -I evaluation/baselines/check_flash_adapter.py --checkpoint <checkpoints/step-NNNNNN> \\
4
+ --dataset <LeRobot v2.1 root> --episodes 0,60 --queries 8 [--device cuda:0]
5
+
6
+ For query frames t of each episode (0, then evenly spaced) it builds
7
+ (a) the interface observation a runner sends: the 480x640 ego_view / chest frames (decoded from the dataset videos),
8
+ state44 and past_actions = the 40 recorded action rows before t (history_valid 0 before the episode start), and
9
+ calls evaluation/policy/FLASH/model.py Model.get_action, the deployed adapter;
10
+ (b) the training path: FlashChunkDataset's item for the same anchor (frames resized as the frame cache, the dataset's
11
+ history rule) through FlashPolicy.predict.
12
+ Both chunks must be equal bit for bit (same weights, same device); it also prints the normalized MSE of the chunk
13
+ against the recorded rows from t (rows past the episode's end excluded). Exits 1 on a mismatch.
14
+ """
15
+ from __future__ import annotations
16
+
17
+ import argparse
18
+ import json
19
+ from pathlib import Path
20
+ import sys
21
+
22
+ import numpy as np
23
+
24
+ HERE = Path(__file__).resolve().parent
25
+ EVALUATION = HERE.parent
26
+ if str(EVALUATION) not in sys.path:
27
+ sys.path.insert(0, str(EVALUATION))
28
+
29
+ HISTORY_ROWS = 40 # the interface's past_actions rows (debug/newton/b6_policy_eval.py HISTORY_ROWS)
30
+
31
+
32
+ def decode(path, indices):
33
+ import av
34
+ want, out = set(int(i) for i in indices), {}
35
+ with av.open(str(path)) as container:
36
+ for k, frame in enumerate(container.decode(video=0)):
37
+ if k in want:
38
+ out[k] = frame.to_ndarray(format='rgb24')
39
+ if len(out) == len(want):
40
+ break
41
+ return out
42
+
43
+
44
+ def main():
45
+ p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
46
+ p.add_argument('--checkpoint', type=Path, required=True)
47
+ p.add_argument('--dataset', type=Path, required=True)
48
+ p.add_argument('--episodes', default='0')
49
+ p.add_argument('--queries', type=int, default=8)
50
+ p.add_argument('--device', default='cuda:0')
51
+ a = p.parse_args()
52
+
53
+ import torch
54
+ from baselines.data import CONTRACTS, FlashChunkDataset, LeRobotDataset, load_lowdim, resize_frame
55
+ from baselines.runtime import BaselinePolicy
56
+ sys.path.insert(0, str(EVALUATION / 'policy' / 'FLASH'))
57
+ import model as flash_model
58
+
59
+ base = BaselinePolicy(a.checkpoint, device=a.device, policy='flash', robot='g1')
60
+ contract = CONTRACTS[base.contract['name']]
61
+ adapter = flash_model.Model(dict(checkpoint_path=str(a.checkpoint), device=a.device, action_space='sonic_dfx6',
62
+ task=base.task_text or '', config={}))
63
+ policy = adapter.policy.model # the adapter's own loaded weights
64
+ dataset = LeRobotDataset(a.dataset)
65
+ episodes = [int(e) for e in a.episodes.split(',')]
66
+ lowdim = load_lowdim(dataset, contract, episodes)
67
+ report, worst = [], 0.0
68
+ for pos, ep in enumerate(episodes):
69
+ s, n = int(lowdim['starts'][pos]), int(lowdim['lengths'][pos])
70
+ ts = sorted({0, *np.linspace(0, n - 1, a.queries).astype(int).tolist()})[:a.queries]
71
+ frames = {c: decode(dataset.video(ep, c), ts) for c in base.cameras}
72
+ hw = base.image_hw
73
+ maps = {c: np.zeros((lowdim['lengths'].sum(), *hw, 3), np.uint8) for c in base.cameras}
74
+ for t in ts:
75
+ for c in base.cameras:
76
+ maps[c][s + t] = resize_frame(frames[c][t], hw) # the frame cache's resize of the same frame
77
+ f = policy.flash
78
+ H_ext = f['poly_prefix'] + f['n_action'] + f['poly_suffix'] + 2 * f['fit_pad']
79
+ offsets = (np.arange(H_ext) - (f['fit_pad'] + f['poly_prefix'])) * f['stride']
80
+ ds = FlashChunkDataset(lowdim, {}, base.cameras, hw, [pos], offsets=offsets, stride=f['stride'],
81
+ n_history=f['n_history'], rows=f['rows'], with_dense=True)
82
+ ds._maps, ds._pid = maps, __import__('os').getpid()
83
+ for t in ts:
84
+ k = int(np.nonzero(ds.index == s + t)[0][0])
85
+ images, state, _, hist, has, dense, dense_valid = ds[k]
86
+ idx = np.arange(t - HISTORY_ROWS, t)
87
+ past = lowdim['action'][s + np.clip(idx, 0, n - 1)].astype(np.float32)
88
+ valid = (idx >= 0).astype(np.float32)
89
+ past[idx < 0] = 0.0
90
+ obs = dict(images={c: frames[c][t] for c in base.cameras}, state=lowdim['state'][s + t],
91
+ past_actions=past, history_valid=valid, seed=0, frame=t, history_frame=t)
92
+ a_chunk = adapter.get_action(obs)['action']
93
+ with torch.inference_mode():
94
+ img = images[None].to(a.device).permute(0, 1, 4, 2, 3).float().div_(255.)
95
+ b_chunk, _ = policy.predict(img, state[None].to(a.device), hist[None].to(a.device),
96
+ has[None].to(a.device))
97
+ b_chunk = b_chunk[0].float().cpu().numpy()
98
+ diff = float(np.abs(a_chunk - b_chunk).max())
99
+ worst = max(worst, diff)
100
+ nrm = policy.action_norm
101
+ err = (nrm.normalize(torch.from_numpy(a_chunk).to(a.device)) -
102
+ nrm.normalize(dense.to(a.device))).pow(2).cpu().numpy()[dense_valid.numpy()]
103
+ report.append(dict(episode=ep, t=t, has_history=bool(has), max_abs_diff=diff,
104
+ nmse_vs_recorded=float(err.mean()),
105
+ token_cos_row0=float(np.dot(a_chunk[0, :64], dense[0, :64].numpy()) /
106
+ (np.linalg.norm(a_chunk[0, :64]) *
107
+ np.linalg.norm(dense[0, :64].numpy()) + 1e-12))))
108
+ ok = worst == 0.0
109
+ print(json.dumps(dict(ok=ok, max_abs_diff=worst, checkpoint=str(a.checkpoint), queries=report), indent=1))
110
+ sys.exit(0 if ok else 1)
111
+
112
+
113
+ if __name__ == '__main__':
114
+ main()
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/check_flash_parity.py ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Check the FLASH port (evaluation/baselines/flash.py) against the upstream policy, on the CPU:
2
+
3
+ <baselines env>/bin/python -I evaluation/baselines/check_flash_parity.py --upstream <FLASH-Policy checkout>
4
+
5
+ Upstream is NTUMARS/FLASH-Policy @ f47e490 (roboverse_learn/il/...); its `zarr` and `einops` imports are shimmed
6
+ when the environment lacks them (only the parts used here run). Compared, for flash.yaml's settings with n_obs_steps =
7
+ n_history (8), n_action_steps 8, horizon 16:
8
+
9
+ - the polynomial buffers: least-squares matrix, coefficient scales, Tikhonov history fit, KKT boundary-constraint
10
+ matrices and pinned indices;
11
+ - target coefficients (least squares + boundary constraint) and history coefficients on random normalized
12
+ trajectories (identity normalizers on both sides);
13
+ - the DiT: upstream FlowTransformer's weights loaded strictly into FlashFlowTransformer, same outputs;
14
+ - the image encoder: upstream MultiImageObsEncoder (two rgb keys, agent_pos) with this port's weights, same features
15
+ (upstream concatenates its rgb keys in sorted order);
16
+ - the 30 Hz output rows: at multiples of the stride they equal upstream's trajectory points from the anchor.
17
+ Prints one JSON line with the largest differences; exits 1 when one exceeds its tolerance.
18
+ """
19
+ from __future__ import annotations
20
+
21
+ import argparse
22
+ import json
23
+ from pathlib import Path
24
+ import sys
25
+ import types
26
+
27
+ import torch
28
+
29
+ HERE = Path(__file__).resolve().parent
30
+ if str(HERE.parent) not in sys.path:
31
+ sys.path.insert(0, str(HERE.parent))
32
+
33
+
34
+ def shim_upstream_imports():
35
+ try:
36
+ import zarr # noqa: F401
37
+ except ImportError:
38
+ zarr = types.ModuleType('zarr')
39
+ zarr.Array = type('Array', (), {})
40
+ sys.modules['zarr'] = zarr
41
+ try:
42
+ import einops # noqa: F401
43
+ except ImportError:
44
+ einops = types.ModuleType('einops')
45
+ einops.reduce = lambda x, pattern, op: x.reshape(x.shape[0], -1) # "b ... -> b (...)" (no reduced axis)
46
+ sys.modules['einops'] = einops
47
+
48
+
49
+ def main():
50
+ p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
51
+ p.add_argument('--upstream', type=Path, required=True, help='FLASH-Policy checkout (commit f47e490)')
52
+ p.add_argument('--stride', type=int, default=2)
53
+ a = p.parse_args()
54
+ shim_upstream_imports()
55
+ sys.path.insert(0, str(a.upstream.resolve()))
56
+ from roboverse_learn.il.policies.flash.flash_policy import FlashDiTImagePolicy
57
+ from roboverse_learn.il.utils.models.flow_net import FlowTransformer
58
+ from roboverse_learn.il.utils.vision.model_getter import get_resnet
59
+ from roboverse_learn.il.utils.vision.multi_image_obs_encoder import MultiImageObsEncoder
60
+ from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS, FlashFlowTransformer
61
+ from baselines.policies import PolicyConfig, build_policy
62
+
63
+ torch.manual_seed(0)
64
+ Da, Ds, H, W = 76, 44, 48, 64
65
+ f = dict(FLASH_DEFAULTS, stride=a.stride)
66
+ cfg = PolicyConfig.from_dict(dict(policy='flash', n_cameras=2, state_dim=Ds, action_dim=Da, horizon=f['rows'],
67
+ **FLASH_POLICY_FIELDS, extra=dict(flash=f)))
68
+ ours = build_policy(cfg, pretrained=False).eval()
69
+ shape_meta = dict(obs=dict(ego_view=dict(shape=[3, H, W], type='rgb'), chest=dict(shape=[3, H, W], type='rgb'),
70
+ agent_pos=dict(shape=[Ds], type='low_dim')), action=dict(shape=[Da]))
71
+ enc = MultiImageObsEncoder(shape_meta=shape_meta, rgb_model=get_resnet('resnet18', weights=None),
72
+ resize_shape=None, crop_shape=None, random_crop=True, use_group_norm=True,
73
+ share_rgb_model=False, imagenet_norm=True)
74
+ up = FlashDiTImagePolicy(shape_meta=shape_meta, obs_encoder=enc, horizon=f['n_history'] + f['n_action'],
75
+ n_action_steps=f['n_action'], n_obs_steps=f['n_history'], num_inference_steps=1,
76
+ obs_as_global_cond=True, diffusion_step_embed_dim=256, hidden_dim=512, num_layers=4,
77
+ num_heads=8, mlp_ratio=4, dropout=0.0, poly_order=f['poly_order'], basis_type='legendre',
78
+ fit_pad=f['fit_pad'], boundary_constraint=f['boundary_constraint'],
79
+ history_noise_std=f['history_noise_std'], history_reg_lambda=f['history_reg_lambda'],
80
+ consistency_weight=f['consistency_weight'], flash_solver='euler',
81
+ poly_prefix=f['poly_prefix'], poly_suffix=f['poly_suffix']).eval()
82
+ res, tol = {}, {}
83
+
84
+ def diff(name, x, y, t):
85
+ res[name] = float((x.double() - y.double()).abs().max())
86
+ tol[name] = t
87
+
88
+ for b in ('_lstsq_matrix', '_coeff_scale', '_history_lstsq_matrix', '_bc_eval_pos', '_bc_eval_vel',
89
+ '_bc_correction'):
90
+ diff(b, getattr(ours, b), getattr(up, b), 1e-6)
91
+ res['_bc_pos_indices_equal'] = bool(torch.equal(ours._bc_pos_indices, up._bc_pos_indices))
92
+
93
+ # identity normalizers on both sides: compare the polynomial algebra itself
94
+ B = 6
95
+ traj = torch.randn(B, ours.H_ext, Da)
96
+ hist = torch.randn(B, f['n_history'], Da)
97
+ with torch.no_grad():
98
+ t_up = up._apply_boundary_constraint(up._trajectory_to_coefficients(traj), traj)
99
+ t_ours = ours._apply_boundary_constraint(ours._to_coeff(traj), traj)
100
+ diff('target_coeff', t_ours, t_up, 1e-4)
101
+ h_up = up._history_to_coefficients(hist)
102
+ h_ours = torch.einsum('ch,bhd->bcd', ours._history_lstsq_matrix, hist) / ours._coeff_scale
103
+ diff('history_coeff', h_ours, h_up, 1e-5)
104
+
105
+ # DiT: upstream weights into the port
106
+ dit_up = FlowTransformer(input_dim=Da, condition_dim=300, hidden_dim=512, output_dim=Da, num_layers=4,
107
+ num_heads=8, mlp_ratio=4, dropout=0.0, time_embed_dim=256).eval()
108
+ dit_ours = FlashFlowTransformer(input_dim=Da, condition_dim=300, hidden_dim=512, output_dim=Da, num_layers=4,
109
+ num_heads=8, mlp_ratio=4, dropout=0.0, time_embed_dim=256).eval()
110
+ dit_ours.load_state_dict(dit_up.state_dict(), strict=True)
111
+ x, t, c = torch.randn(B, ours.num_coeff, Da), torch.rand(B), torch.randn(B, 300)
112
+ diff('dit', dit_ours(x, t, c), dit_up(x, t, c), 1e-5)
113
+
114
+ # encoder: the port's ResNets into upstream's per-key models (sorted keys: chest, ego_view)
115
+ for i, cam in enumerate(('ego_view', 'chest')):
116
+ enc.key_model_map[cam].load_state_dict(ours.obs_encoder.rgb[i].state_dict(), strict=True)
117
+ imgs, state_n = torch.rand(B, 2, 3, H, W), torch.rand(B, Ds) * 2 - 1
118
+ f_ours = ours.obs_encoder(imgs, state_n)
119
+ f_up = enc({'ego_view': imgs[:, 0] * 2 - 1, 'chest': imgs[:, 1] * 2 - 1, 'agent_pos': state_n})
120
+ n = 512
121
+ f_up_reordered = torch.cat([f_up[:, n:2 * n], f_up[:, :n], f_up[:, 2 * n:]], dim=-1) # chest|ego -> ego|chest
122
+ diff('encoder', f_ours, f_up_reordered, 1e-4)
123
+
124
+ # 30 Hz rows from the anchor vs upstream's points: identity normalizer on ours
125
+ ours.action_norm.scale.fill_(1.0)
126
+ ours.action_norm.offset.zero_()
127
+ coeff = torch.randn(B, ours.num_coeff, Da)
128
+ dense = ours.dense_from_coeff(coeff)
129
+ sparse = up._coefficients_to_trajectory(coeff) # (B, H_poly, Da), anchor at up._anchor_idx
130
+ k = torch.arange(0, ours.rows, a.stride)
131
+ j = up._anchor_idx + k // a.stride
132
+ diff('dense_vs_upstream_points', dense[:, k], sparse[:, j], 1e-4)
133
+ bad = {k: v for k, v in res.items() if k in tol and v > tol[k]}
134
+ ok = not bad and res['_bc_pos_indices_equal']
135
+ print(json.dumps(dict(ok=ok, max_abs_diff=res, tolerance=tol, stride=a.stride,
136
+ upstream_anchor_idx=int(up._anchor_idx), port_anchor=int(ours.anchor))), flush=True)
137
+ sys.exit(0 if ok else 1)
138
+
139
+
140
+ if __name__ == '__main__':
141
+ main()
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/data.py ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Training data of the baselines: a task's LeRobot v2.1 expert dataset read through a robot contract.
2
+
3
+ A contract names the cameras and which dataset columns form the policy state and the action rows, the same layouts
4
+ the registered GR00T / Psi0 checkpoints were trained on:
5
+
6
+ - `g1_sonic_dfx6` (G1 + INSPIRE, the evaluation/README.md interface; ego_view, chest): state44 =
7
+ `observation.state[0:29]` body, measured `observation.inspire_{left,right}_hand_state`,
8
+ `observation.projected_gravity`; action76 (`sonic_dfx6`) = `action.motion_token` 64 and the measured DFX6 of the
9
+ same row (row 0 = the current opening);
10
+ - `h2_sharpa` (H2 + Sharpa, debug/newton/h2_sharpa_policy_eval.py; head, chest): state78 = `observation.state` 75,
11
+ `observation.projected_gravity` 3; action75 = `action.body_target` 31, `action.hands` 44 (absolute targets);
12
+ - `h2_sharpa_planner` (H2 + Sharpa a14 v2, h2_policy_planner_eval.py; head, chest): state78; action82 = action75 +
13
+ `action.planner` 7.
14
+
15
+ Frames: every camera's video is decoded once (PyAV), each frame resized with `resize_frame` (OpenCV INTER_AREA, the
16
+ same function the policy runtime applies to live frames) and stored as a uint8 memory map in a cache directory keyed by
17
+ the dataset, episodes, camera and size. A training sample is the frame t of an episode: the cameras and the state at t,
18
+ and the action rows t..t+horizon-1 (rows past the episode's end repeat its last row, as DextraVerse's windows).
19
+ """
20
+ from __future__ import annotations
21
+
22
+ from dataclasses import dataclass
23
+ import hashlib
24
+ import json
25
+ import os
26
+ from pathlib import Path
27
+ import sys
28
+
29
+ import numpy as np
30
+
31
+ CACHE_VERSION = 1
32
+
33
+
34
+ @dataclass(frozen=True)
35
+ class Contract:
36
+ name: str
37
+ robot: str
38
+ cameras: tuple
39
+ state: tuple # ((column, start, end), ...) concatenated in order
40
+ action: tuple
41
+ action_space: str | None = None # the G1 evaluation interface's action space, if any
42
+ body_dims: int = 0 # leading raw-radian body joint angles of the state (augmentation spec v2 perturbs these)
43
+
44
+ @property
45
+ def state_dim(self) -> int:
46
+ return sum(end - start for _, start, end in self.state)
47
+
48
+ @property
49
+ def action_dim(self) -> int:
50
+ return sum(end - start for _, start, end in self.action)
51
+
52
+ def to_dict(self, cameras=None) -> dict:
53
+ return dict(name=self.name, robot=self.robot, cameras=list(cameras or self.cameras),
54
+ state=[list(s) for s in self.state], action=[list(a) for a in self.action],
55
+ state_dim=self.state_dim, action_dim=self.action_dim, action_space=self.action_space,
56
+ body_dims=self.body_dims)
57
+
58
+
59
+ _G1_HANDS = (('observation.inspire_left_hand_state', 0, 6), ('observation.inspire_right_hand_state', 0, 6))
60
+ _H2_STATE = (('observation.state', 0, 75), ('observation.projected_gravity', 0, 3))
61
+ _H2_ACTION = (('action.body_target', 0, 31), ('action.hands', 0, 44))
62
+ # body_dims: G1 observation.state[0:29] are the 29 body joints; H2 observation.state[0:31] are legs 6+6, waist 3,
63
+ # head 2, arms 7+7 (docs/unitree_h2_sharpa.md), then the Sharpa hands.
64
+ CONTRACTS = {c.name: c for c in (
65
+ Contract('g1_sonic_dfx6', 'g1', ('ego_view', 'chest'),
66
+ (('observation.state', 0, 29), *_G1_HANDS, ('observation.projected_gravity', 0, 3)),
67
+ (('action.motion_token', 0, 64), *_G1_HANDS), action_space='sonic_dfx6', body_dims=29),
68
+ Contract('h2_sharpa', 'h2_sharpa', ('head', 'chest'), _H2_STATE, _H2_ACTION, body_dims=31),
69
+ Contract('h2_sharpa_planner', 'h2_sharpa', ('head', 'chest'), _H2_STATE,
70
+ (*_H2_ACTION, ('action.planner', 0, 7)), body_dims=31),
71
+ )}
72
+
73
+
74
+ def augmentation_module():
75
+ """evaluation/augmentation: the augmentation spec v2 shared by every model's training (imported on demand)."""
76
+ evaluation = str(Path(__file__).resolve().parents[1])
77
+ if evaluation not in sys.path:
78
+ sys.path.insert(0, evaluation)
79
+ import augmentation
80
+ return augmentation
81
+
82
+
83
+ def resize_frame(frame: np.ndarray, hw) -> np.ndarray:
84
+ """(H, W, 3) uint8 RGB -> (h, w, 3) uint8, OpenCV INTER_AREA (training cache and live frames alike)."""
85
+ import cv2
86
+ frame = np.ascontiguousarray(frame, dtype=np.uint8)
87
+ if frame.ndim != 3 or frame.shape[2] != 3:
88
+ raise ValueError(f'expected an (H, W, 3) RGB frame, got {frame.shape}')
89
+ h, w = int(hw[0]), int(hw[1])
90
+ if frame.shape[:2] == (h, w):
91
+ return frame
92
+ return cv2.resize(frame, (w, h), interpolation=cv2.INTER_AREA)
93
+
94
+
95
+ class LeRobotDataset:
96
+ """A LeRobot v2.1 dataset directory (meta/info.json, meta/episodes.jsonl, data/, videos/)."""
97
+
98
+ def __init__(self, root):
99
+ self.root = Path(root).expanduser().resolve()
100
+ self.info = json.loads((self.root / 'meta/info.json').read_text())
101
+ if self.info.get('codebase_version') != 'v2.1':
102
+ raise ValueError(f"{self.root}: LeRobot {self.info.get('codebase_version')}, expected v2.1")
103
+ rows = [json.loads(line) for line in (self.root / 'meta/episodes.jsonl').read_text().splitlines() if line]
104
+ self.lengths = {int(r['episode_index']): int(r['length']) for r in rows}
105
+ tasks = [json.loads(line) for line in (self.root / 'meta/tasks.jsonl').read_text().splitlines() if line]
106
+ self.tasks = {int(t['task_index']): t['task'] for t in tasks}
107
+ self.fps = float(self.info['fps'])
108
+
109
+ @property
110
+ def name(self) -> str:
111
+ """The dataset's folder name (its parent's for an export folder named `lerobot`)."""
112
+ return self.root.parent.name if self.root.name == 'lerobot' else self.root.name
113
+
114
+ def chunk(self, episode: int) -> int:
115
+ return episode // int(self.info['chunks_size'])
116
+
117
+ def parquet(self, episode: int) -> Path:
118
+ return self.root / self.info['data_path'].format(episode_chunk=self.chunk(episode), episode_index=episode)
119
+
120
+ def video(self, episode: int, camera: str) -> Path:
121
+ return self.root / self.info['video_path'].format(episode_chunk=self.chunk(episode), episode_index=episode,
122
+ video_key=f'observation.images.{camera}')
123
+
124
+ def check_contract(self, contract: Contract, cameras):
125
+ features = self.info['features']
126
+ for column, start, end in (*contract.state, *contract.action):
127
+ if column not in features:
128
+ raise KeyError(f'{self.root.name}: no column {column!r} (contract {contract.name})')
129
+ width = int(np.prod(features[column]['shape']))
130
+ if end > width:
131
+ raise ValueError(f'{column} has {width} values; the contract reads {start}:{end}')
132
+ for camera in cameras:
133
+ key = f'observation.images.{camera}'
134
+ if features.get(key, {}).get('dtype') != 'video':
135
+ raise KeyError(f'{self.root.name}: no video {key!r}')
136
+
137
+
138
+ def parse_episodes(spec: str | None, available) -> list:
139
+ """'0:100', '0,3,7' or None (all), restricted to the dataset's episodes, sorted."""
140
+ available = sorted(available)
141
+ if not spec:
142
+ return available
143
+ chosen = set()
144
+ for part in spec.split(','):
145
+ if ':' in part:
146
+ lo, hi = part.split(':')
147
+ chosen.update(range(int(lo or 0), int(hi) if hi else available[-1] + 1))
148
+ else:
149
+ chosen.add(int(part))
150
+ missing = sorted(chosen - set(available))
151
+ if missing:
152
+ raise ValueError(f'episodes not in the dataset: {missing[:10]}')
153
+ return sorted(chosen)
154
+
155
+
156
+ def load_lowdim(dataset: LeRobotDataset, contract: Contract, episodes) -> dict:
157
+ """State (N, state_dim) and action (N, action_dim) float32 of the episodes in order, plus each episode's start
158
+ row, length and task text."""
159
+ import pyarrow.parquet as pq
160
+ columns = sorted({c for c, _, _ in (*contract.state, *contract.action)} | {'frame_index', 'task_index'})
161
+ states, actions, starts, lengths, tasks, offset = [], [], [], [], set(), 0
162
+ for episode in episodes:
163
+ table = pq.read_table(dataset.parquet(episode), columns=columns)
164
+ data = {c: np.asarray(table.column(c).to_pylist(), dtype=np.float64) for c in columns}
165
+ n = len(data['frame_index'])
166
+ if n != dataset.lengths[episode] or not np.array_equal(data['frame_index'], np.arange(n)):
167
+ raise ValueError(f'episode {episode}: {n} rows / frame_index differ from episodes.jsonl')
168
+
169
+ def pick(spec):
170
+ return np.concatenate([data[c].reshape(n, -1)[:, s:e] for c, s, e in spec], axis=1).astype(np.float32)
171
+
172
+ states.append(pick(contract.state))
173
+ actions.append(pick(contract.action))
174
+ tasks.update(dataset.tasks[int(i)] for i in np.unique(data['task_index']))
175
+ starts.append(offset)
176
+ lengths.append(n)
177
+ offset += n
178
+ state, action = np.concatenate(states), np.concatenate(actions)
179
+ if not (np.isfinite(state).all() and np.isfinite(action).all()):
180
+ raise ValueError('non-finite state or action values')
181
+ return dict(state=state, action=action, starts=np.asarray(starts), lengths=np.asarray(lengths),
182
+ episodes=list(episodes), tasks=sorted(tasks))
183
+
184
+
185
+ def statistics(lowdim: dict, rows: np.ndarray) -> dict:
186
+ out = {}
187
+ for key in ('state', 'action'):
188
+ x = lowdim[key][rows].astype(np.float64)
189
+ out[key] = dict(min=x.min(0).tolist(), max=x.max(0).tolist(), mean=x.mean(0).tolist(), std=x.std(0).tolist())
190
+ return out
191
+
192
+
193
+ # -- frame cache --------------------------------------------------------------------------------------------------
194
+ def _decode_into(job):
195
+ path, out_path, total, start, length, hw = job
196
+ import av
197
+ frames = np.memmap(out_path, dtype=np.uint8, mode='r+', shape=(total, hw[0], hw[1], 3))
198
+ count = 0
199
+ with av.open(str(path)) as container:
200
+ stream = container.streams.video[0]
201
+ stream.thread_type = 'AUTO'
202
+ for frame in container.decode(stream):
203
+ if count < length:
204
+ frames[start + count] = resize_frame(frame.to_ndarray(format='rgb24'), hw)
205
+ count += 1
206
+ frames.flush()
207
+ del frames
208
+ if count != length:
209
+ raise ValueError(f'{path}: {count} video frames, {length} data rows')
210
+ return length
211
+
212
+
213
+ def frame_cache(dataset: LeRobotDataset, lowdim: dict, cameras, hw, cache_root, workers=8) -> dict:
214
+ """{camera: path of the (N, h, w, 3) uint8 memory map} for the episodes of `lowdim`, decoded once and reused."""
215
+ from multiprocessing import get_context
216
+ total = int(lowdim['lengths'].sum())
217
+ paths = {}
218
+ for camera in cameras:
219
+ key = json.dumps(dict(version=CACHE_VERSION, root=str(dataset.root), episodes=lowdim['episodes'],
220
+ lengths=lowdim['lengths'].tolist(), camera=camera, hw=list(hw)), sort_keys=True)
221
+ digest = hashlib.sha256(key.encode()).hexdigest()[:16]
222
+ folder = Path(cache_root).expanduser() / f'{dataset.name}_{camera}_{hw[0]}x{hw[1]}_{digest}'
223
+ folder.mkdir(parents=True, exist_ok=True)
224
+ out, meta = folder / 'frames.u8', folder / 'meta.json'
225
+ if meta.exists() and json.loads(meta.read_text()).get('complete'):
226
+ paths[camera] = out
227
+ continue
228
+ np.memmap(out, dtype=np.uint8, mode='w+', shape=(total, hw[0], hw[1], 3)).flush()
229
+ jobs = [(dataset.video(e, camera), out, total, int(s), int(n), tuple(hw))
230
+ for e, s, n in zip(lowdim['episodes'], lowdim['starts'], lowdim['lengths'])]
231
+ with get_context('spawn').Pool(max(1, int(workers))) as pool: # the caller may hold torch threads
232
+ for done, _ in enumerate(pool.imap_unordered(_decode_into, jobs), 1):
233
+ if done % 20 == 0 or done == len(jobs):
234
+ print(json.dumps(dict(event='frame_cache', camera=camera, episodes=done, of=len(jobs))),
235
+ flush=True)
236
+ meta.write_text(json.dumps(dict(json.loads(key), frames=total, complete=True), indent=1))
237
+ paths[camera] = out
238
+ return paths
239
+
240
+
241
+ class ChunkDataset:
242
+ """torch-style dataset of (images (n_cameras, h, w, 3) uint8, state (state_dim,), action (horizon, action_dim))
243
+ over the frames of the selected episodes (positions into lowdim['episodes']). Memory maps open lazily per
244
+ process (DataLoader workers).
245
+
246
+ `body_dims` > 0 turns on the training augmentation (docs/augmentation_v2.md, evaluation/augmentation): per item,
247
+ the cached frames of all cameras get one hb_aug_v2.augment call (one time step, no future targets) and the first
248
+ `body_dims` state values the per-sample joint bias + noise; the action rows are never touched. 0 (evaluation,
249
+ offline checks) returns the cached frames and the recorded state unchanged, deterministically."""
250
+
251
+ def __init__(self, lowdim: dict, frames: dict, cameras, hw, horizon: int, positions, body_dims: int = 0):
252
+ self.lowdim, self.paths, self.cameras, self.hw, self.horizon = lowdim, frames, list(cameras), tuple(hw), horizon
253
+ self.positions, self.body_dims = list(positions), int(body_dims)
254
+ if self.body_dims:
255
+ augmentation_module() # asserts the spec version before any worker starts
256
+ self.total = int(lowdim['lengths'].sum())
257
+ index, end = [], np.zeros(self.total, np.int64)
258
+ for p in positions:
259
+ s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
260
+ index.append(np.arange(s, s + n))
261
+ end[s:s + n] = s + n
262
+ self.index, self.end = np.concatenate(index), end
263
+ self._maps, self._pid = None, None
264
+
265
+ def __len__(self):
266
+ return len(self.index)
267
+
268
+ def _frames(self):
269
+ if self._maps is None or self._pid != os.getpid():
270
+ self._maps = {c: np.memmap(self.paths[c], dtype=np.uint8, mode='r', shape=(self.total, *self.hw, 3))
271
+ for c in self.cameras}
272
+ self._pid = os.getpid()
273
+ return self._maps
274
+
275
+ def rows(self, i: int) -> np.ndarray:
276
+ return np.minimum(np.arange(i, i + self.horizon), self.end[i] - 1)
277
+
278
+ def plain(self):
279
+ """The same items without augmentation (the preflight's reference read)."""
280
+ return ChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.horizon, self.positions)
281
+
282
+ def _observation(self, i: int, rng=None):
283
+ """The cameras (n_cameras, h, w, 3) uint8 and the state of frame i, augmented when body_dims > 0."""
284
+ import torch
285
+ maps = self._frames()
286
+ images = torch.from_numpy(np.stack([maps[c][i] for c in self.cameras]))
287
+ state = self.lowdim['state'][i]
288
+ if self.body_dims:
289
+ augmentation = augmentation_module()
290
+ images, _ = augmentation.augment_frames_uint8(images, rng=rng)
291
+ state = augmentation.perturb_body(state, self.body_dims, rng=rng)
292
+ return images, torch.from_numpy(np.asarray(state, dtype=np.float32))
293
+
294
+ def __getitem__(self, k):
295
+ import torch
296
+ i = int(self.index[k])
297
+ images, state = self._observation(i)
298
+ return images, state, torch.from_numpy(self.lowdim['action'][self.rows(i)])
299
+
300
+
301
+ class FlashChunkDataset(ChunkDataset):
302
+ """FLASH training items (evaluation/baselines/flash.py) over every frame of the selected episodes as the anchor:
303
+ (images, state, poly, history, has_history[, dense, dense_valid]).
304
+
305
+ - images, state: the anchor frame's cameras and state44, augmented as ChunkDataset (spec v2) when body_dims > 0;
306
+ - poly (H_ext, action_dim): the action rows at `offsets` frames from the anchor (the polynomial's extended grid,
307
+ `stride` frames apart), clamped to the episode (FLASH's edge padding);
308
+ - history (n_history, action_dim), has_history: flash.history_rows over the `span` executed rows before the anchor
309
+ (rows before the episode start invalid), the same function the adapter applies to past_actions;
310
+ - dense (rows, action_dim), dense_valid: the recorded 30 Hz rows from the anchor (offline check only).
311
+
312
+ aug_seed: the augmentation random stream is numpy default_rng([aug_seed, torch.initial_seed(), worker id]) per
313
+ DataLoader worker (deterministic for a fixed seed, worker count and sampling order); None uses the shared
314
+ worker_rng (pid + urandom)."""
315
+
316
+ def __init__(self, lowdim, frames, cameras, hw, positions, *, offsets, stride, n_history, rows, body_dims=0,
317
+ aug_seed=None, with_dense=False):
318
+ super().__init__(lowdim, frames, cameras, hw, rows, positions, body_dims=body_dims)
319
+ self.offsets = np.asarray(offsets, dtype=np.int64)
320
+ self.stride, self.n_history, self.n_rows = int(stride), int(n_history), int(rows)
321
+ self.span = (self.n_history - 1) * self.stride + 1
322
+ self.aug_seed, self.with_dense = aug_seed, bool(with_dense)
323
+ start = np.zeros(self.total, np.int64)
324
+ for p in positions:
325
+ s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
326
+ start[s:s + n] = s
327
+ self.start = start
328
+ self._rng_key, self._rng_obj = None, None
329
+
330
+ def plain(self):
331
+ return FlashChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.positions, offsets=self.offsets,
332
+ stride=self.stride, n_history=self.n_history, rows=self.n_rows,
333
+ with_dense=self.with_dense)
334
+
335
+ def _rng(self):
336
+ if self.aug_seed is None or not self.body_dims:
337
+ return None
338
+ import torch
339
+ info = torch.utils.data.get_worker_info()
340
+ wid = info.id if info is not None else 0
341
+ key = (os.getpid(), wid)
342
+ if self._rng_key != key:
343
+ self._rng_obj = np.random.default_rng([int(self.aug_seed), int(torch.initial_seed()), int(wid)])
344
+ self._rng_key = key
345
+ return self._rng_obj
346
+
347
+ def __getitem__(self, k):
348
+ import torch
349
+ from .flash import history_rows
350
+ i = int(self.index[k])
351
+ s0, e1 = int(self.start[i]), int(self.end[i])
352
+ images, state = self._observation(i, rng=self._rng())
353
+ action = self.lowdim['action']
354
+ poly = action[np.clip(i + self.offsets, s0, e1 - 1)]
355
+ past = i - self.span + np.arange(self.span)
356
+ history, has = history_rows(action[np.maximum(past, s0)], past >= s0, self.stride, self.n_history)
357
+ out = [images, state, torch.from_numpy(np.ascontiguousarray(poly)), torch.from_numpy(history),
358
+ torch.tensor(bool(has))]
359
+ if self.with_dense:
360
+ idx = i + np.arange(self.n_rows)
361
+ out += [torch.from_numpy(np.ascontiguousarray(action[np.minimum(idx, e1 - 1)])),
362
+ torch.from_numpy(idx < e1)]
363
+ return tuple(out)
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/flash.py ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """FLASH (Bai et al., "FLASH: Efficient Visuomotor Policy via Sparse Sampling", NeurIPS 2026) behind the baselines
2
+ contract: history-to-future polynomial flow matching with a DiT backbone and one Euler step at inference.
3
+
4
+ Ported from NTUMARS/FLASH-Policy @ f47e490 (Apache-2.0): `roboverse_learn/il/policies/flash/flash_policy.py`
5
+ (`FlashDiTImagePolicy`: basis, least-squares and Tikhonov history fits, KKT C1 boundary constraint, loss, sampler),
6
+ `utils/models/flow_net.py` + `policies/dp/models/diffusion/positional_embedding.py` (the DiT and its torchtune RoPE,
7
+ which differs from the DextraVerse RoPE of nets.py), `utils/vision/multi_image_obs_encoder.py` (one ResNet18 per
8
+ camera, GroupNorm, ImageNet normalization of the range-normalized image) and `configs/policy_config/flash.yaml` +
9
+ `configs/train_config/default_train.yaml` (the defaults below). Architecture, initialization and loss are unchanged.
10
+
11
+ What the humanoid interface changes (owner decisions 2026-11-24, recorded in every checkpoint's config):
12
+
13
+ - **Action space and history.** FLASH fits its flow start to the measured history of the action quantity (Franka
14
+ joint positions). The G1 action76 is the SONIC motion token (64, a latent with no measured counterpart) plus the
15
+ measured INSPIRE openings (12). The history is therefore the *executed* action rows - the token sent at each frame
16
+ and the opening measured at it, the interface's `past_actions` - ending one frame before the query (row t-1: the
17
+ token of frame t is what the policy is asked for). Training reads the same dataset rows. `n_history` points at the
18
+ sampling stride; rows before the episode start repeat its first row (FLASH's edge padding); with no row at all (the
19
+ episode's first frame) the flow starts from the zero coefficients, in training as at deployment.
20
+ - **Sampling stride.** The model's points are `stride` dataset frames apart (30 Hz data: stride 2 = 67 ms, the paper's
21
+ 4 x 15 ms = 60 ms). Every dataset frame is an anchor (FLASH's converter keeps only every stride-th frame: one phase
22
+ of the same sparse data).
23
+ - **Observation.** The current ego_view and chest frames and state44 condition the DiT (n_obs 1); FLASH's 8-frame
24
+ observation history is not rendered by the benchmark runners. state44 is the low-dim encoder input as agent_pos is.
25
+ - **Output.** The polynomial is evaluated at every 30 Hz frame from the anchor (`rows` rows, row 0 = the query frame),
26
+ the analytic form of FLASH's continuous-time resampling, at exact frame times. FLASH's velocity feed-forward has no
27
+ channel in the interface (SONIC takes tokens) and is not produced.
28
+ - Polynomial fits run in float32 outside autocast (FLASH runs them inside its bf16 autocast); the encoder and the
29
+ DiT run under the trainer's bf16 autocast as upstream.
30
+ - Augmentation spec v2 replaces the native image augmentation (FLASH's random_crop is configured but inert without
31
+ crop_shape).
32
+ """
33
+ from __future__ import annotations
34
+
35
+ import copy
36
+
37
+ import numpy as np
38
+ import torch
39
+ import torch.nn as nn
40
+ import torch.nn.functional as F
41
+ import torchvision
42
+
43
+ from .nets import IMAGENET_MEAN, IMAGENET_STD, Mlp, SinusoidalPosEmb, replace_batchnorm_with_groupnorm
44
+
45
+ # configs/policy_config/flash.yaml (+ default_runner.yaml horizon 16 / n_obs 8 / n_action 8), owner 2026-11-24 stride 2
46
+ FLASH_DEFAULTS = dict(stride=2, n_history=8, n_action=8, rows=16, poly_order=6, fit_pad=1, boundary_constraint=True,
47
+ poly_prefix=1, poly_suffix=1, history_noise_std=0.5, history_reg_lambda=0.1,
48
+ consistency_weight=1.0, solver='euler')
49
+ # PolicyConfig fields of a FLASH run (flash.yaml + default_train.yaml): DiT 512 x 4 x 8, dropout 0, time embedding
50
+ # 256, one inference step, ResNet18 from scratch with GroupNorm, one per camera
51
+ FLASH_POLICY_FIELDS = dict(hidden_dim=512, num_layers=4, num_heads=8, mlp_ratio=4.0, dropout=0.0, time_embed_dim=256,
52
+ num_inference_steps=1, backbone='resnet18', backbone_weights=None, backbone_norm='group')
53
+
54
+
55
+ def flash_settings(cfg) -> dict:
56
+ """The FLASH settings of a PolicyConfig (cfg.extra['flash'] over the defaults); unknown keys are an error."""
57
+ given = dict((cfg.extra or {}).get('flash', {}))
58
+ unknown = sorted(set(given) - set(FLASH_DEFAULTS))
59
+ if unknown:
60
+ raise KeyError(f'unknown FLASH settings {unknown}; known: {sorted(FLASH_DEFAULTS)}')
61
+ out = dict(FLASH_DEFAULTS, **given)
62
+ if out['solver'] not in ('euler', 'midpoint'):
63
+ raise ValueError(f"solver {out['solver']!r}")
64
+ if out['poly_prefix'] is None or int(out['poly_prefix']) < 0:
65
+ raise ValueError('this port implements poly_prefix >= 0 (flash.yaml: 1)')
66
+ return out
67
+
68
+
69
+ # --- networks: utils/models/flow_net.py and positional_embedding.py of FLASH-Policy ------------------------------
70
+ class RotaryPosEmbFlash(nn.Module):
71
+ """torchtune RoPE as FLASH builds it: `dim` = the model width, its dim/2 frequencies split over the heads, pairs
72
+ interleaved (x[..., 0::2], x[..., 1::2])."""
73
+
74
+ def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
75
+ super().__init__()
76
+ self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
77
+ theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
78
+ self.register_buffer('theta', theta, persistent=False)
79
+ seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
80
+ idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
81
+ self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
82
+ persistent=False)
83
+
84
+ def forward(self, x): # x: (B, heads, S, head_dim)
85
+ x = x.permute(0, 2, 1, 3)
86
+ B, S, heads, head_dim = x.size()
87
+ rope = self.cache[:S].view(1, S, heads, head_dim // 2, 2)
88
+ xs = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
89
+ out = torch.stack([xs[..., 0] * rope[..., 0] - xs[..., 1] * rope[..., 1],
90
+ xs[..., 1] * rope[..., 0] + xs[..., 0] * rope[..., 1]], -1)
91
+ return out.flatten(3).permute(0, 2, 1, 3).type_as(x)
92
+
93
+
94
+ class FlashAttention(nn.Module):
95
+ def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, max_seq_len=256, qk_norm=True):
96
+ super().__init__()
97
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
98
+ self.num_heads, self.head_dim = num_heads, dim // num_heads
99
+ self.attn_drop = attn_drop
100
+ self.proj_drop = nn.Dropout(proj_drop)
101
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
102
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
103
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
104
+ self.proj = nn.Linear(dim, dim)
105
+ self.rope = RotaryPosEmbFlash(dim, max_seq_len=max_seq_len)
106
+
107
+ def forward(self, x):
108
+ B, S, C = x.shape
109
+ q, k, v = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
110
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
111
+ x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
112
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
113
+
114
+
115
+ class FlashAdaLNBlock(nn.Module):
116
+ def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0, max_seq_len=256):
117
+ super().__init__()
118
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
119
+ self.attn = FlashAttention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout,
120
+ max_seq_len=max_seq_len)
121
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
122
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
123
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
124
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
125
+ self.dim = dim
126
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
127
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
128
+
129
+ def forward(self, x, t, c):
130
+ B = x.shape[0]
131
+ gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
132
+ x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
133
+ return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
134
+
135
+
136
+ class FlashFlowTransformer(nn.Module):
137
+ """FLASH's FlowTransformer: AdaLN DiT over the C coefficient rows (tokens of width action_dim)."""
138
+
139
+ def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
140
+ dropout=0.1, time_embed_dim=256, max_seq_len=256):
141
+ super().__init__()
142
+ self.input_proj = nn.Linear(input_dim, hidden_dim)
143
+ self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
144
+ nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
145
+ self.cond_embed = nn.Linear(condition_dim, hidden_dim)
146
+ self.transformer_blocks = nn.ModuleList(
147
+ [FlashAdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout, max_seq_len=max_seq_len)
148
+ for _ in range(num_layers)])
149
+ self.norm = nn.LayerNorm(hidden_dim)
150
+ self.out_proj = nn.Linear(hidden_dim, output_dim)
151
+
152
+ def basic_init(module):
153
+ if isinstance(module, nn.Linear):
154
+ nn.init.xavier_uniform_(module.weight)
155
+ if module.bias is not None:
156
+ nn.init.constant_(module.bias, 0)
157
+
158
+ self.apply(basic_init)
159
+ nn.init.normal_(self.time_embed[1].weight, std=0.02)
160
+ nn.init.normal_(self.time_embed[3].weight, std=0.02)
161
+
162
+ def forward(self, x, t, global_cond):
163
+ if not torch.is_tensor(t):
164
+ t = torch.tensor(t, device=x.device)
165
+ if t.ndim == 0:
166
+ t = t.expand(x.shape[0])
167
+ x = self.input_proj(x)
168
+ t = self.time_embed(t)
169
+ c = self.cond_embed(global_cond)
170
+ for block in self.transformer_blocks:
171
+ x = block(x, t, c)
172
+ return self.out_proj(self.norm(x))
173
+
174
+
175
+ class FlashObsEncoder(nn.Module):
176
+ """FLASH's MultiImageObsEncoder (share_rgb_model False, use_group_norm, imagenet_norm, no resize / crop): one
177
+ torchvision ResNet (classifier removed) per camera, every copy deep-copied from one initialization, BatchNorm
178
+ replaced by GroupNorm(C // 16) after the copy; each [0, 1] image goes through FLASH's range normalizer (x 2 - 1)
179
+ and then torchvision's ImageNet Normalize, as upstream composes them. Output: the cameras' pooled features in the
180
+ contract's camera order, then the normalized state. (B, n_cameras * 512 + state_dim)."""
181
+
182
+ def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None):
183
+ super().__init__()
184
+ base = getattr(torchvision.models, backbone)(weights=weights)
185
+ base.fc = nn.Identity()
186
+ self.rgb = nn.ModuleList([replace_batchnorm_with_groupnorm(copy.deepcopy(base)) for _ in range(n_cameras)])
187
+ self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
188
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
189
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
190
+ self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
191
+
192
+ def forward(self, images, state):
193
+ """images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
194
+ x = images * 2.0 - 1.0 # get_image_range_normalizer: [0, 1] -> [-1, 1]
195
+ feats = [net((x[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)]
196
+ return torch.cat([*feats, state], dim=-1)
197
+
198
+
199
+ # --- the policy ---------------------------------------------------------------------------------------------------
200
+ def legendre_basis(s: torch.Tensor, degree: int):
201
+ """Shifted Legendre basis on s in [0, 1] and its first / second derivatives (FLASH's _build_legendre_basis)."""
202
+ x = 2 * s - 1
203
+ H, C = len(s), degree + 1
204
+ P = torch.zeros(H, C, dtype=s.dtype)
205
+ dP = torch.zeros(H, C, dtype=s.dtype)
206
+ d2P = torch.zeros(H, C, dtype=s.dtype)
207
+ P[:, 0] = 1.0
208
+ if C > 1:
209
+ P[:, 1] = x
210
+ dP[:, 1] = 1.0
211
+ for n in range(1, C - 1):
212
+ P[:, n + 1] = ((2 * n + 1) * x * P[:, n] - n * P[:, n - 1]) / (n + 1)
213
+ dP[:, n + 1] = ((2 * n + 1) * (P[:, n] + x * dP[:, n]) - n * dP[:, n - 1]) / (n + 1)
214
+ d2P[:, n + 1] = ((2 * n + 1) * (2 * dP[:, n] + x * d2P[:, n]) - n * d2P[:, n - 1]) / (n + 1)
215
+ return P, 2 * dP, 4 * d2P
216
+
217
+
218
+ def history_rows(rows, valid, stride: int, n_history: int):
219
+ """The FLASH history of one query from its executed rows.
220
+
221
+ rows (N, D) and valid (N,): consecutive frames ending at the frame before the query (row N - 1 = t - 1), a valid
222
+ contiguous suffix (the interface's past_actions / history_valid; the dataset's rows before an anchor). Returns
223
+ (history (n_history, D) float32 at frames t-1-(n_history-1-j)*stride, has_history bool): a point before the first
224
+ valid row repeats that row (FLASH's edge padding); with no valid row has_history is False (zero start)."""
225
+ rows = np.asarray(rows, dtype=np.float32)
226
+ valid = np.asarray(valid, dtype=bool).reshape(-1)
227
+ span = (n_history - 1) * stride + 1
228
+ if len(rows) < span or len(valid) != len(rows):
229
+ raise ValueError(f'need >= {span} history rows (stride {stride} x {n_history} points), got {rows.shape}')
230
+ if not valid.any():
231
+ return np.zeros((n_history, rows.shape[1]), np.float32), False
232
+ first = int(np.argmax(valid))
233
+ if not valid[first:].all():
234
+ raise ValueError('history_valid must be a contiguous suffix')
235
+ idx = len(rows) - 1 - (n_history - 1 - np.arange(n_history)) * stride
236
+ return rows[np.maximum(idx, first)].copy(), True
237
+
238
+
239
+ class FlashPolicy(nn.Module):
240
+ """FLASH (FlashDiTImagePolicy) on the baselines contract.
241
+
242
+ Training: compute_loss(images, state, poly, history, has_history) with poly (B, H_ext, Da) the physical action
243
+ rows at the polynomial's extended grid (anchor index fit_pad + poly_prefix, `stride` frames apart, clamped at the
244
+ episode's ends), history (B, n_history, Da) from history_rows. Inference: predict(images, state, history,
245
+ has_history) -> the physical (B, rows, Da) chunk at 30 Hz from the query frame, and the normalized coefficients."""
246
+ name = 'flash'
247
+ backbone_prefix = 'obs_encoder.rgb.'
248
+
249
+ def __init__(self, cfg, init_weights=None):
250
+ super().__init__()
251
+ from .policies import Normalizer
252
+ self.cfg = cfg
253
+ self.state_norm = Normalizer(cfg.state_dim)
254
+ self.action_norm = Normalizer(cfg.action_dim)
255
+ f = self.flash = flash_settings(cfg)
256
+ self.stride, self.n_history, self.n_action = int(f['stride']), int(f['n_history']), int(f['n_action'])
257
+ self.rows, self.poly_order, self.fit_pad = int(f['rows']), int(f['poly_order']), int(f['fit_pad'])
258
+ self.prefix, self.suffix = int(f['poly_prefix']), int(f['poly_suffix'])
259
+ self.boundary_constraint = bool(f['boundary_constraint'])
260
+ self.history_noise_std = float(f['history_noise_std'])
261
+ self.history_reg_lambda = float(f['history_reg_lambda'])
262
+ self.consistency_weight = float(f['consistency_weight'])
263
+ self.solver = f['solver']
264
+ if cfg.horizon != self.rows:
265
+ raise ValueError(f'PolicyConfig.horizon {cfg.horizon} must equal the FLASH output rows {self.rows}')
266
+ C = self.num_coeff = self.poly_order + 1
267
+ H_poly = self.H_poly = self.prefix + self.n_action + self.suffix
268
+ H_ext = self.H_ext = H_poly + 2 * self.fit_pad
269
+ self.anchor = self.fit_pad + self.prefix # anchor index in the extended grid
270
+ last_dense = (self.rows - 1) / self.stride
271
+ if self.prefix + last_dense > H_poly - 1 + 1e-9:
272
+ raise ValueError(f'{self.rows} rows at stride {self.stride} reach past the fitted polynomial')
273
+
274
+ s_ext = torch.linspace(0.0, 1.0, H_ext, dtype=torch.float64)
275
+ s_mid = s_ext[self.fit_pad:self.fit_pad + H_poly] if self.fit_pad > 0 else s_ext
276
+ eval_ext, d1_ext, _ = legendre_basis(s_ext, self.poly_order)
277
+ StS = eval_ext.T @ eval_ext
278
+ lstsq = torch.linalg.solve(StS, eval_ext.T)
279
+ eval_mid, _, _ = legendre_basis(s_mid, self.poly_order)
280
+ coeff_scale = torch.norm(lstsq, dim=1).clamp(min=1e-8)
281
+ self.register_buffer('_lstsq_matrix', lstsq.float())
282
+ self.register_buffer('_coeff_scale', coeff_scale.float().view(1, -1, 1))
283
+ # history fit (flash_policy.py, poly_prefix branch): the first n_history rows of the core grid, Tikhonov
284
+ S_hist = eval_mid.double() if H_poly == self.n_history else eval_mid[:self.n_history, :].double()
285
+ StS_hist = S_hist.T @ S_hist
286
+ if self.history_reg_lambda > 0:
287
+ StS_hist = StS_hist + self.history_reg_lambda * torch.eye(C, dtype=torch.float64)
288
+ self.register_buffer('_history_lstsq_matrix', torch.linalg.solve(StS_hist, S_hist.T).float())
289
+ if self.boundary_constraint: # KKT C1 at the execution start and the next window's start
290
+ idx = [self.fit_pad + self.prefix, self.fit_pad + self.prefix + self.n_action]
291
+ if idx[1] >= H_ext:
292
+ raise ValueError(f'bc_overlap {idx[1]} >= H_ext {H_ext}: increase fit_pad')
293
+ A_pos, A_vel = eval_ext[idx, :], d1_ext[idx, :]
294
+ A = torch.cat([A_pos, A_vel], dim=0)
295
+ StS_inv_AT = torch.linalg.solve(StS, torch.eye(C, dtype=torch.float64)) @ A.T
296
+ self.register_buffer('_bc_eval_pos', A_pos.float())
297
+ self.register_buffer('_bc_eval_vel', A_vel.float())
298
+ self.register_buffer('_bc_correction', (StS_inv_AT @ torch.linalg.inv(A @ StS_inv_AT)).float())
299
+ self.register_buffer('_bc_pos_indices', torch.tensor(idx, dtype=torch.long))
300
+ # the 30 Hz output rows: frame k after the anchor sits at grid index anchor + k / stride
301
+ s_dense = torch.tensor([(self.anchor + k / self.stride) / (H_ext - 1) for k in range(self.rows)],
302
+ dtype=torch.float64)
303
+ self.register_buffer('_dense_eval_matrix', legendre_basis(s_dense, self.poly_order)[0].float())
304
+
305
+ self.obs_encoder = FlashObsEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone, weights=init_weights)
306
+ self.model = FlashFlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
307
+ hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim,
308
+ num_layers=cfg.num_layers, num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio,
309
+ dropout=cfg.dropout, time_embed_dim=cfg.time_embed_dim)
310
+
311
+ def fit_normalizers(self, stats: dict):
312
+ self.state_norm.fit(stats['state']['min'], stats['state']['max'])
313
+ self.action_norm.fit(stats['action']['min'], stats['action']['max'])
314
+
315
+ @property
316
+ def sampling_steps(self) -> int:
317
+ return int(self.cfg.num_inference_steps or 1)
318
+
319
+ @property
320
+ def history_span(self) -> int:
321
+ """Executed rows a query needs: (n_history - 1) * stride + 1."""
322
+ return (self.n_history - 1) * self.stride + 1
323
+
324
+ def extended_offsets(self) -> np.ndarray:
325
+ """Frame offsets from the anchor of the extended polynomial grid (for the training targets)."""
326
+ return (np.arange(self.H_ext) - self.anchor) * self.stride
327
+
328
+ # polynomial operations, float32 and outside autocast ----------------------------------------------------------
329
+ def _to_coeff(self, traj_n):
330
+ return torch.einsum('ch,bhd->bcd', self._lstsq_matrix, traj_n) / self._coeff_scale
331
+
332
+ def _history_coeff(self, history, has_history):
333
+ with torch.autocast(history.device.type, enabled=False):
334
+ h = torch.einsum('ch,bhd->bcd', self._history_lstsq_matrix, self.action_norm.normalize(history.float()))
335
+ h = h / self._coeff_scale
336
+ return torch.where(has_history.view(-1, 1, 1).bool(), h, torch.zeros_like(h))
337
+
338
+ def _apply_boundary_constraint(self, norm_coeff, traj_n):
339
+ raw = norm_coeff * self._coeff_scale
340
+ idx, H = self._bc_pos_indices, traj_n.shape[1]
341
+ cur_pos = torch.einsum('kc,bcd->bkd', self._bc_eval_pos, raw)
342
+ tgt_pos = traj_n[:, idx, :]
343
+ vel = []
344
+ for i in idx.tolist():
345
+ if i + 1 < H:
346
+ v = (traj_n[:, i + 1] - traj_n[:, i - 1]) * (H - 1) / 2
347
+ elif i >= 2:
348
+ v = (3 * traj_n[:, i] - 4 * traj_n[:, i - 1] + traj_n[:, i - 2]) * (H - 1) / 2
349
+ else:
350
+ v = (traj_n[:, i] - traj_n[:, i - 1]) * (H - 1)
351
+ vel.append(v)
352
+ tgt_vel = torch.stack(vel, dim=1)
353
+ cur_vel = torch.einsum('kc,bcd->bkd', self._bc_eval_vel, raw)
354
+ residual = torch.cat([cur_pos - tgt_pos, cur_vel - tgt_vel], dim=1)
355
+ return (raw - torch.einsum('ck,bkd->bcd', self._bc_correction, residual)) / self._coeff_scale
356
+
357
+ def target_coeff(self, poly):
358
+ with torch.autocast(poly.device.type, enabled=False):
359
+ traj_n = self.action_norm.normalize(poly.float())
360
+ coeff = self._to_coeff(traj_n)
361
+ if self.boundary_constraint:
362
+ coeff = self._apply_boundary_constraint(coeff, traj_n)
363
+ return coeff
364
+
365
+ def dense_from_coeff(self, norm_coeff):
366
+ """(B, rows, Da) physical actions at the 30 Hz frames from the anchor."""
367
+ with torch.autocast(norm_coeff.device.type, enabled=False):
368
+ raw = norm_coeff.float() * self._coeff_scale
369
+ return self.action_norm.unnormalize(torch.einsum('hc,bcd->bhd', self._dense_eval_matrix, raw))
370
+
371
+ def condition(self, images, state):
372
+ return self.obs_encoder(images, self.state_norm.normalize(state))
373
+
374
+ # training and inference ------------------------------------------------------------------------------------------
375
+ def compute_loss(self, images, state, poly, history, has_history):
376
+ target = self.target_coeff(poly)
377
+ hist = self._history_coeff(history, has_history)
378
+ if self.training and self.history_noise_std > 0:
379
+ hist = hist + torch.randn_like(hist) * self.history_noise_std
380
+ cond = self.condition(images, state)
381
+ t = torch.rand(target.shape[0], device=target.device)
382
+ te = t.view(-1, 1, 1)
383
+ x_t = (1 - te) * hist + te * target
384
+ loss_fm = F.mse_loss(self.model(x_t, t, cond).float(), target - hist)
385
+ loss, metrics = loss_fm, dict(fm=float(loss_fm.detach()))
386
+ if self.consistency_weight > 0:
387
+ v0 = self.model(hist, torch.zeros_like(t), cond).float()
388
+ loss_c = F.mse_loss(hist + v0, target)
389
+ loss = loss + self.consistency_weight * loss_c
390
+ metrics['consistency'] = float(loss_c.detach())
391
+ return loss, metrics
392
+
393
+ @torch.no_grad()
394
+ def predict_coeff(self, images, state, history, has_history):
395
+ cond = self.condition(images, state)
396
+ x = self._history_coeff(history, has_history)
397
+ times = torch.linspace(0, 1.0, self.sampling_steps + 1)
398
+ for i in range(self.sampling_steps):
399
+ t0 = times[i].view(1).expand(x.shape[0]).to(x.device)
400
+ t1 = times[i + 1].view(1).expand(x.shape[0]).to(x.device)
401
+ dt = (t1 - t0).view(-1, 1, 1)
402
+ if self.solver == 'euler':
403
+ x = x + dt * self.model(x, t0, cond).float()
404
+ else:
405
+ x_mid = x + self.model(x, t0, cond).float() * dt / 2
406
+ x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond).float()
407
+ return x
408
+
409
+ @torch.no_grad()
410
+ def predict(self, images, state, history, has_history, generator=None): # noqa: ARG002 - deterministic
411
+ coeff = self.predict_coeff(images, state, history, has_history)
412
+ return self.dense_from_coeff(coeff), coeff
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/inloop.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """In-training open-loop action MSE of the baselines (owner 2026-11-22: every training of every model measures it while
2
+ it trains; HumanWAM `hb_training/REPRODUCIBILITY.md` section 6).
3
+
4
+ The protocol code is HumanWAM's `hb_training/eval-action-mse` (`hb_inloop_core.InLoop` and `hb_eval_common`), used
5
+ unmodified from the directory given to train.py as --inloop-code; its cache lives under $HB_EVAL_CACHE (default
6
+ $G/eval-action-mse/cache) and is built by its `build_cache.py <task> train10`. Per evaluation: the queries every 16
7
+ frames of the task's `heldout` episodes (`train10` when it has none), the first 16 predicted rows against the
8
+ recorded ones, nMSE over the training-frame std (constant dims excluded), batches of 8 queries seeded
9
+ 1234 + 1000 rank + batch index, every HB_INLOOP_EVERY (250) steps; one json line per evaluation in
10
+ <run>/logs/inloop-mse.jsonl and `HB_INLOOP` lines in the log. Training RNG and module modes are restored after each.
11
+
12
+ The evaluated weights are the ones the run saves (the EMA). Inputs as at deployment: each camera resized like the
13
+ training cache (data.resize_frame), state44, and for FLASH the cached past actions (the up to 16 recorded rows before
14
+ the query: the eval protocol's `past_action`) through the same history rule as the adapter (runtime.BaselinePolicy).
15
+ Before the first step the cache is checked against the run's data: the cached state and action rows of every cached
16
+ episode that the run loaded must equal the run's rows bit for bit.
17
+ """
18
+ from __future__ import annotations
19
+
20
+ import os
21
+ from pathlib import Path
22
+ import sys
23
+
24
+ import numpy as np
25
+
26
+ from .data import resize_frame
27
+
28
+
29
+ def install(code_dir, task, run_dir, get_model, contract, cameras, hw, lowdim, policy_name, lowdim_loader=None):
30
+ """The InLoop object of this run (its evaluate(step, model) is called by train.py), after the cache check."""
31
+ code_dir = Path(code_dir).expanduser().resolve()
32
+ if not (code_dir / 'hb_inloop_core.py').exists():
33
+ raise FileNotFoundError(f'{code_dir}: no hb_inloop_core.py (HumanWAM hb_training/eval-action-mse)')
34
+ if str(code_dir) not in sys.path:
35
+ sys.path.insert(0, str(code_dir))
36
+ import hb_inloop_core as core
37
+ E = core.E
38
+ if core.EVERY <= 0:
39
+ print(f'HB_INLOOP {policy_name} disabled: HB_INLOOP_EVERY={core.EVERY}', flush=True)
40
+ return None
41
+ if task not in E.TASKS:
42
+ raise KeyError(f'task {task!r} is not registered in {code_dir}/hb_eval_common.py TASKS')
43
+ split = core.pick_split(task)
44
+ meta = E.load_meta(task, split)
45
+ lay = E.LAYOUTS[meta['layout']]
46
+ if (lay['state_dim'], lay['action_dim']) != (contract.state_dim, contract.action_dim):
47
+ raise ValueError(f"eval layout {meta['layout']} {lay['state_dim']}/{lay['action_dim']} vs contract "
48
+ f'{contract.name} {contract.state_dim}/{contract.action_dim}')
49
+ missing = [c for c in cameras if c not in meta['cams']]
50
+ if missing:
51
+ raise KeyError(f"cameras {missing} not in the eval cache {meta['cams']}")
52
+ def check(rows, what):
53
+ done = []
54
+ for ep in meta['episodes']: # the cache holds this run's data
55
+ if ep not in rows['episodes']:
56
+ continue
57
+ p = rows['episodes'].index(ep)
58
+ s, n = int(rows['starts'][p]), int(rows['lengths'][p])
59
+ with np.load(E.split_dir(task, split) / f'ep_{ep:06d}.npz') as z:
60
+ same = (np.array_equal(z['state'], rows['state'][s:s + n])
61
+ and np.array_equal(z['action'], rows['action'][s:s + n]))
62
+ if not same:
63
+ raise ValueError(f'eval cache {task}/{split} episode {ep} differs from {what} '
64
+ f'(cache source {meta.get("source")})')
65
+ done.append(ep)
66
+ return done
67
+
68
+ checked = check(lowdim, 'the training data')
69
+ if not checked and lowdim_loader is not None:
70
+ # a held-out split: its episodes are not trained on, so they are checked against the same dataset read
71
+ # through the same contract (2026-11-24, B7 black lead-drop b7td: train 0-99, held out 100-106)
72
+ checked = check(lowdim_loader(list(meta['episodes'])), "this run's dataset (held-out episodes)")
73
+ if not checked:
74
+ raise ValueError(f'no cached episode of {task}/{split} is in this run\'s data: cannot check the cache')
75
+
76
+ import torch
77
+
78
+ def predict(batch, seed):
79
+ model = get_model()
80
+ device = next(model.parameters()).device
81
+ frames = np.stack([np.stack([resize_frame(q['images'][c], hw) for c in cameras]) for q in batch])
82
+ images = torch.from_numpy(frames).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
83
+ state = torch.from_numpy(np.stack([q['state'] for q in batch]).astype(np.float32)).to(device)
84
+ generator = torch.Generator(device=device)
85
+ generator.manual_seed(int(seed))
86
+ extra = ()
87
+ if policy_name == 'flash':
88
+ from .flash import history_rows
89
+ span, hist, has = model.history_span, [], []
90
+ for q in batch:
91
+ past = np.asarray(q['past_action'], np.float32).reshape(-1, contract.action_dim)
92
+ rows = np.zeros((max(span, len(past)), contract.action_dim), np.float32)
93
+ valid = np.zeros(len(rows), bool)
94
+ if len(past):
95
+ rows[-len(past):], valid[-len(past):] = past, True
96
+ h, ok = history_rows(rows[-span:], valid[-span:], model.stride, model.n_history)
97
+ hist.append(h)
98
+ has.append(ok)
99
+ extra = (torch.from_numpy(np.stack(hist)).to(device), torch.tensor(has, device=device))
100
+ pred, _ = model.predict(images, state, *extra, generator=generator)
101
+ return pred.float().cpu().numpy()
102
+
103
+ info = dict(weights='ema', policy=policy_name, cache_checked_episodes=checked,
104
+ inloop_code=str(code_dir), cache=str(E.split_dir(task, split)))
105
+ loop = core.InLoop(policy_name, task, split, Path(run_dir) / 'logs' / 'inloop-mse.jsonl', predict,
106
+ cams=list(cameras), info=info)
107
+ loop.every = core.EVERY
108
+ loop.say(f'{policy_name} installed: task {task} split {split}, every {core.EVERY} steps, cache checked on '
109
+ f'episodes {checked}, code {code_dir}, G={os.environ.get("G", "<default>")}')
110
+ return loop
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/nets.py ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Networks of the FM-DiT and DP (DDPM-DiT) baselines: the AdaLN DiT action backbone and the camera + state encoder.
2
+
3
+ Ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/nets/dit.py`, `layers.py`,
4
+ `positional_embedding.py`, `vision/backbones.py`, `vision/encoder.py`), unchanged in architecture and initialization.
5
+ Left out: the ROVE improvement embedding, the spatial-softmax / R3M / tactile options and the inpainting path (the
6
+ baselines always condition through the global observation feature). Added: the ResNet's normalization choice
7
+ (`get_resnet`): DextraVerse's GroupNorm for a backbone trained from scratch, or BatchNorm frozen at the pretrained
8
+ statistics (the DETR / ACT practice) for an ImageNet-initialized backbone that is fine-tuned with the policy.
9
+ """
10
+ from __future__ import annotations
11
+
12
+ import math
13
+
14
+ import torch
15
+ import torch.nn as nn
16
+ import torch.nn.functional as F
17
+ import torchvision
18
+
19
+ IMAGENET_MEAN = (0.485, 0.456, 0.406)
20
+ IMAGENET_STD = (0.229, 0.224, 0.225)
21
+
22
+
23
+ class SinusoidalPosEmb(nn.Module):
24
+ def __init__(self, dim):
25
+ super().__init__()
26
+ self.dim = dim
27
+
28
+ def forward(self, x):
29
+ half_dim = self.dim // 2
30
+ emb = math.log(10000) / (half_dim - 1)
31
+ emb = torch.exp(torch.arange(half_dim, device=x.device) * -emb)
32
+ emb = x[:, None] * emb[None, :]
33
+ return torch.cat((emb.sin(), emb.cos()), dim=-1)
34
+
35
+
36
+ class RotaryPosEmb(nn.Module):
37
+ """Rotary position embedding over each attention head's (S, head_dim) slice."""
38
+
39
+ def __init__(self, dim):
40
+ super().__init__()
41
+ self.dim = dim
42
+ self.register_buffer('inv_freq', 1.0 / (10000 ** (torch.arange(0, dim, 2).float() / dim)))
43
+
44
+ def forward(self, x): # x: (B, heads, S, head_dim)
45
+ t = torch.arange(x.shape[-2], device=x.device, dtype=self.inv_freq.dtype)
46
+ freqs = torch.outer(t, self.inv_freq.to(x.device))
47
+ emb = torch.cat([freqs, freqs], dim=-1)
48
+ cos, sin = emb.cos()[None, None], emb.sin()[None, None]
49
+ x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2:]
50
+ return x * cos + torch.cat([-x2, x1], dim=-1) * sin
51
+
52
+
53
+ class Mlp(nn.Module):
54
+ """The ViT MLP (timm.layers.Mlp) as DextraVerse's nets/layers.py."""
55
+
56
+ def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0):
57
+ super().__init__()
58
+ out_features = out_features or in_features
59
+ hidden_features = hidden_features or in_features
60
+ self.fc1 = nn.Linear(in_features, hidden_features)
61
+ self.act = act_layer()
62
+ self.drop1 = nn.Dropout(drop)
63
+ self.norm = nn.Identity()
64
+ self.fc2 = nn.Linear(hidden_features, out_features)
65
+ self.drop2 = nn.Dropout(drop)
66
+
67
+ def forward(self, x):
68
+ return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
69
+
70
+
71
+ class Attention(nn.Module):
72
+ def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, qk_norm=True):
73
+ super().__init__()
74
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
75
+ self.num_heads = num_heads
76
+ self.head_dim = dim // num_heads
77
+ self.attn_drop = attn_drop
78
+ self.proj_drop = nn.Dropout(proj_drop)
79
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
80
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
81
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
82
+ self.proj = nn.Linear(dim, dim)
83
+ self.rope = RotaryPosEmb(self.head_dim)
84
+
85
+ def forward(self, x):
86
+ B, S, C = x.shape
87
+ qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
88
+ q, k, v = qkv.unbind(0)
89
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
90
+ x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
91
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
92
+
93
+
94
+ class AdaLNBlock(nn.Module):
95
+ """Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022)."""
96
+
97
+ def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0):
98
+ super().__init__()
99
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
100
+ self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
101
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
102
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
103
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
104
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
105
+ self.dim = dim
106
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
107
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
108
+
109
+ def forward(self, x, t, c):
110
+ B = x.shape[0]
111
+ gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
112
+ x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
113
+ return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
114
+
115
+
116
+ class FlowTransformer(nn.Module):
117
+ """DiT action backbone: AdaLN blocks over the H action tokens, conditioned on time_embed(t) + cond_embed(obs).
118
+
119
+ As DextraVerse, the generic Xavier initialization runs after the blocks' zero init of their AdaLN projection, so
120
+ it is not the full AdaLN-Zero recipe (kept: it is the reference's training behaviour)."""
121
+
122
+ def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
123
+ dropout=0.1, time_embed_dim=256):
124
+ super().__init__()
125
+ self.input_proj = nn.Linear(input_dim, hidden_dim)
126
+ self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
127
+ nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
128
+ self.cond_embed = nn.Linear(condition_dim, hidden_dim)
129
+ self.transformer_blocks = nn.ModuleList(
130
+ [AdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout) for _ in range(num_layers)])
131
+ self.norm = nn.LayerNorm(hidden_dim)
132
+ self.out_proj = nn.Linear(hidden_dim, output_dim)
133
+
134
+ def basic_init(module):
135
+ if isinstance(module, nn.Linear):
136
+ nn.init.xavier_uniform_(module.weight)
137
+ if module.bias is not None:
138
+ nn.init.constant_(module.bias, 0)
139
+
140
+ self.apply(basic_init)
141
+ nn.init.normal_(self.time_embed[1].weight, std=0.02)
142
+ nn.init.normal_(self.time_embed[3].weight, std=0.02)
143
+
144
+ def forward(self, x, t, global_cond):
145
+ if not torch.is_tensor(t):
146
+ t = torch.tensor(t, device=x.device)
147
+ if t.ndim == 0:
148
+ t = t.expand(x.shape[0])
149
+ x = self.input_proj(x)
150
+ t = self.time_embed(t)
151
+ c = self.cond_embed(global_cond)
152
+ for block in self.transformer_blocks:
153
+ x = block(x, t, c)
154
+ return self.out_proj(self.norm(x))
155
+
156
+
157
+ def replace_batchnorm_with_groupnorm(module: nn.Module) -> nn.Module:
158
+ """DextraVerse's use_group_norm: every BatchNorm2d becomes GroupNorm(num_features // 16 groups)."""
159
+ for name, child in module.named_children():
160
+ if isinstance(child, nn.BatchNorm2d):
161
+ setattr(module, name, nn.GroupNorm(num_groups=child.num_features // 16, num_channels=child.num_features))
162
+ else:
163
+ replace_batchnorm_with_groupnorm(child)
164
+ return module
165
+
166
+
167
+ NORMS = ('group', 'frozen_bn')
168
+
169
+
170
+ def get_resnet(name='resnet18', weights=None, norm='group') -> nn.Module:
171
+ """A torchvision ResNet with its classifier removed: (N, 3, H, W) -> (N, 512) globally pooled.
172
+
173
+ weights: torchvision weights name (e.g. 'IMAGENET1K_V1') to initialize from, or None (random initialization;
174
+ a checkpoint load supplies every weight). norm: 'group' replaces every BatchNorm with GroupNorm (DextraVerse's
175
+ use_group_norm, for training from scratch: pretrained BatchNorm statistics and affine are dropped); 'frozen_bn'
176
+ keeps BatchNorm frozen at its (pretrained) running statistics and affine, the convolutions fine-tune."""
177
+ if norm == 'frozen_bn':
178
+ from .act_nets import FrozenBatchNorm2d
179
+ resnet = getattr(torchvision.models, name)(weights=weights, norm_layer=FrozenBatchNorm2d)
180
+ elif norm == 'group':
181
+ resnet = replace_batchnorm_with_groupnorm(getattr(torchvision.models, name)(weights=weights))
182
+ else:
183
+ raise ValueError(f'norm must be one of {NORMS}, got {norm!r}')
184
+ resnet.fc = nn.Identity()
185
+ return resnet
186
+
187
+
188
+ class ImageStateEncoder(nn.Module):
189
+ """DextraVerse MultiImageObsEncoder as configured for FM-DiT / DDPM-DiT: one ResNet shared by every camera
190
+ (share_rgb_model; `get_resnet` weights and norm), ImageNet normalization of the [0, 1] images, the pooled features
191
+ of each camera in the contract's camera order, then the normalized state.
192
+ Output (B, n_cameras * 512 + state_dim)."""
193
+
194
+ def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None, norm='group'):
195
+ super().__init__()
196
+ self.rgb = get_resnet(backbone, weights=weights, norm=norm)
197
+ self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
198
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
199
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
200
+ self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
201
+
202
+ def forward(self, images, state):
203
+ """images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
204
+ B = images.shape[0]
205
+ x = (images.flatten(0, 1) - self.mean) / self.std
206
+ features = self.rgb(x).reshape(B, -1) # camera features side by side, in camera order
207
+ return torch.cat([features, state], dim=-1)
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/policies.py ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """The baseline policies behind one contract; the first three ported from DextraVerse's imitation-learning core:
2
+
3
+ - `fm_dit`, `FMDiTPolicy` (reference: dextraverse/algorithms/il/models/fm_dit.py + fm_base.py): flow matching, MSE on
4
+ the velocity `a - noise`; sampled with 10 midpoint steps from noise (20 DiT calls);
5
+ - `dp`, `DPPolicy` (ddpm_dit.py + ddpm_base.py: Diffusion Policy with a DiT backbone): DDPM epsilon MSE over 100
6
+ steps; sampled with the 100 DDPM steps;
7
+ - `act`, `ACTPolicy` (act.py + nets/act/): L1 + `kl_weight` x KL of the CVAE; decoded from the zero latent in one pass;
8
+ - `flash`, `flash.FlashPolicy` (NTUMARS/FLASH-Policy @ f47e490): polynomial-coefficient flow from the fitted history
9
+ of the executed actions to the future, one Euler step; its contract adds the history (flash.py's docstring).
10
+
11
+ Contract (every policy): `compute_loss(images, state, action) -> (loss, metrics)` and
12
+ `predict(images, state, generator) -> (action, normalized action)`; images (B, n_cameras, 3, H, W) float in [0, 1],
13
+ state (B, state_dim) and action (B, horizon, action_dim) in physical units. Each policy owns its `Normalizer`
14
+ (DextraVerse's LinearNormalizer 'limits' mode: state and action to [-1, 1] per dimension, constant dimensions shifted
15
+ to 0), saved in its state dict. One observation frame (n_obs_steps 1: the current images and state); the chunk's row 0
16
+ is the action of the observation's own frame (the LeRobot rows t..t+horizon-1). The configuration that builds a
17
+ policy is a plain dict (`PolicyConfig` fields), stored in the checkpoint.
18
+
19
+ The ResNet18 starts from torchvision's ImageNet-1k weights (`backbone_weights` 'IMAGENET1K_V1', the default since
20
+ 2026-11-16) and is fine-tuned with the policy, its BatchNorm frozen at the pretrained statistics (`backbone_norm`
21
+ 'frozen_bn', as ACT always does); `backbone_weights` None trains from scratch with DextraVerse's GroupNorm encoder
22
+ (FM-DiT, DP) or ACT's frozen-BatchNorm one. A checkpoint load builds the structure without fetching any weights.
23
+ """
24
+ from __future__ import annotations
25
+
26
+ from dataclasses import asdict, dataclass, field, replace
27
+
28
+ import torch
29
+ import torch.nn as nn
30
+ import torch.nn.functional as F
31
+
32
+ from .act_nets import DETRVAE, Transformer, build_backbone, build_style_encoder, kl_divergence
33
+ from .nets import IMAGENET_MEAN, IMAGENET_STD, FlowTransformer, ImageStateEncoder
34
+
35
+
36
+ @dataclass
37
+ class PolicyConfig:
38
+ """Everything that builds a policy (stored in the checkpoint's config.json). Model defaults are DextraVerse's
39
+ configs/algorithm/il/model/{fm_dit,ddpm_dit,act}.yaml."""
40
+ policy: str
41
+ n_cameras: int
42
+ state_dim: int
43
+ action_dim: int
44
+ horizon: int = 16
45
+ backbone: str = 'resnet18'
46
+ backbone_weights: str | None = 'IMAGENET1K_V1' # torchvision weights to initialize from; None = from scratch
47
+ backbone_norm: str | None = None # 'frozen_bn' or 'group'; None: frozen_bn when pretrained or ACT, else group
48
+ # FM-DiT / DP (DiT backbone)
49
+ hidden_dim: int = 384
50
+ num_layers: int = 4
51
+ num_heads: int = 8
52
+ mlp_ratio: float = 4.0
53
+ dropout: float = 0.1
54
+ time_embed_dim: int = 128
55
+ num_inference_steps: int | None = None # None: FM-DiT 10 midpoint steps, DP every training timestep (100)
56
+ # DP noise schedule (diffusers DDPMScheduler)
57
+ num_train_timesteps: int = 100
58
+ beta_schedule: str = 'squaredcos_cap_v2'
59
+ prediction_type: str = 'epsilon'
60
+ clip_sample: bool = True
61
+ # ACT
62
+ act_hidden_dim: int = 512
63
+ dim_feedforward: int = 3200
64
+ enc_layers: int = 4
65
+ dec_layers: int = 7
66
+ nheads: int = 8
67
+ latent_dim: int = 32
68
+ kl_weight: float = 10.0
69
+ extra: dict = field(default_factory=dict)
70
+
71
+ def __post_init__(self):
72
+ if self.backbone_norm is None:
73
+ self.backbone_norm = 'frozen_bn' if self.backbone_weights or self.policy == 'act' else 'group'
74
+ if self.policy == 'act' and self.backbone_norm != 'frozen_bn':
75
+ raise ValueError("ACT's backbone keeps frozen BatchNorm (backbone_norm 'frozen_bn')")
76
+
77
+ @classmethod
78
+ def from_dict(cls, data: dict) -> PolicyConfig:
79
+ known = {k: v for k, v in data.items() if k in cls.__dataclass_fields__}
80
+ return cls(**known)
81
+
82
+ def to_dict(self) -> dict:
83
+ return asdict(self)
84
+
85
+
86
+ class Normalizer(nn.Module):
87
+ """Per-dimension affine map to [-1, 1] from the training data's min/max (DextraVerse LinearNormalizer, mode
88
+ 'limits', fit_offset, range_eps 1e-4): x_n = x * scale + offset; a dimension whose range is below range_eps gets
89
+ scale 1 and maps its value to 0."""
90
+
91
+ def __init__(self, dim: int):
92
+ super().__init__()
93
+ self.register_buffer('scale', torch.ones(dim))
94
+ self.register_buffer('offset', torch.zeros(dim))
95
+
96
+ @torch.no_grad()
97
+ def fit(self, minimum, maximum, range_eps=1e-4):
98
+ lo = torch.as_tensor(minimum, dtype=torch.float32)
99
+ hi = torch.as_tensor(maximum, dtype=torch.float32)
100
+ span = hi - lo
101
+ ignore = span < range_eps
102
+ span[ignore] = 2.0
103
+ scale = 2.0 / span
104
+ offset = -1.0 - scale * lo
105
+ offset[ignore] = -lo[ignore]
106
+ self.scale.copy_(scale)
107
+ self.offset.copy_(offset)
108
+
109
+ def normalize(self, x):
110
+ return x * self.scale + self.offset
111
+
112
+ def unnormalize(self, x):
113
+ return (x - self.offset) / self.scale
114
+
115
+
116
+ class BasePolicy(nn.Module):
117
+ name = ''
118
+ backbone_prefix = '' # state-dict prefix of the image backbone (its own learning rate in training)
119
+
120
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
121
+ super().__init__()
122
+ self.cfg = cfg
123
+ self.state_norm = Normalizer(cfg.state_dim)
124
+ self.action_norm = Normalizer(cfg.action_dim)
125
+
126
+ def fit_normalizers(self, stats: dict):
127
+ self.state_norm.fit(stats['state']['min'], stats['state']['max'])
128
+ self.action_norm.fit(stats['action']['min'], stats['action']['max'])
129
+
130
+ @property
131
+ def sampling_steps(self) -> int:
132
+ return 1
133
+
134
+ def compute_loss(self, images, state, action):
135
+ raise NotImplementedError
136
+
137
+ def predict(self, images, state, generator=None):
138
+ raise NotImplementedError
139
+
140
+
141
+ class DiTPolicy(BasePolicy):
142
+ """Shared by FM-DiT and DP: the shared-ResNet image + state encoder and the AdaLN DiT over the action chunk
143
+ (global observation conditioning, DextraVerse obs_as_global_cond)."""
144
+ backbone_prefix = 'obs_encoder.rgb.'
145
+
146
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
147
+ super().__init__(cfg)
148
+ self.obs_encoder = ImageStateEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone,
149
+ weights=init_weights, norm=cfg.backbone_norm)
150
+ self.model = FlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
151
+ hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim, num_layers=cfg.num_layers,
152
+ num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
153
+ time_embed_dim=cfg.time_embed_dim)
154
+
155
+ def condition(self, images, state):
156
+ return self.obs_encoder(images, self.state_norm.normalize(state))
157
+
158
+
159
+ class FMDiTPolicy(DiTPolicy):
160
+ """Flow-matching DiT (DextraVerse FlowMatchingDiTImagePolicy): x_t = (1 - t) noise + t a, t ~ U(0, 1), the DiT
161
+ regresses the velocity a - noise; sampling integrates t = 0 -> 1 with the midpoint rule."""
162
+ name = 'fm_dit'
163
+
164
+ @property
165
+ def sampling_steps(self) -> int:
166
+ return int(self.cfg.num_inference_steps or 10)
167
+
168
+ def compute_loss(self, images, state, action):
169
+ cond = self.condition(images, state)
170
+ target = self.action_norm.normalize(action)
171
+ noise = torch.randn_like(target)
172
+ t = torch.rand(target.shape[0], device=target.device)
173
+ te = t.view(-1, 1, 1)
174
+ x_t = (1 - te) * noise + te * target
175
+ loss = F.mse_loss(self.model(x_t, t, cond), target - noise)
176
+ return loss, dict(fm=float(loss.detach()))
177
+
178
+ @torch.no_grad()
179
+ def predict(self, images, state, generator=None):
180
+ cond = self.condition(images, state)
181
+ B, steps = images.shape[0], self.sampling_steps
182
+ x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=cond.device, dtype=cond.dtype,
183
+ generator=generator)
184
+ times = torch.linspace(0, 1.0, steps + 1, device=cond.device)
185
+ for i in range(steps):
186
+ t0 = times[i].view(1).expand(B)
187
+ t1 = times[i + 1].view(1).expand(B)
188
+ dt = (t1 - t0).view(-1, 1, 1)
189
+ x_mid = x + self.model(x, t0, cond) * dt / 2
190
+ x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond)
191
+ return self.action_norm.unnormalize(x), x
192
+
193
+
194
+ class DPPolicy(DiTPolicy):
195
+ """Diffusion Policy with the DiT backbone (DextraVerse DiffusionDiTImagePolicy, ddpm_dit.yaml): DDPM with 100
196
+ training steps, squaredcos_cap_v2 betas, fixed_small variance, clipped samples, epsilon prediction; sampled with
197
+ every training step (100 DiT calls)."""
198
+ name = 'dp'
199
+
200
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
201
+ super().__init__(cfg, init_weights)
202
+ from diffusers.schedulers.scheduling_ddpm import DDPMScheduler
203
+ self.noise_scheduler = DDPMScheduler(num_train_timesteps=cfg.num_train_timesteps, beta_start=0.0001,
204
+ beta_end=0.02, beta_schedule=cfg.beta_schedule,
205
+ variance_type='fixed_small', clip_sample=cfg.clip_sample,
206
+ prediction_type=cfg.prediction_type)
207
+
208
+ @property
209
+ def sampling_steps(self) -> int:
210
+ return int(self.cfg.num_inference_steps or self.cfg.num_train_timesteps)
211
+
212
+ def compute_loss(self, images, state, action):
213
+ cond = self.condition(images, state)
214
+ target = self.action_norm.normalize(action)
215
+ noise = torch.randn_like(target)
216
+ t = torch.randint(0, self.noise_scheduler.config.num_train_timesteps, (target.shape[0],),
217
+ device=target.device).long()
218
+ noisy = self.noise_scheduler.add_noise(target, noise, t)
219
+ pred = self.model(noisy, t, cond)
220
+ goal = noise if self.cfg.prediction_type == 'epsilon' else target
221
+ loss = F.mse_loss(pred, goal)
222
+ return loss, dict(ddpm=float(loss.detach()))
223
+
224
+ @torch.no_grad()
225
+ def predict(self, images, state, generator=None):
226
+ cond = self.condition(images, state)
227
+ scheduler = self.noise_scheduler
228
+ x = torch.randn((images.shape[0], self.cfg.horizon, self.cfg.action_dim), device=cond.device,
229
+ dtype=cond.dtype, generator=generator)
230
+ scheduler.set_timesteps(self.sampling_steps, device=cond.device)
231
+ for t in scheduler.timesteps:
232
+ x = scheduler.step(self.model(x, t.to(cond.device), cond), t, x, generator=generator).prev_sample
233
+ return self.action_norm.unnormalize(x), x
234
+
235
+
236
+ class ACTPolicy(BasePolicy):
237
+ """ACT (DextraVerse ACTImagePolicy, act.yaml): ImageNet-normalized cameras through one ResNet with frozen
238
+ BatchNorm (spatial tokens, no pooling), the normalized state as qpos, a CVAE style encoder over the action chunk in
239
+ training, the DETR decoder with `horizon` queries; loss L1 + kl_weight x KL; inference decodes from the zero
240
+ latent (deterministic)."""
241
+ name = 'act'
242
+ backbone_prefix = 'model.backbone.'
243
+
244
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
245
+ super().__init__(cfg)
246
+ transformer = Transformer(d_model=cfg.act_hidden_dim, nhead=cfg.nheads, num_encoder_layers=cfg.enc_layers,
247
+ num_decoder_layers=cfg.dec_layers, dim_feedforward=cfg.dim_feedforward,
248
+ dropout=cfg.dropout, return_intermediate_dec=False)
249
+ self.model = DETRVAE(build_backbone(cfg.backbone, hidden_dim=cfg.act_hidden_dim, weights=init_weights),
250
+ transformer,
251
+ build_style_encoder(cfg.act_hidden_dim, cfg.nheads, cfg.dim_feedforward, cfg.enc_layers,
252
+ cfg.dropout),
253
+ qpos_dim=cfg.state_dim, action_dim=cfg.action_dim, num_queries=cfg.horizon,
254
+ latent_dim=cfg.latent_dim)
255
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 1, 3, 1, 1), persistent=False)
256
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 1, 3, 1, 1), persistent=False)
257
+
258
+ def compute_loss(self, images, state, action):
259
+ target = self.action_norm.normalize(action)
260
+ a_hat, (mu, logvar) = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std,
261
+ actions=target)
262
+ l1 = F.l1_loss(a_hat, target)
263
+ kl = kl_divergence(mu, logvar)
264
+ return l1 + self.cfg.kl_weight * kl, dict(l1=float(l1.detach()), kl=float(kl.detach()))
265
+
266
+ @torch.no_grad()
267
+ def predict(self, images, state, generator=None): # noqa: ARG002 - deterministic (zero latent)
268
+ a_hat, _ = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std)
269
+ return self.action_norm.unnormalize(a_hat), a_hat
270
+
271
+
272
+ from .flash import FlashPolicy # noqa: E402 - FLASH (flash.py) builds on this module's Normalizer and nets.py
273
+
274
+ POLICIES = {cls.name: cls for cls in (FMDiTPolicy, DPPolicy, ACTPolicy, FlashPolicy)}
275
+ LABELS = {'fm_dit': 'FM-DiT', 'dp': 'DP (DDPM-DiT)', 'act': 'ACT', 'flash': 'FLASH'}
276
+
277
+
278
+ def build_policy(cfg: PolicyConfig | dict, pretrained: bool = True) -> BasePolicy:
279
+ """The policy of `cfg`; pretrained=True initializes the backbone from cfg.backbone_weights (training),
280
+ False builds the same structure with random weights (a checkpoint load, which must not download anything)."""
281
+ cfg = cfg if isinstance(cfg, PolicyConfig) else PolicyConfig.from_dict(cfg)
282
+ if cfg.policy not in POLICIES:
283
+ raise KeyError(f'unknown baseline {cfg.policy!r}; one of {sorted(POLICIES)}')
284
+ cfg = replace(cfg) # a copy (resolved backbone_norm)
285
+ return POLICIES[cfg.policy](cfg, init_weights=cfg.backbone_weights if pretrained else None)
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/requirements.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Environment of the FM-DiT / DP / ACT baselines (training and the policy server), Python 3.12, CUDA 12.8 wheels:
2
+ # uv venv <env> --python 3.12
3
+ # uv pip install --python <env>/bin/python -r evaluation/baselines/requirements.txt \
4
+ # --extra-index-url https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match
5
+ torch==2.9.0+cu128
6
+ torchvision==0.24.0+cu128
7
+ diffusers==0.35.1
8
+ av==15.1.0
9
+ pyarrow==23.0.1
10
+ numpy==2.2.6
11
+ opencv-python-headless==4.11.0.86
12
+ pytest==8.4.2
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/runtime.py ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Checkpoints and inference of the baselines.
2
+
3
+ A checkpoint is a directory written by train.py (`<run>/checkpoints/step-NNNNNN/`, `final` links the last one):
4
+
5
+ - `model.pt`: torch.save of {format, config (the config.json text), state_dict}: the EMA weights (or the raw ones when
6
+ EMA is off) with the policy's state and action normalizers, loaded strictly with `weights_only=True`;
7
+ - `config.json`: the policy configuration, the contract (robot, cameras, state and action columns), the image size,
8
+ the training task text, dataset, episodes, recipe and statistics;
9
+ - `protocol.json`: model.pt's size and SHA-256.
10
+
11
+ `BaselinePolicy.predict` takes the live frames of the checkpoint's cameras (any size; resized with data.resize_frame,
12
+ as the training cache), the physical state of the contract and a seed, and returns the physical (horizon,
13
+ action_dim) chunk with its normalized form; row 0 is the action of the observation's frame.
14
+ """
15
+ from __future__ import annotations
16
+
17
+ import hashlib
18
+ import json
19
+ from pathlib import Path
20
+
21
+ import numpy as np
22
+
23
+ FORMAT = 'hb_baselines/1'
24
+
25
+
26
+ def sha256(path) -> str:
27
+ digest = hashlib.sha256()
28
+ with Path(path).open('rb') as stream:
29
+ for block in iter(lambda: stream.read(16 << 20), b''):
30
+ digest.update(block)
31
+ return digest.hexdigest()
32
+
33
+
34
+ def save_checkpoint(folder, policy, config: dict):
35
+ """Write model.pt, config.json and protocol.json of `policy` (an nn.Module) into `folder`."""
36
+ import torch
37
+ folder = Path(folder)
38
+ folder.mkdir(parents=True, exist_ok=True)
39
+ text = json.dumps(dict(config, format=FORMAT), indent=1)
40
+ state = {k: v.detach().cpu().contiguous() for k, v in policy.state_dict().items()}
41
+ torch.save(dict(format=FORMAT, config=text, state_dict=state), folder / 'model.pt.tmp')
42
+ (folder / 'model.pt.tmp').replace(folder / 'model.pt')
43
+ (folder / 'config.json').write_text(text)
44
+ (folder / 'protocol.json').write_text(json.dumps(dict(
45
+ format=FORMAT, step=config.get('step'), policy=config['policy']['policy'],
46
+ files={'model.pt': dict(bytes=(folder / 'model.pt').stat().st_size, sha256=sha256(folder / 'model.pt'))}),
47
+ indent=1))
48
+
49
+
50
+ def load_checkpoint(folder, device='cpu', verify=True):
51
+ """(policy in eval mode on `device`, config dict) of a checkpoint directory."""
52
+ import torch
53
+ from .policies import build_policy
54
+ folder = Path(folder)
55
+ if verify:
56
+ protocol = json.loads((folder / 'protocol.json').read_text())
57
+ entry = protocol['files']['model.pt']
58
+ if (folder / 'model.pt').stat().st_size != entry['bytes']:
59
+ raise ValueError(f'{folder}/model.pt differs from protocol.json')
60
+ payload = torch.load(folder / 'model.pt', map_location='cpu', weights_only=True)
61
+ if payload.get('format') != FORMAT:
62
+ raise ValueError(f"{folder}: format {payload.get('format')!r}, expected {FORMAT}")
63
+ config = json.loads(payload['config'])
64
+ if json.loads((folder / 'config.json').read_text()) != config:
65
+ raise ValueError(f'{folder}: config.json differs from the one inside model.pt')
66
+ policy = build_policy(config['policy'], pretrained=False) # every weight comes from model.pt
67
+ policy.load_state_dict(payload['state_dict'], strict=True)
68
+ return policy.to(device).eval(), config
69
+
70
+
71
+ class BaselinePolicy:
72
+ """A loaded checkpoint for closed-loop inference (one request at a time)."""
73
+
74
+ def __init__(self, checkpoint, device='cuda:0', policy: str | None = None, robot: str | None = None):
75
+ import torch
76
+ self.torch = torch
77
+ self.device = torch.device(device)
78
+ self.model, self.config = load_checkpoint(checkpoint, device=self.device)
79
+ self.checkpoint = str(Path(checkpoint).resolve())
80
+ name, contract = self.config['policy']['policy'], self.config['contract']
81
+ if policy is not None and name != policy:
82
+ raise ValueError(f'{checkpoint} is a {name!r} checkpoint, not {policy!r}')
83
+ if robot is not None and contract['robot'] != robot:
84
+ raise ValueError(f"{checkpoint} was trained for {contract['robot']!r} ({contract['name']}), not {robot!r}")
85
+ self.name, self.contract = name, contract
86
+ self.cameras = tuple(contract['cameras'])
87
+ self.image_hw = tuple(self.config['image_hw'])
88
+ self.horizon = int(self.config['policy']['horizon'])
89
+ self.state_dim, self.action_dim = int(contract['state_dim']), int(contract['action_dim'])
90
+ self.sampling_steps = int(self.model.sampling_steps)
91
+ self.task_text = self.config.get('task_text')
92
+
93
+ def info(self) -> dict:
94
+ out = dict(model=self.name, checkpoint=self.checkpoint, step=self.config.get('step'),
95
+ contract=self.contract['name'], views=list(self.cameras), image_hw=list(self.image_hw),
96
+ action_chunk=self.horizon, action_dim=self.action_dim, state_dim=self.state_dim,
97
+ sampling_steps=self.sampling_steps, task_text=self.task_text,
98
+ training_data=self.config.get('dataset', {}).get('name'))
99
+ if self.name == 'flash':
100
+ out['flash'] = dict(self.model.flash, history_rows=self.model.history_span)
101
+ return out
102
+
103
+ def history(self, past_actions, history_valid):
104
+ """FLASH: (history (1, n_history, Da), has_history (1,)) tensors from the executed rows before the query
105
+ (past_actions (N, Da) oldest first, row N-1 = frame t-1; history_valid (N,) a contiguous valid suffix)."""
106
+ from .flash import history_rows
107
+ torch, span = self.torch, self.model.history_span
108
+ rows = np.asarray(past_actions, np.float32)
109
+ valid = np.asarray(history_valid, np.float32).reshape(-1) > 0.5
110
+ if rows.ndim != 2 or rows.shape[1] != self.action_dim or len(valid) != len(rows):
111
+ raise ValueError(f'past_actions {rows.shape} / history_valid {valid.shape}: '
112
+ f'expected (N, {self.action_dim})')
113
+ if len(rows) < span: # fewer rows than the history reaches back: the missing older rows are invalid
114
+ pad = span - len(rows)
115
+ rows = np.concatenate([np.zeros((pad, rows.shape[1]), np.float32), rows])
116
+ valid = np.concatenate([np.zeros(pad, bool), valid])
117
+ hist, has = history_rows(rows[-span:], valid[-span:], self.model.stride, self.model.n_history)
118
+ return (torch.from_numpy(hist)[None].to(self.device),
119
+ torch.tensor([bool(has)], device=self.device))
120
+
121
+ def images_tensor(self, images: dict):
122
+ from .data import resize_frame
123
+ missing = [c for c in self.cameras if c not in images]
124
+ if missing:
125
+ raise KeyError(f'missing cameras {missing}; the checkpoint reads {list(self.cameras)}')
126
+ frames = np.stack([resize_frame(np.asarray(images[c]), self.image_hw) for c in self.cameras])
127
+ x = self.torch.from_numpy(frames).to(self.device).permute(0, 3, 1, 2).float().div_(255.)
128
+ return x.unsqueeze(0) # (1, n_cameras, 3, h, w)
129
+
130
+ def predict(self, images: dict, state, seed: int = 0, past_actions=None, history_valid=None):
131
+ """(action (horizon, action_dim) float32 physical, normalized form (FLASH: the polynomial coefficients)).
132
+ FLASH also needs past_actions / history_valid (the interface's executed rows before the query)."""
133
+ torch = self.torch
134
+ state = np.asarray(state, np.float32).reshape(-1)
135
+ if state.shape != (self.state_dim,) or not np.isfinite(state).all():
136
+ raise ValueError(f'expected a finite state of {self.state_dim} values, got {state.shape}')
137
+ generator = torch.Generator(device=self.device)
138
+ generator.manual_seed(int(seed) % (2 ** 63 - 1))
139
+ extra = ()
140
+ if self.name == 'flash':
141
+ if past_actions is None or history_valid is None:
142
+ raise ValueError('FLASH needs past_actions and history_valid (the executed rows before the query)')
143
+ extra = self.history(past_actions, history_valid)
144
+ with torch.inference_mode():
145
+ action, raw = self.model.predict(self.images_tensor(images),
146
+ torch.from_numpy(state)[None].to(self.device), *extra,
147
+ generator=generator)
148
+ action = action[0].float().cpu().numpy()
149
+ if action.shape != (self.horizon, self.action_dim) or not np.isfinite(action).all():
150
+ raise ValueError(f'invalid prediction {action.shape}')
151
+ return np.ascontiguousarray(action, np.float32), raw[0].float().cpu().numpy().astype(np.float32)
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/baselines/train.py ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Train an FM-DiT, DP (DDPM-DiT), ACT or FLASH baseline on a task's LeRobot v2.1 expert dataset.
2
+
3
+ <baselines env>/bin/python -I evaluation/baselines/train.py --policy fm_dit --contract h2_sharpa \\
4
+ --dataset data/h2_pour_water/h2_pour_water_r1/lerobot --out <run dir> --steps 60000
5
+
6
+ The recipe is DextraVerse's shared IL recipe (configs/algorithm/il/train.yaml; runners/train_dex_flow_matching.py):
7
+ AdamW (lr 1e-4, betas 0.95/0.999, weight decay 1e-6), cosine decay (here after a 500-step linear warm-up, as
8
+ Diffusion Policy), whole-policy EMA (Diffusion Policy's warm-up schedule, max decay 0.9999) whose weights are the
9
+ saved checkpoint, batch 64, one observation frame and 16-row chunks. Added for the humanoid views: frames resized
10
+ to 168x224 (the 480x640 aspect). bf16 autocast on CUDA.
11
+
12
+ FLASH (--policy flash, evaluation/baselines/flash.py) keeps its upstream recipe (FLASH-Policy f47e490,
13
+ default_train.yaml + flash.yaml) where the defaults differ: seed 42 (upstream's; the protocol keeps each model's
14
+ official seed), ResNet18 from scratch with GroupNorm trained at the full learning rate (--backbone-weights none,
15
+ --backbone-lr-scale 1), diffusers' cosine schedule with a 500-step warm-up, Diffusion Policy's EMAModel decay as
16
+ upstream counts it, and its own items (FlashChunkDataset: the polynomial targets at the sampling stride, the executed
17
+ history). --flash KEY=VALUE changes a FLASH setting (flash.FLASH_DEFAULTS: stride, n_history, ...). Its augmentation
18
+ stream is seeded from the training seed (FlashChunkDataset aug_seed; logged as HB_AUG_SEED=<seed>).
19
+
20
+ Augmentation (2026-11-16): the Humanoid Benchmark spec v2 (docs/augmentation_v2.md, evaluation/augmentation), the
21
+ same for every model of the benchmark, is on by default (--augmentation hb-v2): per training item one hb_aug_v2 call
22
+ on the cached 168x224 frames of all cameras (colour shared, geometry / light patches / white balance per camera, one
23
+ of the 15 effects boosted 1.5 x) and the per-sample joint bias (+-2 deg) + noise (0.25 deg, clipped 3 sigma) on the
24
+ body joint angles of the raw state (G1 29, H2 31), before the policy's normalizers; actions untouched. The native
25
+ random shift is off (--shift 0; a shift with hb-v2 is refused). Before the first step a preflight reads training items
26
+ through the augmented and the plain path and checks the state width (G1 44 / H2 78, no velocity), that only the body
27
+ joints move and by at most 2.75 deg, that the action rows (and FLASH's history) are bit-identical, that the images
28
+ change, and that the offline-check items are deterministic; it is stored in run.json (--preflight-only stops after it).
29
+ --augmentation none is an explicit exception to the spec, recorded in run.json and the checkpoints. The ResNet18
30
+ starts from torchvision's ImageNet-1k weights (--backbone-weights IMAGENET1K_V1, downloaded once to the torch hub
31
+ cache) and is fine-tuned at 0.1 x the learning rate (--backbone-lr-scale, the DETR practice) with its BatchNorm
32
+ frozen; --backbone-weights none trains it from scratch (DextraVerse's GroupNorm encoder for FM-DiT and DP).
33
+
34
+ In-training MSE (owner 2026-11-22, HumanWAM hb_training/REPRODUCIBILITY.md section 6): --inloop-task <key> with
35
+ --inloop-code <HumanWAM hb_training/eval-action-mse> evaluates the saved (EMA) weights every HB_INLOOP_EVERY (250)
36
+ steps on the protocol's cached episodes (inloop.py) into <out>/logs/inloop-mse.jsonl. FLASH refuses to train without
37
+ it unless --allow-no-inloop (an exception to the protocol, recorded in run.json).
38
+
39
+ Writes into --out: run.json (arguments), train_log.jsonl, checkpoints/step-NNNNNN/ every --save-every steps and at the
40
+ end (runtime.py format), checkpoints/final -> the last one, and train_state.pt (optimizer, schedule, EMA, step) that
41
+ --resume continues from. Each save also measures the EMA policy offline on fixed frames (held-out episodes with
42
+ --val-episodes, else training frames): normalized-action MSE overall and per action group.
43
+ """
44
+ from __future__ import annotations
45
+
46
+ import argparse
47
+ import copy
48
+ from datetime import datetime
49
+ import json
50
+ import math
51
+ import os
52
+ from pathlib import Path
53
+ import subprocess
54
+ import sys
55
+ import time
56
+
57
+ import numpy as np
58
+
59
+ HERE = Path(__file__).resolve().parent
60
+ REPO = HERE.parents[1]
61
+ if str(HERE.parent) not in sys.path:
62
+ sys.path.insert(0, str(HERE.parent))
63
+
64
+ from baselines.data import (CONTRACTS, ChunkDataset, FlashChunkDataset, LeRobotDataset, # noqa: E402
65
+ augmentation_module, frame_cache, load_lowdim, parse_episodes, statistics)
66
+ from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS # noqa: E402
67
+ from baselines.policies import POLICIES, PolicyConfig, build_policy # noqa: E402
68
+ from baselines.runtime import save_checkpoint # noqa: E402
69
+
70
+ DEFAULTS = dict(lr=1e-4, betas=(0.95, 0.999), weight_decay=1e-6, warmup=500, ema=0.9999, batch_size=64,
71
+ backbone_weights='IMAGENET1K_V1', backbone_lr_scale=0.1, seed=0)
72
+ # FLASH-Policy f47e490 default_train.yaml / flash.yaml where they differ from DEFAULTS
73
+ FLASH_TRAINING = dict(seed=42, backbone_weights=None, backbone_lr_scale=1.0, schedule='diffusers_cosine',
74
+ ema_schedule='diffusion_policy_emamodel')
75
+
76
+
77
+ def git_commit():
78
+ try:
79
+ return subprocess.run(['git', '-C', str(REPO), 'rev-parse', 'HEAD'], capture_output=True, text=True,
80
+ check=True).stdout.strip()
81
+ except Exception: # noqa: BLE001 - outside a checkout
82
+ return None
83
+
84
+
85
+ def parse_hw(text):
86
+ h, w = text.lower().split('x')
87
+ return int(h), int(w)
88
+
89
+
90
+ def random_shift(images, pad):
91
+ """DrQ random shift: replicate-pad by `pad` pixels and crop back at a random offset per sample.
92
+ images (B, N, 3, H, W) float."""
93
+ import torch
94
+ import torch.nn.functional as F
95
+ if pad <= 0:
96
+ return images
97
+ B, N, C, H, W = images.shape
98
+ x = F.pad(images.reshape(B * N, C, H, W), (pad,) * 4, mode='replicate')
99
+ oy = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
100
+ ox = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
101
+ rows = (oy[:, None] + torch.arange(H, device=images.device)[None])[:, None, :, None].expand(-1, C, -1, W + 2 * pad)
102
+ x = x.gather(2, rows)
103
+ cols = (ox[:, None] + torch.arange(W, device=images.device)[None])[:, None, None, :].expand(-1, C, H, -1)
104
+ return x.gather(3, cols).reshape(B, N, C, H, W)
105
+
106
+
107
+ class EMA:
108
+ """Diffusion Policy's EMAModel schedule: decay = min(max_decay, 1 - (1 + step) ** -0.75), parameters averaged,
109
+ buffers (normalizers) copied. schedule 'diffusion_policy_emamodel' counts the steps as upstream's EMAModel does
110
+ (decay 0 for the first two updates, then 1 - (step - 1) ** -0.75; FLASH)."""
111
+
112
+ def __init__(self, model, max_decay, schedule='hb'):
113
+ self.model = copy.deepcopy(model).eval().requires_grad_(False)
114
+ self.max_decay = float(max_decay)
115
+ self.schedule = schedule
116
+
117
+ def decay(self, step):
118
+ if self.schedule == 'diffusion_policy_emamodel':
119
+ return 0.0 if step <= 2 else min(self.max_decay, max(0.0, 1 - (step - 1) ** -0.75))
120
+ return 0.0 if step <= 0 else min(self.max_decay, max(0.0, 1 - (1 + step) ** -0.75))
121
+
122
+ def update(self, model, step):
123
+ import torch
124
+ decay = self.decay(step)
125
+ with torch.no_grad():
126
+ for e, p in zip(self.model.parameters(), model.parameters()):
127
+ e.mul_(decay).add_(p.detach(), alpha=1 - decay)
128
+ for e, b in zip(self.model.buffers(), model.buffers()):
129
+ e.copy_(b)
130
+ return decay
131
+
132
+
133
+ def preflight(train_set, eval_set, contract, samples=64, seed=0) -> dict:
134
+ """Training items of `train_set` (augmented unless its body_dims is 0) against the same frames read without
135
+ augmentation, and two reads of the offline-check items; raises on any violation of docs/augmentation_v2.md.
136
+ Items are (images, state, *labels): every label (action rows; FLASH's polynomial rows and history) must be
137
+ bit-identical to the plain read."""
138
+ import torch
139
+ plain = train_set.plain() # the same frames without augmentation
140
+ picks = np.random.default_rng(seed).choice(len(plain), size=min(samples, len(plain)), replace=False)
141
+ nb, sd = train_set.body_dims, contract.state_dim
142
+ limit = augmentation_module().max_body_offset_rad() * (1 + 1e-5)
143
+ images_changed = body_moved = 0
144
+ worst = 0.0
145
+ for k in picks:
146
+ (im, st, *lab), (im0, st0, *lab0) = train_set[int(k)], plain[int(k)]
147
+ if st.shape != (sd,) or st0.shape != (sd,) or [x.shape for x in lab] != [x.shape for x in lab0]:
148
+ raise SystemExit(f'preflight: state {tuple(st.shape)} / labels {[tuple(x.shape) for x in lab]}, '
149
+ f'expected ({sd},)')
150
+ if not all(torch.equal(a, b) for a, b in zip(lab, lab0)):
151
+ raise SystemExit('preflight: an action label differs from the recorded data')
152
+ if not torch.equal(st[nb:], st0[nb:]):
153
+ raise SystemExit(f'preflight: a state value past the {nb} body joints changed')
154
+ delta = (st[:nb].double() - st0[:nb].double()).abs()
155
+ if nb:
156
+ worst = max(worst, float(delta.max()))
157
+ if worst > limit:
158
+ raise SystemExit(f'preflight: a body joint moved {math.degrees(worst):.3f} deg (> 2.75)')
159
+ body_moved += int((delta > 0).sum())
160
+ images_changed += int(not torch.equal(im, im0))
161
+ n = len(picks)
162
+ moved = body_moved / max(1, n * nb)
163
+ if nb and (images_changed < 0.9 * n or moved < 0.95):
164
+ raise SystemExit(f'preflight: augmentation inactive ({images_changed}/{n} images changed, {moved:.3f} of the '
165
+ 'body joint values moved)')
166
+ if not nb and (images_changed or worst):
167
+ raise SystemExit('preflight: items changed with the augmentation off')
168
+ eval_picks = np.random.default_rng(seed + 1).choice(len(eval_set), size=min(8, len(eval_set)), replace=False)
169
+ for k in eval_picks:
170
+ a, b = eval_set[int(k)], eval_set[int(k)]
171
+ if eval_set.body_dims or not all(torch.equal(x, y) for x, y in zip(a, b)):
172
+ raise SystemExit('preflight: the offline-check items are not deterministic')
173
+ return dict(samples=n, state_dim=sd, body_dims=nb, images_changed=images_changed,
174
+ body_values_moved=round(moved, 4),
175
+ max_body_offset_deg=round(math.degrees(worst), 4), actions_bit_identical=True,
176
+ non_body_state_bit_identical=True, eval_items_deterministic=len(eval_picks))
177
+
178
+
179
+ def offline_eval(policy, dataset, samples, device, groups):
180
+ """Normalized-action MSE of policy.predict on fixed dataset items (seeded), overall and per action group. FLASH:
181
+ its 30 Hz output rows against the recorded rows from the anchor (rows past the episode's end left out)."""
182
+ import torch
183
+ policy.eval()
184
+ errs, masks = [], []
185
+ generator = torch.Generator(device=device)
186
+ generator.manual_seed(0)
187
+ for start in range(0, len(samples), 32):
188
+ batch = [dataset[int(k)] for k in samples[start:start + 32]]
189
+ images = torch.stack([b[0] for b in batch]).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
190
+ state = torch.stack([b[1] for b in batch]).to(device)
191
+ if policy.name == 'flash':
192
+ hist = torch.stack([b[3] for b in batch]).to(device)
193
+ has = torch.stack([b[4] for b in batch]).to(device)
194
+ target = torch.stack([b[5] for b in batch]).to(device)
195
+ valid = torch.stack([b[6] for b in batch]).numpy()
196
+ pred, _ = policy.predict(images, state, hist, has, generator=generator)
197
+ raw = policy.action_norm.normalize(pred.float())
198
+ else:
199
+ target = torch.stack([b[2] for b in batch]).to(device)
200
+ valid = np.ones(target.shape[:2], bool)
201
+ _, raw = policy.predict(images, state, generator=generator)
202
+ errs.append((raw.float() - policy.action_norm.normalize(target)).pow(2).cpu().numpy())
203
+ masks.append(valid)
204
+ err, mask = np.concatenate(errs), np.concatenate(masks) # (S, horizon, action_dim), (S, horizon)
205
+ rows = err[mask]
206
+ out = dict(mse=float(rows.mean()), mse_row0=float(err[:, 0][mask[:, 0]].mean()))
207
+ offset = 0
208
+ for column, start, end in groups:
209
+ out[f'mse_{column.split(".")[-1]}'] = float(rows[:, offset:offset + end - start].mean())
210
+ offset += end - start
211
+ return out
212
+
213
+
214
+ def main():
215
+ p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
216
+ p.add_argument('--policy', choices=sorted(POLICIES), required=True)
217
+ p.add_argument('--dataset', type=Path, required=True, help='LeRobot v2.1 dataset directory')
218
+ p.add_argument('--contract', choices=sorted(CONTRACTS), required=True)
219
+ p.add_argument('--cameras', help='comma-separated cameras (default: the contract\'s)')
220
+ p.add_argument('--episodes', help="episodes to use, e.g. '0:100' (default: all)")
221
+ p.add_argument('--val-episodes', type=int, default=0, help='hold out the last N of them for the offline check')
222
+ p.add_argument('--out', type=Path, required=True)
223
+ p.add_argument('--steps', type=int, default=60000)
224
+ p.add_argument('--batch-size', type=int, default=DEFAULTS['batch_size'])
225
+ p.add_argument('--lr', type=float, default=DEFAULTS['lr'])
226
+ p.add_argument('--weight-decay', type=float, default=DEFAULTS['weight_decay'])
227
+ p.add_argument('--warmup', type=int, default=DEFAULTS['warmup'])
228
+ p.add_argument('--ema', type=float, default=DEFAULTS['ema'], help='max EMA decay; 0 saves the raw weights')
229
+ p.add_argument('--horizon', type=int, default=16)
230
+ p.add_argument('--image-size', default='168x224', help='HxW of the policy images')
231
+ p.add_argument('--augmentation', choices=['hb-v2', 'none'], default='hb-v2',
232
+ help='training augmentation: the benchmark spec v2 (default; docs/augmentation_v2.md) or none '
233
+ '(an explicit exception, recorded in run.json)')
234
+ p.add_argument('--shift', type=int, default=0,
235
+ help='native random-shift augmentation in pixels (default 0: off; only with --augmentation none)')
236
+ p.add_argument('--preflight-only', action='store_true', help='run the data preflight, write run.json and stop')
237
+ p.add_argument('--backbone-weights', default=None,
238
+ help="torchvision weights the ResNet18 starts from (default IMAGENET1K_V1; FLASH: none); "
239
+ "'none': from scratch")
240
+ p.add_argument('--backbone-lr-scale', type=float, default=None,
241
+ help='learning rate of the image backbone relative to --lr (default 0.1; FLASH: 1)')
242
+ p.add_argument('--model', action='append', default=[], metavar='KEY=VALUE',
243
+ help='override a PolicyConfig field (JSON value), e.g. num_layers=6; repeatable')
244
+ p.add_argument('--flash', action='append', default=[], metavar='KEY=VALUE',
245
+ help='FLASH setting (JSON value), e.g. stride=2; repeatable (flash.FLASH_DEFAULTS)')
246
+ p.add_argument('--cache-dir', type=Path, default=Path('~/hb_models/baselines/cache'))
247
+ p.add_argument('--workers', type=int, default=32,
248
+ help='DataLoader workers (and frame-cache decoders); the v2 augmentation costs ~17 ms of one CPU '
249
+ 'core per item, so 8 workers feed only ~6 steps/s at batch 64')
250
+ p.add_argument('--prefetch', type=int, default=2, help='batches prefetched per worker')
251
+ p.add_argument('--save-every', type=int, default=10000)
252
+ p.add_argument('--log-every', type=int, default=100)
253
+ p.add_argument('--eval-samples', type=int, default=256)
254
+ p.add_argument('--seed', type=int, default=None, help='training seed (default 0; FLASH: 42, upstream\'s)')
255
+ p.add_argument('--device', default='cuda:0')
256
+ p.add_argument('--no-amp', action='store_true')
257
+ p.add_argument('--resume', action='store_true', help='continue from <out>/train_state.pt')
258
+ p.add_argument('--inloop-task', help='in-training MSE: the task key of HumanWAM eval-action-mse hb_eval_common')
259
+ p.add_argument('--inloop-code', type=Path, help='in-training MSE: HumanWAM hb_training/eval-action-mse')
260
+ p.add_argument('--allow-no-inloop', action='store_true',
261
+ help='FLASH: train without the in-training MSE (an exception to the protocol, recorded)')
262
+ args = p.parse_args()
263
+
264
+ flash = args.policy == 'flash'
265
+ defaults = dict(DEFAULTS, **(FLASH_TRAINING if flash else {}))
266
+ seed = defaults['seed'] if args.seed is None else args.seed
267
+ backbone_weights = defaults['backbone_weights'] if args.backbone_weights is None else args.backbone_weights
268
+ backbone_lr_scale = defaults['backbone_lr_scale'] if args.backbone_lr_scale is None else args.backbone_lr_scale
269
+ if flash and not args.inloop_task and not args.allow_no_inloop:
270
+ raise SystemExit('FLASH: the protocol requires the in-training MSE (--inloop-task, --inloop-code), or '
271
+ '--allow-no-inloop as a recorded exception')
272
+ if bool(args.inloop_task) != bool(args.inloop_code):
273
+ raise SystemExit('--inloop-task and --inloop-code go together')
274
+
275
+ out = args.out.expanduser().resolve()
276
+ out.mkdir(parents=True, exist_ok=True)
277
+ contract = CONTRACTS[args.contract]
278
+ aug = augmentation_module()
279
+ aug.check_state_layout(contract.robot, contract.state_dim, [column for column, _, _ in contract.state])
280
+ hb_aug = args.augmentation == 'hb-v2'
281
+ if hb_aug and args.shift:
282
+ raise SystemExit('--shift is the native random shift, which the augmentation spec v2 turns off '
283
+ '(docs/augmentation_v2.md); use it only with --augmentation none')
284
+ if contract.body_dims != aug.BODY_JOINTS[contract.robot]:
285
+ raise SystemExit(f'contract {contract.name}: body_dims {contract.body_dims}, the spec perturbs '
286
+ f'{aug.BODY_JOINTS[contract.robot]} body joints')
287
+ augmentation = (aug.describe(contract.robot, contract.body_dims) if hb_aug else
288
+ dict(version=None, exception='--augmentation none (not the benchmark default)'))
289
+ cameras = tuple(args.cameras.split(',')) if args.cameras else contract.cameras
290
+ hw = parse_hw(args.image_size)
291
+ dataset = LeRobotDataset(args.dataset)
292
+ dataset.check_contract(contract, cameras)
293
+ episodes = parse_episodes(args.episodes, dataset.lengths)
294
+ if not 0 <= args.val_episodes < len(episodes):
295
+ raise SystemExit('--val-episodes must leave training episodes')
296
+ lowdim = load_lowdim(dataset, contract, episodes)
297
+ if len(lowdim['tasks']) != 1:
298
+ raise SystemExit(f"the baselines take no language: one task per dataset, found {lowdim['tasks']}")
299
+ n_train = len(episodes) - args.val_episodes
300
+ train_pos, val_pos = list(range(n_train)), list(range(n_train, len(episodes)))
301
+ train_rows = np.concatenate([np.arange(s, s + n) for s, n in
302
+ zip(lowdim['starts'][:n_train], lowdim['lengths'][:n_train])])
303
+ stats = statistics(lowdim, train_rows)
304
+ frames = frame_cache(dataset, lowdim, cameras, hw, args.cache_dir, workers=args.workers)
305
+
306
+ overrides = {k: json.loads(v) for k, v in (item.split('=', 1) for item in args.model)}
307
+ base = dict(policy=args.policy, n_cameras=len(cameras), state_dim=contract.state_dim,
308
+ action_dim=contract.action_dim, horizon=args.horizon)
309
+ if flash:
310
+ settings = dict(FLASH_DEFAULTS, **{k: json.loads(v) for k, v in (i.split('=', 1) for i in args.flash)})
311
+ if args.horizon != 16 and args.horizon != settings['rows']:
312
+ raise SystemExit('FLASH: the output rows are --flash rows=N, not --horizon')
313
+ base.update(FLASH_POLICY_FIELDS, horizon=int(settings['rows']), extra=dict(flash=settings))
314
+ elif args.flash:
315
+ raise SystemExit('--flash applies to --policy flash only')
316
+ weights = None if str(backbone_weights).lower() in ('none', '') else backbone_weights
317
+ pcfg = PolicyConfig.from_dict({**base, 'backbone_weights': weights, **overrides})
318
+ aug_seed = seed if (flash and hb_aug) else None
319
+ if flash:
320
+ from baselines.flash import FlashPolicy, flash_settings
321
+ fs = flash_settings(pcfg)
322
+ H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
323
+ offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
324
+ kw = dict(offsets=offsets, stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'])
325
+ train_set = FlashChunkDataset(lowdim, frames, cameras, hw, train_pos,
326
+ body_dims=contract.body_dims if hb_aug else 0, aug_seed=aug_seed, **kw)
327
+ eval_set = FlashChunkDataset(lowdim, frames, cameras, hw, val_pos or train_pos, with_dense=True, **kw)
328
+ assert FlashPolicy.name == 'flash'
329
+ print(f'HB_AUG_SEED={aug_seed}', file=sys.stderr, flush=True)
330
+ else:
331
+ train_set = ChunkDataset(lowdim, frames, cameras, hw, args.horizon, train_pos,
332
+ body_dims=contract.body_dims if hb_aug else 0)
333
+ eval_set = ChunkDataset(lowdim, frames, cameras, hw, args.horizon, val_pos or train_pos) # never augmented
334
+ checks = preflight(train_set, eval_set, contract, seed=seed)
335
+ print(json.dumps(dict(event='preflight', augmentation=augmentation.get('version'), **checks)), flush=True)
336
+ layout = dict(nodes=1, gpus=1, per_gpu_batch=args.batch_size, global_batch=args.batch_size,
337
+ gradient_accumulation=1, num_workers=args.workers, prefetch=args.prefetch)
338
+ if args.preflight_only:
339
+ (out / 'run.json').write_text(json.dumps(dict(
340
+ argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
341
+ contract=contract.to_dict(cameras), image_hw=list(hw), augmentation=augmentation, preflight=checks,
342
+ shift_px=args.shift, seed=seed, aug_seed=aug_seed, layout=layout, policy=pcfg.to_dict(),
343
+ code_commit=git_commit()), indent=1, default=str))
344
+ return
345
+
346
+ import torch
347
+ torch.manual_seed(seed)
348
+ np.random.seed(seed)
349
+ device = torch.device(args.device)
350
+ policy = build_policy(pcfg)
351
+ policy.fit_normalizers(stats)
352
+ policy.to(device)
353
+ ema = EMA(policy, args.ema, defaults.get('ema_schedule', 'hb')) if args.ema > 0 else None
354
+ named = list(policy.named_parameters())
355
+ backbone = [p for n, p in named if n.startswith(policy.backbone_prefix)]
356
+ rest = [p for n, p in named if not n.startswith(policy.backbone_prefix)]
357
+ if not backbone:
358
+ raise SystemExit(f'no backbone parameters under {policy.backbone_prefix!r}')
359
+ optimizer = torch.optim.AdamW([dict(params=rest), dict(params=backbone, lr=args.lr * backbone_lr_scale)],
360
+ lr=args.lr, betas=DEFAULTS['betas'], weight_decay=args.weight_decay)
361
+ schedule = defaults.get('schedule', 'hb')
362
+
363
+ def lr_lambda(step):
364
+ if schedule == 'diffusers_cosine': # diffusers get_cosine_schedule_with_warmup (FLASH's lr_scheduler)
365
+ if step < args.warmup:
366
+ return step / max(1, args.warmup)
367
+ progress = (step - args.warmup) / max(1, args.steps - args.warmup)
368
+ return max(0.0, 0.5 * (1.0 + math.cos(math.pi * progress)))
369
+ if step < args.warmup:
370
+ return (step + 1) / max(1, args.warmup)
371
+ return 0.5 * (1 + math.cos(math.pi * min(1.0, (step - args.warmup) / max(1, args.steps - args.warmup))))
372
+
373
+ scheduler = torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda)
374
+ step = 0
375
+ state_path = out / 'train_state.pt'
376
+ if args.resume and state_path.exists():
377
+ saved = torch.load(state_path, map_location='cpu', weights_only=False)
378
+ if saved['config']['policy'] != pcfg.to_dict():
379
+ raise SystemExit('train_state.pt was written for another policy configuration')
380
+ before = saved['config'].get('training', {})
381
+ if (before.get('augmentation') or {}).get('version') != augmentation.get('version') \
382
+ or before.get('shift_px') != args.shift:
383
+ raise SystemExit('train_state.pt was trained with another augmentation (version / --shift); resuming '
384
+ 'would change it mid-run')
385
+ policy.load_state_dict(saved['policy'])
386
+ optimizer.load_state_dict(saved['optimizer'])
387
+ scheduler.load_state_dict(saved['scheduler'])
388
+ if ema is not None:
389
+ ema.model.load_state_dict(saved['ema'])
390
+ step = int(saved['step'])
391
+ print(json.dumps(dict(event='resumed', step=step)), flush=True)
392
+
393
+ inloop = None
394
+ if args.inloop_task:
395
+ from baselines import inloop as inloop_mod
396
+ inloop = inloop_mod.install(args.inloop_code, args.inloop_task, out,
397
+ lambda: ema.model if ema is not None else policy, contract, cameras, hw, lowdim,
398
+ args.policy, lowdim_loader=lambda eps: load_lowdim(dataset, contract, eps))
399
+ else:
400
+ print(f'HB_INLOOP {args.policy} disabled: no --inloop-task', flush=True)
401
+
402
+ samples = np.random.default_rng(1).choice(len(eval_set), size=min(args.eval_samples, len(eval_set)), replace=False)
403
+ training = dict(steps=args.steps, batch_size=args.batch_size, lr=args.lr, betas=list(DEFAULTS['betas']),
404
+ weight_decay=args.weight_decay, warmup=args.warmup,
405
+ schedule='linear warm-up + cosine' if schedule == 'hb' else schedule,
406
+ backbone_lr_scale=backbone_lr_scale,
407
+ ema=args.ema, shift_px=args.shift, amp=not args.no_amp, seed=seed,
408
+ augmentation=augmentation, preflight=checks)
409
+ if flash:
410
+ training.update(aug_seed=aug_seed, ema_schedule=defaults['ema_schedule'], layout=layout,
411
+ upstream='NTUMARS/FLASH-Policy@f47e490',
412
+ inloop=dict(task=args.inloop_task, code=str(args.inloop_code) if args.inloop_code else None,
413
+ every=int(os.environ.get('HB_INLOOP_EVERY', '250')) if args.inloop_task else 0,
414
+ exception=None if args.inloop_task else '--allow-no-inloop'))
415
+ config = dict(
416
+ policy=pcfg.to_dict(), contract=contract.to_dict(cameras), image_hw=list(hw), task_text=lowdim['tasks'][0],
417
+ dataset=dict(name=dataset.name,
418
+ root=str(dataset.root), robot_type=dataset.info.get('robot_type'), fps=dataset.fps,
419
+ episodes=episodes, train_episodes=episodes[:n_train], val_episodes=episodes[n_train:],
420
+ train_frames=int(len(train_set)),
421
+ git_commit=dataset.info.get('script_config', {}).get('git_commit')),
422
+ training=training, stats=stats, code_commit=git_commit())
423
+ run = dict(argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
424
+ torch=torch.__version__, **config)
425
+ (out / 'run.json').write_text(json.dumps(run, indent=1, default=str))
426
+ loader = torch.utils.data.DataLoader(train_set, batch_size=args.batch_size, shuffle=True, drop_last=True,
427
+ num_workers=args.workers, pin_memory=True, persistent_workers=True,
428
+ prefetch_factor=args.prefetch)
429
+ params = sum(x.numel() for x in policy.parameters())
430
+ print(json.dumps(dict(event='start', policy=args.policy, params=params,
431
+ backbone_params=sum(x.numel() for x in backbone), backbone_weights=pcfg.backbone_weights,
432
+ backbone_norm=pcfg.backbone_norm, train_frames=len(train_set), steps=args.steps,
433
+ from_step=step, cameras=list(cameras), hw=list(hw), seed=seed)), flush=True)
434
+ log = (out / 'train_log.jsonl').open('a')
435
+ amp = (not args.no_amp) and device.type == 'cuda'
436
+
437
+ def save(step):
438
+ folder = out / f'checkpoints/step-{step:06d}'
439
+ model = ema.model if ema is not None else policy
440
+ metrics = offline_eval(model, eval_set, samples, device, contract.action)
441
+ save_checkpoint(folder, model, dict(config, step=step, weights='ema' if ema is not None else 'raw',
442
+ offline_eval=dict(metrics, samples=len(samples),
443
+ frames='val' if val_pos else 'train')))
444
+ final = out / 'checkpoints/final'
445
+ if final.is_symlink() or final.exists():
446
+ final.unlink()
447
+ final.symlink_to(folder.name)
448
+ torch.save(dict(policy=policy.state_dict(), optimizer=optimizer.state_dict(), scheduler=scheduler.state_dict(),
449
+ ema=None if ema is None else ema.model.state_dict(), step=step, config=config),
450
+ out / 'train_state.pt.tmp')
451
+ (out / 'train_state.pt.tmp').replace(state_path)
452
+ record = dict(event='save', step=step, checkpoint=str(folder), **metrics)
453
+ print(json.dumps(record), flush=True)
454
+ log.write(json.dumps(record) + '\n')
455
+ log.flush()
456
+ policy.train()
457
+
458
+ policy.train()
459
+ t0, data_s, acc = time.monotonic(), 0.0, {}
460
+ while step < args.steps:
461
+ tick = time.monotonic()
462
+ for images, *labels in loader:
463
+ data_s += time.monotonic() - tick
464
+ images = images.to(device, non_blocking=True).permute(0, 1, 4, 2, 3).float().div_(255.)
465
+ images = random_shift(images, args.shift)
466
+ labels = [x.to(device, non_blocking=True) for x in labels]
467
+ with torch.autocast(device.type, dtype=torch.bfloat16, enabled=amp):
468
+ loss, metrics = policy.compute_loss(images, *labels)
469
+ optimizer.zero_grad(set_to_none=True)
470
+ loss.backward()
471
+ optimizer.step()
472
+ scheduler.step()
473
+ step += 1
474
+ decay = ema.update(policy, step) if ema is not None else 0.0
475
+ for k, v in dict(metrics, loss=float(loss.detach())).items():
476
+ acc[k] = acc.get(k, 0.0) + v
477
+ if step % args.log_every == 0:
478
+ elapsed = time.monotonic() - t0
479
+ record = dict(event='train', step=step, lr=scheduler.get_last_lr()[0],
480
+ backbone_lr=scheduler.get_last_lr()[1], ema_decay=round(decay, 6),
481
+ it_s=round(args.log_every / elapsed, 2), data_frac=round(data_s / elapsed, 3),
482
+ **{k: v / args.log_every for k, v in acc.items()})
483
+ print(json.dumps(record), flush=True)
484
+ log.write(json.dumps(record) + '\n')
485
+ log.flush()
486
+ t0, data_s, acc = time.monotonic(), 0.0, {}
487
+ if inloop is not None and step % inloop.every == 0:
488
+ inloop.evaluate(step, ema.model if ema is not None else policy)
489
+ policy.train()
490
+ if step % args.save_every == 0 or step == args.steps:
491
+ save(step)
492
+ if step >= args.steps:
493
+ break
494
+ tick = time.monotonic()
495
+ log.close()
496
+ print(json.dumps(dict(event='done', step=step, checkpoint=str(out / 'checkpoints/final'))), flush=True)
497
+
498
+
499
+ if __name__ == '__main__':
500
+ main()
b4-cushion/b512/step-012000/training_records/code_78235367/evaluation/policy/FLASH/model.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """FLASH (Bai et al., NeurIPS 2026; NTUMARS/FLASH-Policy @ f47e490) baseline of the Humanoid Benchmark: one checkpoint
2
+ of evaluation/baselines/train.py --policy flash with the g1_sonic_dfx6 contract, served by the shared adapter
3
+ evaluation/baselines/adapters.py (current ego_view + chest frames, state44 and the executed-action history ->
4
+ 16 rows of action76 at 30 Hz from the query frame; evaluation/baselines/flash.py).
5
+ """
6
+ from pathlib import Path
7
+ import sys
8
+
9
+ sys.path.insert(0, str(Path(__file__).resolve().parents[2])) # evaluation/: the baselines package
10
+ from baselines.adapters import make_model # noqa: E402
11
+
12
+ Model = make_model('flash')
b4-cushion/b512/step-012000/training_records/code_commit.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 78235367c03e0ea376ca1880ec3026c28dd93258
b4-cushion/b512/step-012000/training_records/flash_pool_a800.sh ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Relay cmd item (2026-11-24 user): FLASH on A800, every latest task except B6 (done) and B7 (4090 side). Recipe = HumanWAM
3
+ # REPRODUCIBILITY.md 4.6 / protocol.yaml models.flash: 1 GPU x batch 512, no accumulation, 16000 steps, save every 2000,
4
+ # num_workers 40, seed 42 (upstream default), augmentation v2, in-training MSE every 250 steps (eval key = task key).
5
+ # 4 nodes: rank r trains the tasks with index % 4 == r at the same time, one GPU and a CPU slice each. Restart-safe (--resume).
6
+ G=$(dirname "$(dirname "$(realpath "$0")")"); P=$(dirname $G); L=$G/flash-a800-20261124
7
+ B=$P/Humanoid_benchmark-bai; PY=$G/envs/hb-baselines/bin/python
8
+ RK=${RANK:?DLC RANK missing}
9
+ for i in $(seq 2160); do [ -f $L/prep.done ] && break; [ $((i % 60)) = 1 ] && echo "$(date -u) waiting for FLASH preflight"; sleep 10; done
10
+ mapfile -t TS < $L/tasks.txt; NCPU=$(nproc); idx=0; slot=0; pids=()
11
+ for line in "${TS[@]}"; do
12
+ read -r T SRC EPS CON <<< "$line"
13
+ if [ $((idx % 4)) = "$RK" ]; then
14
+ if [ -f $L/pre-$T.ok ]; then
15
+ OUT=$P/flash-runs/$T-b512-s16000; mkdir -p $OUT/logs
16
+ EA=""; [ "$EPS" != all ] && EA="--episodes $EPS"
17
+ RES=""; [ -f $OUT/train_state.pt ] && RES="--resume"
18
+ C0=$((slot * NCPU / 4)); C1=$(((slot + 1) * NCPU / 4 - 1))
19
+ echo "$(date -u) FLASH $T on GPU $slot cores $C0-$C1 -> $OUT $RES"
20
+ (cd $B && CUDA_VISIBLE_DEVICES=$slot taskset -c $C0-$C1 $PY -I evaluation/baselines/train.py --policy flash --contract $CON \
21
+ --dataset $SRC $EA --out $OUT --steps 16000 --batch-size 512 --workers 40 --save-every 2000 --log-every 50 \
22
+ --cache-dir $G/flash-cache/$T --inloop-task $T --inloop-code $G/eval-action-mse $RES >> $OUT/logs/train-a800.log 2>&1) &
23
+ pids+=($!); slot=$((slot + 1))
24
+ else echo "SKIP FLASH $T: preflight failed"; fi
25
+ fi
26
+ idx=$((idx + 1))
27
+ done
28
+ rc=0; for p in "${pids[@]}"; do wait $p || rc=1; done
29
+ echo "$(date -u) FLASH pool rank $RK done rc=$rc"; exit $rc
b4-cushion/b512/step-012000/training_records/inloop-mse.jsonl ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"step": 250, "utc": "2026-11-25T12:58:59Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 25.4, "infer_s_per_query": 0.0371, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.006406416038633709, "mae_raw": 0.050882706511794905, "nmse": 0.413895453007992, "groups": {"motion_token": {"mse_raw": 0.00698522751439698, "nmse": 0.46733377754687777}, "hands": {"mse_raw": 0.0033194215012295907, "nmse": 0.1288910554672674}}, "nmse_by_step": [0.4067466147347653, 0.3980761878081593, 0.39280599377740866, 0.39436191234098794, 0.39889108634457904, 0.40224065884477594, 0.40514426695790146, 0.40343083958906933, 0.40066277382316196, 0.3985023771686452, 0.40505889089420694, 0.41478071122275484, 0.4237609889464398, 0.43606997216182275, 0.4565259636817353, 0.4872930707667355], "nmse_per_episode": {"0": 0.4105726717444231, "33": 0.4208347025669995, "67": 0.4033942119237978, "100": 0.44281836861998397, "134": 0.4174669387731443, "167": 0.410940026974792, "201": 0.4178256536656031, "234": 0.4232626262158089, "268": 0.38018122352722084, "301": 0.41422616458458517}, "nmse_episode_sem": 0.0050186151071915635}
2
+ {"step": 500, "utc": "2026-11-25T13:00:34Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.8, "infer_s_per_query": 0.0033, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.004262375443002611, "mae_raw": 0.04472840810730007, "nmse": 0.2751335567460944, "groups": {"motion_token": {"mse_raw": 0.004568243722966665, "nmse": 0.30352842503988103}, "hands": {"mse_raw": 0.0026310779498609944, "nmse": 0.12369425917923206}}, "nmse_by_step": [0.24282181315200982, 0.23818317578187492, 0.22806402613663584, 0.22152297825620693, 0.2248304517048006, 0.23713172564245605, 0.25173047941904925, 0.2594079612631155, 0.26470572542425636, 0.2740111596704381, 0.2978498431837144, 0.32400035665184906, 0.33542210905004893, 0.3282666350562084, 0.3257422366805792, 0.3524581229388312], "nmse_per_episode": {"0": 0.2867776400823864, "33": 0.27584151978327154, "67": 0.2539930757996126, "100": 0.28929070767366405, "134": 0.27996624891223904, "167": 0.27175763417428395, "201": 0.26935678493494736, "234": 0.27419658860977475, "268": 0.2749495937383101, "301": 0.27492620092051384}, "nmse_episode_sem": 0.003077698521079569}
3
+ {"step": 750, "utc": "2026-11-25T13:02:27Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0036721807326720534, "mae_raw": 0.04089051707965436, "nmse": 0.2447132813093603, "groups": {"motion_token": {"mse_raw": 0.0039306922844351486, "nmse": 0.2659201458280829}, "hands": {"mse_raw": 0.0022934524566022144, "nmse": 0.13161000387617314}}, "nmse_by_step": [0.23079224294160997, 0.21410730633959418, 0.19516606727276886, 0.184892957035284, 0.18664160661499543, 0.19865496193783458, 0.21307331300363766, 0.22422259774029843, 0.23349725737168936, 0.24741168703085978, 0.2749941142937942, 0.3025823326365758, 0.3116009984901865, 0.29927360954199517, 0.2895012311792569, 0.3129172870351491], "nmse_per_episode": {"0": 0.2722210370008026, "33": 0.23594108520343315, "67": 0.22911848599993517, "100": 0.25152617783288045, "134": 0.24914280575118677, "167": 0.24320467359696663, "201": 0.22382880279017803, "234": 0.23022185511074245, "268": 0.2731176886149639, "301": 0.2366776491029033}, "nmse_episode_sem": 0.005438778119804086}
4
+ {"step": 1000, "utc": "2026-11-25T13:03:52Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.8, "infer_s_per_query": 0.0033, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.002580257709408323, "mae_raw": 0.034189937561026826, "nmse": 0.17000632308950803, "groups": {"motion_token": {"mse_raw": 0.0026955770175873697, "nmse": 0.18016720466366223}, "hands": {"mse_raw": 0.0019652213991200765, "nmse": 0.11581495469401899}}, "nmse_by_step": [0.14392044456460282, 0.1412405041422316, 0.13475396688715505, 0.12994351315725605, 0.13099587683692837, 0.13834153615438724, 0.14773894064226067, 0.1543418859796365, 0.1611120969768678, 0.17006431758364268, 0.18717369440342263, 0.2050558404264216, 0.2105227681205856, 0.20802861559846333, 0.2139088963050047, 0.24624746956312968], "nmse_per_episode": {"0": 0.1913215360185038, "33": 0.16804036266771175, "67": 0.15496500509360947, "100": 0.17328576368670506, "134": 0.17753855866867943, "167": 0.16542362793837329, "201": 0.15746406695517634, "234": 0.1550031130532711, "268": 0.19242672989956444, "301": 0.1628021963600795}, "nmse_episode_sem": 0.004358379296583899}
5
+ {"step": 1250, "utc": "2026-11-25T13:05:35Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.002273792872497599, "mae_raw": 0.0317726599014515, "nmse": 0.15005897999007067, "groups": {"motion_token": {"mse_raw": 0.0023710212792931126, "nmse": 0.15840774012778783}, "hands": {"mse_raw": 0.0017552413695881926, "nmse": 0.10553225925557902}}, "nmse_by_step": [0.12945501577388716, 0.1268260620197912, 0.1215324659732819, 0.11764896789282255, 0.11829279799919572, 0.12345359957855545, 0.13064477189313337, 0.13523750051425482, 0.1411556206518698, 0.1492624041699994, 0.16374421850721774, 0.1791912435085552, 0.18381361911510552, 0.1820312042299931, 0.18711154053838683, 0.21426228680044193], "nmse_per_episode": {"0": 0.1685798872504171, "33": 0.14749871544320547, "67": 0.1382752988861166, "100": 0.15210729625153785, "134": 0.15768745496373393, "167": 0.1437129307488652, "201": 0.13898442209881845, "234": 0.1357775866237636, "268": 0.172446091884972, "301": 0.14378321702008912}, "nmse_episode_sem": 0.004024875427553489}
6
+ {"step": 1500, "utc": "2026-11-25T13:07:06Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.9, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0020943353575142705, "mae_raw": 0.03022665474269483, "nmse": 0.13868141891966446, "groups": {"motion_token": {"mse_raw": 0.002186089802766669, "nmse": 0.1462670891545272}, "hands": {"mse_raw": 0.0016049783161681435, "nmse": 0.09822451100039631}}, "nmse_by_step": [0.12012327190368016, 0.11768618061185103, 0.11342161830539943, 0.11041389591284816, 0.11121144846622728, 0.1153611254582478, 0.12153314094771395, 0.1253805767943489, 0.13089756390925317, 0.13835492033773666, 0.15103195329171584, 0.16475321146349728, 0.1688249321728097, 0.1673243445379897, 0.171225397400063, 0.19374832331349268], "nmse_per_episode": {"0": 0.15458542443322534, "33": 0.13627131446601098, "67": 0.12818033933386766, "100": 0.1405572954298959, "134": 0.14615370455781787, "167": 0.13266883505299662, "201": 0.12848998560740227, "234": 0.12510428684959723, "268": 0.15978879216828668, "301": 0.1333925994829043}, "nmse_episode_sem": 0.003690765472580845}
7
+ {"step": 1750, "utc": "2026-11-25T13:08:51Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.9, "infer_s_per_query": 0.0053, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001957355329827128, "mae_raw": 0.029007401245004054, "nmse": 0.130227636768336, "groups": {"motion_token": {"mse_raw": 0.0020459116765145736, "nmse": 0.1372799270374606}, "hands": {"mse_raw": 0.0014850548141607486, "nmse": 0.0926154219996715}}, "nmse_by_step": [0.11288033354774264, 0.11066873677310471, 0.10726590860038872, 0.10502609335124402, 0.10601264186428003, 0.10960490120531977, 0.1152081067063518, 0.11870943041339127, 0.12381062122872284, 0.13049859154279742, 0.14143436096850873, 0.1536390748454286, 0.15728510966534062, 0.15616024867341705, 0.15935395644169636, 0.1782229469019102], "nmse_per_episode": {"0": 0.1444959252782389, "33": 0.1283406288905987, "67": 0.12031445260486184, "100": 0.1318380280238735, "134": 0.1374710950195852, "167": 0.124915533619237, "201": 0.1202420618057127, "234": 0.11753336894296122, "268": 0.15036671465430915, "301": 0.1252610984382029}, "nmse_episode_sem": 0.003463422245511567}
8
+ {"step": 2000, "utc": "2026-11-25T13:10:19Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.9, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0018455835233217308, "mae_raw": 0.02796572816424, "nmse": 0.12337427828660706, "groups": {"motion_token": {"mse_raw": 0.0019301172597322596, "nmse": 0.12991248135588726}, "hands": {"mse_raw": 0.0013947369291322433, "nmse": 0.08850386191711264}}, "nmse_by_step": [0.10667053735653698, 0.10475883788217498, 0.1021710665826454, 0.10060420717165616, 0.10183302179940441, 0.10511168005993131, 0.11026418906597657, 0.11346651837815949, 0.1180573744572961, 0.12389370941057887, 0.1332917534191981, 0.14430839553930397, 0.1477210353272799, 0.14714635465003084, 0.15026225284588665, 0.16637829487384426], "nmse_per_episode": {"0": 0.13669323311072168, "33": 0.1220706906656094, "67": 0.11401202411518249, "100": 0.1247742308765185, "134": 0.12943681564893997, "167": 0.11865577708441505, "201": 0.11325813826322674, "234": 0.11193189478374024, "268": 0.14299583929293244, "301": 0.11852051619503774}, "nmse_episode_sem": 0.003281867786436071}
9
+ {"step": 2250, "utc": "2026-11-25T13:12:04Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0017558334211530485, "mae_raw": 0.0270896497152745, "nmse": 0.11773310209251465, "groups": {"motion_token": {"mse_raw": 0.00183543069115191, "nmse": 0.12380267951706314}, "hands": {"mse_raw": 0.0013313146478257868, "nmse": 0.08536202249492272}}, "nmse_by_step": [0.10159310288669576, 0.09986053417484334, 0.09796772738135227, 0.09698626440864372, 0.09845622229246634, 0.10157212989116901, 0.10641117327960749, 0.10936281590506307, 0.11343114136796388, 0.11839075307251203, 0.12628991531479752, 0.13615425246734694, 0.13939220701093497, 0.13955598681403145, 0.14300199213347342, 0.15709990703998847], "nmse_per_episode": {"0": 0.13029684014516396, "33": 0.11655079740741181, "67": 0.10866104571664614, "100": 0.11885492762233942, "134": 0.12275599905584399, "167": 0.11323671343206448, "201": 0.10780168387762981, "234": 0.10761490814274575, "268": 0.137405920024878, "301": 0.11282987968940103}, "nmse_episode_sem": 0.0031625420245832616}
10
+ {"step": 2500, "utc": "2026-11-25T13:13:35Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.9, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0016853045760391407, "mae_raw": 0.026367485309455086, "nmse": 0.11315119964233508, "groups": {"motion_token": {"mse_raw": 0.001759598223162055, "nmse": 0.11880668937439577}, "hands": {"mse_raw": 0.0012890717913835983, "nmse": 0.08298858773801118}}, "nmse_by_step": [0.09722744631347245, 0.09574671620606727, 0.09448354476841789, 0.09403666299683267, 0.09574028298812616, 0.09875065193835075, 0.10337163843227128, 0.10610170454772691, 0.1097316052777051, 0.1139042378389098, 0.12052754232560994, 0.129368753526911, 0.13250924374838927, 0.13345727264353696, 0.13734247410462172, 0.14979797888222313], "nmse_per_episode": {"0": 0.12505691924473653, "33": 0.11201194159295272, "67": 0.10434166213995816, "100": 0.11405040275624512, "134": 0.1170051533214362, "167": 0.10886117188449063, "201": 0.1037732478266254, "234": 0.10414919192171161, "268": 0.13269005824401958, "301": 0.10830148500088563}, "nmse_episode_sem": 0.0030346613386249477}
11
+ {"step": 2750, "utc": "2026-11-25T13:15:21Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0016293379058997786, "mae_raw": 0.0257771862782341, "nmse": 0.10942044321100244, "groups": {"motion_token": {"mse_raw": 0.0016986427605960317, "nmse": 0.11469610067295845}, "hands": {"mse_raw": 0.0012597120141864294, "nmse": 0.08128360341390346}}, "nmse_by_step": [0.09353443865173362, 0.0923816172942958, 0.09164030996571797, 0.09163650100834769, 0.09352816163415745, 0.096437675626021, 0.10088807991635716, 0.10346545780967148, 0.10674592720913557, 0.11027472128702927, 0.11589143516810128, 0.12383330754469754, 0.12684129702745278, 0.12842943238834867, 0.13275539187646065, 0.1440288952432324], "nmse_per_episode": {"0": 0.12068644677819876, "33": 0.10829529173628293, "67": 0.10074837346350546, "100": 0.10997663232237853, "134": 0.11264008280973967, "167": 0.1051253663707316, "201": 0.10071316878553759, "234": 0.10098891979760796, "268": 0.12901120113224, "301": 0.10475728499056515}, "nmse_episode_sem": 0.002952978877116414}
12
+ {"step": 3000, "utc": "2026-11-25T13:16:51Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.9, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0015825058006686044, "mae_raw": 0.025283240642693737, "nmse": 0.10623555337824725, "groups": {"motion_token": {"mse_raw": 0.0016471635418621997, "nmse": 0.11115700254230415}, "hands": {"mse_raw": 0.0012376645143027615, "nmse": 0.0799878245032771}}, "nmse_by_step": [0.09047206345124052, 0.08960520366757736, 0.0892643139588317, 0.08959823669986065, 0.0916202391301694, 0.09442751600817159, 0.09870102991906794, 0.10110628768857922, 0.1040789410698187, 0.10706400390627281, 0.11187876510694694, 0.11910165776951519, 0.12202337853637583, 0.12416044354140411, 0.12887930203883305, 0.13929431172132456], "nmse_per_episode": {"0": 0.11695739149699418, "33": 0.10517445324895919, "67": 0.09757427785286402, "100": 0.1064766245925373, "134": 0.10906008950079789, "167": 0.10179585183406768, "201": 0.09826222017207539, "234": 0.09818833568413993, "268": 0.12578771701838415, "301": 0.101815408009772}, "nmse_episode_sem": 0.0028845286423994205}
13
+ {"step": 3250, "utc": "2026-11-25T13:18:35Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0015406955677108424, "mae_raw": 0.024846735174706366, "nmse": 0.10336266162371131, "groups": {"motion_token": {"mse_raw": 0.0016007900904771806, "nmse": 0.10791662135045203}, "hands": {"mse_raw": 0.0012201914462903727, "nmse": 0.07907487641442723}}, "nmse_by_step": [0.08785279767583995, 0.08727546613726384, 0.08724934969987466, 0.08781701275945479, 0.0899067464816411, 0.09258866285069352, 0.09666250831326056, 0.09885899440871947, 0.10156597082407637, 0.10411013499426765, 0.10826716698111086, 0.11485114955937878, 0.11769534477653247, 0.1202410622103693, 0.12525891431772992, 0.1350316324794831], "nmse_per_episode": {"0": 0.11360025495447013, "33": 0.10239989098550813, "67": 0.0946736900409846, "100": 0.1034552629795277, "134": 0.10603215366686668, "167": 0.09867223818405242, "201": 0.09602536843784093, "234": 0.095593492529636, "268": 0.12249658662021884, "301": 0.09941387176703975}, "nmse_episode_sem": 0.002801000759112649}
14
+ {"step": 3500, "utc": "2026-11-25T13:20:04Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.0, "infer_s_per_query": 0.0037, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001503432584649222, "mae_raw": 0.024450659964504816, "nmse": 0.10078468331442873, "groups": {"motion_token": {"mse_raw": 0.0015592200190005893, "nmse": 0.10497664852018483}, "hands": {"mse_raw": 0.0012058996014419302, "nmse": 0.0784275355503964}}, "nmse_by_step": [0.0855956466371495, 0.08525976320174034, 0.08548085844414832, 0.08620096372369801, 0.08830587347857553, 0.09085469917974622, 0.09472477894741539, 0.09673069885503185, 0.09924677688068237, 0.10144187354968959, 0.10509201368362713, 0.11115106097036175, 0.11390422253820098, 0.11674615391486022, 0.1219788157109831, 0.13120248765309522], "nmse_per_episode": {"0": 0.11065384553505621, "33": 0.09994259106955955, "67": 0.09215472461345378, "100": 0.1007052993955271, "134": 0.10361136306296276, "167": 0.09599989531573049, "201": 0.09384132044659298, "234": 0.09312835355798636, "268": 0.11943819560682949, "301": 0.0971206309128217}, "nmse_episode_sem": 0.002731561125721984}
15
+ {"step": 3750, "utc": "2026-11-25T13:21:52Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.7, "infer_s_per_query": 0.0049, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001470751322496914, "mae_raw": 0.02411304390979874, "nmse": 0.09850045503455856, "groups": {"motion_token": {"mse_raw": 0.001522635159240193, "nmse": 0.10237614052818028}, "hands": {"mse_raw": 0.0011940375265327597, "nmse": 0.07783013240190942}}, "nmse_by_step": [0.08369020096016255, 0.08355437797019176, 0.08394556692778367, 0.08476796268774994, 0.08686712049076188, 0.08927260038728267, 0.09293630934675363, 0.09476343971495546, 0.09710313179134634, 0.09901615441590865, 0.10226559241507689, 0.1079204382010857, 0.11060678109870861, 0.1136456526448083, 0.11908076448670227, 0.12787190561285552], "nmse_per_episode": {"0": 0.107699118816915, "33": 0.0977349951443416, "67": 0.08992239723222745, "100": 0.09824644196211622, "134": 0.10147295361134859, "167": 0.09374444431576512, "201": 0.09187987579231265, "234": 0.09103115978966173, "268": 0.11678872496062698, "301": 0.0952479971234806}, "nmse_episode_sem": 0.0026558388291960918}
16
+ {"step": 4000, "utc": "2026-11-25T13:23:27Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 1.9, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0014413009684090064, "mae_raw": 0.023803486018766765, "nmse": 0.09643967155063045, "groups": {"motion_token": {"mse_raw": 0.001489692032744924, "nmse": 0.10001937693675944}, "hands": {"mse_raw": 0.0011832152919507772, "nmse": 0.07734790949127573}}, "nmse_by_step": [0.08203633504283903, 0.08207086228026468, 0.08259315247017343, 0.08347714583468568, 0.08554975422073138, 0.08782905656173719, 0.09128824671197512, 0.09293350676506906, 0.09512519663574652, 0.09681145450170538, 0.09972522191987383, 0.10503472744204483, 0.10766945371101955, 0.11086358899080419, 0.11642486922129569, 0.12484650104695855], "nmse_per_episode": {"0": 0.10509698483360419, "33": 0.09574295484100939, "67": 0.08790032827261753, "100": 0.09615998757055527, "134": 0.09955329778313339, "167": 0.09174912299490709, "201": 0.09004948365143807, "234": 0.08920289001140631, "268": 0.11407428976437536, "301": 0.09365502397763698}, "nmse_episode_sem": 0.002564547953808507}
17
+ {"step": 4250, "utc": "2026-11-25T13:25:16Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001415012340979917, "mae_raw": 0.023524022507063324, "nmse": 0.09461023830871507, "groups": {"motion_token": {"mse_raw": 0.001460403400338803, "nmse": 0.0979313082207639}, "hands": {"mse_raw": 0.0011729266910658592, "nmse": 0.07689786544445461}}, "nmse_by_step": [0.08051455514919467, 0.08067251225288449, 0.08131660348826857, 0.08225961678275917, 0.08429933665649735, 0.08645267715477746, 0.08974236106114848, 0.0912673518386757, 0.09334916012255114, 0.09485669048280408, 0.09750494658689376, 0.10256719633860327, 0.10518420846896177, 0.10848225465552232, 0.11419551929072079, 0.12230068803275362], "nmse_per_episode": {"0": 0.10277064396622373, "33": 0.09408520598302876, "67": 0.08618118665148, "100": 0.09435107536123391, "134": 0.0978094922660248, "167": 0.08994577707187827, "201": 0.08850721977302228, "234": 0.08761103136888179, "268": 0.11154437748152093, "301": 0.09212302116009188}, "nmse_episode_sem": 0.0024698757445908172}
18
+ {"step": 4500, "utc": "2026-11-25T13:26:49Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.1, "infer_s_per_query": 0.0038, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0013917040146415494, "mae_raw": 0.02327125888145996, "nmse": 0.09299508790906418, "groups": {"motion_token": {"mse_raw": 0.0014346614265235355, "nmse": 0.09608771004295175}, "hands": {"mse_raw": 0.0011625978179376235, "nmse": 0.07650110319499719}}, "nmse_by_step": [0.07928500725680686, 0.07950672574540094, 0.08022576013159666, 0.08121170285270071, 0.08322721802790821, 0.08526436439485784, 0.08841234682297584, 0.08979134144753424, 0.09174249598663631, 0.09307976094336597, 0.09549678099369548, 0.10032625902919079, 0.10293014272750403, 0.1063152171292593, 0.11218684794234386, 0.12008021841497747], "nmse_per_episode": {"0": 0.10064599527530742, "33": 0.09269229502413547, "67": 0.08472493522443263, "100": 0.09261140023737913, "134": 0.09626799314485393, "167": 0.0883711331621041, "201": 0.08706942090346093, "234": 0.08623253667340462, "268": 0.10947902623791217, "301": 0.09071743894473887}, "nmse_episode_sem": 0.002396496160993862}
19
+ {"step": 4750, "utc": "2026-11-25T13:28:33Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 3.1, "infer_s_per_query": 0.0057, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001369920360061784, "mae_raw": 0.023037223312301174, "nmse": 0.09147263510145852, "groups": {"motion_token": {"mse_raw": 0.0014106380882006817, "nmse": 0.09435488712418551}, "hands": {"mse_raw": 0.0011527591433209965, "nmse": 0.07610062431358128}}, "nmse_by_step": [0.07808838036906683, 0.07837138939450569, 0.07916607413251152, 0.08018397286977318, 0.08220005581124493, 0.08415400499613744, 0.08717122848589857, 0.08843446677375957, 0.0902545471413593, 0.09143196811446944, 0.09364955921843954, 0.09822798729279948, 0.10082657123027902, 0.1042907344746643, 0.11026824044228571, 0.11796617238340257], "nmse_per_episode": {"0": 0.09863633971422087, "33": 0.09136936667597878, "67": 0.0833430088213219, "100": 0.09099449169901302, "134": 0.09475388652210506, "167": 0.08713216909825261, "201": 0.08567564093335162, "234": 0.08499055253862568, "268": 0.10728310104344602, "301": 0.08945154896585793}, "nmse_episode_sem": 0.002301721605960934}
20
+ {"step": 5000, "utc": "2026-11-25T13:30:07Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001350481329865536, "mae_raw": 0.02282269330141833, "nmse": 0.09011621666311308, "groups": {"motion_token": {"mse_raw": 0.0013888344868105784, "nmse": 0.09280193827221672}, "hands": {"mse_raw": 0.0011459311594919771, "nmse": 0.07579236808122691}}, "nmse_by_step": [0.07703661090013085, 0.07737814036437744, 0.07823844129499755, 0.07926856731736143, 0.08125619155688461, 0.08311906055400105, 0.08601237620104336, 0.0871787676196806, 0.08892380704184644, 0.08998586856948966, 0.09202343864150866, 0.09641387476659055, 0.09900363096576532, 0.10249522175958259, 0.1085652371609578, 0.11605026326692909], "nmse_per_episode": {"0": 0.09682450589233783, "33": 0.09016971473096995, "67": 0.08220763209177015, "100": 0.08958051748696746, "134": 0.09335876877336158, "167": 0.0859603397754765, "201": 0.08457041929566363, "234": 0.08385803440576876, "268": 0.10538322059379794, "301": 0.08819608426333016}, "nmse_episode_sem": 0.002216604790845719}
21
+ {"step": 5250, "utc": "2026-11-25T13:31:50Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0013337118687368058, "mae_raw": 0.02263367131899613, "nmse": 0.08895695731180117, "groups": {"motion_token": {"mse_raw": 0.0013704324482796777, "nmse": 0.09148883332989952}, "hands": {"mse_raw": 0.001137868777841489, "nmse": 0.07545361854860984}}, "nmse_by_step": [0.07613237422813908, 0.07650927129429419, 0.07740923545037484, 0.07844793293568304, 0.08040970700990513, 0.08221142074836732, 0.08502551968910525, 0.08612277566469566, 0.08778675879268487, 0.08873204239190095, 0.09062097224035845, 0.09485865967415974, 0.09746077638774327, 0.10100301936257221, 0.10716121950728229, 0.11448400337417748], "nmse_per_episode": {"0": 0.09536049732139548, "33": 0.08902700963880233, "67": 0.08121831122718376, "100": 0.08823534603061393, "134": 0.09225172437268805, "167": 0.08490297471462104, "201": 0.08357788935658311, "234": 0.08285031308940219, "268": 0.10406652351881585, "301": 0.08704703029051283}, "nmse_episode_sem": 0.0021775971927103436}
22
+ {"step": 5500, "utc": "2026-11-25T13:33:26Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.0039, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.00131701777593485, "mae_raw": 0.022446832400563665, "nmse": 0.08780689542210852, "groups": {"motion_token": {"mse_raw": 0.0013518319804133746, "nmse": 0.0901703818566766}, "hands": {"mse_raw": 0.001131342018716052, "nmse": 0.0752016344377456}}, "nmse_by_step": [0.07525030521519818, 0.07568956426994553, 0.07663515591488627, 0.07767620005824911, 0.07959167953690219, 0.08133142757386322, 0.08404945801122553, 0.08507167043230937, 0.08666914077917195, 0.08751604398538441, 0.08926652920040504, 0.09335684323054065, 0.09591888251795119, 0.09945363640080836, 0.10565761232167373, 0.11281103834383407], "nmse_per_episode": {"0": 0.09394160665826459, "33": 0.08790235913134177, "67": 0.08029821704107783, "100": 0.08700707798920222, "134": 0.09109531574064104, "167": 0.08389256602794658, "201": 0.08268648272957234, "234": 0.08181260618469044, "268": 0.10238523783512449, "301": 0.0860411418691909}, "nmse_episode_sem": 0.002104213358220386}
23
+ {"step": 5750, "utc": "2026-11-25T13:35:06Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0013015105053045411, "mae_raw": 0.022269538650417687, "nmse": 0.08674084751679123, "groups": {"motion_token": {"mse_raw": 0.0013345015514323328, "nmse": 0.08894009509637364}, "hands": {"mse_raw": 0.0011255582592896516, "nmse": 0.07501152709235163}}, "nmse_by_step": [0.07445569279090355, 0.07493511980991589, 0.0759021637071275, 0.07693167528252685, 0.07879557655738068, 0.08047510409858928, 0.08312166897317698, 0.0840844550883348, 0.08559989238090623, 0.08635645220200462, 0.08800990526766651, 0.09197555003851358, 0.09451728653918537, 0.09805542125073989, 0.10431988524903768, 0.11132741118786352], "nmse_per_episode": {"0": 0.09254159409245535, "33": 0.08674345686416086, "67": 0.07945516074862106, "100": 0.08582603720968573, "134": 0.09014351978175053, "167": 0.08279201292812685, "201": 0.0819346086228658, "234": 0.08092299430386, "268": 0.10099050129663022, "301": 0.08507530624024531}, "nmse_episode_sem": 0.002047805260699618}
24
+ {"step": 6000, "utc": "2026-11-25T13:36:46Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012863691728135958, "mae_raw": 0.022094934887745107, "nmse": 0.08570789544585786, "groups": {"motion_token": {"mse_raw": 0.0013176570487772675, "nmse": 0.08775419630574723}, "hands": {"mse_raw": 0.001119500501007348, "nmse": 0.07479429085978131}}, "nmse_by_step": [0.07369475611421582, 0.07420533301873304, 0.07520054576813917, 0.07622899799683276, 0.07804916709458276, 0.079680373628733, 0.08224934057515311, 0.08313358460440338, 0.0845709354541525, 0.08525256038137517, 0.08678985418568079, 0.09063272666964033, 0.09315187827886445, 0.09668308589461687, 0.10297863608722344, 0.10980772581082383], "nmse_per_episode": {"0": 0.09109863788575401, "33": 0.0856745880519885, "67": 0.07857082558552755, "100": 0.08468018009831008, "134": 0.08922442082425901, "167": 0.08183056532294551, "201": 0.08113995551250121, "234": 0.08003994127381023, "268": 0.09974376072613379, "301": 0.08411584016507936}, "nmse_episode_sem": 0.0020024833085718987}
25
+ {"step": 6250, "utc": "2026-11-25T13:38:27Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.6, "infer_s_per_query": 0.0047, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012733961214187676, "mae_raw": 0.021943849113379182, "nmse": 0.0848192106792142, "groups": {"motion_token": {"mse_raw": 0.001303395572709991, "nmse": 0.08674704807525256}, "hands": {"mse_raw": 0.0011133990478655771, "nmse": 0.07453741123367637}}, "nmse_by_step": [0.07303134407762302, 0.07356024975793023, 0.0745702032808705, 0.07560474692069977, 0.07738945215990882, 0.07898977150400956, 0.08150765355961029, 0.08233220385762459, 0.0837001079609198, 0.08429539246684153, 0.08572536229187633, 0.0894565217383318, 0.09196316652488025, 0.0955014617692481, 0.10185482727208765, 0.10858702522973589], "nmse_per_episode": {"0": 0.08983567192697425, "33": 0.0848988229774901, "67": 0.07790526317980898, "100": 0.08368555125383163, "134": 0.08838687322665677, "167": 0.08088164948354575, "201": 0.08049962676540902, "234": 0.07931644456036191, "268": 0.09851983104722657, "301": 0.0833296015423876}, "nmse_episode_sem": 0.0019472768660132348}
26
+ {"step": 6500, "utc": "2026-11-25T13:39:58Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012617992533433924, "mae_raw": 0.021805513018006522, "nmse": 0.08402783573599146, "groups": {"motion_token": {"mse_raw": 0.0012906882991193544, "nmse": 0.08584684361763995}, "hands": {"mse_raw": 0.0011077243425382612, "nmse": 0.07432646036719949}}, "nmse_by_step": [0.07240173832823642, 0.07294791080287093, 0.07397177774626296, 0.07500404432476401, 0.07677362712700211, 0.07833013200111788, 0.08080938219085189, 0.08158883786442434, 0.08290155292996496, 0.08344334336837632, 0.08480033014224059, 0.08844997788071234, 0.09095787216760738, 0.09452377925659756, 0.10093027135989364, 0.10755817643075662], "nmse_per_episode": {"0": 0.08871885786753662, "33": 0.08419441577508363, "67": 0.07730723948136323, "100": 0.0827755125171041, "134": 0.08757103301484309, "167": 0.08021809076384019, "201": 0.07985958968073661, "234": 0.07856087072098022, "268": 0.09749901027223326, "301": 0.08265519545069033}, "nmse_episode_sem": 0.0019042959130595983}
27
+ {"step": 6750, "utc": "2026-11-25T13:41:50Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012495078008539094, "mae_raw": 0.021657591102997528, "nmse": 0.08318967700379482, "groups": {"motion_token": {"mse_raw": 0.0012771580458992794, "nmse": 0.08489733276933298}, "hands": {"mse_raw": 0.001102039827278604, "nmse": 0.07408217958759139}}, "nmse_by_step": [0.07181229098319539, 0.07236553803566215, 0.073397573815548, 0.07441509355924282, 0.07615375022151392, 0.07765978392801172, 0.08009052492849354, 0.08081420779440592, 0.08206167160066415, 0.0825473520492835, 0.08382247015366424, 0.08738860748772267, 0.08986425053757331, 0.09343011926286936, 0.09984336124050007, 0.1062941971757725], "nmse_per_episode": {"0": 0.08760118114695795, "33": 0.08341483671128595, "67": 0.07656929193423853, "100": 0.08181645010066214, "134": 0.08684350167523085, "167": 0.07945171965724783, "201": 0.07921728176024422, "234": 0.0778690209439937, "268": 0.09629808120031014, "301": 0.08192005091679051}, "nmse_episode_sem": 0.0018559257232823487}
28
+ {"step": 7000, "utc": "2026-11-25T13:43:22Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012387317325449384, "mae_raw": 0.021529749811682184, "nmse": 0.08245636276687875, "groups": {"motion_token": {"mse_raw": 0.0012654896915928525, "nmse": 0.0840729552138348}, "hands": {"mse_raw": 0.0010960226176227313, "nmse": 0.07383453638311308}}, "nmse_by_step": [0.07129103773096972, 0.07185030063612836, 0.07289947639500681, 0.07391494083789454, 0.07563028927104012, 0.07709999702886484, 0.07947220216033239, 0.08014228094520086, 0.0813345063213632, 0.08176307987213606, 0.08297161388394357, 0.0864687745695281, 0.0889230383581954, 0.09246936837913497, 0.09886196673105266, 0.10511480073397834], "nmse_per_episode": {"0": 0.0866783314116042, "33": 0.08283534136597168, "67": 0.07591891557320435, "100": 0.08082996535582813, "134": 0.08613969663499983, "167": 0.07873096548243944, "201": 0.07867621946442167, "234": 0.07718102404595263, "268": 0.09537643614597927, "301": 0.08130497097428266}, "nmse_episode_sem": 0.0018290577995181605}
29
+ {"step": 7250, "utc": "2026-11-25T13:45:08Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.0039, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012283404491058145, "mae_raw": 0.021406562727537656, "nmse": 0.08176358298400163, "groups": {"motion_token": {"mse_raw": 0.0012543079213994809, "nmse": 0.0832974434081041}, "hands": {"mse_raw": 0.0010898472635395941, "nmse": 0.07358299405545503}}, "nmse_by_step": [0.07080895521740949, 0.07136228397776274, 0.07240852316630952, 0.07342951818698408, 0.0751363110988852, 0.07657468660980991, 0.07891109798510566, 0.07954469189163386, 0.0806672600506627, 0.08103078216914313, 0.08218015591114768, 0.08560709878194778, 0.08803862111451476, 0.091547205719164, 0.09789445084259714, 0.10396184963488728], "nmse_per_episode": {"0": 0.08578790171441057, "33": 0.08219260265576535, "67": 0.07532047072194357, "100": 0.07999971360645011, "134": 0.0855188750568218, "167": 0.0781934406814571, "201": 0.07820854859032934, "234": 0.07651790810390166, "268": 0.09429970115881232, "301": 0.08071919329781792}, "nmse_episode_sem": 0.0017831795934628676}
30
+ {"step": 7500, "utc": "2026-11-25T13:46:40Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0012187468930452336, "mae_raw": 0.02129364026685645, "nmse": 0.08112272359252982, "groups": {"motion_token": {"mse_raw": 0.0012440718316871619, "nmse": 0.082581157516816}, "hands": {"mse_raw": 0.001083680553621616, "nmse": 0.07334440932967022}}, "nmse_by_step": [0.07037264954341216, 0.07091975509573344, 0.07196285425659023, 0.07299090617372361, 0.07469190189594233, 0.0761084349740488, 0.078410082155649, 0.07899727531907094, 0.0800489496318484, 0.08034227181191582, 0.08141982464034703, 0.08477093313431527, 0.08719059344372689, 0.09067700950391816, 0.09701467928100854, 0.10291279247671788], "nmse_per_episode": {"0": 0.08499197262361496, "33": 0.08160716350370185, "67": 0.07475926305923672, "100": 0.07940150198342535, "134": 0.0848360577259794, "167": 0.07752861905650256, "201": 0.07775363821340615, "234": 0.07603587834611313, "268": 0.0932712917465456, "301": 0.08018552731911788}, "nmse_episode_sem": 0.0017352165692091622}
31
+ {"step": 7750, "utc": "2026-11-25T13:48:18Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001209274187080845, "mae_raw": 0.02118268211659414, "nmse": 0.0804952664635751, "groups": {"motion_token": {"mse_raw": 0.0012339161375092302, "nmse": 0.0818771233904491}, "hands": {"mse_raw": 0.001077850451462792, "nmse": 0.07312536285358039}}, "nmse_by_step": [0.0699698769801057, 0.07048958125596394, 0.0715317059187487, 0.07256752590742019, 0.0742695176625456, 0.07567828246402335, 0.07794626056662556, 0.07848545651829597, 0.07946364610502137, 0.07967095156578959, 0.08066266897877805, 0.08393208023957795, 0.08632303080319302, 0.08979536480571702, 0.09611866470911894, 0.10186701258946758], "nmse_per_episode": {"0": 0.08433083760414113, "33": 0.0809684150537958, "67": 0.07425538031938145, "100": 0.07863539962657268, "134": 0.0841775771833112, "167": 0.07700081485318185, "201": 0.07717909928329983, "234": 0.0754678841635018, "268": 0.09235402879468455, "301": 0.07972814703689211}, "nmse_episode_sem": 0.0017013671009469577}
32
+ {"step": 8000, "utc": "2026-11-25T13:49:51Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001200978469646095, "mae_raw": 0.0210849677656502, "nmse": 0.07993439129920432, "groups": {"motion_token": {"mse_raw": 0.001224962886476944, "nmse": 0.0812459321362275}, "hands": {"mse_raw": 0.001073061579881567, "nmse": 0.07293950683508067}}, "nmse_by_step": [0.06960397541191571, 0.07009754238838822, 0.07114288399739772, 0.07219460035820212, 0.07389547388734023, 0.0752884174862651, 0.07753463402544676, 0.07802898399009901, 0.07894217364783335, 0.07907909302851623, 0.0800001102809256, 0.08319641541670508, 0.08555091556264523, 0.08901160439178589, 0.0953066331847295, 0.10090614801868827], "nmse_per_episode": {"0": 0.0836711817628756, "33": 0.0804153559350283, "67": 0.07378928235046489, "100": 0.07800576263163346, "134": 0.08350563994111766, "167": 0.07655096544918324, "201": 0.07666679696304429, "234": 0.07499311979896493, "268": 0.09158601207475478, "301": 0.0793087109802104}, "nmse_episode_sem": 0.0016701661081147097}
33
+ {"step": 8250, "utc": "2026-11-25T13:51:40Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011926770875090012, "mae_raw": 0.02098770363014991, "nmse": 0.07937754920077116, "groups": {"motion_token": {"mse_raw": 0.0012159474861589267, "nmse": 0.08062076105231768}, "hands": {"mse_raw": 0.001068568294709398, "nmse": 0.07274708599252308}}, "nmse_by_step": [0.06920421916846212, 0.06968026261219444, 0.0707246154440829, 0.07179809449147766, 0.07350586358733359, 0.07488893240160224, 0.07711591106120551, 0.07756742455066927, 0.07842016787151306, 0.07849846497763724, 0.07934736326598356, 0.08249148347579613, 0.08482000670496266, 0.08825992283199056, 0.09453879904515468, 0.09999311900141476], "nmse_per_episode": {"0": 0.08294592666393152, "33": 0.07986122974131878, "67": 0.07333604613154185, "100": 0.07740230674089853, "134": 0.08293461501176606, "167": 0.07597919782401963, "201": 0.07620961365984144, "234": 0.07453805728296606, "268": 0.09078312621266754, "301": 0.07894058858015285}, "nmse_episode_sem": 0.0016371837917055325}
34
+ {"step": 8500, "utc": "2026-11-25T13:53:09Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001184851961216431, "mae_raw": 0.020896880235487407, "nmse": 0.07885684898060885, "groups": {"motion_token": {"mse_raw": 0.0012074765195919858, "nmse": 0.08003754325076087}, "hands": {"mse_raw": 0.001064187649880139, "nmse": 0.07255981287313136}}, "nmse_by_step": [0.06883470283916383, 0.0692912879781797, 0.07034584414491463, 0.07144543566203491, 0.0731652870913527, 0.07455415529369906, 0.0767626654345656, 0.07716090862527814, 0.07795454446327049, 0.07795625740264561, 0.07872384682660019, 0.08180320883474962, 0.08410545559243908, 0.08752839521070781, 0.09377104626684261, 0.09910392535763671], "nmse_per_episode": {"0": 0.0822726950898763, "33": 0.07931483493251643, "67": 0.0728440487633382, "100": 0.07689252156457067, "134": 0.08233546945400842, "167": 0.07543326358103655, "201": 0.07582891746248828, "234": 0.07406861985675538, "268": 0.09011689263891096, "301": 0.07861367390685728}, "nmse_episode_sem": 0.001614459772051417}
35
+ {"step": 8750, "utc": "2026-11-25T13:54:58Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.00117737008981927, "mae_raw": 0.020812190990720947, "nmse": 0.07836188126514507, "groups": {"motion_token": {"mse_raw": 0.0011993188754285296, "nmse": 0.0794800501962595}, "hands": {"mse_raw": 0.001060309899903217, "nmse": 0.07239831363253471}}, "nmse_by_step": [0.06850936051558819, 0.06893531342584824, 0.06998519208632399, 0.07110033437465513, 0.07283185026663719, 0.07421333434062716, 0.0764117184086101, 0.07676749162889973, 0.07750800549725147, 0.07743794537377381, 0.07814352732837278, 0.08116408690741761, 0.08342794749359764, 0.08683577750124066, 0.09304919939442902, 0.09825079988829076], "nmse_per_episode": {"0": 0.0816587642276761, "33": 0.07887990510389292, "67": 0.07246757062673699, "100": 0.07640169065827117, "134": 0.08172352794343439, "167": 0.07495311165472225, "201": 0.07536622241043435, "234": 0.07364659176325153, "268": 0.08941076965217978, "301": 0.07826950664692175}, "nmse_episode_sem": 0.0015841824066801281}
36
+ {"step": 9000, "utc": "2026-11-25T13:56:26Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011709100645083098, "mae_raw": 0.02073781196251546, "nmse": 0.07793629312030265, "groups": {"motion_token": {"mse_raw": 0.0011923186507881455, "nmse": 0.07900103733516504}, "hands": {"mse_raw": 0.0010567309376825187, "nmse": 0.07225765730770306}}, "nmse_by_step": [0.06823164864582873, 0.06864062607895713, 0.06969905681787071, 0.07083779547964326, 0.07257344071188943, 0.07394429883823962, 0.0761273767111947, 0.07643638178023382, 0.07712752070815618, 0.07699863463502303, 0.07764082869924606, 0.08060293707045313, 0.08282401150428602, 0.08620423334010241, 0.09238144577140313, 0.09747665321828208], "nmse_per_episode": {"0": 0.08109594720098581, "33": 0.07849526411961125, "67": 0.07212250347589237, "100": 0.07595320052763804, "134": 0.08118322429923694, "167": 0.07452205559096181, "201": 0.07499075094971626, "234": 0.07329124365707317, "268": 0.08888046611665663, "301": 0.07798827031931234}, "nmse_episode_sem": 0.0015641398605504332}
37
+ {"step": 9250, "utc": "2026-11-25T13:58:08Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011651420113832764, "mae_raw": 0.0206736575771216, "nmse": 0.07755054212173465, "groups": {"motion_token": {"mse_raw": 0.0011860972797639504, "nmse": 0.07857160209775302}, "hands": {"mse_raw": 0.001053380580019681, "nmse": 0.07210488891630336}}, "nmse_by_step": [0.0679726611778318, 0.06836962290408098, 0.06943143092846049, 0.07059511290214794, 0.07234653669025491, 0.07371342086521844, 0.07587760037436507, 0.0761315091000351, 0.07676756367110327, 0.07657207021236354, 0.07715178101496338, 0.0800587326631919, 0.08225864654542207, 0.08563247906526389, 0.09182668424102325, 0.09685603821026623], "nmse_per_episode": {"0": 0.08070044576860541, "33": 0.07815673246896641, "67": 0.07178139587977944, "100": 0.07559074927315242, "134": 0.08067827978729512, "167": 0.07418208765154126, "201": 0.07471377178965316, "234": 0.07296640094680272, "268": 0.08824789247854116, "301": 0.07765613705642042}, "nmse_episode_sem": 0.0015347071808608022}
38
+ {"step": 9500, "utc": "2026-11-25T13:59:40Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011595702090852783, "mae_raw": 0.02061140327571851, "nmse": 0.0771825464197188, "groups": {"motion_token": {"mse_raw": 0.0011801135943224881, "nmse": 0.07816027387426555}, "hands": {"mse_raw": 0.0010500054878201583, "nmse": 0.07196799999546961}}, "nmse_by_step": [0.06773106900260144, 0.06810948627547102, 0.06917434819968088, 0.0703554686303576, 0.07211737900575009, 0.07347977803771873, 0.0756247381080561, 0.07583876665490694, 0.07642533155163073, 0.07617277519092187, 0.07669838829723019, 0.07955927354339849, 0.08172657034756475, 0.08509059867525545, 0.0912974126850209, 0.0962605340831388], "nmse_per_episode": {"0": 0.08030356437893263, "33": 0.07783701467848946, "67": 0.07144987426623939, "100": 0.07520707875768753, "134": 0.08028140722675378, "167": 0.07382993075018879, "201": 0.07437338937548924, "234": 0.07267854449254196, "268": 0.08762892118505407, "301": 0.07741067909765413}, "nmse_episode_sem": 0.0015094744079857938}
39
+ {"step": 9750, "utc": "2026-11-25T14:01:21Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.8, "infer_s_per_query": 0.0051, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011547592329604647, "mae_raw": 0.020556683691766324, "nmse": 0.07686596293508102, "groups": {"motion_token": {"mse_raw": 0.0011750037276847722, "nmse": 0.07780785613860255}, "hands": {"mse_raw": 0.0010467885944308258, "nmse": 0.0718425325162994}}, "nmse_by_step": [0.06752320031930693, 0.06788606078882375, 0.06895046260999278, 0.07015279472952726, 0.07193196551635149, 0.07329038980319828, 0.07541741486407783, 0.07559490619046849, 0.076135822702181, 0.07584542953852007, 0.07631460541105338, 0.07912893377396561, 0.08127578142663479, 0.08462174662149281, 0.09081924166698391, 0.09569656871966288], "nmse_per_episode": {"0": 0.08002810065196748, "33": 0.07757383317656538, "67": 0.07116310649735562, "100": 0.07487784680011529, "134": 0.07992466163380649, "167": 0.07344283031631774, "201": 0.07415055993767115, "234": 0.07238161427217005, "268": 0.08712156707787384, "301": 0.0771710604028621}, "nmse_episode_sem": 0.001493445579154328}
40
+ {"step": 10000, "utc": "2026-11-25T14:03:03Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.8, "infer_s_per_query": 0.005, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001150233477119843, "mae_raw": 0.020505618003006598, "nmse": 0.07657063848951125, "groups": {"motion_token": {"mse_raw": 0.0011702257949706084, "nmse": 0.07747922125654196}, "hands": {"mse_raw": 0.001043607781915762, "nmse": 0.07172486373201409}}, "nmse_by_step": [0.06733137564872557, 0.06767794647493768, 0.0687408004246561, 0.06995870917973182, 0.07175188896998179, 0.07311365982622434, 0.07522970036488175, 0.07537425156461826, 0.07586734185040385, 0.07552905806048657, 0.07594882127366635, 0.0787206268452151, 0.08083943972348424, 0.0841813056953798, 0.09038676008707547, 0.09519830816754667], "nmse_per_episode": {"0": 0.0796876097893939, "33": 0.07730574135626152, "67": 0.07089262086214433, "100": 0.0746236473594321, "134": 0.07959127326117015, "167": 0.0731602514838572, "201": 0.07388914529934751, "234": 0.07213735234177596, "268": 0.08667355252563246, "301": 0.0769281412427781}, "nmse_episode_sem": 0.0014757893329295643}
41
+ {"step": 10250, "utc": "2026-11-25T14:04:42Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011465645723474423, "mae_raw": 0.020463572721547287, "nmse": 0.07633595486943857, "groups": {"motion_token": {"mse_raw": 0.0011664087070296439, "nmse": 0.07722151838877504}, "hands": {"mse_raw": 0.001040729187375701, "nmse": 0.07161294943297745}}, "nmse_by_step": [0.06716928666436311, 0.06750384512800503, 0.06857248761775764, 0.06980877447706052, 0.07160724665666009, 0.07297388956229138, 0.07508150792005824, 0.07519220906718226, 0.07565026669467452, 0.07526913635475374, 0.07565073987318112, 0.07839674182003735, 0.08049669571531952, 0.08383690565043146, 0.09005381836679575, 0.0948239367297278], "nmse_per_episode": {"0": 0.07952745497079997, "33": 0.0770738279781634, "67": 0.07064755497681573, "100": 0.07438827357207413, "134": 0.07926488485885155, "167": 0.07288424005371424, "201": 0.07370690478514957, "234": 0.07192916257794157, "268": 0.08635217967810359, "301": 0.07676274721497085}, "nmse_episode_sem": 0.0014687313668763089}
42
+ {"step": 10500, "utc": "2026-11-25T14:06:13Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011430800581524016, "mae_raw": 0.020425611853428526, "nmse": 0.07610813555307624, "groups": {"motion_token": {"mse_raw": 0.001162698234301695, "nmse": 0.07696866927305654}, "hands": {"mse_raw": 0.0010384497853561689, "nmse": 0.07151862237984793}}, "nmse_by_step": [0.06702009985458285, 0.06734358881108544, 0.06841531082738422, 0.06967491602496458, 0.07148118632870445, 0.0728476224454602, 0.07494620803642302, 0.07502143977010332, 0.07544045918302913, 0.07502006190457326, 0.07536643056376126, 0.07808251889986495, 0.08015748579963684, 0.08348701293000166, 0.08970362427758109, 0.09442587948298371], "nmse_per_episode": {"0": 0.0793643442846537, "33": 0.0768461057326612, "67": 0.07041299562460533, "100": 0.0741787372857673, "134": 0.07899878350422719, "167": 0.07269853600760709, "201": 0.07348683939650603, "234": 0.0717386250641311, "268": 0.08596589357633623, "301": 0.0765712866894909}, "nmse_episode_sem": 0.0014551537293569946}
43
+ {"step": 10750, "utc": "2026-11-25T14:07:56Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0043, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011398069151178274, "mae_raw": 0.020389661952438177, "nmse": 0.07589522850963813, "groups": {"motion_token": {"mse_raw": 0.0011592191794392176, "nmse": 0.07673141358081297}, "hands": {"mse_raw": 0.0010362748387370796, "nmse": 0.07143557479670562}}, "nmse_by_step": [0.06689311063612145, 0.06720022694993008, 0.06827079404757967, 0.06954612151778453, 0.07135712625123965, 0.07272574631711144, 0.07481556564439361, 0.07485786382375198, 0.07524543917960737, 0.07479041998803357, 0.07510214811415328, 0.07778973891767105, 0.07984458607501566, 0.08315938181300744, 0.0893743189950507, 0.09404661900430061], "nmse_per_episode": {"0": 0.07918477920575677, "33": 0.07667855556210519, "67": 0.07021195655065239, "100": 0.07399723415342092, "134": 0.07863961801782378, "167": 0.07248674486392023, "201": 0.0733128825858092, "234": 0.07159176276612858, "268": 0.08565590620914025, "301": 0.0763770889398928}, "nmse_episode_sem": 0.0014418774142852787}
44
+ {"step": 11000, "utc": "2026-11-25T14:09:26Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.2, "infer_s_per_query": 0.004, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.001137364291747538, "mae_raw": 0.020362912823742117, "nmse": 0.07573717201809517, "groups": {"motion_token": {"mse_raw": 0.0011566479510473225, "nmse": 0.07655812697405245}, "hands": {"mse_raw": 0.0010345181088153546, "nmse": 0.07135874558632303}}, "nmse_by_step": [0.06679519366087049, 0.0670884171821599, 0.06815450976278131, 0.06944208389431995, 0.07125680467917292, 0.0726274628897779, 0.07470745846767139, 0.07472777815026298, 0.07508588386318722, 0.07459889934946234, 0.07489602331663966, 0.07757347375195803, 0.07961532248322398, 0.08293619636300224, 0.08916915320708085, 0.09381091061935323], "nmse_per_episode": {"0": 0.07911708034349418, "33": 0.07654579953486104, "67": 0.07010084810651997, "100": 0.07382431890986263, "134": 0.07841926614203748, "167": 0.07234418139543711, "201": 0.07315925939213017, "234": 0.0714512804476427, "268": 0.08537939208883363, "301": 0.07621692069009223}, "nmse_episode_sem": 0.0014312455197823168}
45
+ {"step": 11250, "utc": "2026-11-25T14:11:16Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011349487991388657, "mae_raw": 0.02033638973594659, "nmse": 0.07558012765424138, "groups": {"motion_token": {"mse_raw": 0.0011540925243517658, "nmse": 0.0763845627816123}, "hands": {"mse_raw": 0.0010328489313367326, "nmse": 0.07128980697492981}}, "nmse_by_step": [0.06670073734072546, 0.06697632567485001, 0.06804121057562346, 0.06933652475102373, 0.07115679859078898, 0.07253084246884796, 0.07460474988154826, 0.07460416025271734, 0.07493710323492919, 0.07442037360919714, 0.07469587911831621, 0.07735557713680882, 0.07938463925040572, 0.08270792618147581, 0.08894932209186171, 0.09356565140764626], "nmse_per_episode": {"0": 0.07899098817275559, "33": 0.07645743339016489, "67": 0.06997375552491689, "100": 0.07366918366697242, "134": 0.07820656519269527, "167": 0.0722071504369078, "201": 0.07304212431628776, "234": 0.07132108828732614, "268": 0.08505171882360409, "301": 0.07607432048147889}, "nmse_episode_sem": 0.0014151282871283548}
46
+ {"step": 11500, "utc": "2026-11-25T14:12:48Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011331306174899014, "mae_raw": 0.020316328798668907, "nmse": 0.07546206373466426, "groups": {"motion_token": {"mse_raw": 0.001152196984291861, "nmse": 0.07625501249095096}, "hands": {"mse_raw": 0.0010314433278794486, "nmse": 0.07123300370113521}}, "nmse_by_step": [0.06663204226969213, 0.06689568839218163, 0.06796016527885702, 0.06926532057999833, 0.07109320557375468, 0.07246989302100652, 0.07453706663924374, 0.074517176116436, 0.07482390556231225, 0.07428010501133452, 0.07453787309179216, 0.07717799731921006, 0.07919771270106515, 0.08253123408600993, 0.0887779508624661, 0.09337711749853168], "nmse_per_episode": {"0": 0.07891099940119882, "33": 0.07638799938165562, "67": 0.06988262446842583, "100": 0.07354171105510073, "134": 0.07804823313948385, "167": 0.0721145522434275, "201": 0.07294718813227687, "234": 0.07121013982043671, "268": 0.08479663068938288, "301": 0.07597688171574903}, "nmse_episode_sem": 0.0014031811505039512}
47
+ {"step": 11750, "utc": "2026-11-25T14:14:30Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0045, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011319096810613425, "mae_raw": 0.02030335395265537, "nmse": 0.07538295281395435, "groups": {"motion_token": {"mse_raw": 0.0011509496286850444, "nmse": 0.0761697815500454}, "hands": {"mse_raw": 0.0010303632937349316, "nmse": 0.07118653288813534}}, "nmse_by_step": [0.06657450668265033, 0.06683041822991882, 0.06789740429162752, 0.06921230633220238, 0.07104990678157726, 0.07243010119809744, 0.07449178382616539, 0.07446290751409401, 0.07475208377543548, 0.0741903742107991, 0.07443275109274138, 0.07706040856925238, 0.07907584685943861, 0.08241388832823071, 0.08867126497713984, 0.09326032652648371], "nmse_per_episode": {"0": 0.07887195048020973, "33": 0.07633691503377135, "67": 0.06981056857446526, "100": 0.07346899959267945, "134": 0.07794537802957113, "167": 0.07205510209167162, "201": 0.07286737871517449, "234": 0.07111661505607199, "268": 0.08465515524619059, "301": 0.07589864370306897}, "nmse_episode_sem": 0.0013989814500659807}
48
+ {"step": 12000, "utc": "2026-11-25T14:15:58Z", "model": "flash", "task": "b4", "split": "train10", "queries": 543, "ranks": 1, "wall_s": 2.3, "infer_s_per_query": 0.0042, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], "inloop_code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse", "cache": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse/cache/b4/train10", "rows": 8622, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 76, "mse_raw": 0.0011309175898741686, "mae_raw": 0.020292271547749867, "nmse": 0.07531929239244947, "groups": {"motion_token": {"mse_raw": 0.0011499346456918427, "nmse": 0.07610085030087632}, "hands": {"mse_raw": 0.0010294932921799053, "nmse": 0.07115098354750633}}, "nmse_by_step": [0.06653155148322554, 0.06678030530439377, 0.06784878753612962, 0.06916915520289443, 0.07101278571894819, 0.07239590909357164, 0.0744544537371393, 0.07441542285849284, 0.07469294480677838, 0.07411798555093423, 0.07434959588741531, 0.0769686338076839, 0.0789802687472294, 0.0823209007545715, 0.0885857141995508, 0.09316131609497338], "nmse_per_episode": {"0": 0.07881858990546915, "33": 0.07629988784154312, "67": 0.0697594795755216, "100": 0.07340344388690127, "134": 0.07788797449401585, "167": 0.07200294780228872, "201": 0.0728208597293436, "234": 0.071042617160246, "268": 0.08452074265150541, "301": 0.07583604481717955}, "nmse_episode_sem": 0.0013935832978559785}
b4-cushion/b512/step-012000/training_records/pip_freeze_hb-baselines.txt ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ anyio==4.16.0
2
+ av==15.1.0
3
+ certifi==2026.11.20
4
+ charset-normalizer==3.5.3
5
+ click==8.5.1
6
+ diffusers==0.35.1
7
+ filelock==4.3.1
8
+ fsspec==2026.9.0
9
+ h11==0.16.0
10
+ hf-xet==1.8.0
11
+ httpcore2==2.16.2
12
+ httpx2==2.16.2
13
+ huggingface_hub==2.4.0
14
+ idna==3.20
15
+ importlib_metadata==10.2.0
16
+ iniconfig==2.3.1
17
+ Jinja2==3.1.6
18
+ lazy-importer==0.1.0
19
+ MarkupSafe==3.0.4
20
+ mpmath==1.3.0
21
+ networkx==3.7
22
+ numpy==2.2.6
23
+ nvidia-cublas-cu12==12.8.4.1
24
+ nvidia-cuda-cupti-cu12==12.8.90
25
+ nvidia-cuda-nvrtc-cu12==12.8.93
26
+ nvidia-cuda-runtime-cu12==12.8.90
27
+ nvidia-cudnn-cu12==9.10.2.21
28
+ nvidia-cufft-cu12==11.3.3.83
29
+ nvidia-cufile-cu12==1.13.1.3
30
+ nvidia-curand-cu12==10.3.9.90
31
+ nvidia-cusolver-cu12==11.7.3.90
32
+ nvidia-cusparse-cu12==12.5.8.93
33
+ nvidia-cusparselt-cu12==0.7.1
34
+ nvidia-nccl-cu12==2.27.5
35
+ nvidia-nvjitlink-cu12==12.8.93
36
+ nvidia-nvshmem-cu12==3.3.20
37
+ nvidia-nvtx-cu12==12.8.90
38
+ opencv-python-headless==4.11.0.86
39
+ packaging==26.4
40
+ pillow==13.0.0
41
+ pluggy==1.7.0
42
+ pyarrow==23.0.1
43
+ Pygments==2.21.0
44
+ pytest==8.4.2
45
+ PyYAML==6.0.4
46
+ regex==2026.11.19
47
+ requests==2.34.2
48
+ safetensors==0.8.0
49
+ setuptools==84.2.1
50
+ sympy==1.14.0
51
+ torch==2.9.0+cu128
52
+ torchvision==0.24.0+cu128
53
+ tqdm==4.70.1
54
+ triton==3.5.0
55
+ truststore==0.10.5
56
+ typing_extensions==4.16.0
57
+ urllib3==2.8.0
58
+ zipp==4.1.2
b4-cushion/b512/step-012000/training_records/run.json ADDED
@@ -0,0 +1,1340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "argv": [
3
+ "evaluation/baselines/train.py",
4
+ "--policy",
5
+ "flash",
6
+ "--contract",
7
+ "g1_sonic_dfx6",
8
+ "--dataset",
9
+ "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/b4-cushion-194e7cd/data",
10
+ "--out",
11
+ "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000",
12
+ "--steps",
13
+ "12000",
14
+ "--batch-size",
15
+ "512",
16
+ "--workers",
17
+ "40",
18
+ "--save-every",
19
+ "4000",
20
+ "--log-every",
21
+ "50",
22
+ "--cache-dir",
23
+ "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/flash-cache/b4",
24
+ "--inloop-task",
25
+ "b4",
26
+ "--inloop-code",
27
+ "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse"
28
+ ],
29
+ "started": "2026-11-25T20:52:15",
30
+ "host": "dlc1plp7nvyo11cd-master-0",
31
+ "torch": "2.9.0+cu128",
32
+ "policy": {
33
+ "policy": "flash",
34
+ "n_cameras": 2,
35
+ "state_dim": 44,
36
+ "action_dim": 76,
37
+ "horizon": 16,
38
+ "backbone": "resnet18",
39
+ "backbone_weights": null,
40
+ "backbone_norm": "group",
41
+ "hidden_dim": 512,
42
+ "num_layers": 4,
43
+ "num_heads": 8,
44
+ "mlp_ratio": 4.0,
45
+ "dropout": 0.0,
46
+ "time_embed_dim": 256,
47
+ "num_inference_steps": 1,
48
+ "num_train_timesteps": 100,
49
+ "beta_schedule": "squaredcos_cap_v2",
50
+ "prediction_type": "epsilon",
51
+ "clip_sample": true,
52
+ "act_hidden_dim": 512,
53
+ "dim_feedforward": 3200,
54
+ "enc_layers": 4,
55
+ "dec_layers": 7,
56
+ "nheads": 8,
57
+ "latent_dim": 32,
58
+ "kl_weight": 10.0,
59
+ "extra": {
60
+ "flash": {
61
+ "stride": 2,
62
+ "n_history": 8,
63
+ "n_action": 8,
64
+ "rows": 16,
65
+ "poly_order": 6,
66
+ "fit_pad": 1,
67
+ "boundary_constraint": true,
68
+ "poly_prefix": 1,
69
+ "poly_suffix": 1,
70
+ "history_noise_std": 0.5,
71
+ "history_reg_lambda": 0.1,
72
+ "consistency_weight": 1.0,
73
+ "solver": "euler"
74
+ }
75
+ }
76
+ },
77
+ "contract": {
78
+ "name": "g1_sonic_dfx6",
79
+ "robot": "g1",
80
+ "cameras": [
81
+ "ego_view",
82
+ "chest"
83
+ ],
84
+ "state": [
85
+ [
86
+ "observation.state",
87
+ 0,
88
+ 29
89
+ ],
90
+ [
91
+ "observation.inspire_left_hand_state",
92
+ 0,
93
+ 6
94
+ ],
95
+ [
96
+ "observation.inspire_right_hand_state",
97
+ 0,
98
+ 6
99
+ ],
100
+ [
101
+ "observation.projected_gravity",
102
+ 0,
103
+ 3
104
+ ]
105
+ ],
106
+ "action": [
107
+ [
108
+ "action.motion_token",
109
+ 0,
110
+ 64
111
+ ],
112
+ [
113
+ "observation.inspire_left_hand_state",
114
+ 0,
115
+ 6
116
+ ],
117
+ [
118
+ "observation.inspire_right_hand_state",
119
+ 0,
120
+ 6
121
+ ]
122
+ ],
123
+ "state_dim": 44,
124
+ "action_dim": 76,
125
+ "action_space": "sonic_dfx6",
126
+ "body_dims": 29
127
+ },
128
+ "image_hw": [
129
+ 168,
130
+ 224
131
+ ],
132
+ "task_text": "Take the cushion from the bed and put it on the sofa.",
133
+ "dataset": {
134
+ "name": "data",
135
+ "root": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/b4-cushion-194e7cd/data",
136
+ "robot_type": null,
137
+ "fps": 30.0,
138
+ "episodes": [
139
+ 0,
140
+ 1,
141
+ 2,
142
+ 3,
143
+ 4,
144
+ 5,
145
+ 6,
146
+ 7,
147
+ 8,
148
+ 9,
149
+ 10,
150
+ 11,
151
+ 12,
152
+ 13,
153
+ 14,
154
+ 15,
155
+ 16,
156
+ 17,
157
+ 18,
158
+ 19,
159
+ 20,
160
+ 21,
161
+ 22,
162
+ 23,
163
+ 24,
164
+ 25,
165
+ 26,
166
+ 27,
167
+ 28,
168
+ 29,
169
+ 30,
170
+ 31,
171
+ 32,
172
+ 33,
173
+ 34,
174
+ 35,
175
+ 36,
176
+ 37,
177
+ 38,
178
+ 39,
179
+ 40,
180
+ 41,
181
+ 42,
182
+ 43,
183
+ 44,
184
+ 45,
185
+ 46,
186
+ 47,
187
+ 48,
188
+ 49,
189
+ 50,
190
+ 51,
191
+ 52,
192
+ 53,
193
+ 54,
194
+ 55,
195
+ 56,
196
+ 57,
197
+ 58,
198
+ 59,
199
+ 60,
200
+ 61,
201
+ 62,
202
+ 63,
203
+ 64,
204
+ 65,
205
+ 66,
206
+ 67,
207
+ 68,
208
+ 69,
209
+ 70,
210
+ 71,
211
+ 72,
212
+ 73,
213
+ 74,
214
+ 75,
215
+ 76,
216
+ 77,
217
+ 78,
218
+ 79,
219
+ 80,
220
+ 81,
221
+ 82,
222
+ 83,
223
+ 84,
224
+ 85,
225
+ 86,
226
+ 87,
227
+ 88,
228
+ 89,
229
+ 90,
230
+ 91,
231
+ 92,
232
+ 93,
233
+ 94,
234
+ 95,
235
+ 96,
236
+ 97,
237
+ 98,
238
+ 99,
239
+ 100,
240
+ 101,
241
+ 102,
242
+ 103,
243
+ 104,
244
+ 105,
245
+ 106,
246
+ 107,
247
+ 108,
248
+ 109,
249
+ 110,
250
+ 111,
251
+ 112,
252
+ 113,
253
+ 114,
254
+ 115,
255
+ 116,
256
+ 117,
257
+ 118,
258
+ 119,
259
+ 120,
260
+ 121,
261
+ 122,
262
+ 123,
263
+ 124,
264
+ 125,
265
+ 126,
266
+ 127,
267
+ 128,
268
+ 129,
269
+ 130,
270
+ 131,
271
+ 132,
272
+ 133,
273
+ 134,
274
+ 135,
275
+ 136,
276
+ 137,
277
+ 138,
278
+ 139,
279
+ 140,
280
+ 141,
281
+ 142,
282
+ 143,
283
+ 144,
284
+ 145,
285
+ 146,
286
+ 147,
287
+ 148,
288
+ 149,
289
+ 150,
290
+ 151,
291
+ 152,
292
+ 153,
293
+ 154,
294
+ 155,
295
+ 156,
296
+ 157,
297
+ 158,
298
+ 159,
299
+ 160,
300
+ 161,
301
+ 162,
302
+ 163,
303
+ 164,
304
+ 165,
305
+ 166,
306
+ 167,
307
+ 168,
308
+ 169,
309
+ 170,
310
+ 171,
311
+ 172,
312
+ 173,
313
+ 174,
314
+ 175,
315
+ 176,
316
+ 177,
317
+ 178,
318
+ 179,
319
+ 180,
320
+ 181,
321
+ 182,
322
+ 183,
323
+ 184,
324
+ 185,
325
+ 186,
326
+ 187,
327
+ 188,
328
+ 189,
329
+ 190,
330
+ 191,
331
+ 192,
332
+ 193,
333
+ 194,
334
+ 195,
335
+ 196,
336
+ 197,
337
+ 198,
338
+ 199,
339
+ 200,
340
+ 201,
341
+ 202,
342
+ 203,
343
+ 204,
344
+ 205,
345
+ 206,
346
+ 207,
347
+ 208,
348
+ 209,
349
+ 210,
350
+ 211,
351
+ 212,
352
+ 213,
353
+ 214,
354
+ 215,
355
+ 216,
356
+ 217,
357
+ 218,
358
+ 219,
359
+ 220,
360
+ 221,
361
+ 222,
362
+ 223,
363
+ 224,
364
+ 225,
365
+ 226,
366
+ 227,
367
+ 228,
368
+ 229,
369
+ 230,
370
+ 231,
371
+ 232,
372
+ 233,
373
+ 234,
374
+ 235,
375
+ 236,
376
+ 237,
377
+ 238,
378
+ 239,
379
+ 240,
380
+ 241,
381
+ 242,
382
+ 243,
383
+ 244,
384
+ 245,
385
+ 246,
386
+ 247,
387
+ 248,
388
+ 249,
389
+ 250,
390
+ 251,
391
+ 252,
392
+ 253,
393
+ 254,
394
+ 255,
395
+ 256,
396
+ 257,
397
+ 258,
398
+ 259,
399
+ 260,
400
+ 261,
401
+ 262,
402
+ 263,
403
+ 264,
404
+ 265,
405
+ 266,
406
+ 267,
407
+ 268,
408
+ 269,
409
+ 270,
410
+ 271,
411
+ 272,
412
+ 273,
413
+ 274,
414
+ 275,
415
+ 276,
416
+ 277,
417
+ 278,
418
+ 279,
419
+ 280,
420
+ 281,
421
+ 282,
422
+ 283,
423
+ 284,
424
+ 285,
425
+ 286,
426
+ 287,
427
+ 288,
428
+ 289,
429
+ 290,
430
+ 291,
431
+ 292,
432
+ 293,
433
+ 294,
434
+ 295,
435
+ 296,
436
+ 297,
437
+ 298,
438
+ 299,
439
+ 300,
440
+ 301
441
+ ],
442
+ "train_episodes": [
443
+ 0,
444
+ 1,
445
+ 2,
446
+ 3,
447
+ 4,
448
+ 5,
449
+ 6,
450
+ 7,
451
+ 8,
452
+ 9,
453
+ 10,
454
+ 11,
455
+ 12,
456
+ 13,
457
+ 14,
458
+ 15,
459
+ 16,
460
+ 17,
461
+ 18,
462
+ 19,
463
+ 20,
464
+ 21,
465
+ 22,
466
+ 23,
467
+ 24,
468
+ 25,
469
+ 26,
470
+ 27,
471
+ 28,
472
+ 29,
473
+ 30,
474
+ 31,
475
+ 32,
476
+ 33,
477
+ 34,
478
+ 35,
479
+ 36,
480
+ 37,
481
+ 38,
482
+ 39,
483
+ 40,
484
+ 41,
485
+ 42,
486
+ 43,
487
+ 44,
488
+ 45,
489
+ 46,
490
+ 47,
491
+ 48,
492
+ 49,
493
+ 50,
494
+ 51,
495
+ 52,
496
+ 53,
497
+ 54,
498
+ 55,
499
+ 56,
500
+ 57,
501
+ 58,
502
+ 59,
503
+ 60,
504
+ 61,
505
+ 62,
506
+ 63,
507
+ 64,
508
+ 65,
509
+ 66,
510
+ 67,
511
+ 68,
512
+ 69,
513
+ 70,
514
+ 71,
515
+ 72,
516
+ 73,
517
+ 74,
518
+ 75,
519
+ 76,
520
+ 77,
521
+ 78,
522
+ 79,
523
+ 80,
524
+ 81,
525
+ 82,
526
+ 83,
527
+ 84,
528
+ 85,
529
+ 86,
530
+ 87,
531
+ 88,
532
+ 89,
533
+ 90,
534
+ 91,
535
+ 92,
536
+ 93,
537
+ 94,
538
+ 95,
539
+ 96,
540
+ 97,
541
+ 98,
542
+ 99,
543
+ 100,
544
+ 101,
545
+ 102,
546
+ 103,
547
+ 104,
548
+ 105,
549
+ 106,
550
+ 107,
551
+ 108,
552
+ 109,
553
+ 110,
554
+ 111,
555
+ 112,
556
+ 113,
557
+ 114,
558
+ 115,
559
+ 116,
560
+ 117,
561
+ 118,
562
+ 119,
563
+ 120,
564
+ 121,
565
+ 122,
566
+ 123,
567
+ 124,
568
+ 125,
569
+ 126,
570
+ 127,
571
+ 128,
572
+ 129,
573
+ 130,
574
+ 131,
575
+ 132,
576
+ 133,
577
+ 134,
578
+ 135,
579
+ 136,
580
+ 137,
581
+ 138,
582
+ 139,
583
+ 140,
584
+ 141,
585
+ 142,
586
+ 143,
587
+ 144,
588
+ 145,
589
+ 146,
590
+ 147,
591
+ 148,
592
+ 149,
593
+ 150,
594
+ 151,
595
+ 152,
596
+ 153,
597
+ 154,
598
+ 155,
599
+ 156,
600
+ 157,
601
+ 158,
602
+ 159,
603
+ 160,
604
+ 161,
605
+ 162,
606
+ 163,
607
+ 164,
608
+ 165,
609
+ 166,
610
+ 167,
611
+ 168,
612
+ 169,
613
+ 170,
614
+ 171,
615
+ 172,
616
+ 173,
617
+ 174,
618
+ 175,
619
+ 176,
620
+ 177,
621
+ 178,
622
+ 179,
623
+ 180,
624
+ 181,
625
+ 182,
626
+ 183,
627
+ 184,
628
+ 185,
629
+ 186,
630
+ 187,
631
+ 188,
632
+ 189,
633
+ 190,
634
+ 191,
635
+ 192,
636
+ 193,
637
+ 194,
638
+ 195,
639
+ 196,
640
+ 197,
641
+ 198,
642
+ 199,
643
+ 200,
644
+ 201,
645
+ 202,
646
+ 203,
647
+ 204,
648
+ 205,
649
+ 206,
650
+ 207,
651
+ 208,
652
+ 209,
653
+ 210,
654
+ 211,
655
+ 212,
656
+ 213,
657
+ 214,
658
+ 215,
659
+ 216,
660
+ 217,
661
+ 218,
662
+ 219,
663
+ 220,
664
+ 221,
665
+ 222,
666
+ 223,
667
+ 224,
668
+ 225,
669
+ 226,
670
+ 227,
671
+ 228,
672
+ 229,
673
+ 230,
674
+ 231,
675
+ 232,
676
+ 233,
677
+ 234,
678
+ 235,
679
+ 236,
680
+ 237,
681
+ 238,
682
+ 239,
683
+ 240,
684
+ 241,
685
+ 242,
686
+ 243,
687
+ 244,
688
+ 245,
689
+ 246,
690
+ 247,
691
+ 248,
692
+ 249,
693
+ 250,
694
+ 251,
695
+ 252,
696
+ 253,
697
+ 254,
698
+ 255,
699
+ 256,
700
+ 257,
701
+ 258,
702
+ 259,
703
+ 260,
704
+ 261,
705
+ 262,
706
+ 263,
707
+ 264,
708
+ 265,
709
+ 266,
710
+ 267,
711
+ 268,
712
+ 269,
713
+ 270,
714
+ 271,
715
+ 272,
716
+ 273,
717
+ 274,
718
+ 275,
719
+ 276,
720
+ 277,
721
+ 278,
722
+ 279,
723
+ 280,
724
+ 281,
725
+ 282,
726
+ 283,
727
+ 284,
728
+ 285,
729
+ 286,
730
+ 287,
731
+ 288,
732
+ 289,
733
+ 290,
734
+ 291,
735
+ 292,
736
+ 293,
737
+ 294,
738
+ 295,
739
+ 296,
740
+ 297,
741
+ 298,
742
+ 299,
743
+ 300,
744
+ 301
745
+ ],
746
+ "val_episodes": [],
747
+ "train_frames": 259888,
748
+ "git_commit": "05af0034d505e6041f74569082a148f3ced8633d"
749
+ },
750
+ "training": {
751
+ "steps": 12000,
752
+ "batch_size": 512,
753
+ "lr": 0.0001,
754
+ "betas": [
755
+ 0.95,
756
+ 0.999
757
+ ],
758
+ "weight_decay": 1e-06,
759
+ "warmup": 500,
760
+ "schedule": "diffusers_cosine",
761
+ "backbone_lr_scale": 1.0,
762
+ "ema": 0.9999,
763
+ "shift_px": 0,
764
+ "amp": true,
765
+ "seed": 42,
766
+ "augmentation": {
767
+ "spec": "docs/augmentation_v2.md",
768
+ "version": "hb-aug-v2-20261109",
769
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
770
+ "visual": {
771
+ "effects": [
772
+ "exposure",
773
+ "contrast",
774
+ "saturation",
775
+ "hue",
776
+ "gamma",
777
+ "temperature",
778
+ "rotation_crop",
779
+ "noise",
780
+ "gaussian_blur",
781
+ "jpeg",
782
+ "motion_blur",
783
+ "sharpen",
784
+ "defocus",
785
+ "light_shadow",
786
+ "wb_channel"
787
+ ],
788
+ "boosted_per_sample": 1,
789
+ "boost": 1.5,
790
+ "pixel_scale": "H / 224",
791
+ "future_targets": "none (one observation frame)"
792
+ },
793
+ "proprio": {
794
+ "robot": "g1",
795
+ "body_dims": 29,
796
+ "bias_deg": 2.0,
797
+ "bias_scope": "per_sample",
798
+ "noise_deg": 0.25,
799
+ "noise_clip_sigma": 3,
800
+ "delay_probability": 0.0,
801
+ "history_drop_probability": 0.0,
802
+ "velocity": false
803
+ },
804
+ "native_image_augmentation": "off",
805
+ "evaluation": "off"
806
+ },
807
+ "preflight": {
808
+ "samples": 64,
809
+ "state_dim": 44,
810
+ "body_dims": 29,
811
+ "images_changed": 64,
812
+ "body_values_moved": 1.0,
813
+ "max_body_offset_deg": 2.5884,
814
+ "actions_bit_identical": true,
815
+ "non_body_state_bit_identical": true,
816
+ "eval_items_deterministic": 8
817
+ },
818
+ "aug_seed": 42,
819
+ "ema_schedule": "diffusion_policy_emamodel",
820
+ "layout": {
821
+ "nodes": 1,
822
+ "gpus": 1,
823
+ "per_gpu_batch": 512,
824
+ "global_batch": 512,
825
+ "gradient_accumulation": 1,
826
+ "num_workers": 40,
827
+ "prefetch": 2
828
+ },
829
+ "upstream": "NTUMARS/FLASH-Policy@f47e490",
830
+ "inloop": {
831
+ "task": "b4",
832
+ "code": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse",
833
+ "every": 250,
834
+ "exception": null
835
+ }
836
+ },
837
+ "stats": {
838
+ "state": {
839
+ "min": [
840
+ -1.6820039749145508,
841
+ -0.12490279972553253,
842
+ -0.18221651017665863,
843
+ 0.07608192414045334,
844
+ -0.753582239151001,
845
+ -0.1858997493982315,
846
+ -1.7167080640792847,
847
+ -0.3942810595035553,
848
+ -0.7669742703437805,
849
+ 0.04507094621658325,
850
+ -0.6731131076812744,
851
+ -0.2145681232213974,
852
+ -0.05022455006837845,
853
+ -0.10020869970321655,
854
+ -0.049226418137550354,
855
+ 0.01203091535717249,
856
+ 0.041421886533498764,
857
+ -0.6986868381500244,
858
+ -0.6122351884841919,
859
+ -1.0193026065826416,
860
+ -0.17467375099658966,
861
+ -0.3660516142845154,
862
+ -1.7415019273757935,
863
+ -0.9988508224487305,
864
+ -0.4195443093776703,
865
+ -0.810554027557373,
866
+ -1.490663766860962,
867
+ -0.6740890145301819,
868
+ -0.7927517294883728,
869
+ 0.9619228839874268,
870
+ 0.9594700932502747,
871
+ 0.9783294796943665,
872
+ 0.9819534420967102,
873
+ 0.9528332948684692,
874
+ 0.0,
875
+ 0.48516789078712463,
876
+ 0.4854155480861664,
877
+ 0.5378386974334717,
878
+ 0.5014791488647461,
879
+ 0.36801642179489136,
880
+ 0.0,
881
+ -0.17542186379432678,
882
+ -0.15042829513549805,
883
+ -1.0
884
+ ],
885
+ "max": [
886
+ 0.3854926526546478,
887
+ 0.29587215185165405,
888
+ 1.0773335695266724,
889
+ 1.71208918094635,
890
+ 0.367715448141098,
891
+ 0.15625183284282684,
892
+ 0.1948571503162384,
893
+ 0.2456209808588028,
894
+ 0.7957448363304138,
895
+ 1.7925269603729248,
896
+ 0.33214133977890015,
897
+ 0.20641140639781952,
898
+ 0.26123446226119995,
899
+ 0.1018887385725975,
900
+ 0.3822789788246155,
901
+ 0.4861968457698822,
902
+ 0.48954296112060547,
903
+ 0.13781574368476868,
904
+ 1.0096713304519653,
905
+ 0.3458910584449768,
906
+ 0.5013867020606995,
907
+ 0.27674785256385803,
908
+ 0.4791494607925415,
909
+ 0.029629994183778763,
910
+ 0.7884672284126282,
911
+ 1.11447274684906,
912
+ 0.7494932413101196,
913
+ 0.7988896369934082,
914
+ 0.6681351065635681,
915
+ 1.0,
916
+ 1.0,
917
+ 1.0,
918
+ 1.0,
919
+ 1.0,
920
+ 1.0,
921
+ 1.0,
922
+ 1.0,
923
+ 1.0,
924
+ 1.0,
925
+ 1.0,
926
+ 0.008115201257169247,
927
+ 0.5811348557472229,
928
+ 0.08487062901258469,
929
+ -0.8134717345237732
930
+ ],
931
+ "mean": [
932
+ -0.35808269720638713,
933
+ 0.06338315052257075,
934
+ 0.16419951921933892,
935
+ 0.49053102917977826,
936
+ -0.20526293598703885,
937
+ -0.0031740636043618973,
938
+ -0.44498932122369506,
939
+ -0.11478813305860504,
940
+ -0.197945082462602,
941
+ 0.4833258965518039,
942
+ -0.1225698313976737,
943
+ -0.023115810141848752,
944
+ 0.06274106339245715,
945
+ 0.0007995611868251279,
946
+ 0.13170820905502256,
947
+ 0.2667451196345807,
948
+ 0.21395583935051282,
949
+ -0.3216893427388743,
950
+ -0.05321306991402941,
951
+ -0.520182469701929,
952
+ 0.1545425338263408,
953
+ -0.11778959293504257,
954
+ -0.1929313559670213,
955
+ -0.2878113255635929,
956
+ 0.08425276288873897,
957
+ 0.06902507353118478,
958
+ -0.48623667725161257,
959
+ 0.09308031873644634,
960
+ -0.05141770340246306,
961
+ 0.9999936620514414,
962
+ 0.9999937707226753,
963
+ 0.9999948050715555,
964
+ 0.9999909429539566,
965
+ 0.9981655841162916,
966
+ 0.6919767666696247,
967
+ 0.702214066318414,
968
+ 0.7273468945970327,
969
+ 0.7886838515002501,
970
+ 0.8043705116704456,
971
+ 0.6998508090483253,
972
+ 0.0007492819133353805,
973
+ 0.10239021200847494,
974
+ -0.01792790646167245,
975
+ -0.9794414862279403
976
+ ],
977
+ "std": [
978
+ 0.41077426341279666,
979
+ 0.05819967457673647,
980
+ 0.1172524413022925,
981
+ 0.3420536687040473,
982
+ 0.15319127081431327,
983
+ 0.048300170458301865,
984
+ 0.4133648199222961,
985
+ 0.08726981252891516,
986
+ 0.12406492199519821,
987
+ 0.3272352410750656,
988
+ 0.1327221747699627,
989
+ 0.06025389109402514,
990
+ 0.05555482537243791,
991
+ 0.022278835034521344,
992
+ 0.06729082653302149,
993
+ 0.07204364015282737,
994
+ 0.05251900587392237,
995
+ 0.11956818521577167,
996
+ 0.2957219432404772,
997
+ 0.25730237274157847,
998
+ 0.046324704045504844,
999
+ 0.08798606987301097,
1000
+ 0.42212122320131723,
1001
+ 0.1411154657283182,
1002
+ 0.20506048597277796,
1003
+ 0.4918762460434884,
1004
+ 0.36961833321418724,
1005
+ 0.1618461493527747,
1006
+ 0.26659695575321574,
1007
+ 0.00025597486509197994,
1008
+ 0.0002978988689316117,
1009
+ 0.00018445416996611553,
1010
+ 0.00019616313489046396,
1011
+ 0.0006616678487758073,
1012
+ 0.45699987841098066,
1013
+ 0.24183495810203598,
1014
+ 0.22272751657245496,
1015
+ 0.17213927716197644,
1016
+ 0.160046500286501,
1017
+ 0.23339196342262103,
1018
+ 0.0005959051043599751,
1019
+ 0.1677869880395805,
1020
+ 0.02765762284215703,
1021
+ 0.031173583486239963
1022
+ ]
1023
+ },
1024
+ "action": {
1025
+ "min": [
1026
+ -0.125,
1027
+ -0.5,
1028
+ -0.5625,
1029
+ -0.375,
1030
+ -0.375,
1031
+ -0.4375,
1032
+ -0.1875,
1033
+ -0.625,
1034
+ -0.5,
1035
+ -0.375,
1036
+ -0.6875,
1037
+ -0.375,
1038
+ -0.375,
1039
+ -0.5,
1040
+ -0.5,
1041
+ -0.4375,
1042
+ -0.5,
1043
+ -0.4375,
1044
+ -0.4375,
1045
+ -0.375,
1046
+ -0.3125,
1047
+ -0.625,
1048
+ -0.5625,
1049
+ -0.3125,
1050
+ -0.3125,
1051
+ -0.25,
1052
+ -0.4375,
1053
+ -0.5,
1054
+ -0.3125,
1055
+ -0.4375,
1056
+ -0.375,
1057
+ -0.375,
1058
+ -0.5,
1059
+ -0.375,
1060
+ -0.3125,
1061
+ -0.375,
1062
+ -0.5,
1063
+ -0.6875,
1064
+ -0.375,
1065
+ -0.1875,
1066
+ -0.4375,
1067
+ -0.3125,
1068
+ -0.375,
1069
+ -0.25,
1070
+ -0.375,
1071
+ -0.4375,
1072
+ -0.5625,
1073
+ -0.5625,
1074
+ -0.4375,
1075
+ -0.625,
1076
+ -0.25,
1077
+ -0.625,
1078
+ -0.3125,
1079
+ -0.4375,
1080
+ -0.1875,
1081
+ -0.1875,
1082
+ -0.5,
1083
+ -0.5625,
1084
+ -0.375,
1085
+ -0.4375,
1086
+ -0.625,
1087
+ -0.25,
1088
+ -0.125,
1089
+ -0.5625,
1090
+ 0.9619228839874268,
1091
+ 0.9594700932502747,
1092
+ 0.9783294796943665,
1093
+ 0.9819534420967102,
1094
+ 0.9528332948684692,
1095
+ 0.0,
1096
+ 0.48516789078712463,
1097
+ 0.4854155480861664,
1098
+ 0.5378386974334717,
1099
+ 0.5014791488647461,
1100
+ 0.36801642179489136,
1101
+ 0.0
1102
+ ],
1103
+ "max": [
1104
+ 0.5,
1105
+ 0.3125,
1106
+ 0.3125,
1107
+ 0.6875,
1108
+ 0.375,
1109
+ 0.3125,
1110
+ 0.4375,
1111
+ 0.125,
1112
+ 0.125,
1113
+ 0.3125,
1114
+ 0.125,
1115
+ 0.25,
1116
+ 0.375,
1117
+ 0.25,
1118
+ 0.5,
1119
+ 0.3125,
1120
+ 0.25,
1121
+ 0.375,
1122
+ 0.1875,
1123
+ 0.3125,
1124
+ 0.375,
1125
+ 0.1875,
1126
+ 0.1875,
1127
+ 0.3125,
1128
+ 0.125,
1129
+ 0.4375,
1130
+ 0.1875,
1131
+ 0.375,
1132
+ 0.3125,
1133
+ 0.25,
1134
+ 0.5625,
1135
+ 0.3125,
1136
+ 0.125,
1137
+ 0.3125,
1138
+ 0.25,
1139
+ 0.25,
1140
+ 0.5,
1141
+ 0.125,
1142
+ 0.375,
1143
+ 0.625,
1144
+ 0.25,
1145
+ 0.4375,
1146
+ 0.3125,
1147
+ 0.4375,
1148
+ 0.375,
1149
+ 0.375,
1150
+ 0.375,
1151
+ 0.25,
1152
+ 0.3125,
1153
+ 0.3125,
1154
+ 0.5,
1155
+ 0.1875,
1156
+ 0.625,
1157
+ 0.375,
1158
+ 0.25,
1159
+ 0.5625,
1160
+ 0.375,
1161
+ 0.25,
1162
+ 0.25,
1163
+ 0.4375,
1164
+ 0.375,
1165
+ 0.4375,
1166
+ 0.5,
1167
+ 0.3125,
1168
+ 1.0,
1169
+ 1.0,
1170
+ 1.0,
1171
+ 1.0,
1172
+ 1.0,
1173
+ 1.0,
1174
+ 1.0,
1175
+ 1.0,
1176
+ 1.0,
1177
+ 1.0,
1178
+ 1.0,
1179
+ 0.008115201257169247
1180
+ ],
1181
+ "mean": [
1182
+ 0.19912063081019515,
1183
+ -0.04713328433786862,
1184
+ -0.14682526703810872,
1185
+ 0.10493270177922798,
1186
+ -0.0555525360924706,
1187
+ -0.004463942159699563,
1188
+ 0.09608754540417411,
1189
+ -0.18815364695561165,
1190
+ -0.09510851790001847,
1191
+ -0.1391683629101767,
1192
+ -0.2983585717693776,
1193
+ 0.0154600250877301,
1194
+ -0.00940837976359047,
1195
+ -0.007643436788154897,
1196
+ 0.10452026449855323,
1197
+ -0.06137499615218864,
1198
+ -0.010156538585852368,
1199
+ -0.09271662216031522,
1200
+ -0.16939436411069383,
1201
+ -0.03558720487286831,
1202
+ 0.009889596672412732,
1203
+ -0.27717300337068274,
1204
+ -0.21460157837222188,
1205
+ -0.044185620344148246,
1206
+ -0.06219722534322478,
1207
+ 0.09509120274887643,
1208
+ -0.17119273494736195,
1209
+ -0.04735188812103675,
1210
+ 0.013905268808101952,
1211
+ -0.04665254840546697,
1212
+ 0.16449417633749924,
1213
+ -0.0654082239272302,
1214
+ -0.15077769077448747,
1215
+ -0.0029952806593609555,
1216
+ 0.058705577017792276,
1217
+ -0.06615085152065506,
1218
+ -0.0051834828849350485,
1219
+ -0.23531314450840363,
1220
+ 0.02820950755710152,
1221
+ 0.194137474604445,
1222
+ -0.11788275141599458,
1223
+ 0.017566701810010465,
1224
+ -0.06849056131872192,
1225
+ 0.20300547735947794,
1226
+ 0.014148642876931601,
1227
+ -0.016169465308132736,
1228
+ -0.0331205172997599,
1229
+ -0.18235667864618604,
1230
+ -0.045193265945330297,
1231
+ -0.22416988279566583,
1232
+ 0.09975571207597118,
1233
+ -0.099036411838946,
1234
+ 0.12663195299513635,
1235
+ -0.10164474696792465,
1236
+ 0.020704832466293174,
1237
+ 0.12009355953333743,
1238
+ -0.015079332250815735,
1239
+ -0.01766674490549775,
1240
+ 0.035241623314658625,
1241
+ 0.033211421843255554,
1242
+ -0.24424078833959245,
1243
+ 0.09681574370498061,
1244
+ 0.18492509273225388,
1245
+ -0.022742008095795112,
1246
+ 0.9999936620514414,
1247
+ 0.9999937707226753,
1248
+ 0.9999948050715555,
1249
+ 0.9999909429539566,
1250
+ 0.9981655841162916,
1251
+ 0.6919767666696247,
1252
+ 0.702214066318414,
1253
+ 0.7273468945970327,
1254
+ 0.7886838515002501,
1255
+ 0.8043705116704456,
1256
+ 0.6998508090483253,
1257
+ 0.0007492819133353805
1258
+ ],
1259
+ "std": [
1260
+ 0.0941084974860378,
1261
+ 0.17185972008345138,
1262
+ 0.08438269842838665,
1263
+ 0.17716102052705152,
1264
+ 0.11450048389819291,
1265
+ 0.09448002504232993,
1266
+ 0.13870451891947141,
1267
+ 0.16487552633513414,
1268
+ 0.13408425017115613,
1269
+ 0.12540033300650139,
1270
+ 0.1329900209775417,
1271
+ 0.09553429213977248,
1272
+ 0.13446057122515567,
1273
+ 0.1082989917651951,
1274
+ 0.16795554038128352,
1275
+ 0.09946033991653933,
1276
+ 0.11818593453771994,
1277
+ 0.1558883177548388,
1278
+ 0.08514136829112755,
1279
+ 0.14363906788233177,
1280
+ 0.08470516620112252,
1281
+ 0.16262561776639584,
1282
+ 0.14160311283626847,
1283
+ 0.12322383855038192,
1284
+ 0.09539658418125412,
1285
+ 0.125865545840183,
1286
+ 0.07807645734421215,
1287
+ 0.14367997208278988,
1288
+ 0.10650562960594574,
1289
+ 0.13671069795473043,
1290
+ 0.1315804284058909,
1291
+ 0.12933957265154283,
1292
+ 0.09275386769010797,
1293
+ 0.12228474323050423,
1294
+ 0.12466238593939773,
1295
+ 0.10436035220115127,
1296
+ 0.1312371918523952,
1297
+ 0.16366749531927174,
1298
+ 0.10955322454582661,
1299
+ 0.1606812587752228,
1300
+ 0.10730226695701574,
1301
+ 0.11265127514591113,
1302
+ 0.1001804379858154,
1303
+ 0.1225909964352062,
1304
+ 0.11274845500542101,
1305
+ 0.14229340472262297,
1306
+ 0.17644458087323034,
1307
+ 0.11235640881885092,
1308
+ 0.1448938230505715,
1309
+ 0.14054463439396062,
1310
+ 0.10080264201843625,
1311
+ 0.19499710788891536,
1312
+ 0.18165922747873958,
1313
+ 0.1176552651276845,
1314
+ 0.08516277793955987,
1315
+ 0.12192372062343444,
1316
+ 0.14240783108385247,
1317
+ 0.18536508226546256,
1318
+ 0.0807012426889652,
1319
+ 0.18398265697362567,
1320
+ 0.16549925290624093,
1321
+ 0.14705802573694088,
1322
+ 0.13189349251379065,
1323
+ 0.13684871021408498,
1324
+ 0.00025597486509197994,
1325
+ 0.0002978988689316117,
1326
+ 0.00018445416996611553,
1327
+ 0.00019616313489046396,
1328
+ 0.0006616678487758073,
1329
+ 0.45699987841098066,
1330
+ 0.24183495810203598,
1331
+ 0.22272751657245496,
1332
+ 0.17213927716197644,
1333
+ 0.160046500286501,
1334
+ 0.23339196342262103,
1335
+ 0.0005959051043599751
1336
+ ]
1337
+ }
1338
+ },
1339
+ "code_commit": "78235367c03e0ea376ca1880ec3026c28dd93258"
1340
+ }
b4-cushion/b512/step-012000/training_records/train.log ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ HB_AUG_SEED=42
2
+ {"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 44, "body_dims": 29, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.5884, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
3
+ HB_INLOOP flash installed: task b4 split train10, every 250 steps, cache checked on episodes [0, 33, 67, 100, 134, 167, 201, 234, 268, 301], code /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/eval-action-mse, G=<default>
4
+ {"event": "start", "policy": "flash", "params": 42673868, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 259888, "steps": 12000, "from_step": 0, "cameras": ["ego_view", "chest"], "hw": [168, 224], "seed": 42}
5
+ {"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.3, "data_frac": 0.824, "fm": 1.105489746928215, "consistency": 1.1807339936494827, "loss": 2.2862237429618837}
6
+ {"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.06, "data_frac": 0.716, "fm": 0.3553657549619675, "consistency": 0.35755111038684845, "loss": 0.7129168641567231}
7
+ {"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 0.76, "data_frac": 0.798, "fm": 0.33101348221302035, "consistency": 0.3289113014936447, "loss": 0.6599247813224792}
8
+ {"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.26, "data_frac": 0.664, "fm": 0.3259227353334427, "consistency": 0.3215028941631317, "loss": 0.6474256253242493}
9
+ {"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 0.86, "data_frac": 0.771, "fm": 0.3178052604198456, "consistency": 0.3078839617967606, "loss": 0.6256892216205597}
10
+ HB_INLOOP flash ready: task b4 split train10 queries 543 (rank 0/1: 543), every 250 steps, batch 8, cams ['ego_view', 'chest']
11
+ HB_INLOOP flash step 250: b4/train10 nMSE 0.4139 (motion_token 0.4673 hands 0.1289) on 543 queries, 25.4 s
12
+ {"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.28, "data_frac": 0.001, "fm": 0.29351069509983063, "consistency": 0.26104895800352096, "loss": 0.5545596593618393}
13
+ {"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 2.6, "data_frac": 0.29, "fm": 0.22926195055246354, "consistency": 0.16057153761386872, "loss": 0.38983348906040194}
14
+ {"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 2.19, "data_frac": 0.388, "fm": 0.18147872984409333, "consistency": 0.09307634562253952, "loss": 0.27455507427453996}
15
+ {"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 2.1, "data_frac": 0.422, "fm": 0.16362539410591126, "consistency": 0.06902546845376492, "loss": 0.23265086263418197}
16
+ {"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 3.53, "data_frac": 0.068, "fm": 0.1524736425280571, "consistency": 0.059600494354963306, "loss": 0.212074137032032}
17
+ HB_INLOOP flash step 500: b4/train10 nMSE 0.2751 (motion_token 0.3035 hands 0.1237) on 543 queries, 1.8 s
18
+ {"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 1.44, "data_frac": 0.532, "fm": 0.14543668419122696, "consistency": 0.05428694970905781, "loss": 0.19972363412380217}
19
+ {"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 2.92, "data_frac": 0.156, "fm": 0.1370057788491249, "consistency": 0.05034691222012043, "loss": 0.1873526906967163}
20
+ {"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 2.35, "data_frac": 0.328, "fm": 0.13028978079557418, "consistency": 0.047666417509317396, "loss": 0.17795619904994964}
21
+ {"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 2.89, "data_frac": 0.193, "fm": 0.12200374037027359, "consistency": 0.04304822705686093, "loss": 0.16505196809768677}
22
+ {"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 2.31, "data_frac": 0.345, "fm": 0.1165294249355793, "consistency": 0.04072565861046314, "loss": 0.1572550827264786}
23
+ HB_INLOOP flash step 750: b4/train10 nMSE 0.2447 (motion_token 0.2659 hands 0.1316) on 543 queries, 2.3 s
24
+ {"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 2.98, "data_frac": 0.027, "fm": 0.11147536709904671, "consistency": 0.03892250061035156, "loss": 0.1503978681564331}
25
+ {"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 2.87, "data_frac": 0.18, "fm": 0.10567212477326393, "consistency": 0.036416973024606704, "loss": 0.14208909690380098}
26
+ {"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 2.88, "data_frac": 0.182, "fm": 0.10260898098349572, "consistency": 0.034888473376631736, "loss": 0.13749745577573777}
27
+ {"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 2.47, "data_frac": 0.304, "fm": 0.09966851979494094, "consistency": 0.033397215977311136, "loss": 0.13306573614478112}
28
+ {"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 3.66, "data_frac": 0.034, "fm": 0.0968716323375702, "consistency": 0.032107095792889596, "loss": 0.12897872895002366}
29
+ HB_INLOOP flash step 1000: b4/train10 nMSE 0.1700 (motion_token 0.1802 hands 0.1158) on 543 queries, 1.8 s
30
+ {"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 1.64, "data_frac": 0.488, "fm": 0.0937262661755085, "consistency": 0.03096377495676279, "loss": 0.12469004124402999}
31
+ {"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 2.42, "data_frac": 0.307, "fm": 0.09145324528217316, "consistency": 0.030304781422019006, "loss": 0.12175802648067474}
32
+ {"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 2.88, "data_frac": 0.165, "fm": 0.08971646547317505, "consistency": 0.02900932040065527, "loss": 0.11872578620910644}
33
+ {"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 2.88, "data_frac": 0.177, "fm": 0.08849154844880104, "consistency": 0.028642525263130665, "loss": 0.11713407337665557}
34
+ {"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 2.94, "data_frac": 0.19, "fm": 0.085978212505579, "consistency": 0.027816829942166804, "loss": 0.11379504233598708}
35
+ HB_INLOOP flash step 1250: b4/train10 nMSE 0.1501 (motion_token 0.1584 hands 0.1055) on 543 queries, 2.3 s
36
+ {"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 2.32, "data_frac": 0.25, "fm": 0.08563737809658051, "consistency": 0.027387835271656513, "loss": 0.1130252130329609}
37
+ {"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 2.66, "data_frac": 0.273, "fm": 0.08443945363163947, "consistency": 0.026528382785618306, "loss": 0.11096783682703971}
38
+ {"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 2.83, "data_frac": 0.19, "fm": 0.0831745494902134, "consistency": 0.026033281274139883, "loss": 0.10920783087611198}
39
+ {"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 2.97, "data_frac": 0.163, "fm": 0.0829067188501358, "consistency": 0.025561055690050124, "loss": 0.10846777439117432}
40
+ {"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 2.99, "data_frac": 0.203, "fm": 0.08118125826120376, "consistency": 0.025525987669825553, "loss": 0.10670724630355835}
41
+ HB_INLOOP flash step 1500: b4/train10 nMSE 0.1387 (motion_token 0.1463 hands 0.0982) on 543 queries, 1.9 s
42
+ {"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 1.57, "data_frac": 0.499, "fm": 0.08052212074398994, "consistency": 0.025098795518279076, "loss": 0.10562091603875161}
43
+ {"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 3.01, "data_frac": 0.153, "fm": 0.07960214897990227, "consistency": 0.02418335784226656, "loss": 0.10378550693392753}
44
+ {"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 2.35, "data_frac": 0.331, "fm": 0.07765779182314873, "consistency": 0.02405908063054085, "loss": 0.10171687215566635}
45
+ {"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 2.89, "data_frac": 0.168, "fm": 0.07727657929062844, "consistency": 0.02354200594127178, "loss": 0.1008185850083828}
46
+ {"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 2.96, "data_frac": 0.16, "fm": 0.07690713822841644, "consistency": 0.023520025089383126, "loss": 0.10042716354131699}
47
+ HB_INLOOP flash step 1750: b4/train10 nMSE 0.1302 (motion_token 0.1373 hands 0.0926) on 543 queries, 2.9 s
48
+ {"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 2.91, "data_frac": 0.011, "fm": 0.07617761358618737, "consistency": 0.02322557885199785, "loss": 0.09940319284796714}
49
+ {"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 2.46, "data_frac": 0.29, "fm": 0.0754586361348629, "consistency": 0.022766201235353948, "loss": 0.09822483777999878}
50
+ {"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 2.76, "data_frac": 0.221, "fm": 0.07387291982769967, "consistency": 0.02225935772061348, "loss": 0.09613227799534797}
51
+ {"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 2.82, "data_frac": 0.187, "fm": 0.07325871348381043, "consistency": 0.02184126541018486, "loss": 0.09509997874498367}
52
+ {"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 3.12, "data_frac": 0.16, "fm": 0.07435626700520516, "consistency": 0.02168767563998699, "loss": 0.09604394286870957}
53
+ HB_INLOOP flash step 2000: b4/train10 nMSE 0.1234 (motion_token 0.1299 hands 0.0885) on 543 queries, 1.9 s
54
+ {"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 1.52, "data_frac": 0.531, "fm": 0.0727952218055725, "consistency": 0.021540834307670592, "loss": 0.09433605626225472}
55
+ {"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 2.92, "data_frac": 0.161, "fm": 0.07250773385167122, "consistency": 0.0212416522577405, "loss": 0.0937493859231472}
56
+ {"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 2.78, "data_frac": 0.207, "fm": 0.07070364236831665, "consistency": 0.020707039348781108, "loss": 0.09141068145632744}
57
+ {"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 2.66, "data_frac": 0.24, "fm": 0.07128028452396393, "consistency": 0.02058823872357607, "loss": 0.09186852335929871}
58
+ {"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 2.93, "data_frac": 0.174, "fm": 0.07110278822481632, "consistency": 0.02072086725383997, "loss": 0.09182365506887435}
59
+ HB_INLOOP flash step 2250: b4/train10 nMSE 0.1177 (motion_token 0.1238 hands 0.0854) on 543 queries, 2.3 s
60
+ {"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 2.75, "data_frac": 0.089, "fm": 0.07082296758890153, "consistency": 0.020334332026541235, "loss": 0.09115729928016662}
61
+ {"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 2.61, "data_frac": 0.264, "fm": 0.07073917627334594, "consistency": 0.019944885298609733, "loss": 0.0906840617954731}
62
+ {"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 2.89, "data_frac": 0.19, "fm": 0.06978123605251313, "consistency": 0.019690226390957834, "loss": 0.08947146221995354}
63
+ {"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 2.57, "data_frac": 0.276, "fm": 0.06936094358563423, "consistency": 0.01959951177239418, "loss": 0.08896045595407485}
64
+ {"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 2.94, "data_frac": 0.211, "fm": 0.06878373488783836, "consistency": 0.019500572234392166, "loss": 0.08828430697321892}
65
+ HB_INLOOP flash step 2500: b4/train10 nMSE 0.1132 (motion_token 0.1188 hands 0.0830) on 543 queries, 1.9 s
66
+ {"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 1.61, "data_frac": 0.504, "fm": 0.06894102871418, "consistency": 0.019133909344673156, "loss": 0.08807493850588799}
67
+ {"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 2.94, "data_frac": 0.172, "fm": 0.0685744696110487, "consistency": 0.019050896875560285, "loss": 0.08762536659836768}
68
+ {"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 2.93, "data_frac": 0.189, "fm": 0.06811324812471867, "consistency": 0.019003324434161185, "loss": 0.08711657270789147}
69
+ {"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 2.47, "data_frac": 0.291, "fm": 0.06765763476490974, "consistency": 0.019036977626383303, "loss": 0.0866946117579937}
70
+ {"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 2.4, "data_frac": 0.338, "fm": 0.06673749163746834, "consistency": 0.01865150172263384, "loss": 0.08538899317383766}
71
+ HB_INLOOP flash step 2750: b4/train10 nMSE 0.1094 (motion_token 0.1147 hands 0.0813) on 543 queries, 2.3 s
72
+ {"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 2.42, "data_frac": 0.214, "fm": 0.06682962916791439, "consistency": 0.018542603328824042, "loss": 0.08537223249673843}
73
+ {"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 2.91, "data_frac": 0.168, "fm": 0.06628644794225692, "consistency": 0.01833674293011427, "loss": 0.08462319061160088}
74
+ {"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 2.88, "data_frac": 0.182, "fm": 0.06629814766347408, "consistency": 0.018052370026707648, "loss": 0.08435051709413528}
75
+ {"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 2.9, "data_frac": 0.158, "fm": 0.06525222435593606, "consistency": 0.018042153865098953, "loss": 0.08329437807202339}
76
+ {"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 2.74, "data_frac": 0.246, "fm": 0.06560152396559715, "consistency": 0.017987980134785177, "loss": 0.0835895037651062}
77
+ HB_INLOOP flash step 3000: b4/train10 nMSE 0.1062 (motion_token 0.1112 hands 0.0800) on 543 queries, 1.9 s
78
+ {"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 1.6, "data_frac": 0.509, "fm": 0.06432288810610771, "consistency": 0.017593391090631485, "loss": 0.08191627904772758}
79
+ {"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 3.02, "data_frac": 0.138, "fm": 0.06577716052532195, "consistency": 0.017685376666486265, "loss": 0.08346253752708435}
80
+ {"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 2.99, "data_frac": 0.145, "fm": 0.06473622687160968, "consistency": 0.017659340649843216, "loss": 0.08239556729793548}
81
+ {"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 2.94, "data_frac": 0.155, "fm": 0.06423555992543697, "consistency": 0.017062009237706663, "loss": 0.08129756897687912}
82
+ {"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 2.34, "data_frac": 0.357, "fm": 0.06488733962178231, "consistency": 0.01731744930148125, "loss": 0.0822047883272171}
83
+ HB_INLOOP flash step 3250: b4/train10 nMSE 0.1034 (motion_token 0.1079 hands 0.0791) on 543 queries, 2.3 s
84
+ {"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 2.85, "data_frac": 0.065, "fm": 0.06502541221678257, "consistency": 0.017176854852586985, "loss": 0.08220226749777794}
85
+ {"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 2.89, "data_frac": 0.16, "fm": 0.06384154163300991, "consistency": 0.017073298953473568, "loss": 0.08091484054923058}
86
+ {"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 2.77, "data_frac": 0.209, "fm": 0.06417767725884914, "consistency": 0.016652213111519813, "loss": 0.08082989037036896}
87
+ {"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 2.46, "data_frac": 0.285, "fm": 0.06388409867882729, "consistency": 0.01681545116007328, "loss": 0.08069954946637153}
88
+ {"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 3.02, "data_frac": 0.159, "fm": 0.06366069689393043, "consistency": 0.01676422094926238, "loss": 0.08042491763830185}
89
+ HB_INLOOP flash step 3500: b4/train10 nMSE 0.1008 (motion_token 0.1050 hands 0.0784) on 543 queries, 2.0 s
90
+ {"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 1.55, "data_frac": 0.526, "fm": 0.06443140745162963, "consistency": 0.016591723822057248, "loss": 0.08102313131093979}
91
+ {"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 2.86, "data_frac": 0.19, "fm": 0.06294131480157375, "consistency": 0.016510968785732983, "loss": 0.07945228338241578}
92
+ {"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 2.85, "data_frac": 0.218, "fm": 0.06302284218370914, "consistency": 0.01625771986320615, "loss": 0.07928056210279465}
93
+ {"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 2.75, "data_frac": 0.21, "fm": 0.06235139384865761, "consistency": 0.016176655013114213, "loss": 0.07852804869413375}
94
+ {"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 2.3, "data_frac": 0.337, "fm": 0.06337435454130173, "consistency": 0.016367749553173782, "loss": 0.07974210426211358}
95
+ HB_INLOOP flash step 3750: b4/train10 nMSE 0.0985 (motion_token 0.1024 hands 0.0778) on 543 queries, 2.7 s
96
+ {"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 3.03, "data_frac": 0.002, "fm": 0.06234405368566513, "consistency": 0.01600297713652253, "loss": 0.07834703102707863}
97
+ {"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 2.54, "data_frac": 0.287, "fm": 0.06256393298506736, "consistency": 0.016212099865078926, "loss": 0.07877603262662887}
98
+ {"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 2.32, "data_frac": 0.352, "fm": 0.06259861566126347, "consistency": 0.015984873324632644, "loss": 0.0785834889113903}
99
+ {"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 2.65, "data_frac": 0.277, "fm": 0.061201177313923834, "consistency": 0.0157822522521019, "loss": 0.07698342934250832}
100
+ {"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 2.6, "data_frac": 0.283, "fm": 0.06163559727370739, "consistency": 0.01562539691105485, "loss": 0.07726099401712418}
101
+ HB_INLOOP flash step 4000: b4/train10 nMSE 0.0964 (motion_token 0.1000 hands 0.0773) on 543 queries, 1.9 s
102
+ {"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/step-004000", "mse": 0.007552501279860735, "mse_row0": 0.005855721887201071, "mse_motion_token": 0.008050882257521152, "mse_inspire_left_hand_state": 0.0018655051244422793, "mse_inspire_right_hand_state": 0.00792344193905592}
103
+ {"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 2.06, "data_frac": 0.0, "fm": 0.06217019237577915, "consistency": 0.01561896774917841, "loss": 0.07778916001319885}
104
+ {"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 1.54, "data_frac": 0.579, "fm": 0.06098824307322502, "consistency": 0.015513379871845246, "loss": 0.07650162264704705}
105
+ {"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 2.97, "data_frac": 0.165, "fm": 0.061581118255853655, "consistency": 0.015510232839733362, "loss": 0.07709135130047798}
106
+ {"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 2.9, "data_frac": 0.2, "fm": 0.061766121610999106, "consistency": 0.015490641053766012, "loss": 0.07725676268339157}
107
+ {"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 2.85, "data_frac": 0.197, "fm": 0.060502238124609, "consistency": 0.01537890473380685, "loss": 0.07588114276528359}
108
+ HB_INLOOP flash step 4250: b4/train10 nMSE 0.0946 (motion_token 0.0979 hands 0.0769) on 543 queries, 2.3 s
109
+ {"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 2.4, "data_frac": 0.217, "fm": 0.060333618596196174, "consistency": 0.015076948776841164, "loss": 0.07541056767106057}
110
+ {"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 2.75, "data_frac": 0.227, "fm": 0.06097549229860306, "consistency": 0.015058602225035429, "loss": 0.07603409498929978}
111
+ {"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 2.97, "data_frac": 0.156, "fm": 0.05969746574759483, "consistency": 0.014844344966113567, "loss": 0.07454181000590325}
112
+ {"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 2.77, "data_frac": 0.226, "fm": 0.06020496919751167, "consistency": 0.015062597803771496, "loss": 0.07526756748557091}
113
+ {"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 2.52, "data_frac": 0.302, "fm": 0.060151723474264146, "consistency": 0.014895100053399802, "loss": 0.07504682332277297}
114
+ HB_INLOOP flash step 4500: b4/train10 nMSE 0.0930 (motion_token 0.0961 hands 0.0765) on 543 queries, 2.1 s
115
+ {"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 3.23, "data_frac": 0.001, "fm": 0.059977189227938654, "consistency": 0.014920181017369033, "loss": 0.07489737063646316}
116
+ {"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 1.65, "data_frac": 0.548, "fm": 0.06015034273266792, "consistency": 0.014887563567608595, "loss": 0.07503790631890297}
117
+ {"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 2.49, "data_frac": 0.301, "fm": 0.05948204547166824, "consistency": 0.014476593434810638, "loss": 0.07395863860845565}
118
+ {"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 2.54, "data_frac": 0.253, "fm": 0.059266942888498306, "consistency": 0.014458099436014891, "loss": 0.07372504204511643}
119
+ {"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 2.97, "data_frac": 0.151, "fm": 0.0594072899222374, "consistency": 0.014558501541614532, "loss": 0.07396579131484032}
120
+ HB_INLOOP flash step 4750: b4/train10 nMSE 0.0915 (motion_token 0.0944 hands 0.0761) on 543 queries, 3.1 s
121
+ {"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 2.7, "data_frac": 0.085, "fm": 0.05885792821645737, "consistency": 0.014240813348442316, "loss": 0.07309874206781387}
122
+ {"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 2.71, "data_frac": 0.222, "fm": 0.05978062465786934, "consistency": 0.014373904671519994, "loss": 0.07415452912449837}
123
+ {"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 2.52, "data_frac": 0.288, "fm": 0.05943919979035854, "consistency": 0.014486706051975488, "loss": 0.0739259061217308}
124
+ {"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 2.36, "data_frac": 0.339, "fm": 0.05886064626276493, "consistency": 0.014198978431522846, "loss": 0.07305962488055229}
125
+ {"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 2.92, "data_frac": 0.197, "fm": 0.059210129603743555, "consistency": 0.014299626834690571, "loss": 0.07350975647568703}
126
+ HB_INLOOP flash step 5000: b4/train10 nMSE 0.0901 (motion_token 0.0928 hands 0.0758) on 543 queries, 2.4 s
127
+ {"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 2.9, "data_frac": 0.096, "fm": 0.05923972442746162, "consistency": 0.01425967026501894, "loss": 0.07349939495325089}
128
+ {"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 1.66, "data_frac": 0.545, "fm": 0.05869405783712864, "consistency": 0.014033450428396464, "loss": 0.07272750854492188}
129
+ {"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 3.1, "data_frac": 0.152, "fm": 0.0590566798299551, "consistency": 0.013840641621500253, "loss": 0.07289732173085213}
130
+ {"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 2.34, "data_frac": 0.333, "fm": 0.05876166686415672, "consistency": 0.01391328552737832, "loss": 0.07267495319247246}
131
+ {"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 2.8, "data_frac": 0.206, "fm": 0.05880750760436058, "consistency": 0.013804027251899243, "loss": 0.07261153489351273}
132
+ HB_INLOOP flash step 5250: b4/train10 nMSE 0.0890 (motion_token 0.0915 hands 0.0755) on 543 queries, 2.4 s
133
+ {"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 2.76, "data_frac": 0.096, "fm": 0.05854590646922588, "consistency": 0.013681040294468403, "loss": 0.0722269469499588}
134
+ {"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 2.24, "data_frac": 0.366, "fm": 0.05836530968546867, "consistency": 0.013897259086370468, "loss": 0.07226256847381592}
135
+ {"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 2.43, "data_frac": 0.322, "fm": 0.05726925656199455, "consistency": 0.013521836642175912, "loss": 0.07079109326004981}
136
+ {"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 2.88, "data_frac": 0.185, "fm": 0.05828911423683167, "consistency": 0.013669189792126417, "loss": 0.07195830419659614}
137
+ {"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 2.78, "data_frac": 0.213, "fm": 0.05761879630386829, "consistency": 0.01351657323539257, "loss": 0.07113536924123764}
138
+ HB_INLOOP flash step 5500: b4/train10 nMSE 0.0878 (motion_token 0.0902 hands 0.0752) on 543 queries, 2.2 s
139
+ {"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 3.18, "data_frac": 0.014, "fm": 0.05795813851058483, "consistency": 0.013406724650412798, "loss": 0.07136486321687699}
140
+ {"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 1.72, "data_frac": 0.531, "fm": 0.0584224995225668, "consistency": 0.013354751449078321, "loss": 0.07177725076675415}
141
+ {"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 2.88, "data_frac": 0.195, "fm": 0.05825070716440678, "consistency": 0.01342432327568531, "loss": 0.07167503044009209}
142
+ {"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 2.42, "data_frac": 0.297, "fm": 0.057024876773357394, "consistency": 0.013261417653411626, "loss": 0.07028629437088967}
143
+ {"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 2.97, "data_frac": 0.189, "fm": 0.05820773236453533, "consistency": 0.01342124205082655, "loss": 0.07162897378206252}
144
+ HB_INLOOP flash step 5750: b4/train10 nMSE 0.0867 (motion_token 0.0889 hands 0.0750) on 543 queries, 2.4 s
145
+ {"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 2.91, "data_frac": 0.019, "fm": 0.05651936039328575, "consistency": 0.013184357602149248, "loss": 0.06970371782779694}
146
+ {"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 1.5, "data_frac": 0.589, "fm": 0.056701193898916244, "consistency": 0.013060433678328992, "loss": 0.06976162761449814}
147
+ {"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 3.35, "data_frac": 0.093, "fm": 0.05663332067430019, "consistency": 0.013096501994878053, "loss": 0.06972982272505761}
148
+ {"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 2.83, "data_frac": 0.19, "fm": 0.056597166806459424, "consistency": 0.012975395619869233, "loss": 0.06957256227731705}
149
+ {"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 2.92, "data_frac": 0.17, "fm": 0.057037284150719646, "consistency": 0.012907065972685814, "loss": 0.06994435012340545}
150
+ HB_INLOOP flash step 6000: b4/train10 nMSE 0.0857 (motion_token 0.0878 hands 0.0748) on 543 queries, 2.3 s
151
+ {"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 2.9, "data_frac": 0.082, "fm": 0.05675929471850395, "consistency": 0.013003188651055098, "loss": 0.06976248368620873}
152
+ {"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.73, "data_frac": 0.533, "fm": 0.05741063892841339, "consistency": 0.01302617583423853, "loss": 0.07043681457638741}
153
+ {"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 2.88, "data_frac": 0.19, "fm": 0.056816201582551004, "consistency": 0.012969946172088385, "loss": 0.06978614807128906}
154
+ {"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 3.03, "data_frac": 0.168, "fm": 0.05632914997637272, "consistency": 0.01282922899350524, "loss": 0.06915837854146957}
155
+ {"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 2.37, "data_frac": 0.325, "fm": 0.056478773951530455, "consistency": 0.012532065734267234, "loss": 0.06901084020733833}
156
+ HB_INLOOP flash step 6250: b4/train10 nMSE 0.0848 (motion_token 0.0867 hands 0.0745) on 543 queries, 2.6 s
157
+ {"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 2.91, "data_frac": 0.038, "fm": 0.05633851572871208, "consistency": 0.012588813994079828, "loss": 0.06892732918262481}
158
+ {"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 2.88, "data_frac": 0.178, "fm": 0.056158327460289, "consistency": 0.01254253763705492, "loss": 0.0687008649110794}
159
+ {"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 2.75, "data_frac": 0.221, "fm": 0.05640663854777813, "consistency": 0.012674533929675817, "loss": 0.0690811724960804}
160
+ {"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 2.39, "data_frac": 0.3, "fm": 0.055295996591448786, "consistency": 0.012481941767036915, "loss": 0.06777793869376182}
161
+ {"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 2.81, "data_frac": 0.211, "fm": 0.05601366743445396, "consistency": 0.012338087484240532, "loss": 0.06835175544023514}
162
+ HB_INLOOP flash step 6500: b4/train10 nMSE 0.0840 (motion_token 0.0858 hands 0.0743) on 543 queries, 2.2 s
163
+ {"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 2.91, "data_frac": 0.066, "fm": 0.05642739519476891, "consistency": 0.012588960491120816, "loss": 0.06901635564863681}
164
+ {"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 1.69, "data_frac": 0.545, "fm": 0.0554815137386322, "consistency": 0.012299180757254361, "loss": 0.06778069458901882}
165
+ {"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 2.5, "data_frac": 0.283, "fm": 0.0553250253200531, "consistency": 0.012221632320433854, "loss": 0.06754665791988373}
166
+ {"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 2.14, "data_frac": 0.404, "fm": 0.05662515379488468, "consistency": 0.012417765725404024, "loss": 0.06904291965067387}
167
+ {"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 2.33, "data_frac": 0.362, "fm": 0.055570839494466784, "consistency": 0.012255553770810366, "loss": 0.06782639294862747}
168
+ HB_INLOOP flash step 6750: b4/train10 nMSE 0.0832 (motion_token 0.0849 hands 0.0741) on 543 queries, 2.3 s
169
+ {"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 2.64, "data_frac": 0.124, "fm": 0.05561110891401768, "consistency": 0.0121917262673378, "loss": 0.06780283480882644}
170
+ {"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 2.93, "data_frac": 0.198, "fm": 0.055474499389529225, "consistency": 0.012024426981806755, "loss": 0.06749892674386501}
171
+ {"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 2.91, "data_frac": 0.195, "fm": 0.05562940128147602, "consistency": 0.01198330195620656, "loss": 0.06761270344257354}
172
+ {"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 2.8, "data_frac": 0.222, "fm": 0.055092490538954736, "consistency": 0.012225064504891634, "loss": 0.06731755502521991}
173
+ {"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 2.38, "data_frac": 0.317, "fm": 0.05502954363822937, "consistency": 0.012055528983473777, "loss": 0.06708507284522057}
174
+ HB_INLOOP flash step 7000: b4/train10 nMSE 0.0825 (motion_token 0.0841 hands 0.0738) on 543 queries, 2.2 s
175
+ {"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 3.14, "data_frac": 0.01, "fm": 0.055285677686333655, "consistency": 0.011909754071384669, "loss": 0.06719543181359768}
176
+ {"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 1.7, "data_frac": 0.551, "fm": 0.055176078826189044, "consistency": 0.011950241327285767, "loss": 0.0671263201534748}
177
+ {"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 2.97, "data_frac": 0.151, "fm": 0.05535687379539013, "consistency": 0.012038912512362004, "loss": 0.06739578656852245}
178
+ {"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 3.05, "data_frac": 0.144, "fm": 0.054751559123396874, "consistency": 0.011972351111471652, "loss": 0.06672391086816788}
179
+ {"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 1.84, "data_frac": 0.499, "fm": 0.05408965826034546, "consistency": 0.011739454735070466, "loss": 0.06582911320030689}
180
+ HB_INLOOP flash step 7250: b4/train10 nMSE 0.0818 (motion_token 0.0833 hands 0.0736) on 543 queries, 2.2 s
181
+ {"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 3.0, "data_frac": 0.02, "fm": 0.05457441411912441, "consistency": 0.01185732675716281, "loss": 0.06643174044787883}
182
+ {"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 2.35, "data_frac": 0.338, "fm": 0.05415923751890659, "consistency": 0.011585389226675034, "loss": 0.06574462667107582}
183
+ {"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 3.04, "data_frac": 0.137, "fm": 0.05415598303079605, "consistency": 0.011491757687181234, "loss": 0.06564774110913277}
184
+ {"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 2.45, "data_frac": 0.31, "fm": 0.05465976186096668, "consistency": 0.011712863463908435, "loss": 0.06637262530624867}
185
+ {"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 2.86, "data_frac": 0.2, "fm": 0.05541671395301819, "consistency": 0.011739436257630586, "loss": 0.06715614967048168}
186
+ HB_INLOOP flash step 7500: b4/train10 nMSE 0.0811 (motion_token 0.0826 hands 0.0733) on 543 queries, 2.3 s
187
+ {"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 3.08, "data_frac": 0.003, "fm": 0.0544505450129509, "consistency": 0.0116707375459373, "loss": 0.0661212830990553}
188
+ {"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 3.44, "data_frac": 0.094, "fm": 0.054363228604197504, "consistency": 0.011545595303177834, "loss": 0.06590882331132888}
189
+ {"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 1.53, "data_frac": 0.565, "fm": 0.054446361884474756, "consistency": 0.011428776029497385, "loss": 0.06587513774633408}
190
+ {"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 2.88, "data_frac": 0.183, "fm": 0.055119813457131385, "consistency": 0.011443420946598053, "loss": 0.06656323440372944}
191
+ {"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 2.93, "data_frac": 0.164, "fm": 0.05417047008872032, "consistency": 0.011438983958214521, "loss": 0.06560945391654968}
192
+ HB_INLOOP flash step 7750: b4/train10 nMSE 0.0805 (motion_token 0.0819 hands 0.0731) on 543 queries, 2.3 s
193
+ {"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 2.72, "data_frac": 0.13, "fm": 0.0540135744959116, "consistency": 0.011392473820596933, "loss": 0.06540604814887047}
194
+ {"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 2.44, "data_frac": 0.33, "fm": 0.05444985300302505, "consistency": 0.011269719861447812, "loss": 0.06571957297623157}
195
+ {"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 2.71, "data_frac": 0.228, "fm": 0.05429208487272263, "consistency": 0.011329658403992653, "loss": 0.0656217434257269}
196
+ {"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 2.89, "data_frac": 0.192, "fm": 0.053796575590968135, "consistency": 0.011551957409828902, "loss": 0.0653485331684351}
197
+ {"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 2.81, "data_frac": 0.2, "fm": 0.053919239938259124, "consistency": 0.011326476503163575, "loss": 0.06524571634829045}
198
+ HB_INLOOP flash step 8000: b4/train10 nMSE 0.0799 (motion_token 0.0812 hands 0.0729) on 543 queries, 2.3 s
199
+ {"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/step-008000", "mse": 0.005584599915891886, "mse_row0": 0.004342962056398392, "mse_motion_token": 0.005997427739202976, "mse_inspire_left_hand_state": 0.0010537519119679928, "mse_inspire_right_hand_state": 0.005711947102099657}
200
+ {"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 2.11, "data_frac": 0.002, "fm": 0.05384514510631561, "consistency": 0.011272698286920785, "loss": 0.06511784322559834}
201
+ {"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 3.78, "data_frac": 0.001, "fm": 0.05404026664793491, "consistency": 0.01118012435734272, "loss": 0.06522039122879505}
202
+ {"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 1.44, "data_frac": 0.601, "fm": 0.053073432743549344, "consistency": 0.011049564480781555, "loss": 0.06412299759685994}
203
+ {"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 2.47, "data_frac": 0.296, "fm": 0.05377795964479446, "consistency": 0.011087350267916917, "loss": 0.06486531011760235}
204
+ {"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 2.9, "data_frac": 0.181, "fm": 0.05339344851672649, "consistency": 0.010971654821187258, "loss": 0.06436510302126408}
205
+ HB_INLOOP flash step 8250: b4/train10 nMSE 0.0794 (motion_token 0.0806 hands 0.0727) on 543 queries, 2.3 s
206
+ {"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 2.97, "data_frac": 0.035, "fm": 0.05330253377556801, "consistency": 0.011064053531736135, "loss": 0.06436658754944802}
207
+ {"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 2.8, "data_frac": 0.18, "fm": 0.053848322033882144, "consistency": 0.011051810029894114, "loss": 0.0649001321196556}
208
+ {"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 2.56, "data_frac": 0.256, "fm": 0.054054823368787766, "consistency": 0.011018474660813809, "loss": 0.06507329806685448}
209
+ {"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 2.74, "data_frac": 0.213, "fm": 0.0535950506478548, "consistency": 0.01119611931964755, "loss": 0.06479116998612881}
210
+ {"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 2.9, "data_frac": 0.177, "fm": 0.05358159564435482, "consistency": 0.010852911677211523, "loss": 0.06443450689315795}
211
+ HB_INLOOP flash step 8500: b4/train10 nMSE 0.0789 (motion_token 0.0800 hands 0.0726) on 543 queries, 2.3 s
212
+ {"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 2.84, "data_frac": 0.078, "fm": 0.053131171241402625, "consistency": 0.010756608247756958, "loss": 0.06388777911663056}
213
+ {"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 3.18, "data_frac": 0.136, "fm": 0.05342485435307026, "consistency": 0.010970726534724235, "loss": 0.06439558066427707}
214
+ {"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 1.66, "data_frac": 0.542, "fm": 0.053722810819745066, "consistency": 0.010938919652253389, "loss": 0.06466173067688942}
215
+ {"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 1.99, "data_frac": 0.448, "fm": 0.053940569683909416, "consistency": 0.010716791320592165, "loss": 0.06465736135840416}
216
+ {"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 2.47, "data_frac": 0.325, "fm": 0.05394827790558338, "consistency": 0.010901180375367404, "loss": 0.06484945833683015}
217
+ HB_INLOOP flash step 8750: b4/train10 nMSE 0.0784 (motion_token 0.0795 hands 0.0724) on 543 queries, 2.2 s
218
+ {"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 2.98, "data_frac": 0.032, "fm": 0.05321990929543972, "consistency": 0.010757724177092315, "loss": 0.06397763393819332}
219
+ {"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 2.97, "data_frac": 0.173, "fm": 0.05402213722467422, "consistency": 0.01067514155060053, "loss": 0.06469727851450444}
220
+ {"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 2.86, "data_frac": 0.172, "fm": 0.0526565083861351, "consistency": 0.010748190134763717, "loss": 0.06340469904243946}
221
+ {"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 2.52, "data_frac": 0.287, "fm": 0.053646885454654694, "consistency": 0.010579498503357172, "loss": 0.06422638446092606}
222
+ {"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 2.89, "data_frac": 0.191, "fm": 0.052919597029685975, "consistency": 0.010694233756512404, "loss": 0.06361383132636547}
223
+ HB_INLOOP flash step 9000: b4/train10 nMSE 0.0779 (motion_token 0.0790 hands 0.0723) on 543 queries, 2.3 s
224
+ {"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 2.94, "data_frac": 0.033, "fm": 0.052577667385339734, "consistency": 0.010645983163267375, "loss": 0.06322365060448647}
225
+ {"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 2.71, "data_frac": 0.28, "fm": 0.05327022798359394, "consistency": 0.010662312842905522, "loss": 0.06393254101276398}
226
+ {"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 1.73, "data_frac": 0.533, "fm": 0.0521416525542736, "consistency": 0.010530920270830392, "loss": 0.06267257250845432}
227
+ {"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 2.87, "data_frac": 0.174, "fm": 0.053124500215053556, "consistency": 0.010568994618952275, "loss": 0.06369349487125874}
228
+ {"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 2.51, "data_frac": 0.285, "fm": 0.0526860923320055, "consistency": 0.010478009469807148, "loss": 0.06316410146653652}
229
+ HB_INLOOP flash step 9250: b4/train10 nMSE 0.0776 (motion_token 0.0786 hands 0.0721) on 543 queries, 2.3 s
230
+ {"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 2.84, "data_frac": 0.054, "fm": 0.052553947418928146, "consistency": 0.010577936582267284, "loss": 0.06313188344240189}
231
+ {"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 2.87, "data_frac": 0.198, "fm": 0.05327404171228409, "consistency": 0.01048154566437006, "loss": 0.06375558696687221}
232
+ {"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 2.8, "data_frac": 0.205, "fm": 0.053220382705330846, "consistency": 0.010558061730116607, "loss": 0.0637784443795681}
233
+ {"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 2.25, "data_frac": 0.371, "fm": 0.05242556937038898, "consistency": 0.01043213278055191, "loss": 0.06285770267248153}
234
+ {"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 2.95, "data_frac": 0.175, "fm": 0.05229906842112541, "consistency": 0.010505049899220466, "loss": 0.06280411802232265}
235
+ HB_INLOOP flash step 9500: b4/train10 nMSE 0.0772 (motion_token 0.0782 hands 0.0720) on 543 queries, 2.4 s
236
+ {"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 2.93, "data_frac": 0.067, "fm": 0.05238618120551109, "consistency": 0.010467787981033325, "loss": 0.06285396978259086}
237
+ {"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 2.96, "data_frac": 0.196, "fm": 0.05260236971080303, "consistency": 0.0103345138579607, "loss": 0.06293688341975212}
238
+ {"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 1.6, "data_frac": 0.572, "fm": 0.05263487376272678, "consistency": 0.010193300452083349, "loss": 0.06282817408442497}
239
+ {"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 2.93, "data_frac": 0.169, "fm": 0.052736035883426666, "consistency": 0.010242871828377248, "loss": 0.06297890760004521}
240
+ {"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 2.79, "data_frac": 0.199, "fm": 0.05253843367099762, "consistency": 0.010372444819658995, "loss": 0.06291087873280049}
241
+ HB_INLOOP flash step 9750: b4/train10 nMSE 0.0769 (motion_token 0.0778 hands 0.0718) on 543 queries, 2.8 s
242
+ {"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 2.22, "data_frac": 0.252, "fm": 0.051890956833958626, "consistency": 0.010447350591421127, "loss": 0.06233830764889717}
243
+ {"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 2.86, "data_frac": 0.198, "fm": 0.05233755946159363, "consistency": 0.010315237957984209, "loss": 0.06265279710292816}
244
+ {"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 2.86, "data_frac": 0.184, "fm": 0.051606054455041885, "consistency": 0.010352782364934683, "loss": 0.06195883683860302}
245
+ {"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 2.59, "data_frac": 0.27, "fm": 0.051767459958791735, "consistency": 0.01034454433247447, "loss": 0.06211200408637524}
246
+ {"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.99, "data_frac": 0.445, "fm": 0.052894682139158246, "consistency": 0.010378274656832219, "loss": 0.06327295668423176}
247
+ HB_INLOOP flash step 10000: b4/train10 nMSE 0.0766 (motion_token 0.0775 hands 0.0717) on 543 queries, 2.8 s
248
+ {"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 2.43, "data_frac": 0.183, "fm": 0.052748713940382004, "consistency": 0.010073244608938693, "loss": 0.06282195843756198}
249
+ {"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 3.18, "data_frac": 0.134, "fm": 0.05191688150167465, "consistency": 0.009965188577771187, "loss": 0.061882070079445836}
250
+ {"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 1.69, "data_frac": 0.55, "fm": 0.05262272417545319, "consistency": 0.010136472210288048, "loss": 0.06275919675827027}
251
+ {"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 3.0, "data_frac": 0.149, "fm": 0.05250850014388561, "consistency": 0.010134844649583101, "loss": 0.06264334499835968}
252
+ {"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 2.95, "data_frac": 0.19, "fm": 0.05189838260412216, "consistency": 0.010288196727633475, "loss": 0.062186579778790475}
253
+ HB_INLOOP flash step 10250: b4/train10 nMSE 0.0763 (motion_token 0.0772 hands 0.0716) on 543 queries, 2.4 s
254
+ {"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 2.87, "data_frac": 0.051, "fm": 0.05213094368577004, "consistency": 0.010019174981862307, "loss": 0.062150118425488475}
255
+ {"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 2.49, "data_frac": 0.3, "fm": 0.05236649788916111, "consistency": 0.010106173008680344, "loss": 0.06247267097234726}
256
+ {"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 2.64, "data_frac": 0.262, "fm": 0.05222637042403221, "consistency": 0.010154058244079351, "loss": 0.062380428686738015}
257
+ {"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 2.84, "data_frac": 0.193, "fm": 0.05254608720541001, "consistency": 0.010346194859594107, "loss": 0.06289228215813637}
258
+ {"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 2.89, "data_frac": 0.19, "fm": 0.052162483632564545, "consistency": 0.01002008020877838, "loss": 0.06218256384134293}
259
+ HB_INLOOP flash step 10500: b4/train10 nMSE 0.0761 (motion_token 0.0770 hands 0.0715) on 543 queries, 2.4 s
260
+ {"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 2.3, "data_frac": 0.223, "fm": 0.05202520988881588, "consistency": 0.009982129503041505, "loss": 0.06200733929872513}
261
+ {"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 2.95, "data_frac": 0.175, "fm": 0.051003453135490415, "consistency": 0.009994250815361738, "loss": 0.06099770396947861}
262
+ {"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 1.75, "data_frac": 0.526, "fm": 0.051678464263677594, "consistency": 0.01003172667697072, "loss": 0.06171019084751606}
263
+ {"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 2.93, "data_frac": 0.185, "fm": 0.05188652820885181, "consistency": 0.010062722265720367, "loss": 0.06194925040006637}
264
+ {"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 2.78, "data_frac": 0.213, "fm": 0.0515750177949667, "consistency": 0.00992543512955308, "loss": 0.06150045268237591}
265
+ HB_INLOOP flash step 10750: b4/train10 nMSE 0.0759 (motion_token 0.0767 hands 0.0714) on 543 queries, 2.4 s
266
+ {"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 2.78, "data_frac": 0.079, "fm": 0.051762563586235044, "consistency": 0.010037585217505694, "loss": 0.06180014863610268}
267
+ {"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 2.64, "data_frac": 0.25, "fm": 0.05135424762964249, "consistency": 0.009974684305489064, "loss": 0.06132893227040768}
268
+ {"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 2.64, "data_frac": 0.246, "fm": 0.0522349552065134, "consistency": 0.009986864645034075, "loss": 0.06222182035446167}
269
+ {"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 2.96, "data_frac": 0.16, "fm": 0.05154606930911541, "consistency": 0.00995503094047308, "loss": 0.06150110021233559}
270
+ {"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 2.85, "data_frac": 0.201, "fm": 0.052076099812984465, "consistency": 0.01017783498391509, "loss": 0.062253935039043425}
271
+ HB_INLOOP flash step 11000: b4/train10 nMSE 0.0757 (motion_token 0.0766 hands 0.0714) on 543 queries, 2.2 s
272
+ {"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 1.73, "data_frac": 0.431, "fm": 0.0518903411924839, "consistency": 0.010004524532705545, "loss": 0.06189486563205719}
273
+ {"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 3.25, "data_frac": 0.135, "fm": 0.051733725816011426, "consistency": 0.009900166727602482, "loss": 0.061633892506361004}
274
+ {"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 3.77, "data_frac": 0.008, "fm": 0.05173348940908909, "consistency": 0.009991879556328059, "loss": 0.0617253689467907}
275
+ {"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 1.4, "data_frac": 0.611, "fm": 0.05211748719215393, "consistency": 0.009913585744798184, "loss": 0.06203107289969921}
276
+ {"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 2.92, "data_frac": 0.187, "fm": 0.05188704773783684, "consistency": 0.00990711895748973, "loss": 0.06179416686296463}
277
+ HB_INLOOP flash step 11250: b4/train10 nMSE 0.0756 (motion_token 0.0764 hands 0.0713) on 543 queries, 2.3 s
278
+ {"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 2.83, "data_frac": 0.073, "fm": 0.052027698680758475, "consistency": 0.009987665694206954, "loss": 0.06201536431908607}
279
+ {"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 2.94, "data_frac": 0.181, "fm": 0.05162613101303577, "consistency": 0.009933698065578938, "loss": 0.061559829488396646}
280
+ {"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 2.27, "data_frac": 0.344, "fm": 0.05270227260887623, "consistency": 0.009851855989545584, "loss": 0.06255412891507149}
281
+ {"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 2.84, "data_frac": 0.211, "fm": 0.05182786144316196, "consistency": 0.01005692271515727, "loss": 0.06188478387892246}
282
+ {"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 2.83, "data_frac": 0.184, "fm": 0.05181835234165191, "consistency": 0.009829831514507533, "loss": 0.06164818413555622}
283
+ HB_INLOOP flash step 11500: b4/train10 nMSE 0.0755 (motion_token 0.0763 hands 0.0712) on 543 queries, 2.3 s
284
+ {"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 3.11, "data_frac": 0.002, "fm": 0.052220320403575896, "consistency": 0.009856087435036898, "loss": 0.06207640774548054}
285
+ {"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 2.45, "data_frac": 0.316, "fm": 0.05279366448521614, "consistency": 0.009963584076613187, "loss": 0.06275724865496159}
286
+ {"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 3.66, "data_frac": 0.033, "fm": 0.05186790198087692, "consistency": 0.009986944291740655, "loss": 0.061854846104979516}
287
+ {"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.63, "data_frac": 0.538, "fm": 0.05233136899769306, "consistency": 0.009915045797824859, "loss": 0.06224641464650631}
288
+ {"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 2.44, "data_frac": 0.326, "fm": 0.05176973260939121, "consistency": 0.010001550689339637, "loss": 0.06177128337323665}
289
+ HB_INLOOP flash step 11750: b4/train10 nMSE 0.0754 (motion_token 0.0762 hands 0.0712) on 543 queries, 2.5 s
290
+ {"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 3.03, "data_frac": 0.002, "fm": 0.05198584116995335, "consistency": 0.009963754788041115, "loss": 0.06194959565997124}
291
+ {"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 3.02, "data_frac": 0.171, "fm": 0.05157546319067478, "consistency": 0.00977767402306199, "loss": 0.061353136897087095}
292
+ {"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 2.83, "data_frac": 0.195, "fm": 0.051623608842492105, "consistency": 0.010014058966189622, "loss": 0.061637667492032054}
293
+ {"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 2.43, "data_frac": 0.296, "fm": 0.05142270907759666, "consistency": 0.009819650668650865, "loss": 0.0612423600256443}
294
+ {"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 2.85, "data_frac": 0.197, "fm": 0.05156581789255142, "consistency": 0.009875880274921655, "loss": 0.061441698148846625}
295
+ HB_INLOOP flash step 12000: b4/train10 nMSE 0.0753 (motion_token 0.0761 hands 0.0712) on 543 queries, 2.3 s
296
+ {"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/step-012000", "mse": 0.005075207445770502, "mse_row0": 0.004007824696600437, "mse_motion_token": 0.005465776193886995, "mse_inspire_left_hand_state": 0.0008931347401812673, "mse_inspire_right_hand_state": 0.005091215018182993}
297
+ {"event": "done", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/final"}
b4-cushion/b512/step-012000/training_records/train_log.jsonl ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.3, "data_frac": 0.824, "fm": 1.105489746928215, "consistency": 1.1807339936494827, "loss": 2.2862237429618837}
2
+ {"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.06, "data_frac": 0.716, "fm": 0.3553657549619675, "consistency": 0.35755111038684845, "loss": 0.7129168641567231}
3
+ {"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 0.76, "data_frac": 0.798, "fm": 0.33101348221302035, "consistency": 0.3289113014936447, "loss": 0.6599247813224792}
4
+ {"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.26, "data_frac": 0.664, "fm": 0.3259227353334427, "consistency": 0.3215028941631317, "loss": 0.6474256253242493}
5
+ {"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 0.86, "data_frac": 0.771, "fm": 0.3178052604198456, "consistency": 0.3078839617967606, "loss": 0.6256892216205597}
6
+ {"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.28, "data_frac": 0.001, "fm": 0.29351069509983063, "consistency": 0.26104895800352096, "loss": 0.5545596593618393}
7
+ {"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 2.6, "data_frac": 0.29, "fm": 0.22926195055246354, "consistency": 0.16057153761386872, "loss": 0.38983348906040194}
8
+ {"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 2.19, "data_frac": 0.388, "fm": 0.18147872984409333, "consistency": 0.09307634562253952, "loss": 0.27455507427453996}
9
+ {"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 2.1, "data_frac": 0.422, "fm": 0.16362539410591126, "consistency": 0.06902546845376492, "loss": 0.23265086263418197}
10
+ {"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 3.53, "data_frac": 0.068, "fm": 0.1524736425280571, "consistency": 0.059600494354963306, "loss": 0.212074137032032}
11
+ {"event": "train", "step": 550, "lr": 9.99953357982261e-05, "backbone_lr": 9.99953357982261e-05, "ema_decay": 0.991183, "it_s": 1.44, "data_frac": 0.532, "fm": 0.14543668419122696, "consistency": 0.05428694970905781, "loss": 0.19972363412380217}
12
+ {"event": "train", "step": 600, "lr": 9.998134406309554e-05, "backbone_lr": 9.998134406309554e-05, "ema_decay": 0.991741, "it_s": 2.92, "data_frac": 0.156, "fm": 0.1370057788491249, "consistency": 0.05034691222012043, "loss": 0.1873526906967163}
13
+ {"event": "train", "step": 650, "lr": 9.995802740501933e-05, "backbone_lr": 9.995802740501933e-05, "ema_decay": 0.992223, "it_s": 2.35, "data_frac": 0.328, "fm": 0.13028978079557418, "consistency": 0.047666417509317396, "loss": 0.17795619904994964}
14
+ {"event": "train", "step": 700, "lr": 9.99253901741414e-05, "backbone_lr": 9.99253901741414e-05, "ema_decay": 0.992644, "it_s": 2.89, "data_frac": 0.193, "fm": 0.12200374037027359, "consistency": 0.04304822705686093, "loss": 0.16505196809768677}
15
+ {"event": "train", "step": 750, "lr": 9.988343845952697e-05, "backbone_lr": 9.988343845952697e-05, "ema_decay": 0.993015, "it_s": 2.31, "data_frac": 0.345, "fm": 0.1165294249355793, "consistency": 0.04072565861046314, "loss": 0.1572550827264786}
16
+ {"event": "train", "step": 800, "lr": 9.983218008802648e-05, "backbone_lr": 9.983218008802648e-05, "ema_decay": 0.993346, "it_s": 2.98, "data_frac": 0.027, "fm": 0.11147536709904671, "consistency": 0.03892250061035156, "loss": 0.1503978681564331}
17
+ {"event": "train", "step": 850, "lr": 9.977162462281544e-05, "backbone_lr": 9.977162462281544e-05, "ema_decay": 0.993642, "it_s": 2.87, "data_frac": 0.18, "fm": 0.10567212477326393, "consistency": 0.036416973024606704, "loss": 0.14208909690380098}
18
+ {"event": "train", "step": 900, "lr": 9.970178336161018e-05, "backbone_lr": 9.970178336161018e-05, "ema_decay": 0.993909, "it_s": 2.88, "data_frac": 0.182, "fm": 0.10260898098349572, "consistency": 0.034888473376631736, "loss": 0.13749745577573777}
19
+ {"event": "train", "step": 950, "lr": 9.962266933456008e-05, "backbone_lr": 9.962266933456008e-05, "ema_decay": 0.994151, "it_s": 2.47, "data_frac": 0.304, "fm": 0.09966851979494094, "consistency": 0.033397215977311136, "loss": 0.13306573614478112}
20
+ {"event": "train", "step": 1000, "lr": 9.953429730181653e-05, "backbone_lr": 9.953429730181653e-05, "ema_decay": 0.994372, "it_s": 3.66, "data_frac": 0.034, "fm": 0.0968716323375702, "consistency": 0.032107095792889596, "loss": 0.12897872895002366}
21
+ {"event": "train", "step": 1050, "lr": 9.943668375077925e-05, "backbone_lr": 9.943668375077925e-05, "ema_decay": 0.994575, "it_s": 1.64, "data_frac": 0.488, "fm": 0.0937262661755085, "consistency": 0.03096377495676279, "loss": 0.12469004124402999}
22
+ {"event": "train", "step": 1100, "lr": 9.93298468930201e-05, "backbone_lr": 9.93298468930201e-05, "ema_decay": 0.994761, "it_s": 2.42, "data_frac": 0.307, "fm": 0.09145324528217316, "consistency": 0.030304781422019006, "loss": 0.12175802648067474}
23
+ {"event": "train", "step": 1150, "lr": 9.921380666088558e-05, "backbone_lr": 9.921380666088558e-05, "ema_decay": 0.994933, "it_s": 2.88, "data_frac": 0.165, "fm": 0.08971646547317505, "consistency": 0.02900932040065527, "loss": 0.11872578620910644}
24
+ {"event": "train", "step": 1200, "lr": 9.908858470377793e-05, "backbone_lr": 9.908858470377793e-05, "ema_decay": 0.995092, "it_s": 2.88, "data_frac": 0.177, "fm": 0.08849154844880104, "consistency": 0.028642525263130665, "loss": 0.11713407337665557}
25
+ {"event": "train", "step": 1250, "lr": 9.895420438411616e-05, "backbone_lr": 9.895420438411616e-05, "ema_decay": 0.99524, "it_s": 2.94, "data_frac": 0.19, "fm": 0.085978212505579, "consistency": 0.027816829942166804, "loss": 0.11379504233598708}
26
+ {"event": "train", "step": 1300, "lr": 9.881069077297723e-05, "backbone_lr": 9.881069077297723e-05, "ema_decay": 0.995378, "it_s": 2.32, "data_frac": 0.25, "fm": 0.08563737809658051, "consistency": 0.027387835271656513, "loss": 0.1130252130329609}
27
+ {"event": "train", "step": 1350, "lr": 9.865807064541877e-05, "backbone_lr": 9.865807064541877e-05, "ema_decay": 0.995507, "it_s": 2.66, "data_frac": 0.273, "fm": 0.08443945363163947, "consistency": 0.026528382785618306, "loss": 0.11096783682703971}
28
+ {"event": "train", "step": 1400, "lr": 9.849637247548356e-05, "backbone_lr": 9.849637247548356e-05, "ema_decay": 0.995628, "it_s": 2.83, "data_frac": 0.19, "fm": 0.0831745494902134, "consistency": 0.026033281274139883, "loss": 0.10920783087611198}
29
+ {"event": "train", "step": 1450, "lr": 9.832562643088724e-05, "backbone_lr": 9.832562643088724e-05, "ema_decay": 0.995742, "it_s": 2.97, "data_frac": 0.163, "fm": 0.0829067188501358, "consistency": 0.025561055690050124, "loss": 0.10846777439117432}
30
+ {"event": "train", "step": 1500, "lr": 9.814586436738998e-05, "backbone_lr": 9.814586436738998e-05, "ema_decay": 0.995849, "it_s": 2.99, "data_frac": 0.203, "fm": 0.08118125826120376, "consistency": 0.025525987669825553, "loss": 0.10670724630355835}
31
+ {"event": "train", "step": 1550, "lr": 9.795711982285316e-05, "backbone_lr": 9.795711982285316e-05, "ema_decay": 0.99595, "it_s": 1.57, "data_frac": 0.499, "fm": 0.08052212074398994, "consistency": 0.025098795518279076, "loss": 0.10562091603875161}
32
+ {"event": "train", "step": 1600, "lr": 9.77594280109824e-05, "backbone_lr": 9.77594280109824e-05, "ema_decay": 0.996045, "it_s": 3.01, "data_frac": 0.153, "fm": 0.07960214897990227, "consistency": 0.02418335784226656, "loss": 0.10378550693392753}
33
+ {"event": "train", "step": 1650, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996136, "it_s": 2.35, "data_frac": 0.331, "fm": 0.07765779182314873, "consistency": 0.02405908063054085, "loss": 0.10171687215566635}
34
+ {"event": "train", "step": 1700, "lr": 9.733735177955219e-05, "backbone_lr": 9.733735177955219e-05, "ema_decay": 0.996221, "it_s": 2.89, "data_frac": 0.168, "fm": 0.07727657929062844, "consistency": 0.02354200594127178, "loss": 0.1008185850083828}
35
+ {"event": "train", "step": 1750, "lr": 9.711304610594104e-05, "backbone_lr": 9.711304610594104e-05, "ema_decay": 0.996303, "it_s": 2.96, "data_frac": 0.16, "fm": 0.07690713822841644, "consistency": 0.023520025089383126, "loss": 0.10042716354131699}
36
+ {"event": "train", "step": 1800, "lr": 9.687995064220102e-05, "backbone_lr": 9.687995064220102e-05, "ema_decay": 0.99638, "it_s": 2.91, "data_frac": 0.011, "fm": 0.07617761358618737, "consistency": 0.02322557885199785, "loss": 0.09940319284796714}
37
+ {"event": "train", "step": 1850, "lr": 9.663810887650318e-05, "backbone_lr": 9.663810887650318e-05, "ema_decay": 0.996454, "it_s": 2.46, "data_frac": 0.29, "fm": 0.0754586361348629, "consistency": 0.022766201235353948, "loss": 0.09822483777999878}
38
+ {"event": "train", "step": 1900, "lr": 9.638756592879922e-05, "backbone_lr": 9.638756592879922e-05, "ema_decay": 0.996524, "it_s": 2.76, "data_frac": 0.221, "fm": 0.07387291982769967, "consistency": 0.02225935772061348, "loss": 0.09613227799534797}
39
+ {"event": "train", "step": 1950, "lr": 9.612836854240358e-05, "backbone_lr": 9.612836854240358e-05, "ema_decay": 0.996591, "it_s": 2.82, "data_frac": 0.187, "fm": 0.07325871348381043, "consistency": 0.02184126541018486, "loss": 0.09509997874498367}
40
+ {"event": "train", "step": 2000, "lr": 9.586056507527266e-05, "backbone_lr": 9.586056507527266e-05, "ema_decay": 0.996655, "it_s": 3.12, "data_frac": 0.16, "fm": 0.07435626700520516, "consistency": 0.02168767563998699, "loss": 0.09604394286870957}
41
+ {"event": "train", "step": 2050, "lr": 9.558420549098268e-05, "backbone_lr": 9.558420549098268e-05, "ema_decay": 0.996716, "it_s": 1.52, "data_frac": 0.531, "fm": 0.0727952218055725, "consistency": 0.021540834307670592, "loss": 0.09433605626225472}
42
+ {"event": "train", "step": 2100, "lr": 9.52993413494082e-05, "backbone_lr": 9.52993413494082e-05, "ema_decay": 0.996775, "it_s": 2.92, "data_frac": 0.161, "fm": 0.07250773385167122, "consistency": 0.0212416522577405, "loss": 0.0937493859231472}
43
+ {"event": "train", "step": 2150, "lr": 9.500602579710256e-05, "backbone_lr": 9.500602579710256e-05, "ema_decay": 0.996832, "it_s": 2.78, "data_frac": 0.207, "fm": 0.07070364236831665, "consistency": 0.020707039348781108, "loss": 0.09141068145632744}
44
+ {"event": "train", "step": 2200, "lr": 9.470431355738257e-05, "backbone_lr": 9.470431355738257e-05, "ema_decay": 0.996886, "it_s": 2.66, "data_frac": 0.24, "fm": 0.07128028452396393, "consistency": 0.02058823872357607, "loss": 0.09186852335929871}
45
+ {"event": "train", "step": 2250, "lr": 9.439426092011875e-05, "backbone_lr": 9.439426092011875e-05, "ema_decay": 0.996938, "it_s": 2.93, "data_frac": 0.174, "fm": 0.07110278822481632, "consistency": 0.02072086725383997, "loss": 0.09182365506887435}
46
+ {"event": "train", "step": 2300, "lr": 9.407592573123358e-05, "backbone_lr": 9.407592573123358e-05, "ema_decay": 0.996988, "it_s": 2.75, "data_frac": 0.089, "fm": 0.07082296758890153, "consistency": 0.020334332026541235, "loss": 0.09115729928016662}
47
+ {"event": "train", "step": 2350, "lr": 9.374936738190914e-05, "backbone_lr": 9.374936738190914e-05, "ema_decay": 0.997036, "it_s": 2.61, "data_frac": 0.264, "fm": 0.07073917627334594, "consistency": 0.019944885298609733, "loss": 0.0906840617954731}
48
+ {"event": "train", "step": 2400, "lr": 9.341464679750669e-05, "backbone_lr": 9.341464679750669e-05, "ema_decay": 0.997083, "it_s": 2.89, "data_frac": 0.19, "fm": 0.06978123605251313, "consistency": 0.019690226390957834, "loss": 0.08947146221995354}
49
+ {"event": "train", "step": 2450, "lr": 9.30718264262e-05, "backbone_lr": 9.30718264262e-05, "ema_decay": 0.997128, "it_s": 2.57, "data_frac": 0.276, "fm": 0.06936094358563423, "consistency": 0.01959951177239418, "loss": 0.08896045595407485}
50
+ {"event": "train", "step": 2500, "lr": 9.272097022732443e-05, "backbone_lr": 9.272097022732443e-05, "ema_decay": 0.997171, "it_s": 2.94, "data_frac": 0.211, "fm": 0.06878373488783836, "consistency": 0.019500572234392166, "loss": 0.08828430697321892}
51
+ {"event": "train", "step": 2550, "lr": 9.236214365944418e-05, "backbone_lr": 9.236214365944418e-05, "ema_decay": 0.997212, "it_s": 1.61, "data_frac": 0.504, "fm": 0.06894102871418, "consistency": 0.019133909344673156, "loss": 0.08807493850588799}
52
+ {"event": "train", "step": 2600, "lr": 9.199541366813982e-05, "backbone_lr": 9.199541366813982e-05, "ema_decay": 0.997253, "it_s": 2.94, "data_frac": 0.172, "fm": 0.0685744696110487, "consistency": 0.019050896875560285, "loss": 0.08762536659836768}
53
+ {"event": "train", "step": 2650, "lr": 9.162084867351842e-05, "backbone_lr": 9.162084867351842e-05, "ema_decay": 0.997292, "it_s": 2.93, "data_frac": 0.189, "fm": 0.06811324812471867, "consistency": 0.019003324434161185, "loss": 0.08711657270789147}
54
+ {"event": "train", "step": 2700, "lr": 9.123851855744843e-05, "backbone_lr": 9.123851855744843e-05, "ema_decay": 0.997329, "it_s": 2.47, "data_frac": 0.291, "fm": 0.06765763476490974, "consistency": 0.019036977626383303, "loss": 0.0866946117579937}
55
+ {"event": "train", "step": 2750, "lr": 9.08484946505221e-05, "backbone_lr": 9.08484946505221e-05, "ema_decay": 0.997366, "it_s": 2.4, "data_frac": 0.338, "fm": 0.06673749163746834, "consistency": 0.01865150172263384, "loss": 0.08538899317383766}
56
+ {"event": "train", "step": 2800, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997401, "it_s": 2.42, "data_frac": 0.214, "fm": 0.06682962916791439, "consistency": 0.018542603328824042, "loss": 0.08537223249673843}
57
+ {"event": "train", "step": 2850, "lr": 9.004565794997209e-05, "backbone_lr": 9.004565794997209e-05, "ema_decay": 0.997436, "it_s": 2.91, "data_frac": 0.168, "fm": 0.06628644794225692, "consistency": 0.01833674293011427, "loss": 0.08462319061160088}
58
+ {"event": "train", "step": 2900, "lr": 8.963299494004291e-05, "backbone_lr": 8.963299494004291e-05, "ema_decay": 0.997469, "it_s": 2.88, "data_frac": 0.182, "fm": 0.06629814766347408, "consistency": 0.018052370026707648, "loss": 0.08435051709413528}
59
+ {"event": "train", "step": 2950, "lr": 8.921293767870157e-05, "backbone_lr": 8.921293767870157e-05, "ema_decay": 0.997501, "it_s": 2.9, "data_frac": 0.158, "fm": 0.06525222435593606, "consistency": 0.018042153865098953, "loss": 0.08329437807202339}
60
+ {"event": "train", "step": 3000, "lr": 8.8785564535221e-05, "backbone_lr": 8.8785564535221e-05, "ema_decay": 0.997532, "it_s": 2.74, "data_frac": 0.246, "fm": 0.06560152396559715, "consistency": 0.017987980134785177, "loss": 0.0835895037651062}
61
+ {"event": "train", "step": 3050, "lr": 8.835095524378414e-05, "backbone_lr": 8.835095524378414e-05, "ema_decay": 0.997563, "it_s": 1.6, "data_frac": 0.509, "fm": 0.06432288810610771, "consistency": 0.017593391090631485, "loss": 0.08191627904772758}
62
+ {"event": "train", "step": 3100, "lr": 8.790919088860814e-05, "backbone_lr": 8.790919088860814e-05, "ema_decay": 0.997592, "it_s": 3.02, "data_frac": 0.138, "fm": 0.06577716052532195, "consistency": 0.017685376666486265, "loss": 0.08346253752708435}
63
+ {"event": "train", "step": 3150, "lr": 8.746035388881655e-05, "backbone_lr": 8.746035388881655e-05, "ema_decay": 0.997621, "it_s": 2.99, "data_frac": 0.145, "fm": 0.06473622687160968, "consistency": 0.017659340649843216, "loss": 0.08239556729793548}
64
+ {"event": "train", "step": 3200, "lr": 8.70045279830626e-05, "backbone_lr": 8.70045279830626e-05, "ema_decay": 0.997649, "it_s": 2.94, "data_frac": 0.155, "fm": 0.06423555992543697, "consistency": 0.017062009237706663, "loss": 0.08129756897687912}
65
+ {"event": "train", "step": 3250, "lr": 8.654179821390621e-05, "backbone_lr": 8.654179821390621e-05, "ema_decay": 0.997676, "it_s": 2.34, "data_frac": 0.357, "fm": 0.06488733962178231, "consistency": 0.01731744930148125, "loss": 0.0822047883272171}
66
+ {"event": "train", "step": 3300, "lr": 8.607225091194779e-05, "backbone_lr": 8.607225091194779e-05, "ema_decay": 0.997703, "it_s": 2.85, "data_frac": 0.065, "fm": 0.06502541221678257, "consistency": 0.017176854852586985, "loss": 0.08220226749777794}
67
+ {"event": "train", "step": 3350, "lr": 8.559597367972168e-05, "backbone_lr": 8.559597367972168e-05, "ema_decay": 0.997728, "it_s": 2.89, "data_frac": 0.16, "fm": 0.06384154163300991, "consistency": 0.017073298953473568, "loss": 0.08091484054923058}
68
+ {"event": "train", "step": 3400, "lr": 8.511305537535237e-05, "backbone_lr": 8.511305537535237e-05, "ema_decay": 0.997754, "it_s": 2.77, "data_frac": 0.209, "fm": 0.06417767725884914, "consistency": 0.016652213111519813, "loss": 0.08082989037036896}
69
+ {"event": "train", "step": 3450, "lr": 8.46235860959763e-05, "backbone_lr": 8.46235860959763e-05, "ema_decay": 0.997778, "it_s": 2.46, "data_frac": 0.285, "fm": 0.06388409867882729, "consistency": 0.01681545116007328, "loss": 0.08069954946637153}
70
+ {"event": "train", "step": 3500, "lr": 8.412765716093272e-05, "backbone_lr": 8.412765716093272e-05, "ema_decay": 0.997802, "it_s": 3.02, "data_frac": 0.159, "fm": 0.06366069689393043, "consistency": 0.01676422094926238, "loss": 0.08042491763830185}
71
+ {"event": "train", "step": 3550, "lr": 8.362536109472636e-05, "backbone_lr": 8.362536109472636e-05, "ema_decay": 0.997825, "it_s": 1.55, "data_frac": 0.526, "fm": 0.06443140745162963, "consistency": 0.016591723822057248, "loss": 0.08102313131093979}
72
+ {"event": "train", "step": 3600, "lr": 8.311679160976539e-05, "backbone_lr": 8.311679160976539e-05, "ema_decay": 0.997848, "it_s": 2.86, "data_frac": 0.19, "fm": 0.06294131480157375, "consistency": 0.016510968785732983, "loss": 0.07945228338241578}
73
+ {"event": "train", "step": 3650, "lr": 8.260204358887754e-05, "backbone_lr": 8.260204358887754e-05, "ema_decay": 0.99787, "it_s": 2.85, "data_frac": 0.218, "fm": 0.06302284218370914, "consistency": 0.01625771986320615, "loss": 0.07928056210279465}
74
+ {"event": "train", "step": 3700, "lr": 8.208121306760805e-05, "backbone_lr": 8.208121306760805e-05, "ema_decay": 0.997892, "it_s": 2.75, "data_frac": 0.21, "fm": 0.06235139384865761, "consistency": 0.016176655013114213, "loss": 0.07852804869413375}
75
+ {"event": "train", "step": 3750, "lr": 8.155439721630264e-05, "backbone_lr": 8.155439721630264e-05, "ema_decay": 0.997913, "it_s": 2.3, "data_frac": 0.337, "fm": 0.06337435454130173, "consistency": 0.016367749553173782, "loss": 0.07974210426211358}
76
+ {"event": "train", "step": 3800, "lr": 8.102169432197842e-05, "backbone_lr": 8.102169432197842e-05, "ema_decay": 0.997933, "it_s": 3.03, "data_frac": 0.002, "fm": 0.06234405368566513, "consistency": 0.01600297713652253, "loss": 0.07834703102707863}
77
+ {"event": "train", "step": 3850, "lr": 8.048320376998673e-05, "backbone_lr": 8.048320376998673e-05, "ema_decay": 0.997954, "it_s": 2.54, "data_frac": 0.287, "fm": 0.06256393298506736, "consistency": 0.016212099865078926, "loss": 0.07877603262662887}
78
+ {"event": "train", "step": 3900, "lr": 7.993902602547113e-05, "backbone_lr": 7.993902602547113e-05, "ema_decay": 0.997973, "it_s": 2.32, "data_frac": 0.352, "fm": 0.06259861566126347, "consistency": 0.015984873324632644, "loss": 0.0785834889113903}
79
+ {"event": "train", "step": 3950, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.997993, "it_s": 2.65, "data_frac": 0.277, "fm": 0.061201177313923834, "consistency": 0.0157822522521019, "loss": 0.07698342934250832}
80
+ {"event": "train", "step": 4000, "lr": 7.883401610574336e-05, "backbone_lr": 7.883401610574336e-05, "ema_decay": 0.998011, "it_s": 2.6, "data_frac": 0.283, "fm": 0.06163559727370739, "consistency": 0.01562539691105485, "loss": 0.07726099401712418}
81
+ {"event": "save", "step": 4000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/step-004000", "mse": 0.007552501279860735, "mse_row0": 0.005855721887201071, "mse_motion_token": 0.008050882257521152, "mse_inspire_left_hand_state": 0.0018655051244422793, "mse_inspire_right_hand_state": 0.00792344193905592}
82
+ {"event": "train", "step": 4050, "lr": 7.82733900901003e-05, "backbone_lr": 7.82733900901003e-05, "ema_decay": 0.99803, "it_s": 2.06, "data_frac": 0.0, "fm": 0.06217019237577915, "consistency": 0.01561896774917841, "loss": 0.07778916001319885}
83
+ {"event": "train", "step": 4100, "lr": 7.770748916260875e-05, "backbone_lr": 7.770748916260875e-05, "ema_decay": 0.998048, "it_s": 1.54, "data_frac": 0.579, "fm": 0.06098824307322502, "consistency": 0.015513379871845246, "loss": 0.07650162264704705}
84
+ {"event": "train", "step": 4150, "lr": 7.71364189023131e-05, "backbone_lr": 7.71364189023131e-05, "ema_decay": 0.998066, "it_s": 2.97, "data_frac": 0.165, "fm": 0.061581118255853655, "consistency": 0.015510232839733362, "loss": 0.07709135130047798}
85
+ {"event": "train", "step": 4200, "lr": 7.656028585269018e-05, "backbone_lr": 7.656028585269018e-05, "ema_decay": 0.998083, "it_s": 2.9, "data_frac": 0.2, "fm": 0.061766121610999106, "consistency": 0.015490641053766012, "loss": 0.07725676268339157}
86
+ {"event": "train", "step": 4250, "lr": 7.597919750177168e-05, "backbone_lr": 7.597919750177168e-05, "ema_decay": 0.9981, "it_s": 2.85, "data_frac": 0.197, "fm": 0.060502238124609, "consistency": 0.01537890473380685, "loss": 0.07588114276528359}
87
+ {"event": "train", "step": 4300, "lr": 7.539326226209031e-05, "backbone_lr": 7.539326226209031e-05, "ema_decay": 0.998116, "it_s": 2.4, "data_frac": 0.217, "fm": 0.060333618596196174, "consistency": 0.015076948776841164, "loss": 0.07541056767106057}
88
+ {"event": "train", "step": 4350, "lr": 7.48025894504534e-05, "backbone_lr": 7.48025894504534e-05, "ema_decay": 0.998133, "it_s": 2.75, "data_frac": 0.227, "fm": 0.06097549229860306, "consistency": 0.015058602225035429, "loss": 0.07603409498929978}
89
+ {"event": "train", "step": 4400, "lr": 7.420728926754803e-05, "backbone_lr": 7.420728926754803e-05, "ema_decay": 0.998149, "it_s": 2.97, "data_frac": 0.156, "fm": 0.05969746574759483, "consistency": 0.014844344966113567, "loss": 0.07454181000590325}
90
+ {"event": "train", "step": 4450, "lr": 7.360747277738094e-05, "backbone_lr": 7.360747277738094e-05, "ema_decay": 0.998164, "it_s": 2.77, "data_frac": 0.226, "fm": 0.06020496919751167, "consistency": 0.015062597803771496, "loss": 0.07526756748557091}
91
+ {"event": "train", "step": 4500, "lr": 7.300325188655761e-05, "backbone_lr": 7.300325188655761e-05, "ema_decay": 0.99818, "it_s": 2.52, "data_frac": 0.302, "fm": 0.060151723474264146, "consistency": 0.014895100053399802, "loss": 0.07504682332277297}
92
+ {"event": "train", "step": 4550, "lr": 7.23947393234041e-05, "backbone_lr": 7.23947393234041e-05, "ema_decay": 0.998195, "it_s": 3.23, "data_frac": 0.001, "fm": 0.059977189227938654, "consistency": 0.014920181017369033, "loss": 0.07489737063646316}
93
+ {"event": "train", "step": 4600, "lr": 7.178204861693545e-05, "backbone_lr": 7.178204861693545e-05, "ema_decay": 0.998209, "it_s": 1.65, "data_frac": 0.548, "fm": 0.06015034273266792, "consistency": 0.014887563567608595, "loss": 0.07503790631890297}
94
+ {"event": "train", "step": 4650, "lr": 7.116529407567489e-05, "backbone_lr": 7.116529407567489e-05, "ema_decay": 0.998224, "it_s": 2.49, "data_frac": 0.301, "fm": 0.05948204547166824, "consistency": 0.014476593434810638, "loss": 0.07395863860845565}
95
+ {"event": "train", "step": 4700, "lr": 7.054459076632743e-05, "backbone_lr": 7.054459076632743e-05, "ema_decay": 0.998238, "it_s": 2.54, "data_frac": 0.253, "fm": 0.059266942888498306, "consistency": 0.014458099436014891, "loss": 0.07372504204511643}
96
+ {"event": "train", "step": 4750, "lr": 6.992005449231208e-05, "backbone_lr": 6.992005449231208e-05, "ema_decay": 0.998252, "it_s": 2.97, "data_frac": 0.151, "fm": 0.0594072899222374, "consistency": 0.014558501541614532, "loss": 0.07396579131484032}
97
+ {"event": "train", "step": 4800, "lr": 6.929180177215678e-05, "backbone_lr": 6.929180177215678e-05, "ema_decay": 0.998266, "it_s": 2.7, "data_frac": 0.085, "fm": 0.05885792821645737, "consistency": 0.014240813348442316, "loss": 0.07309874206781387}
98
+ {"event": "train", "step": 4850, "lr": 6.865994981775957e-05, "backbone_lr": 6.865994981775957e-05, "ema_decay": 0.998279, "it_s": 2.71, "data_frac": 0.222, "fm": 0.05978062465786934, "consistency": 0.014373904671519994, "loss": 0.07415452912449837}
99
+ {"event": "train", "step": 4900, "lr": 6.802461651252073e-05, "backbone_lr": 6.802461651252073e-05, "ema_decay": 0.998292, "it_s": 2.52, "data_frac": 0.288, "fm": 0.05943919979035854, "consistency": 0.014486706051975488, "loss": 0.0739259061217308}
100
+ {"event": "train", "step": 4950, "lr": 6.738592038934946e-05, "backbone_lr": 6.738592038934946e-05, "ema_decay": 0.998305, "it_s": 2.36, "data_frac": 0.339, "fm": 0.05886064626276493, "consistency": 0.014198978431522846, "loss": 0.07305962488055229}
101
+ {"event": "train", "step": 5000, "lr": 6.674398060854931e-05, "backbone_lr": 6.674398060854931e-05, "ema_decay": 0.998318, "it_s": 2.92, "data_frac": 0.197, "fm": 0.059210129603743555, "consistency": 0.014299626834690571, "loss": 0.07350975647568703}
102
+ {"event": "train", "step": 5050, "lr": 6.609891693558692e-05, "backbone_lr": 6.609891693558692e-05, "ema_decay": 0.99833, "it_s": 2.9, "data_frac": 0.096, "fm": 0.05923972442746162, "consistency": 0.01425967026501894, "loss": 0.07349939495325089}
103
+ {"event": "train", "step": 5100, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998343, "it_s": 1.66, "data_frac": 0.545, "fm": 0.05869405783712864, "consistency": 0.014033450428396464, "loss": 0.07272750854492188}
104
+ {"event": "train", "step": 5150, "lr": 6.479989986668118e-05, "backbone_lr": 6.479989986668118e-05, "ema_decay": 0.998355, "it_s": 3.1, "data_frac": 0.152, "fm": 0.0590566798299551, "consistency": 0.013840641621500253, "loss": 0.07289732173085213}
105
+ {"event": "train", "step": 5200, "lr": 6.41461888258465e-05, "backbone_lr": 6.41461888258465e-05, "ema_decay": 0.998367, "it_s": 2.34, "data_frac": 0.333, "fm": 0.05876166686415672, "consistency": 0.01391328552737832, "loss": 0.07267495319247246}
106
+ {"event": "train", "step": 5250, "lr": 6.348983855785121e-05, "backbone_lr": 6.348983855785121e-05, "ema_decay": 0.998378, "it_s": 2.8, "data_frac": 0.206, "fm": 0.05880750760436058, "consistency": 0.013804027251899243, "loss": 0.07261153489351273}
107
+ {"event": "train", "step": 5300, "lr": 6.283097151669869e-05, "backbone_lr": 6.283097151669869e-05, "ema_decay": 0.99839, "it_s": 2.76, "data_frac": 0.096, "fm": 0.05854590646922588, "consistency": 0.013681040294468403, "loss": 0.0722269469499588}
108
+ {"event": "train", "step": 5350, "lr": 6.216971062594179e-05, "backbone_lr": 6.216971062594179e-05, "ema_decay": 0.998401, "it_s": 2.24, "data_frac": 0.366, "fm": 0.05836530968546867, "consistency": 0.013897259086370468, "loss": 0.07226256847381592}
109
+ {"event": "train", "step": 5400, "lr": 6.150617925574933e-05, "backbone_lr": 6.150617925574933e-05, "ema_decay": 0.998412, "it_s": 2.43, "data_frac": 0.322, "fm": 0.05726925656199455, "consistency": 0.013521836642175912, "loss": 0.07079109326004981}
110
+ {"event": "train", "step": 5450, "lr": 6.0840501199889046e-05, "backbone_lr": 6.0840501199889046e-05, "ema_decay": 0.998423, "it_s": 2.88, "data_frac": 0.185, "fm": 0.05828911423683167, "consistency": 0.013669189792126417, "loss": 0.07195830419659614}
111
+ {"event": "train", "step": 5500, "lr": 6.01728006526317e-05, "backbone_lr": 6.01728006526317e-05, "ema_decay": 0.998434, "it_s": 2.78, "data_frac": 0.213, "fm": 0.05761879630386829, "consistency": 0.01351657323539257, "loss": 0.07113536924123764}
112
+ {"event": "train", "step": 5550, "lr": 5.950320218558037e-05, "backbone_lr": 5.950320218558037e-05, "ema_decay": 0.998445, "it_s": 3.18, "data_frac": 0.014, "fm": 0.05795813851058483, "consistency": 0.013406724650412798, "loss": 0.07136486321687699}
113
+ {"event": "train", "step": 5600, "lr": 5.8831830724429384e-05, "backbone_lr": 5.8831830724429384e-05, "ema_decay": 0.998455, "it_s": 1.72, "data_frac": 0.531, "fm": 0.0584224995225668, "consistency": 0.013354751449078321, "loss": 0.07177725076675415}
114
+ {"event": "train", "step": 5650, "lr": 5.815881152565712e-05, "backbone_lr": 5.815881152565712e-05, "ema_decay": 0.998465, "it_s": 2.88, "data_frac": 0.195, "fm": 0.05825070716440678, "consistency": 0.01342432327568531, "loss": 0.07167503044009209}
115
+ {"event": "train", "step": 5700, "lr": 5.748427015315722e-05, "backbone_lr": 5.748427015315722e-05, "ema_decay": 0.998475, "it_s": 2.42, "data_frac": 0.297, "fm": 0.057024876773357394, "consistency": 0.013261417653411626, "loss": 0.07028629437088967}
116
+ {"event": "train", "step": 5750, "lr": 5.680833245481234e-05, "backbone_lr": 5.680833245481234e-05, "ema_decay": 0.998485, "it_s": 2.97, "data_frac": 0.189, "fm": 0.05820773236453533, "consistency": 0.01342124205082655, "loss": 0.07162897378206252}
117
+ {"event": "train", "step": 5800, "lr": 5.6131124539014926e-05, "backbone_lr": 5.6131124539014926e-05, "ema_decay": 0.998495, "it_s": 2.91, "data_frac": 0.019, "fm": 0.05651936039328575, "consistency": 0.013184357602149248, "loss": 0.06970371782779694}
118
+ {"event": "train", "step": 5850, "lr": 5.5452772751139496e-05, "backbone_lr": 5.5452772751139496e-05, "ema_decay": 0.998505, "it_s": 1.5, "data_frac": 0.589, "fm": 0.056701193898916244, "consistency": 0.013060433678328992, "loss": 0.06976162761449814}
119
+ {"event": "train", "step": 5900, "lr": 5.477340364997051e-05, "backbone_lr": 5.477340364997051e-05, "ema_decay": 0.998514, "it_s": 3.35, "data_frac": 0.093, "fm": 0.05663332067430019, "consistency": 0.013096501994878053, "loss": 0.06972982272505761}
120
+ {"event": "train", "step": 5950, "lr": 5.409314398409067e-05, "backbone_lr": 5.409314398409067e-05, "ema_decay": 0.998524, "it_s": 2.83, "data_frac": 0.19, "fm": 0.056597166806459424, "consistency": 0.012975395619869233, "loss": 0.06957256227731705}
121
+ {"event": "train", "step": 6000, "lr": 5.341212066823355e-05, "backbone_lr": 5.341212066823355e-05, "ema_decay": 0.998533, "it_s": 2.92, "data_frac": 0.17, "fm": 0.057037284150719646, "consistency": 0.012907065972685814, "loss": 0.06994435012340545}
122
+ {"event": "train", "step": 6050, "lr": 5.27304607596055e-05, "backbone_lr": 5.27304607596055e-05, "ema_decay": 0.998542, "it_s": 2.9, "data_frac": 0.082, "fm": 0.05675929471850395, "consistency": 0.013003188651055098, "loss": 0.06976248368620873}
123
+ {"event": "train", "step": 6100, "lr": 5.2048291434180716e-05, "backbone_lr": 5.2048291434180716e-05, "ema_decay": 0.998551, "it_s": 1.73, "data_frac": 0.533, "fm": 0.05741063892841339, "consistency": 0.01302617583423853, "loss": 0.07043681457638741}
124
+ {"event": "train", "step": 6150, "lr": 5.1365739962974304e-05, "backbone_lr": 5.1365739962974304e-05, "ema_decay": 0.99856, "it_s": 2.88, "data_frac": 0.19, "fm": 0.056816201582551004, "consistency": 0.012969946172088385, "loss": 0.06978614807128906}
125
+ {"event": "train", "step": 6200, "lr": 5.068293368829755e-05, "backbone_lr": 5.068293368829755e-05, "ema_decay": 0.998569, "it_s": 3.03, "data_frac": 0.168, "fm": 0.05632914997637272, "consistency": 0.01282922899350524, "loss": 0.06915837854146957}
126
+ {"event": "train", "step": 6250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998577, "it_s": 2.37, "data_frac": 0.325, "fm": 0.056478773951530455, "consistency": 0.012532065734267234, "loss": 0.06901084020733833}
127
+ {"event": "train", "step": 6300, "lr": 4.9317066311702456e-05, "backbone_lr": 4.9317066311702456e-05, "ema_decay": 0.998586, "it_s": 2.91, "data_frac": 0.038, "fm": 0.05633851572871208, "consistency": 0.012588813994079828, "loss": 0.06892732918262481}
128
+ {"event": "train", "step": 6350, "lr": 4.863426003702572e-05, "backbone_lr": 4.863426003702572e-05, "ema_decay": 0.998594, "it_s": 2.88, "data_frac": 0.178, "fm": 0.056158327460289, "consistency": 0.01254253763705492, "loss": 0.0687008649110794}
129
+ {"event": "train", "step": 6400, "lr": 4.795170856581929e-05, "backbone_lr": 4.795170856581929e-05, "ema_decay": 0.998602, "it_s": 2.75, "data_frac": 0.221, "fm": 0.05640663854777813, "consistency": 0.012674533929675817, "loss": 0.0690811724960804}
130
+ {"event": "train", "step": 6450, "lr": 4.726953924039451e-05, "backbone_lr": 4.726953924039451e-05, "ema_decay": 0.99861, "it_s": 2.39, "data_frac": 0.3, "fm": 0.055295996591448786, "consistency": 0.012481941767036915, "loss": 0.06777793869376182}
131
+ {"event": "train", "step": 6500, "lr": 4.658787933176646e-05, "backbone_lr": 4.658787933176646e-05, "ema_decay": 0.998618, "it_s": 2.81, "data_frac": 0.211, "fm": 0.05601366743445396, "consistency": 0.012338087484240532, "loss": 0.06835175544023514}
132
+ {"event": "train", "step": 6550, "lr": 4.590685601590936e-05, "backbone_lr": 4.590685601590936e-05, "ema_decay": 0.998626, "it_s": 2.91, "data_frac": 0.066, "fm": 0.05642739519476891, "consistency": 0.012588960491120816, "loss": 0.06901635564863681}
133
+ {"event": "train", "step": 6600, "lr": 4.52265963500295e-05, "backbone_lr": 4.52265963500295e-05, "ema_decay": 0.998634, "it_s": 1.69, "data_frac": 0.545, "fm": 0.0554815137386322, "consistency": 0.012299180757254361, "loss": 0.06778069458901882}
134
+ {"event": "train", "step": 6650, "lr": 4.454722724886051e-05, "backbone_lr": 4.454722724886051e-05, "ema_decay": 0.998642, "it_s": 2.5, "data_frac": 0.283, "fm": 0.0553250253200531, "consistency": 0.012221632320433854, "loss": 0.06754665791988373}
135
+ {"event": "train", "step": 6700, "lr": 4.3868875460985085e-05, "backbone_lr": 4.3868875460985085e-05, "ema_decay": 0.99865, "it_s": 2.14, "data_frac": 0.404, "fm": 0.05662515379488468, "consistency": 0.012417765725404024, "loss": 0.06904291965067387}
136
+ {"event": "train", "step": 6750, "lr": 4.319166754518768e-05, "backbone_lr": 4.319166754518768e-05, "ema_decay": 0.998657, "it_s": 2.33, "data_frac": 0.362, "fm": 0.055570839494466784, "consistency": 0.012255553770810366, "loss": 0.06782639294862747}
137
+ {"event": "train", "step": 6800, "lr": 4.251572984684281e-05, "backbone_lr": 4.251572984684281e-05, "ema_decay": 0.998664, "it_s": 2.64, "data_frac": 0.124, "fm": 0.05561110891401768, "consistency": 0.0121917262673378, "loss": 0.06780283480882644}
138
+ {"event": "train", "step": 6850, "lr": 4.18411884743429e-05, "backbone_lr": 4.18411884743429e-05, "ema_decay": 0.998672, "it_s": 2.93, "data_frac": 0.198, "fm": 0.055474499389529225, "consistency": 0.012024426981806755, "loss": 0.06749892674386501}
139
+ {"event": "train", "step": 6900, "lr": 4.1168169275570635e-05, "backbone_lr": 4.1168169275570635e-05, "ema_decay": 0.998679, "it_s": 2.91, "data_frac": 0.195, "fm": 0.05562940128147602, "consistency": 0.01198330195620656, "loss": 0.06761270344257354}
140
+ {"event": "train", "step": 6950, "lr": 4.049679781441965e-05, "backbone_lr": 4.049679781441965e-05, "ema_decay": 0.998686, "it_s": 2.8, "data_frac": 0.222, "fm": 0.055092490538954736, "consistency": 0.012225064504891634, "loss": 0.06731755502521991}
141
+ {"event": "train", "step": 7000, "lr": 3.982719934736832e-05, "backbone_lr": 3.982719934736832e-05, "ema_decay": 0.998693, "it_s": 2.38, "data_frac": 0.317, "fm": 0.05502954363822937, "consistency": 0.012055528983473777, "loss": 0.06708507284522057}
142
+ {"event": "train", "step": 7050, "lr": 3.915949880011096e-05, "backbone_lr": 3.915949880011096e-05, "ema_decay": 0.9987, "it_s": 3.14, "data_frac": 0.01, "fm": 0.055285677686333655, "consistency": 0.011909754071384669, "loss": 0.06719543181359768}
143
+ {"event": "train", "step": 7100, "lr": 3.8493820744250685e-05, "backbone_lr": 3.8493820744250685e-05, "ema_decay": 0.998707, "it_s": 1.7, "data_frac": 0.551, "fm": 0.055176078826189044, "consistency": 0.011950241327285767, "loss": 0.0671263201534748}
144
+ {"event": "train", "step": 7150, "lr": 3.783028937405821e-05, "backbone_lr": 3.783028937405821e-05, "ema_decay": 0.998714, "it_s": 2.97, "data_frac": 0.151, "fm": 0.05535687379539013, "consistency": 0.012038912512362004, "loss": 0.06739578656852245}
145
+ {"event": "train", "step": 7200, "lr": 3.716902848330133e-05, "backbone_lr": 3.716902848330133e-05, "ema_decay": 0.99872, "it_s": 3.05, "data_frac": 0.144, "fm": 0.054751559123396874, "consistency": 0.011972351111471652, "loss": 0.06672391086816788}
146
+ {"event": "train", "step": 7250, "lr": 3.651016144214878e-05, "backbone_lr": 3.651016144214878e-05, "ema_decay": 0.998727, "it_s": 1.84, "data_frac": 0.499, "fm": 0.05408965826034546, "consistency": 0.011739454735070466, "loss": 0.06582911320030689}
147
+ {"event": "train", "step": 7300, "lr": 3.585381117415349e-05, "backbone_lr": 3.585381117415349e-05, "ema_decay": 0.998734, "it_s": 3.0, "data_frac": 0.02, "fm": 0.05457441411912441, "consistency": 0.01185732675716281, "loss": 0.06643174044787883}
148
+ {"event": "train", "step": 7350, "lr": 3.5200100133318834e-05, "backbone_lr": 3.5200100133318834e-05, "ema_decay": 0.99874, "it_s": 2.35, "data_frac": 0.338, "fm": 0.05415923751890659, "consistency": 0.011585389226675034, "loss": 0.06574462667107582}
149
+ {"event": "train", "step": 7400, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998747, "it_s": 3.04, "data_frac": 0.137, "fm": 0.05415598303079605, "consistency": 0.011491757687181234, "loss": 0.06564774110913277}
150
+ {"event": "train", "step": 7450, "lr": 3.3901083064413095e-05, "backbone_lr": 3.3901083064413095e-05, "ema_decay": 0.998753, "it_s": 2.45, "data_frac": 0.31, "fm": 0.05465976186096668, "consistency": 0.011712863463908435, "loss": 0.06637262530624867}
151
+ {"event": "train", "step": 7500, "lr": 3.325601939145069e-05, "backbone_lr": 3.325601939145069e-05, "ema_decay": 0.998759, "it_s": 2.86, "data_frac": 0.2, "fm": 0.05541671395301819, "consistency": 0.011739436257630586, "loss": 0.06715614967048168}
152
+ {"event": "train", "step": 7550, "lr": 3.261407961065056e-05, "backbone_lr": 3.261407961065056e-05, "ema_decay": 0.998765, "it_s": 3.08, "data_frac": 0.003, "fm": 0.0544505450129509, "consistency": 0.0116707375459373, "loss": 0.0661212830990553}
153
+ {"event": "train", "step": 7600, "lr": 3.197538348747927e-05, "backbone_lr": 3.197538348747927e-05, "ema_decay": 0.998771, "it_s": 3.44, "data_frac": 0.094, "fm": 0.054363228604197504, "consistency": 0.011545595303177834, "loss": 0.06590882331132888}
154
+ {"event": "train", "step": 7650, "lr": 3.134005018224044e-05, "backbone_lr": 3.134005018224044e-05, "ema_decay": 0.998777, "it_s": 1.53, "data_frac": 0.565, "fm": 0.054446361884474756, "consistency": 0.011428776029497385, "loss": 0.06587513774633408}
155
+ {"event": "train", "step": 7700, "lr": 3.070819822784323e-05, "backbone_lr": 3.070819822784323e-05, "ema_decay": 0.998783, "it_s": 2.88, "data_frac": 0.183, "fm": 0.055119813457131385, "consistency": 0.011443420946598053, "loss": 0.06656323440372944}
156
+ {"event": "train", "step": 7750, "lr": 3.007994550768793e-05, "backbone_lr": 3.007994550768793e-05, "ema_decay": 0.998789, "it_s": 2.93, "data_frac": 0.164, "fm": 0.05417047008872032, "consistency": 0.011438983958214521, "loss": 0.06560945391654968}
157
+ {"event": "train", "step": 7800, "lr": 2.9455409233672592e-05, "backbone_lr": 2.9455409233672592e-05, "ema_decay": 0.998795, "it_s": 2.72, "data_frac": 0.13, "fm": 0.0540135744959116, "consistency": 0.011392473820596933, "loss": 0.06540604814887047}
158
+ {"event": "train", "step": 7850, "lr": 2.8834705924325118e-05, "backbone_lr": 2.8834705924325118e-05, "ema_decay": 0.998801, "it_s": 2.44, "data_frac": 0.33, "fm": 0.05444985300302505, "consistency": 0.011269719861447812, "loss": 0.06571957297623157}
159
+ {"event": "train", "step": 7900, "lr": 2.8217951383064544e-05, "backbone_lr": 2.8217951383064544e-05, "ema_decay": 0.998807, "it_s": 2.71, "data_frac": 0.228, "fm": 0.05429208487272263, "consistency": 0.011329658403992653, "loss": 0.0656217434257269}
160
+ {"event": "train", "step": 7950, "lr": 2.760526067659591e-05, "backbone_lr": 2.760526067659591e-05, "ema_decay": 0.998812, "it_s": 2.89, "data_frac": 0.192, "fm": 0.053796575590968135, "consistency": 0.011551957409828902, "loss": 0.0653485331684351}
161
+ {"event": "train", "step": 8000, "lr": 2.6996748113442394e-05, "backbone_lr": 2.6996748113442394e-05, "ema_decay": 0.998818, "it_s": 2.81, "data_frac": 0.2, "fm": 0.053919239938259124, "consistency": 0.011326476503163575, "loss": 0.06524571634829045}
162
+ {"event": "save", "step": 8000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/step-008000", "mse": 0.005584599915891886, "mse_row0": 0.004342962056398392, "mse_motion_token": 0.005997427739202976, "mse_inspire_left_hand_state": 0.0010537519119679928, "mse_inspire_right_hand_state": 0.005711947102099657}
163
+ {"event": "train", "step": 8050, "lr": 2.639252722261908e-05, "backbone_lr": 2.639252722261908e-05, "ema_decay": 0.998823, "it_s": 2.11, "data_frac": 0.002, "fm": 0.05384514510631561, "consistency": 0.011272698286920785, "loss": 0.06511784322559834}
164
+ {"event": "train", "step": 8100, "lr": 2.5792710732451997e-05, "backbone_lr": 2.5792710732451997e-05, "ema_decay": 0.998829, "it_s": 3.78, "data_frac": 0.001, "fm": 0.05404026664793491, "consistency": 0.01118012435734272, "loss": 0.06522039122879505}
165
+ {"event": "train", "step": 8150, "lr": 2.5197410549546595e-05, "backbone_lr": 2.5197410549546595e-05, "ema_decay": 0.998834, "it_s": 1.44, "data_frac": 0.601, "fm": 0.053073432743549344, "consistency": 0.011049564480781555, "loss": 0.06412299759685994}
166
+ {"event": "train", "step": 8200, "lr": 2.4606737737909697e-05, "backbone_lr": 2.4606737737909697e-05, "ema_decay": 0.998839, "it_s": 2.47, "data_frac": 0.296, "fm": 0.05377795964479446, "consistency": 0.011087350267916917, "loss": 0.06486531011760235}
167
+ {"event": "train", "step": 8250, "lr": 2.4020802498228335e-05, "backbone_lr": 2.4020802498228335e-05, "ema_decay": 0.998845, "it_s": 2.9, "data_frac": 0.181, "fm": 0.05339344851672649, "consistency": 0.010971654821187258, "loss": 0.06436510302126408}
168
+ {"event": "train", "step": 8300, "lr": 2.3439714147309845e-05, "backbone_lr": 2.3439714147309845e-05, "ema_decay": 0.99885, "it_s": 2.97, "data_frac": 0.035, "fm": 0.05330253377556801, "consistency": 0.011064053531736135, "loss": 0.06436658754944802}
169
+ {"event": "train", "step": 8350, "lr": 2.2863581097686925e-05, "backbone_lr": 2.2863581097686925e-05, "ema_decay": 0.998855, "it_s": 2.8, "data_frac": 0.18, "fm": 0.053848322033882144, "consistency": 0.011051810029894114, "loss": 0.0649001321196556}
170
+ {"event": "train", "step": 8400, "lr": 2.2292510837391267e-05, "backbone_lr": 2.2292510837391267e-05, "ema_decay": 0.99886, "it_s": 2.56, "data_frac": 0.256, "fm": 0.054054823368787766, "consistency": 0.011018474660813809, "loss": 0.06507329806685448}
171
+ {"event": "train", "step": 8450, "lr": 2.172660990989971e-05, "backbone_lr": 2.172660990989971e-05, "ema_decay": 0.998865, "it_s": 2.74, "data_frac": 0.213, "fm": 0.0535950506478548, "consistency": 0.01119611931964755, "loss": 0.06479116998612881}
172
+ {"event": "train", "step": 8500, "lr": 2.1165983894256647e-05, "backbone_lr": 2.1165983894256647e-05, "ema_decay": 0.99887, "it_s": 2.9, "data_frac": 0.177, "fm": 0.05358159564435482, "consistency": 0.010852911677211523, "loss": 0.06443450689315795}
173
+ {"event": "train", "step": 8550, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.998875, "it_s": 2.84, "data_frac": 0.078, "fm": 0.053131171241402625, "consistency": 0.010756608247756958, "loss": 0.06388777911663056}
174
+ {"event": "train", "step": 8600, "lr": 2.0060973974528874e-05, "backbone_lr": 2.0060973974528874e-05, "ema_decay": 0.99888, "it_s": 3.18, "data_frac": 0.136, "fm": 0.05342485435307026, "consistency": 0.010970726534724235, "loss": 0.06439558066427707}
175
+ {"event": "train", "step": 8650, "lr": 1.9516796230013272e-05, "backbone_lr": 1.9516796230013272e-05, "ema_decay": 0.998885, "it_s": 1.66, "data_frac": 0.542, "fm": 0.053722810819745066, "consistency": 0.010938919652253389, "loss": 0.06466173067688942}
176
+ {"event": "train", "step": 8700, "lr": 1.8978305678021595e-05, "backbone_lr": 1.8978305678021595e-05, "ema_decay": 0.99889, "it_s": 1.99, "data_frac": 0.448, "fm": 0.053940569683909416, "consistency": 0.010716791320592165, "loss": 0.06465736135840416}
177
+ {"event": "train", "step": 8750, "lr": 1.8445602783697374e-05, "backbone_lr": 1.8445602783697374e-05, "ema_decay": 0.998895, "it_s": 2.47, "data_frac": 0.325, "fm": 0.05394827790558338, "consistency": 0.010901180375367404, "loss": 0.06484945833683015}
178
+ {"event": "train", "step": 8800, "lr": 1.7918786932391944e-05, "backbone_lr": 1.7918786932391944e-05, "ema_decay": 0.998899, "it_s": 2.98, "data_frac": 0.032, "fm": 0.05321990929543972, "consistency": 0.010757724177092315, "loss": 0.06397763393819332}
179
+ {"event": "train", "step": 8850, "lr": 1.739795641112248e-05, "backbone_lr": 1.739795641112248e-05, "ema_decay": 0.998904, "it_s": 2.97, "data_frac": 0.173, "fm": 0.05402213722467422, "consistency": 0.01067514155060053, "loss": 0.06469727851450444}
180
+ {"event": "train", "step": 8900, "lr": 1.6883208390234628e-05, "backbone_lr": 1.6883208390234628e-05, "ema_decay": 0.998909, "it_s": 2.86, "data_frac": 0.172, "fm": 0.0526565083861351, "consistency": 0.010748190134763717, "loss": 0.06340469904243946}
181
+ {"event": "train", "step": 8950, "lr": 1.6374638905273643e-05, "backbone_lr": 1.6374638905273643e-05, "ema_decay": 0.998913, "it_s": 2.52, "data_frac": 0.287, "fm": 0.053646885454654694, "consistency": 0.010579498503357172, "loss": 0.06422638446092606}
182
+ {"event": "train", "step": 9000, "lr": 1.5872342839067306e-05, "backbone_lr": 1.5872342839067306e-05, "ema_decay": 0.998918, "it_s": 2.89, "data_frac": 0.191, "fm": 0.052919597029685975, "consistency": 0.010694233756512404, "loss": 0.06361383132636547}
183
+ {"event": "train", "step": 9050, "lr": 1.5376413904023722e-05, "backbone_lr": 1.5376413904023722e-05, "ema_decay": 0.998922, "it_s": 2.94, "data_frac": 0.033, "fm": 0.052577667385339734, "consistency": 0.010645983163267375, "loss": 0.06322365060448647}
184
+ {"event": "train", "step": 9100, "lr": 1.4886944624647647e-05, "backbone_lr": 1.4886944624647647e-05, "ema_decay": 0.998927, "it_s": 2.71, "data_frac": 0.28, "fm": 0.05327022798359394, "consistency": 0.010662312842905522, "loss": 0.06393254101276398}
185
+ {"event": "train", "step": 9150, "lr": 1.4404026320278318e-05, "backbone_lr": 1.4404026320278318e-05, "ema_decay": 0.998931, "it_s": 1.73, "data_frac": 0.533, "fm": 0.0521416525542736, "consistency": 0.010530920270830392, "loss": 0.06267257250845432}
186
+ {"event": "train", "step": 9200, "lr": 1.3927749088052217e-05, "backbone_lr": 1.3927749088052217e-05, "ema_decay": 0.998935, "it_s": 2.87, "data_frac": 0.174, "fm": 0.053124500215053556, "consistency": 0.010568994618952275, "loss": 0.06369349487125874}
187
+ {"event": "train", "step": 9250, "lr": 1.3458201786093794e-05, "backbone_lr": 1.3458201786093794e-05, "ema_decay": 0.99894, "it_s": 2.51, "data_frac": 0.285, "fm": 0.0526860923320055, "consistency": 0.010478009469807148, "loss": 0.06316410146653652}
188
+ {"event": "train", "step": 9300, "lr": 1.2995472016937404e-05, "backbone_lr": 1.2995472016937404e-05, "ema_decay": 0.998944, "it_s": 2.84, "data_frac": 0.054, "fm": 0.052553947418928146, "consistency": 0.010577936582267284, "loss": 0.06313188344240189}
189
+ {"event": "train", "step": 9350, "lr": 1.253964611118345e-05, "backbone_lr": 1.253964611118345e-05, "ema_decay": 0.998948, "it_s": 2.87, "data_frac": 0.198, "fm": 0.05327404171228409, "consistency": 0.01048154566437006, "loss": 0.06375558696687221}
190
+ {"event": "train", "step": 9400, "lr": 1.209080911139187e-05, "backbone_lr": 1.209080911139187e-05, "ema_decay": 0.998952, "it_s": 2.8, "data_frac": 0.205, "fm": 0.053220382705330846, "consistency": 0.010558061730116607, "loss": 0.0637784443795681}
191
+ {"event": "train", "step": 9450, "lr": 1.164904475621587e-05, "backbone_lr": 1.164904475621587e-05, "ema_decay": 0.998957, "it_s": 2.25, "data_frac": 0.371, "fm": 0.05242556937038898, "consistency": 0.01043213278055191, "loss": 0.06285770267248153}
192
+ {"event": "train", "step": 9500, "lr": 1.1214435464779006e-05, "backbone_lr": 1.1214435464779006e-05, "ema_decay": 0.998961, "it_s": 2.95, "data_frac": 0.175, "fm": 0.05229906842112541, "consistency": 0.010505049899220466, "loss": 0.06280411802232265}
193
+ {"event": "train", "step": 9550, "lr": 1.0787062321298442e-05, "backbone_lr": 1.0787062321298442e-05, "ema_decay": 0.998965, "it_s": 2.93, "data_frac": 0.067, "fm": 0.05238618120551109, "consistency": 0.010467787981033325, "loss": 0.06285396978259086}
194
+ {"event": "train", "step": 9600, "lr": 1.0367005059957096e-05, "backbone_lr": 1.0367005059957096e-05, "ema_decay": 0.998969, "it_s": 2.96, "data_frac": 0.196, "fm": 0.05260236971080303, "consistency": 0.0103345138579607, "loss": 0.06293688341975212}
195
+ {"event": "train", "step": 9650, "lr": 9.954342050027921e-06, "backbone_lr": 9.954342050027921e-06, "ema_decay": 0.998973, "it_s": 1.6, "data_frac": 0.572, "fm": 0.05263487376272678, "consistency": 0.010193300452083349, "loss": 0.06282817408442497}
196
+ {"event": "train", "step": 9700, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.998977, "it_s": 2.93, "data_frac": 0.169, "fm": 0.052736035883426666, "consistency": 0.010242871828377248, "loss": 0.06297890760004521}
197
+ {"event": "train", "step": 9750, "lr": 9.151505349477902e-06, "backbone_lr": 9.151505349477902e-06, "ema_decay": 0.998981, "it_s": 2.79, "data_frac": 0.199, "fm": 0.05253843367099762, "consistency": 0.010372444819658995, "loss": 0.06291087873280049}
198
+ {"event": "train", "step": 9800, "lr": 8.761481442551573e-06, "backbone_lr": 8.761481442551573e-06, "ema_decay": 0.998985, "it_s": 2.22, "data_frac": 0.252, "fm": 0.051890956833958626, "consistency": 0.010447350591421127, "loss": 0.06233830764889717}
199
+ {"event": "train", "step": 9850, "lr": 8.379151326481587e-06, "backbone_lr": 8.379151326481587e-06, "ema_decay": 0.998989, "it_s": 2.86, "data_frac": 0.198, "fm": 0.05233755946159363, "consistency": 0.010315237957984209, "loss": 0.06265279710292816}
200
+ {"event": "train", "step": 9900, "lr": 8.004586331860175e-06, "backbone_lr": 8.004586331860175e-06, "ema_decay": 0.998992, "it_s": 2.86, "data_frac": 0.184, "fm": 0.051606054455041885, "consistency": 0.010352782364934683, "loss": 0.06195883683860302}
201
+ {"event": "train", "step": 9950, "lr": 7.637856340555822e-06, "backbone_lr": 7.637856340555822e-06, "ema_decay": 0.998996, "it_s": 2.59, "data_frac": 0.27, "fm": 0.051767459958791735, "consistency": 0.01034454433247447, "loss": 0.06211200408637524}
202
+ {"event": "train", "step": 10000, "lr": 7.2790297726755716e-06, "backbone_lr": 7.2790297726755716e-06, "ema_decay": 0.999, "it_s": 1.99, "data_frac": 0.445, "fm": 0.052894682139158246, "consistency": 0.010378274656832219, "loss": 0.06327295668423176}
203
+ {"event": "train", "step": 10050, "lr": 6.928173573800006e-06, "backbone_lr": 6.928173573800006e-06, "ema_decay": 0.999004, "it_s": 2.43, "data_frac": 0.183, "fm": 0.052748713940382004, "consistency": 0.010073244608938693, "loss": 0.06282195843756198}
204
+ {"event": "train", "step": 10100, "lr": 6.585353202493322e-06, "backbone_lr": 6.585353202493322e-06, "ema_decay": 0.999007, "it_s": 3.18, "data_frac": 0.134, "fm": 0.05191688150167465, "consistency": 0.009965188577771187, "loss": 0.061882070079445836}
205
+ {"event": "train", "step": 10150, "lr": 6.250632618090868e-06, "backbone_lr": 6.250632618090868e-06, "ema_decay": 0.999011, "it_s": 1.69, "data_frac": 0.55, "fm": 0.05262272417545319, "consistency": 0.010136472210288048, "loss": 0.06275919675827027}
206
+ {"event": "train", "step": 10200, "lr": 5.924074268766422e-06, "backbone_lr": 5.924074268766422e-06, "ema_decay": 0.999015, "it_s": 3.0, "data_frac": 0.149, "fm": 0.05250850014388561, "consistency": 0.010134844649583101, "loss": 0.06264334499835968}
207
+ {"event": "train", "step": 10250, "lr": 5.605739079881239e-06, "backbone_lr": 5.605739079881239e-06, "ema_decay": 0.999018, "it_s": 2.95, "data_frac": 0.19, "fm": 0.05189838260412216, "consistency": 0.010288196727633475, "loss": 0.062186579778790475}
208
+ {"event": "train", "step": 10300, "lr": 5.295686442617443e-06, "backbone_lr": 5.295686442617443e-06, "ema_decay": 0.999022, "it_s": 2.87, "data_frac": 0.051, "fm": 0.05213094368577004, "consistency": 0.010019174981862307, "loss": 0.062150118425488475}
209
+ {"event": "train", "step": 10350, "lr": 4.993974202897455e-06, "backbone_lr": 4.993974202897455e-06, "ema_decay": 0.999025, "it_s": 2.49, "data_frac": 0.3, "fm": 0.05236649788916111, "consistency": 0.010106173008680344, "loss": 0.06247267097234726}
210
+ {"event": "train", "step": 10400, "lr": 4.700658650591827e-06, "backbone_lr": 4.700658650591827e-06, "ema_decay": 0.999029, "it_s": 2.64, "data_frac": 0.262, "fm": 0.05222637042403221, "consistency": 0.010154058244079351, "loss": 0.062380428686738015}
211
+ {"event": "train", "step": 10450, "lr": 4.415794509017329e-06, "backbone_lr": 4.415794509017329e-06, "ema_decay": 0.999032, "it_s": 2.84, "data_frac": 0.193, "fm": 0.05254608720541001, "consistency": 0.010346194859594107, "loss": 0.06289228215813637}
212
+ {"event": "train", "step": 10500, "lr": 4.139434924727359e-06, "backbone_lr": 4.139434924727359e-06, "ema_decay": 0.999036, "it_s": 2.89, "data_frac": 0.19, "fm": 0.052162483632564545, "consistency": 0.01002008020877838, "loss": 0.06218256384134293}
213
+ {"event": "train", "step": 10550, "lr": 3.87163145759642e-06, "backbone_lr": 3.87163145759642e-06, "ema_decay": 0.999039, "it_s": 2.3, "data_frac": 0.223, "fm": 0.05202520988881588, "consistency": 0.009982129503041505, "loss": 0.06200733929872513}
214
+ {"event": "train", "step": 10600, "lr": 3.612434071200771e-06, "backbone_lr": 3.612434071200771e-06, "ema_decay": 0.999043, "it_s": 2.95, "data_frac": 0.175, "fm": 0.051003453135490415, "consistency": 0.009994250815361738, "loss": 0.06099770396947861}
215
+ {"event": "train", "step": 10650, "lr": 3.3618911234968243e-06, "backbone_lr": 3.3618911234968243e-06, "ema_decay": 0.999046, "it_s": 1.75, "data_frac": 0.526, "fm": 0.051678464263677594, "consistency": 0.01003172667697072, "loss": 0.06171019084751606}
216
+ {"event": "train", "step": 10700, "lr": 3.1200493577989875e-06, "backbone_lr": 3.1200493577989875e-06, "ema_decay": 0.999049, "it_s": 2.93, "data_frac": 0.185, "fm": 0.05188652820885181, "consistency": 0.010062722265720367, "loss": 0.06194925040006637}
217
+ {"event": "train", "step": 10750, "lr": 2.88695389405898e-06, "backbone_lr": 2.88695389405898e-06, "ema_decay": 0.999053, "it_s": 2.78, "data_frac": 0.213, "fm": 0.0515750177949667, "consistency": 0.00992543512955308, "loss": 0.06150045268237591}
218
+ {"event": "train", "step": 10800, "lr": 2.662648220447811e-06, "backbone_lr": 2.662648220447811e-06, "ema_decay": 0.999056, "it_s": 2.78, "data_frac": 0.079, "fm": 0.051762563586235044, "consistency": 0.010037585217505694, "loss": 0.06180014863610268}
219
+ {"event": "train", "step": 10850, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999059, "it_s": 2.64, "data_frac": 0.25, "fm": 0.05135424762964249, "consistency": 0.009974684305489064, "loss": 0.06132893227040768}
220
+ {"event": "train", "step": 10900, "lr": 2.240571989017598e-06, "backbone_lr": 2.240571989017598e-06, "ema_decay": 0.999063, "it_s": 2.64, "data_frac": 0.246, "fm": 0.0522349552065134, "consistency": 0.009986864645034075, "loss": 0.06222182035446167}
221
+ {"event": "train", "step": 10950, "lr": 2.0428801771468386e-06, "backbone_lr": 2.0428801771468386e-06, "ema_decay": 0.999066, "it_s": 2.96, "data_frac": 0.16, "fm": 0.05154606930911541, "consistency": 0.00995503094047308, "loss": 0.06150110021233559}
222
+ {"event": "train", "step": 11000, "lr": 1.8541356326100433e-06, "backbone_lr": 1.8541356326100433e-06, "ema_decay": 0.999069, "it_s": 2.85, "data_frac": 0.201, "fm": 0.052076099812984465, "consistency": 0.01017783498391509, "loss": 0.062253935039043425}
223
+ {"event": "train", "step": 11050, "lr": 1.6743735691127638e-06, "backbone_lr": 1.6743735691127638e-06, "ema_decay": 0.999072, "it_s": 1.73, "data_frac": 0.431, "fm": 0.0518903411924839, "consistency": 0.010004524532705545, "loss": 0.06189486563205719}
224
+ {"event": "train", "step": 11100, "lr": 1.5036275245164377e-06, "backbone_lr": 1.5036275245164377e-06, "ema_decay": 0.999075, "it_s": 3.25, "data_frac": 0.135, "fm": 0.051733725816011426, "consistency": 0.009900166727602482, "loss": 0.061633892506361004}
225
+ {"event": "train", "step": 11150, "lr": 1.341929354581234e-06, "backbone_lr": 1.341929354581234e-06, "ema_decay": 0.999078, "it_s": 3.77, "data_frac": 0.008, "fm": 0.05173348940908909, "consistency": 0.009991879556328059, "loss": 0.0617253689467907}
226
+ {"event": "train", "step": 11200, "lr": 1.1893092270227724e-06, "backbone_lr": 1.1893092270227724e-06, "ema_decay": 0.999081, "it_s": 1.4, "data_frac": 0.611, "fm": 0.05211748719215393, "consistency": 0.009913585744798184, "loss": 0.06203107289969921}
227
+ {"event": "train", "step": 11250, "lr": 1.0457956158838544e-06, "backbone_lr": 1.0457956158838544e-06, "ema_decay": 0.999084, "it_s": 2.92, "data_frac": 0.187, "fm": 0.05188704773783684, "consistency": 0.00990711895748973, "loss": 0.06179416686296463}
228
+ {"event": "train", "step": 11300, "lr": 9.114152962220735e-07, "backbone_lr": 9.114152962220735e-07, "ema_decay": 0.999088, "it_s": 2.83, "data_frac": 0.073, "fm": 0.052027698680758475, "consistency": 0.009987665694206954, "loss": 0.06201536431908607}
229
+ {"event": "train", "step": 11350, "lr": 7.861933391144271e-07, "backbone_lr": 7.861933391144271e-07, "ema_decay": 0.999091, "it_s": 2.94, "data_frac": 0.181, "fm": 0.05162613101303577, "consistency": 0.009933698065578938, "loss": 0.061559829488396646}
230
+ {"event": "train", "step": 11400, "lr": 6.701531069799038e-07, "backbone_lr": 6.701531069799038e-07, "ema_decay": 0.999094, "it_s": 2.27, "data_frac": 0.344, "fm": 0.05270227260887623, "consistency": 0.009851855989545584, "loss": 0.06255412891507149}
231
+ {"event": "train", "step": 11450, "lr": 5.633162492207633e-07, "backbone_lr": 5.633162492207633e-07, "ema_decay": 0.999097, "it_s": 2.84, "data_frac": 0.211, "fm": 0.05182786144316196, "consistency": 0.01005692271515727, "loss": 0.06188478387892246}
232
+ {"event": "train", "step": 11500, "lr": 4.6570269818346224e-07, "backbone_lr": 4.6570269818346224e-07, "ema_decay": 0.999099, "it_s": 2.83, "data_frac": 0.184, "fm": 0.05181835234165191, "consistency": 0.009829831514507533, "loss": 0.06164818413555622}
233
+ {"event": "train", "step": 11550, "lr": 3.773306654399233e-07, "backbone_lr": 3.773306654399233e-07, "ema_decay": 0.999102, "it_s": 3.11, "data_frac": 0.002, "fm": 0.052220320403575896, "consistency": 0.009856087435036898, "loss": 0.06207640774548054}
234
+ {"event": "train", "step": 11600, "lr": 2.9821663838981993e-07, "backbone_lr": 2.9821663838981993e-07, "ema_decay": 0.999105, "it_s": 2.45, "data_frac": 0.316, "fm": 0.05279366448521614, "consistency": 0.009963584076613187, "loss": 0.06275724865496159}
235
+ {"event": "train", "step": 11650, "lr": 2.283753771845587e-07, "backbone_lr": 2.283753771845587e-07, "ema_decay": 0.999108, "it_s": 3.66, "data_frac": 0.033, "fm": 0.05186790198087692, "consistency": 0.009986944291740655, "loss": 0.061854846104979516}
236
+ {"event": "train", "step": 11700, "lr": 1.6781991197352133e-07, "backbone_lr": 1.6781991197352133e-07, "ema_decay": 0.999111, "it_s": 1.63, "data_frac": 0.538, "fm": 0.05233136899769306, "consistency": 0.009915045797824859, "loss": 0.06224641464650631}
237
+ {"event": "train", "step": 11750, "lr": 1.1656154047303691e-07, "backbone_lr": 1.1656154047303691e-07, "ema_decay": 0.999114, "it_s": 2.44, "data_frac": 0.326, "fm": 0.05176973260939121, "consistency": 0.010001550689339637, "loss": 0.06177128337323665}
238
+ {"event": "train", "step": 11800, "lr": 7.460982585860144e-08, "backbone_lr": 7.460982585860144e-08, "ema_decay": 0.999117, "it_s": 3.03, "data_frac": 0.002, "fm": 0.05198584116995335, "consistency": 0.009963754788041115, "loss": 0.06194959565997124}
239
+ {"event": "train", "step": 11850, "lr": 4.197259498067707e-08, "backbone_lr": 4.197259498067707e-08, "ema_decay": 0.999119, "it_s": 3.02, "data_frac": 0.171, "fm": 0.05157546319067478, "consistency": 0.00977767402306199, "loss": 0.061353136897087095}
240
+ {"event": "train", "step": 11900, "lr": 1.8655936904465875e-08, "backbone_lr": 1.8655936904465875e-08, "ema_decay": 0.999122, "it_s": 2.83, "data_frac": 0.195, "fm": 0.051623608842492105, "consistency": 0.010014058966189622, "loss": 0.061637667492032054}
241
+ {"event": "train", "step": 11950, "lr": 4.66420177389626e-09, "backbone_lr": 4.66420177389626e-09, "ema_decay": 0.999125, "it_s": 2.43, "data_frac": 0.296, "fm": 0.05142270907759666, "consistency": 0.009819650668650865, "loss": 0.0612423600256443}
242
+ {"event": "train", "step": 12000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999128, "it_s": 2.85, "data_frac": 0.197, "fm": 0.05156581789255142, "consistency": 0.009875880274921655, "loss": 0.061441698148846625}
243
+ {"event": "save", "step": 12000, "checkpoint": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/flash-runs/b4-b512-s12000/checkpoints/step-012000", "mse": 0.005075207445770502, "mse_row0": 0.004007824696600437, "mse_motion_token": 0.005465776193886995, "mse_inspire_left_hand_state": 0.0008931347401812673, "mse_inspire_right_hand_state": 0.005091215018182993}