BIue-Jay commited on
Commit
692461a
·
verified ·
1 Parent(s): b833fa8

flash a15-hitting-nail/b512-f0-s13000: steps [6500, 10750, 13000] (MLP flash30k, team01)

Browse files
Files changed (39) hide show
  1. a15-hitting-nail/b512-f0-s13000/step-006500/SHA256SUMS +3 -0
  2. a15-hitting-nail/b512-f0-s13000/step-006500/config.json +1344 -0
  3. a15-hitting-nail/b512-f0-s13000/step-006500/model.pt +3 -0
  4. a15-hitting-nail/b512-f0-s13000/step-006500/protocol.json +175 -0
  5. a15-hitting-nail/b512-f0-s13000/step-010750/SHA256SUMS +3 -0
  6. a15-hitting-nail/b512-f0-s13000/step-010750/config.json +1344 -0
  7. a15-hitting-nail/b512-f0-s13000/step-010750/model.pt +3 -0
  8. a15-hitting-nail/b512-f0-s13000/step-010750/protocol.json +175 -0
  9. a15-hitting-nail/b512-f0-s13000/step-013000/SHA256SUMS +30 -0
  10. a15-hitting-nail/b512-f0-s13000/step-013000/config.json +1344 -0
  11. a15-hitting-nail/b512-f0-s13000/step-013000/model.pt +3 -0
  12. a15-hitting-nail/b512-f0-s13000/step-013000/protocol.json +283 -0
  13. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/HB_CODE_COMMIT +1 -0
  14. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/augmentation/hb_aug_v2.py +163 -0
  15. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/__init__.py +13 -0
  16. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/act_nets.py +615 -0
  17. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/adapters.py +137 -0
  18. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_adapter.py +115 -0
  19. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_first_history.py +285 -0
  20. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_parity.py +141 -0
  21. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/data.py +509 -0
  22. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/flash.py +474 -0
  23. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/fm_dit_v2.py +99 -0
  24. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/inloop.py +118 -0
  25. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/nets.py +212 -0
  26. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/ode_nets.py +181 -0
  27. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/policies.py +459 -0
  28. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.lock.txt +61 -0
  29. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.txt +15 -0
  30. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/runtime.py +197 -0
  31. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/train.py +1029 -0
  32. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/policy/FLASH/model.py +12 -0
  33. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/complete.json +27 -0
  34. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/launch.sh +12 -0
  35. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/logs/inloop-mse.jsonl +52 -0
  36. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/pip_freeze_hb-baselines.txt +56 -0
  37. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/run.json +1373 -0
  38. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/train.log +326 -0
  39. a15-hitting-nail/b512-f0-s13000/step-013000/training_records/train_log.jsonl +266 -0
a15-hitting-nail/b512-f0-s13000/step-006500/SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 202c0cdcb9288637543b2c83c024bd867f80abad80c5575741c19dbdb72abebe config.json
2
+ 6bc00e85b8885413b745775a6bd57f42899796b6e2239ccbd7d862e2863dd479 model.pt
3
+ 047ac9ffd49355b19504e93d4c2d3fe222c20cc506899aae2b554d6d0a3d4fc0 protocol.json
a15-hitting-nail/b512-f0-s13000/step-006500/config.json ADDED
@@ -0,0 +1,1344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "flash",
4
+ "n_cameras": 2,
5
+ "state_dim": 78,
6
+ "action_dim": 75,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 512,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.0,
16
+ "time_embed_dim": 256,
17
+ "num_inference_steps": 1,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "ode_body_dim": null,
30
+ "ode_width": 512,
31
+ "ode_layers": 4,
32
+ "ode_cond_dim": 512,
33
+ "ode_field_scale": 1.0,
34
+ "ode_dit_hidden": 512,
35
+ "ode_dit_layers": 4,
36
+ "ode_dit_heads": 8,
37
+ "ode_dit_tokens": 4,
38
+ "extra": {
39
+ "flash": {
40
+ "stride": 2,
41
+ "n_history": 8,
42
+ "n_action": 8,
43
+ "rows": 16,
44
+ "poly_order": 6,
45
+ "fit_pad": 1,
46
+ "boundary_constraint": true,
47
+ "poly_prefix": 1,
48
+ "poly_suffix": 1,
49
+ "history_noise_std": 0.5,
50
+ "history_reg_lambda": 0.1,
51
+ "consistency_weight": 1.0,
52
+ "solver": "euler",
53
+ "first_history": "frame0",
54
+ "first_history_state": [
55
+ 0,
56
+ 1,
57
+ 2,
58
+ 3,
59
+ 4,
60
+ 5,
61
+ 6,
62
+ 7,
63
+ 8,
64
+ 9,
65
+ 10,
66
+ 11,
67
+ 12,
68
+ 13,
69
+ 14,
70
+ 15,
71
+ 16,
72
+ 17,
73
+ 18,
74
+ 19,
75
+ 20,
76
+ 21,
77
+ 22,
78
+ 23,
79
+ 24,
80
+ 25,
81
+ 26,
82
+ 27,
83
+ 28,
84
+ 29,
85
+ 30,
86
+ 31,
87
+ 32,
88
+ 33,
89
+ 34,
90
+ 35,
91
+ 36,
92
+ 37,
93
+ 38,
94
+ 39,
95
+ 40,
96
+ 41,
97
+ 42,
98
+ 43,
99
+ 44,
100
+ 45,
101
+ 46,
102
+ 47,
103
+ 48,
104
+ 49,
105
+ 50,
106
+ 51,
107
+ 52,
108
+ 53,
109
+ 54,
110
+ 55,
111
+ 56,
112
+ 57,
113
+ 58,
114
+ 59,
115
+ 60,
116
+ 61,
117
+ 62,
118
+ 63,
119
+ 64,
120
+ 65,
121
+ 66,
122
+ 67,
123
+ 68,
124
+ 69,
125
+ 70,
126
+ 71,
127
+ 72,
128
+ 73,
129
+ 74
130
+ ],
131
+ "first_history_value": [
132
+ 0.0,
133
+ 0.0,
134
+ 0.0,
135
+ 0.0,
136
+ 0.0,
137
+ 0.0,
138
+ 0.0,
139
+ 0.0,
140
+ 0.0,
141
+ 0.0,
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 0.0,
146
+ 0.0,
147
+ 0.0,
148
+ 0.0,
149
+ 0.0,
150
+ 0.0,
151
+ 0.0,
152
+ 0.0,
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0,
159
+ 0.0,
160
+ 0.0,
161
+ 0.0,
162
+ 0.0,
163
+ 0.0,
164
+ 0.0,
165
+ 0.0,
166
+ 0.0,
167
+ 0.0,
168
+ 0.0,
169
+ 0.0,
170
+ 0.0,
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 0.0,
198
+ 0.0,
199
+ 0.0,
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 0.0,
204
+ 0.0,
205
+ 0.0,
206
+ 0.0
207
+ ]
208
+ }
209
+ }
210
+ },
211
+ "contract": {
212
+ "name": "h2_sharpa",
213
+ "robot": "h2_sharpa",
214
+ "cameras": [
215
+ "head",
216
+ "chest"
217
+ ],
218
+ "state": [
219
+ [
220
+ "observation.state",
221
+ 0,
222
+ 75
223
+ ],
224
+ [
225
+ "observation.projected_gravity",
226
+ 0,
227
+ 3
228
+ ]
229
+ ],
230
+ "action": [
231
+ [
232
+ "action.body_target",
233
+ 0,
234
+ 31
235
+ ],
236
+ [
237
+ "action.hands",
238
+ 0,
239
+ 44
240
+ ]
241
+ ],
242
+ "state_dim": 78,
243
+ "action_dim": 75,
244
+ "action_space": null,
245
+ "body_dims": 31
246
+ },
247
+ "image_hw": [
248
+ 168,
249
+ 224
250
+ ],
251
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
252
+ "dataset": {
253
+ "name": "data",
254
+ "root": "/mnt/vepfs/baijiaqi/hb_team01_20261130/a15-hitting-nail-v3-139187e/data",
255
+ "robot_type": "h2_sharpa",
256
+ "fps": 30.0,
257
+ "episodes": [
258
+ 0,
259
+ 1,
260
+ 2,
261
+ 3,
262
+ 4,
263
+ 5,
264
+ 6,
265
+ 7,
266
+ 8,
267
+ 9,
268
+ 10,
269
+ 11,
270
+ 12,
271
+ 13,
272
+ 14,
273
+ 15,
274
+ 16,
275
+ 17,
276
+ 18,
277
+ 19,
278
+ 20,
279
+ 21,
280
+ 22,
281
+ 23,
282
+ 24,
283
+ 25,
284
+ 26,
285
+ 27,
286
+ 28,
287
+ 29,
288
+ 30,
289
+ 31,
290
+ 32,
291
+ 33,
292
+ 34,
293
+ 35,
294
+ 36,
295
+ 37,
296
+ 38,
297
+ 39,
298
+ 40,
299
+ 41,
300
+ 42,
301
+ 43,
302
+ 44,
303
+ 45,
304
+ 46,
305
+ 47,
306
+ 48,
307
+ 49,
308
+ 50,
309
+ 51,
310
+ 52,
311
+ 53,
312
+ 54,
313
+ 55,
314
+ 56,
315
+ 57,
316
+ 58,
317
+ 59,
318
+ 60,
319
+ 61,
320
+ 62,
321
+ 63,
322
+ 64,
323
+ 65,
324
+ 66,
325
+ 67,
326
+ 68,
327
+ 69,
328
+ 70,
329
+ 71,
330
+ 72,
331
+ 73,
332
+ 74,
333
+ 75,
334
+ 76,
335
+ 77,
336
+ 78,
337
+ 79,
338
+ 80,
339
+ 81,
340
+ 82,
341
+ 83,
342
+ 84,
343
+ 85,
344
+ 86,
345
+ 87,
346
+ 88,
347
+ 89,
348
+ 90,
349
+ 91,
350
+ 92,
351
+ 93,
352
+ 94,
353
+ 95,
354
+ 96,
355
+ 97,
356
+ 98,
357
+ 99,
358
+ 100,
359
+ 101,
360
+ 102,
361
+ 103,
362
+ 104,
363
+ 105,
364
+ 106,
365
+ 107,
366
+ 108,
367
+ 109,
368
+ 110,
369
+ 111,
370
+ 112,
371
+ 113,
372
+ 114,
373
+ 115,
374
+ 116,
375
+ 117,
376
+ 118,
377
+ 119,
378
+ 120,
379
+ 121,
380
+ 122,
381
+ 123,
382
+ 124,
383
+ 125,
384
+ 126,
385
+ 127,
386
+ 128,
387
+ 129,
388
+ 130,
389
+ 131,
390
+ 132,
391
+ 133,
392
+ 134,
393
+ 135,
394
+ 136,
395
+ 137,
396
+ 138,
397
+ 139,
398
+ 140,
399
+ 141,
400
+ 142,
401
+ 143,
402
+ 144,
403
+ 145,
404
+ 146,
405
+ 147,
406
+ 148,
407
+ 149
408
+ ],
409
+ "train_episodes": [
410
+ 0,
411
+ 1,
412
+ 2,
413
+ 3,
414
+ 4,
415
+ 5,
416
+ 6,
417
+ 7,
418
+ 8,
419
+ 9,
420
+ 10,
421
+ 11,
422
+ 12,
423
+ 13,
424
+ 14,
425
+ 15,
426
+ 16,
427
+ 17,
428
+ 18,
429
+ 19,
430
+ 20,
431
+ 21,
432
+ 22,
433
+ 23,
434
+ 24,
435
+ 25,
436
+ 26,
437
+ 27,
438
+ 28,
439
+ 29,
440
+ 30,
441
+ 31,
442
+ 32,
443
+ 33,
444
+ 34,
445
+ 35,
446
+ 36,
447
+ 37,
448
+ 38,
449
+ 39,
450
+ 40,
451
+ 41,
452
+ 42,
453
+ 43,
454
+ 44,
455
+ 45,
456
+ 46,
457
+ 47,
458
+ 48,
459
+ 49,
460
+ 50,
461
+ 51,
462
+ 52,
463
+ 53,
464
+ 54,
465
+ 55,
466
+ 56,
467
+ 57,
468
+ 58,
469
+ 59,
470
+ 60,
471
+ 61,
472
+ 62,
473
+ 63,
474
+ 64,
475
+ 65,
476
+ 66,
477
+ 67,
478
+ 68,
479
+ 69,
480
+ 70,
481
+ 71,
482
+ 72,
483
+ 73,
484
+ 74,
485
+ 75,
486
+ 76,
487
+ 77,
488
+ 78,
489
+ 79,
490
+ 80,
491
+ 81,
492
+ 82,
493
+ 83,
494
+ 84,
495
+ 85,
496
+ 86,
497
+ 87,
498
+ 88,
499
+ 89,
500
+ 90,
501
+ 91,
502
+ 92,
503
+ 93,
504
+ 94,
505
+ 95,
506
+ 96,
507
+ 97,
508
+ 98,
509
+ 99,
510
+ 100,
511
+ 101,
512
+ 102,
513
+ 103,
514
+ 104,
515
+ 105,
516
+ 106,
517
+ 107,
518
+ 108,
519
+ 109,
520
+ 110,
521
+ 111,
522
+ 112,
523
+ 113,
524
+ 114,
525
+ 115,
526
+ 116,
527
+ 117,
528
+ 118,
529
+ 119,
530
+ 120,
531
+ 121,
532
+ 122,
533
+ 123,
534
+ 124,
535
+ 125,
536
+ 126,
537
+ 127,
538
+ 128,
539
+ 129,
540
+ 130,
541
+ 131,
542
+ 132,
543
+ 133,
544
+ 134,
545
+ 135,
546
+ 136,
547
+ 137,
548
+ 138,
549
+ 139,
550
+ 140,
551
+ 141,
552
+ 142,
553
+ 143,
554
+ 144,
555
+ 145,
556
+ 146,
557
+ 147,
558
+ 148,
559
+ 149
560
+ ],
561
+ "val_episodes": [],
562
+ "train_frames": 86267,
563
+ "git_commit": "6ce120cceb6bbe5dda177208dc99f48a8820699a"
564
+ },
565
+ "training": {
566
+ "steps": 13000,
567
+ "batch_size": 512,
568
+ "lr": 0.0001,
569
+ "betas": [
570
+ 0.95,
571
+ 0.999
572
+ ],
573
+ "weight_decay": 1e-06,
574
+ "warmup": 500,
575
+ "schedule": "diffusers_cosine",
576
+ "backbone_lr_scale": 1.0,
577
+ "ema": 0.9999,
578
+ "shift_px": 0,
579
+ "amp": true,
580
+ "seed": 42,
581
+ "augmentation": {
582
+ "spec": "docs/augmentation_v2.md",
583
+ "version": "hb-aug-v2-20261109",
584
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
585
+ "visual": {
586
+ "effects": [
587
+ "exposure",
588
+ "contrast",
589
+ "saturation",
590
+ "hue",
591
+ "gamma",
592
+ "temperature",
593
+ "rotation_crop",
594
+ "noise",
595
+ "gaussian_blur",
596
+ "jpeg",
597
+ "motion_blur",
598
+ "sharpen",
599
+ "defocus",
600
+ "light_shadow",
601
+ "wb_channel"
602
+ ],
603
+ "boosted_per_sample": 1,
604
+ "boost": 1.5,
605
+ "pixel_scale": "H / 224",
606
+ "future_targets": "none (one observation frame)"
607
+ },
608
+ "proprio": {
609
+ "robot": "h2_sharpa",
610
+ "body_dims": 31,
611
+ "bias_deg": 2.0,
612
+ "bias_scope": "per_sample",
613
+ "noise_deg": 0.25,
614
+ "noise_clip_sigma": 3,
615
+ "delay_probability": 0.0,
616
+ "history_drop_probability": 0.0,
617
+ "velocity": false
618
+ },
619
+ "native_image_augmentation": "off",
620
+ "evaluation": "off"
621
+ },
622
+ "preflight": {
623
+ "samples": 64,
624
+ "state_dim": 78,
625
+ "body_dims": 31,
626
+ "images_changed": 64,
627
+ "body_values_moved": 1.0,
628
+ "max_body_offset_deg": 2.5455,
629
+ "actions_bit_identical": true,
630
+ "non_body_state_bit_identical": true,
631
+ "eval_items_deterministic": 8
632
+ },
633
+ "aug_seed": 42,
634
+ "layout": {
635
+ "nodes": 1,
636
+ "gpus": 1,
637
+ "per_gpu_batch": 512,
638
+ "global_batch": 512,
639
+ "gradient_accumulation": 1,
640
+ "num_workers": 40,
641
+ "prefetch": 2
642
+ },
643
+ "continuation": null,
644
+ "total_steps": 13000,
645
+ "save_steps": [
646
+ 2250,
647
+ 4250,
648
+ 6500,
649
+ 8750,
650
+ 10750,
651
+ 13000
652
+ ],
653
+ "save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
654
+ "protocol_exceptions": [
655
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
656
+ "owner 2026-11-30 (\u300cteam01 \u8fd9\u4e24\u5f20\u5361\u5148\u88c5\u597d\u73af\u5883\uff0c\u7136\u540e\u5206\u62c5\u6211\u4eec\u8fd9\u8fb9\u5176\u4ed6\u7684\u4efb\u52a1\uff0c\u8bad\u7ec3\u3001\u8bc4\u4f30\u90fd\u53ef\u4ee5\u300d): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
657
+ ],
658
+ "ema_schedule": "diffusion_policy_emamodel",
659
+ "inloop": {
660
+ "task": "a15v3",
661
+ "code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse",
662
+ "every": 250,
663
+ "exception": null,
664
+ "code_sha256": {
665
+ "hb_inloop_core.py": "154fa6d905e32d61c0def546caf6979c3a148b7bef0c1284e773b9051dddce97",
666
+ "hb_eval_common.py": "d89b1bfc1ac03d489b6ba2ac7c61eab3f318023ec37677dd5ee02b93d851d6ac"
667
+ }
668
+ },
669
+ "protocol_recipe": {
670
+ "batch_size": 512,
671
+ "steps": 12000,
672
+ "warmup": 500,
673
+ "workers": 40,
674
+ "long_task_factor": 1
675
+ },
676
+ "protocol_deviations": [
677
+ "steps 13000 (protocol 12000)"
678
+ ],
679
+ "environment": {
680
+ "python": "3.12.1",
681
+ "torch": "2.9.0+cu128",
682
+ "numpy": "2.2.6",
683
+ "cuda": "12.8",
684
+ "cudnn": 91002,
685
+ "torchvision": "0.24.0+cu128",
686
+ "pillow": "12.3.0",
687
+ "gpu": "NVIDIA GeForce RTX 4090 D",
688
+ "driver": "550.127.05"
689
+ },
690
+ "code_dirty": null,
691
+ "allow_dirty_tree": false,
692
+ "augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
693
+ "order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
694
+ "upstream": "NTUMARS/FLASH-Policy@f47e490"
695
+ },
696
+ "stats": {
697
+ "state": {
698
+ "min": [
699
+ -0.09997769445180893,
700
+ -0.00021537415159400553,
701
+ -0.0018031895160675049,
702
+ 0.23896919190883636,
703
+ -0.0032215823885053396,
704
+ -0.16552682220935822,
705
+ -0.10010066628456116,
706
+ -0.005005246959626675,
707
+ -0.0010331370867788792,
708
+ 0.2388608306646347,
709
+ -0.0007713548839092255,
710
+ -0.16637399792671204,
711
+ -0.0036116293631494045,
712
+ -0.0005855314084328711,
713
+ -0.012959281913936138,
714
+ 0.2377660870552063,
715
+ 0.10000789910554886,
716
+ 0.0028428281657397747,
717
+ 0.993225634098053,
718
+ -0.002429646672680974,
719
+ -0.005298535339534283,
720
+ 0.005146781913936138,
721
+ -0.7949823141098022,
722
+ -1.1849690675735474,
723
+ -0.764089822769165,
724
+ -0.20890109241008759,
725
+ 0.0010743907187134027,
726
+ -0.4016851782798767,
727
+ -1.223796010017395,
728
+ 0.003484983928501606,
729
+ -0.5965985059738159,
730
+ 8.041491128096823e-06,
731
+ 7.787263712089043e-06,
732
+ -2.0799054709641496e-06,
733
+ 7.4421236604393926e-06,
734
+ 0.001140148495323956,
735
+ -0.0007875783485360444,
736
+ -0.0007883345242589712,
737
+ 7.089955033734441e-06,
738
+ -0.0007868656539358199,
739
+ -0.08961887657642365,
740
+ 1.387537508890091e-06,
741
+ 1.3565856988861924e-06,
742
+ -0.0007850074907764792,
743
+ 1.3112578471918823e-06,
744
+ 0.0007804867927916348,
745
+ 2.1667759142474097e-07,
746
+ 2.1437449504446704e-07,
747
+ 1.2650284588744398e-06,
748
+ 2.100367879620535e-07,
749
+ 0.0004996865172870457,
750
+ 2.0562282543323818e-07,
751
+ 1.8338482732360717e-07,
752
+ 3.5120523534715176e-05,
753
+ 2.6369834813522175e-05,
754
+ -0.0008715128060430288,
755
+ 1.6693044017301872e-05,
756
+ -0.0002734147710725665,
757
+ -0.06660658866167068,
758
+ -0.1113005056977272,
759
+ 1.06078668977716e-05,
760
+ -0.09395170956850052,
761
+ -0.19489309191703796,
762
+ 2.1877663129998837e-06,
763
+ 2.11020801543782e-06,
764
+ -0.03943561017513275,
765
+ 1.9952312868554145e-06,
766
+ 0.001209239475429058,
767
+ 3.277772577803262e-07,
768
+ 3.2084344070426596e-07,
769
+ 1.877936597338703e-06,
770
+ 3.0860724109516013e-07,
771
+ 0.0008695685537531972,
772
+ 2.961393192890682e-07,
773
+ 4.9229495147073976e-08,
774
+ 0.0008595046238042414,
775
+ -0.0009253888856619596,
776
+ -0.9999996423721313
777
+ ],
778
+ "max": [
779
+ -0.09415019303560257,
780
+ 0.004828622564673424,
781
+ 0.0008512705680914223,
782
+ 0.2468973845243454,
783
+ 0.0011205088812857866,
784
+ -0.14899034798145294,
785
+ -0.09456837922334671,
786
+ -0.00035856530303135514,
787
+ 0.001164556248113513,
788
+ 0.24686793982982635,
789
+ 0.002884133020415902,
790
+ -0.14915470778942108,
791
+ 0.003393669379875064,
792
+ 0.011874571442604065,
793
+ 0.004470391198992729,
794
+ 0.25079748034477234,
795
+ 0.11245691776275635,
796
+ 0.005373213440179825,
797
+ 0.9999775290489197,
798
+ -0.0004550613812170923,
799
+ -0.0006144921062514186,
800
+ 0.017257247120141983,
801
+ 0.6067484021186829,
802
+ -0.03932846337556839,
803
+ 0.8707330822944641,
804
+ 1.1787530183792114,
805
+ 2.6213066577911377,
806
+ 0.4448302388191223,
807
+ 0.17772707343101501,
808
+ 0.6958374381065369,
809
+ 1.7674472474027425e-05,
810
+ 0.0021774214692413807,
811
+ 0.002177412388846278,
812
+ 0.000286454422166571,
813
+ 0.0021773858461529016,
814
+ 0.048038650304079056,
815
+ -1.918966336234007e-05,
816
+ -2.0099716493859887e-05,
817
+ 0.0021775541827082634,
818
+ -1.8466966139385477e-05,
819
+ -0.004215856548398733,
820
+ 0.0004085846012458205,
821
+ 0.00040858410648070276,
822
+ -1.7040652892319486e-05,
823
+ 0.00040858116699382663,
824
+ 0.004995528608560562,
825
+ 7.248025212902576e-05,
826
+ 7.248033944051713e-05,
827
+ 0.000408606487326324,
828
+ 7.248002657433972e-05,
829
+ 0.005003098398447037,
830
+ 7.248362089740112e-05,
831
+ 0.0001694808161118999,
832
+ 1.4606938362121582,
833
+ 1.3873600959777832,
834
+ 0.24172371625900269,
835
+ 1.5354737043380737,
836
+ 1.282624363899231,
837
+ 0.21544072031974792,
838
+ 0.1536547690629959,
839
+ 1.5726174116134644,
840
+ 0.08847889304161072,
841
+ -0.002909993752837181,
842
+ 1.6941105127334595,
843
+ 1.7474862337112427,
844
+ 0.12235886603593826,
845
+ 1.7342374324798584,
846
+ 1.1012191772460938,
847
+ 1.3934080600738525,
848
+ 1.3533018827438354,
849
+ 1.7458083629608154,
850
+ 1.0872085094451904,
851
+ 0.34997692704200745,
852
+ 1.0156328678131104,
853
+ 0.386565238237381,
854
+ 0.011892342939972878,
855
+ 0.00036274068406783044,
856
+ -0.9999292492866516
857
+ ],
858
+ "mean": [
859
+ -0.09785526093611452,
860
+ 0.0029796540751150223,
861
+ -0.00011749093636783019,
862
+ 0.24078336613300713,
863
+ -0.001483745781117172,
864
+ -0.16094673989096656,
865
+ -0.09784785629628794,
866
+ -0.003286792622055945,
867
+ 6.359669603595921e-05,
868
+ 0.24135650970587674,
869
+ 0.0014481086974793924,
870
+ -0.16157293961249933,
871
+ -0.00055516285977429,
872
+ 0.004176521286819223,
873
+ 0.001051175742497642,
874
+ 0.2395181341710026,
875
+ 0.10792622612743608,
876
+ 0.004581044781537889,
877
+ 0.9944883175184331,
878
+ -0.0011651024131686418,
879
+ -0.004377417567246881,
880
+ 0.006125923884388435,
881
+ -0.35644952192305274,
882
+ -0.46418886003898757,
883
+ -0.013048485006977669,
884
+ 0.17741333217133373,
885
+ 1.905103833607418,
886
+ 0.30614702442260283,
887
+ -0.7054572112394577,
888
+ 0.5088922210153903,
889
+ -0.32759722949323195,
890
+ 0.00155383075415595,
891
+ 0.0015537752436624434,
892
+ 0.00020132537563169773,
893
+ 0.0015537100449893638,
894
+ 0.033465170018071755,
895
+ -0.0005566219677073042,
896
+ -0.0005569153729970776,
897
+ 0.0015537284846230618,
898
+ -0.0005563826282825237,
899
+ -0.0861267614232954,
900
+ 0.00029127273341124105,
901
+ 0.00029126452302906614,
902
+ -0.0005556223184502122,
903
+ 0.00029125536324850346,
904
+ 0.0043675904196599285,
905
+ 5.153174948852545e-05,
906
+ 5.1530702786641114e-05,
907
+ 0.00029125860617560865,
908
+ 5.1529519222620906e-05,
909
+ 0.00420368666799645,
910
+ 5.153006054694349e-05,
911
+ 0.00011943137353283142,
912
+ 0.8160156590570241,
913
+ 0.9389792287318086,
914
+ 0.1490323148686384,
915
+ 1.2093103380214947,
916
+ 0.7972762943083992,
917
+ -0.0029631480957493486,
918
+ -0.055737382939839715,
919
+ 1.2004745719955285,
920
+ -0.044283933876475896,
921
+ -0.08029388535325555,
922
+ 1.2305006590593395,
923
+ 1.2743632885109408,
924
+ 0.03205499904873027,
925
+ 1.3778912931374658,
926
+ 0.4899848887858702,
927
+ 0.9868204909239197,
928
+ 0.780929127787715,
929
+ 1.1804992306569957,
930
+ 0.8426924277583776,
931
+ 0.20458252311803743,
932
+ 0.7181666232938461,
933
+ 0.15684561085752854,
934
+ 0.007212025231518785,
935
+ -0.00018580798599419722,
936
+ -0.9999714100548942
937
+ ],
938
+ "std": [
939
+ 0.0009067670789237834,
940
+ 0.0008727894346167395,
941
+ 0.0002777191972242325,
942
+ 0.0006466220604173187,
943
+ 0.0007346710346997718,
944
+ 0.0017976988752153227,
945
+ 0.0007769208980955679,
946
+ 0.0006779111896897012,
947
+ 0.00020889763962404415,
948
+ 0.0005150219641825996,
949
+ 0.0006882885320503921,
950
+ 0.0017855112589450538,
951
+ 0.0007098681864201253,
952
+ 0.0024662644695297446,
953
+ 0.0033463154916504646,
954
+ 0.0009304211235617237,
955
+ 0.0008408055498402711,
956
+ 0.00019948119403078555,
957
+ 0.0008665865887054094,
958
+ 0.0001838611778494026,
959
+ 0.0007190760615107812,
960
+ 0.001141946161740247,
961
+ 0.2633559095218504,
962
+ 0.1844559478015024,
963
+ 0.23941128485327795,
964
+ 0.28156390062770453,
965
+ 0.5549049949709923,
966
+ 0.14039245872370573,
967
+ 0.2860102014074455,
968
+ 0.14344760466848627,
969
+ 0.18510505690932832,
970
+ 0.0005225765840522694,
971
+ 0.0005225690372026028,
972
+ 6.575214921290484e-05,
973
+ 0.0005225621051523737,
974
+ 0.0029143773124083,
975
+ 0.0001843525411469115,
976
+ 0.0001841359459697739,
977
+ 0.0005226020795211893,
978
+ 0.0001845250039153968,
979
+ 0.0047760096669896114,
980
+ 9.812322688642312e-05,
981
+ 9.812203457502503e-05,
982
+ 0.00018469305540414234,
983
+ 9.812084743566436e-05,
984
+ 0.0002908526544858428,
985
+ 1.742548075238556e-05,
986
+ 1.7425327866510986e-05,
987
+ 9.812715294628039e-05,
988
+ 1.7425186916470698e-05,
989
+ 0.0004960553666509786,
990
+ 1.7426072624276864e-05,
991
+ 4.089342148594891e-05,
992
+ 0.3662403907404729,
993
+ 0.3885310127888585,
994
+ 0.08083219424718499,
995
+ 0.4977664762172315,
996
+ 0.4876249899076184,
997
+ 0.04674606850641643,
998
+ 0.049665436463866286,
999
+ 0.4795121047941493,
1000
+ 0.02788045856296372,
1001
+ 0.024717666341607568,
1002
+ 0.5321873529292879,
1003
+ 0.5013715940954119,
1004
+ 0.021384402536122157,
1005
+ 0.5500727925731698,
1006
+ 0.3764727797613653,
1007
+ 0.40516620301013545,
1008
+ 0.32029078359450514,
1009
+ 0.5812045384233172,
1010
+ 0.35930818560330374,
1011
+ 0.13998244790577968,
1012
+ 0.3201486052619058,
1013
+ 0.10190235433527584,
1014
+ 0.0022605747284818113,
1015
+ 0.00014482477039994416,
1016
+ 1.420976945599524e-05
1017
+ ]
1018
+ },
1019
+ "action": {
1020
+ "min": [
1021
+ -0.10000000149011612,
1022
+ 0.0,
1023
+ 0.0,
1024
+ 0.25,
1025
+ 0.0,
1026
+ -0.15000000596046448,
1027
+ -0.10000000149011612,
1028
+ 0.0,
1029
+ 0.0,
1030
+ 0.25,
1031
+ 0.0,
1032
+ -0.15000000596046448,
1033
+ 0.0,
1034
+ 0.0,
1035
+ 0.0,
1036
+ 0.25,
1037
+ 0.10000000149011612,
1038
+ 0.0,
1039
+ 1.0,
1040
+ 0.0,
1041
+ 0.0,
1042
+ 0.0,
1043
+ -0.7830644845962524,
1044
+ -1.15714693069458,
1045
+ -0.7234516739845276,
1046
+ -0.2137162834405899,
1047
+ 0.0,
1048
+ -0.4363322854042053,
1049
+ -1.2217304706573486,
1050
+ 0.0,
1051
+ -0.6005052924156189,
1052
+ 0.0,
1053
+ 0.0,
1054
+ 0.0,
1055
+ 0.0,
1056
+ 0.0,
1057
+ 0.0,
1058
+ 0.0,
1059
+ 0.0,
1060
+ 0.0,
1061
+ 0.0,
1062
+ 0.0,
1063
+ 0.0,
1064
+ 0.0,
1065
+ 0.0,
1066
+ 0.0,
1067
+ 0.0,
1068
+ 0.0,
1069
+ 0.0,
1070
+ 0.0,
1071
+ 0.0,
1072
+ 0.0,
1073
+ 0.0,
1074
+ 0.0,
1075
+ 0.0,
1076
+ 0.0,
1077
+ 0.0,
1078
+ 0.0,
1079
+ -0.033399999141693115,
1080
+ -0.10440000146627426,
1081
+ 0.0,
1082
+ -0.05559999868273735,
1083
+ -0.029100000858306885,
1084
+ 0.0,
1085
+ 0.0,
1086
+ 0.0,
1087
+ 0.0,
1088
+ 0.0,
1089
+ 0.0,
1090
+ 0.0,
1091
+ 0.0,
1092
+ 0.0,
1093
+ 0.0,
1094
+ 0.0,
1095
+ 0.0
1096
+ ],
1097
+ "max": [
1098
+ -0.10000000149011612,
1099
+ 0.0,
1100
+ 0.0,
1101
+ 0.25,
1102
+ 0.0,
1103
+ -0.15000000596046448,
1104
+ -0.10000000149011612,
1105
+ 0.0,
1106
+ 0.0,
1107
+ 0.25,
1108
+ 0.0,
1109
+ -0.15000000596046448,
1110
+ 0.0,
1111
+ 0.0,
1112
+ 0.0,
1113
+ 0.25,
1114
+ 0.10000000149011612,
1115
+ 0.0,
1116
+ 1.0,
1117
+ 0.0,
1118
+ 0.0,
1119
+ 0.0,
1120
+ 0.5866223573684692,
1121
+ -0.06458767503499985,
1122
+ 0.8743140697479248,
1123
+ 1.1923998594284058,
1124
+ 2.6179938316345215,
1125
+ 0.4363322854042053,
1126
+ 0.18158245086669922,
1127
+ 0.6523595452308655,
1128
+ 0.0,
1129
+ 0.0,
1130
+ 0.0,
1131
+ 0.0,
1132
+ 0.0,
1133
+ 0.0,
1134
+ 0.0,
1135
+ 0.0,
1136
+ 0.0,
1137
+ 0.0,
1138
+ 0.0,
1139
+ 0.0,
1140
+ 0.0,
1141
+ 0.0,
1142
+ 0.0,
1143
+ 0.0,
1144
+ 0.0,
1145
+ 0.0,
1146
+ 0.0,
1147
+ 0.0,
1148
+ 0.0,
1149
+ 0.0,
1150
+ 0.0,
1151
+ 1.5707999467849731,
1152
+ 1.4276299476623535,
1153
+ 0.251800000667572,
1154
+ 1.5707999467849731,
1155
+ 1.4098104238510132,
1156
+ 0.2409999966621399,
1157
+ 0.16740000247955322,
1158
+ 1.5707999467849731,
1159
+ 0.0,
1160
+ 0.3490999937057495,
1161
+ 1.7408000230789185,
1162
+ 1.745300054550171,
1163
+ 0.04050000011920929,
1164
+ 1.745300054550171,
1165
+ 1.233299970626831,
1166
+ 1.396299958229065,
1167
+ 1.3615000247955322,
1168
+ 1.745300054550171,
1169
+ 1.0814000368118286,
1170
+ 0.3490999937057495,
1171
+ 0.9969000220298767,
1172
+ 0.4447999894618988
1173
+ ],
1174
+ "mean": [
1175
+ -0.10000000149011612,
1176
+ 0.0,
1177
+ 0.0,
1178
+ 0.25,
1179
+ 0.0,
1180
+ -0.15000000596046448,
1181
+ -0.10000000149011612,
1182
+ 0.0,
1183
+ 0.0,
1184
+ 0.25,
1185
+ 0.0,
1186
+ -0.15000000596046448,
1187
+ 0.0,
1188
+ 0.0,
1189
+ 0.0,
1190
+ 0.25,
1191
+ 0.10000000149011612,
1192
+ 0.0,
1193
+ 1.0,
1194
+ 0.0,
1195
+ 0.0,
1196
+ 0.0,
1197
+ -0.3844676993563776,
1198
+ -0.4635392729059665,
1199
+ -0.025321531695698816,
1200
+ 0.1565658989158264,
1201
+ 1.9096198221052831,
1202
+ 0.3027108377102684,
1203
+ -0.6802851635135142,
1204
+ 0.4717552163889123,
1205
+ -0.3293787508809817,
1206
+ 0.0,
1207
+ 0.0,
1208
+ 0.0,
1209
+ 0.0,
1210
+ 0.0,
1211
+ 0.0,
1212
+ 0.0,
1213
+ 0.0,
1214
+ 0.0,
1215
+ 0.0,
1216
+ 0.0,
1217
+ 0.0,
1218
+ 0.0,
1219
+ 0.0,
1220
+ 0.0,
1221
+ 0.0,
1222
+ 0.0,
1223
+ 0.0,
1224
+ 0.0,
1225
+ 0.0,
1226
+ 0.0,
1227
+ 0.0,
1228
+ 0.9163668700463455,
1229
+ 1.0774307526623856,
1230
+ 0.18450656518916894,
1231
+ 1.2577362062853386,
1232
+ 0.8662071389505672,
1233
+ 0.014139693930753192,
1234
+ -0.0783472468063956,
1235
+ 1.3026880926927225,
1236
+ -0.049635624906086466,
1237
+ 0.16960392906218702,
1238
+ 1.350968706312699,
1239
+ 1.4543478794042892,
1240
+ 0.004224006560807533,
1241
+ 1.4160855530328746,
1242
+ 0.50399988500309,
1243
+ 1.0411720162838662,
1244
+ 0.8450646923517636,
1245
+ 1.3060351313492584,
1246
+ 0.8567824521623536,
1247
+ 0.21634492012668474,
1248
+ 0.7710784049796209,
1249
+ 0.1639630493265118
1250
+ ],
1251
+ "std": [
1252
+ 0.0,
1253
+ 0.0,
1254
+ 0.0,
1255
+ 0.0,
1256
+ 0.0,
1257
+ 0.0,
1258
+ 0.0,
1259
+ 0.0,
1260
+ 0.0,
1261
+ 0.0,
1262
+ 0.0,
1263
+ 0.0,
1264
+ 0.0,
1265
+ 0.0,
1266
+ 0.0,
1267
+ 0.0,
1268
+ 0.0,
1269
+ 0.0,
1270
+ 0.0,
1271
+ 0.0,
1272
+ 0.0,
1273
+ 0.0,
1274
+ 0.27101139510542965,
1275
+ 0.18306758167232656,
1276
+ 0.2321427862317003,
1277
+ 0.2921806368614239,
1278
+ 0.5575150219880946,
1279
+ 0.14082600312771132,
1280
+ 0.2889364190439442,
1281
+ 0.13317078744611063,
1282
+ 0.1862851560996197,
1283
+ 0.0,
1284
+ 0.0,
1285
+ 0.0,
1286
+ 0.0,
1287
+ 0.0,
1288
+ 0.0,
1289
+ 0.0,
1290
+ 0.0,
1291
+ 0.0,
1292
+ 0.0,
1293
+ 0.0,
1294
+ 0.0,
1295
+ 0.0,
1296
+ 0.0,
1297
+ 0.0,
1298
+ 0.0,
1299
+ 0.0,
1300
+ 0.0,
1301
+ 0.0,
1302
+ 0.0,
1303
+ 0.0,
1304
+ 0.0,
1305
+ 0.41432510347711093,
1306
+ 0.4441289438708921,
1307
+ 0.10036169364443552,
1308
+ 0.5129014869126945,
1309
+ 0.5543047289959324,
1310
+ 0.051528101258709685,
1311
+ 0.05980456667607573,
1312
+ 0.5129086732788993,
1313
+ 0.014518427034505595,
1314
+ 0.18576907372151935,
1315
+ 0.5885033266135186,
1316
+ 0.5690668726302637,
1317
+ 0.012073895925927702,
1318
+ 0.5545709581524755,
1319
+ 0.39820855145902984,
1320
+ 0.41600444476329074,
1321
+ 0.34343361130221534,
1322
+ 0.6451957528324598,
1323
+ 0.3560204635861576,
1324
+ 0.13912312189696266,
1325
+ 0.3411755546820009,
1326
+ 0.10772567046676199
1327
+ ]
1328
+ }
1329
+ },
1330
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
1331
+ "task": "a15v3",
1332
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
1333
+ "step": 6500,
1334
+ "weights": "ema",
1335
+ "offline_eval": {
1336
+ "mse": 0.03619362413883209,
1337
+ "mse_row0": 0.06213373690843582,
1338
+ "mse_body_target": 0.025502370670437813,
1339
+ "mse_hands": 0.04372609406709671,
1340
+ "samples": 256,
1341
+ "frames": "train"
1342
+ },
1343
+ "format": "hb_baselines/1"
1344
+ }
a15-hitting-nail/b512-f0-s13000/step-006500/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bc00e85b8885413b745775a6bd57f42899796b6e2239ccbd7d862e2863dd479
3
+ size 170849405
a15-hitting-nail/b512-f0-s13000/step-006500/protocol.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 6500,
4
+ "policy": "flash",
5
+ "task": "a15v3",
6
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
7
+ "episodes": 150,
8
+ "frames": 86267,
9
+ "fps": 30.0,
10
+ "steps": 13000,
11
+ "total_steps": 13000,
12
+ "save_steps": [
13
+ 2250,
14
+ 4250,
15
+ 6500,
16
+ 8750,
17
+ 10750,
18
+ 13000
19
+ ],
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "lr": 0.0001,
25
+ "warmup": 500,
26
+ "schedule": "diffusers_cosine",
27
+ "seed": 42,
28
+ "aug_seed": 42,
29
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
30
+ "code_dirty": null,
31
+ "environment": {
32
+ "python": "3.12.1",
33
+ "torch": "2.9.0+cu128",
34
+ "numpy": "2.2.6",
35
+ "cuda": "12.8",
36
+ "cudnn": 91002,
37
+ "torchvision": "0.24.0+cu128",
38
+ "pillow": "12.3.0",
39
+ "gpu": "NVIDIA GeForce RTX 4090 D",
40
+ "driver": "550.127.05"
41
+ },
42
+ "continuation": null,
43
+ "protocol_deviations": [
44
+ "steps 13000 (protocol 12000)"
45
+ ],
46
+ "protocol_exceptions": [
47
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
48
+ "owner 2026-11-30 (「team01 这两张卡先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
49
+ ],
50
+ "files": {
51
+ "config.json": {
52
+ "bytes": 22877,
53
+ "sha256": "202c0cdcb9288637543b2c83c024bd867f80abad80c5575741c19dbdb72abebe"
54
+ },
55
+ "model.pt": {
56
+ "bytes": 170849405,
57
+ "sha256": "6bc00e85b8885413b745775a6bd57f42899796b6e2239ccbd7d862e2863dd479"
58
+ }
59
+ },
60
+ "global_step": 6500,
61
+ "run_step": 6500,
62
+ "stop_at": null,
63
+ "planned_total_steps": 13000,
64
+ "task_dir": "a15-hitting-nail",
65
+ "training_data": "humanoid-benchmark/a15-hitting-nail @139187e6 (v3, three-factor stall trim, 150 episodes, H2 head + chest)",
66
+ "published_steps": [
67
+ 6500,
68
+ 10750,
69
+ 13000
70
+ ],
71
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
72
+ "ema": 0.9999,
73
+ "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",
74
+ "state_dim": 78,
75
+ "action_dim": 75,
76
+ "cameras": [
77
+ "head",
78
+ "chest"
79
+ ],
80
+ "contract": "h2_sharpa",
81
+ "image_hw": [
82
+ 168,
83
+ 224
84
+ ],
85
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
86
+ "inloop_mse": {
87
+ "task": "a15v3",
88
+ "split": "train10",
89
+ "every": 250,
90
+ "seed": 1234,
91
+ "weights": "ema",
92
+ "nmse_at_this_step": 0.3182,
93
+ "lowest_published": 6500,
94
+ "curve": {
95
+ "250": 0.1964,
96
+ "500": 0.2047,
97
+ "750": 0.2588,
98
+ "1000": 0.3207,
99
+ "1250": 0.3675,
100
+ "1500": 0.3947,
101
+ "1750": 0.423,
102
+ "2000": 0.4492,
103
+ "2250": 0.4628,
104
+ "2500": 0.4572,
105
+ "2750": 0.4387,
106
+ "3000": 0.4166,
107
+ "3250": 0.3964,
108
+ "3500": 0.3786,
109
+ "3750": 0.3662,
110
+ "4000": 0.3564,
111
+ "4250": 0.3485,
112
+ "4500": 0.3406,
113
+ "4750": 0.3337,
114
+ "5000": 0.3274,
115
+ "5250": 0.3218,
116
+ "5500": 0.3182,
117
+ "5750": 0.3176,
118
+ "6000": 0.3182,
119
+ "6250": 0.3181,
120
+ "6500": 0.3182,
121
+ "6750": 0.3192,
122
+ "7000": 0.3204,
123
+ "7250": 0.3221,
124
+ "7500": 0.3242,
125
+ "7750": 0.3259,
126
+ "8000": 0.3283,
127
+ "8250": 0.3305,
128
+ "8500": 0.332,
129
+ "8750": 0.3337,
130
+ "9000": 0.3357,
131
+ "9250": 0.3371,
132
+ "9500": 0.3387,
133
+ "9750": 0.3399,
134
+ "10000": 0.341,
135
+ "10250": 0.3419,
136
+ "10500": 0.343,
137
+ "10750": 0.344,
138
+ "11000": 0.3453,
139
+ "11250": 0.3465,
140
+ "11500": 0.3474,
141
+ "11750": 0.348,
142
+ "12000": 0.3488,
143
+ "12250": 0.3493,
144
+ "12500": 0.3498,
145
+ "12750": 0.3501,
146
+ "13000": 0.3505
147
+ }
148
+ },
149
+ "reproducibility": {
150
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/main/hb_training/REPRODUCIBILITY.md",
151
+ "protocol_commit": "dbd9bfe529e2a3229d01ad9e27b102cf9d821eec",
152
+ "training_seed": 42,
153
+ "inloop_mse_seed": 1234,
154
+ "aug_seed": 42,
155
+ "layout": {
156
+ "nodes": 1,
157
+ "gpus": 1,
158
+ "per_gpu_batch": 512,
159
+ "global_batch": 512,
160
+ "gradient_accumulation": 1,
161
+ "num_workers": 40,
162
+ "prefetch": 2
163
+ },
164
+ "environment": "hb-baselines (Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
165
+ "hardware": "NVIDIA GeForce RTX 4090 D (this checkpoint); trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512, no gradient accumulation; environment /root/.venvs/hb-baselines on team01 (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0)",
166
+ "code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ bf40b9df05f60870ac9e4ab3acef11a871925a40 (FLASH first_history frame0, the default) (git archive on team01 vePFS, HB_CODE_COMMIT)",
167
+ "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",
168
+ "exceptions": [
169
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
170
+ "owner 2026-11-30 (「team01 这两张卡先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
171
+ ]
172
+ },
173
+ "inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/ in the last step has the exact code",
174
+ "resume_state_included": false
175
+ }
a15-hitting-nail/b512-f0-s13000/step-010750/SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ e354bf6ef1dd3c3cfbbd24e4d04c1e7e7c67bb96c9ce9f995870b6e01560258f config.json
2
+ 991bffa1021ef8b12a363df50c7537db29d3215a482829d7ad0fd129b0fd2917 model.pt
3
+ d19ef5afa525c862917004d95005ac0dfdd765caff35bc7850dc283b7e732f1f protocol.json
a15-hitting-nail/b512-f0-s13000/step-010750/config.json ADDED
@@ -0,0 +1,1344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "flash",
4
+ "n_cameras": 2,
5
+ "state_dim": 78,
6
+ "action_dim": 75,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 512,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.0,
16
+ "time_embed_dim": 256,
17
+ "num_inference_steps": 1,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "ode_body_dim": null,
30
+ "ode_width": 512,
31
+ "ode_layers": 4,
32
+ "ode_cond_dim": 512,
33
+ "ode_field_scale": 1.0,
34
+ "ode_dit_hidden": 512,
35
+ "ode_dit_layers": 4,
36
+ "ode_dit_heads": 8,
37
+ "ode_dit_tokens": 4,
38
+ "extra": {
39
+ "flash": {
40
+ "stride": 2,
41
+ "n_history": 8,
42
+ "n_action": 8,
43
+ "rows": 16,
44
+ "poly_order": 6,
45
+ "fit_pad": 1,
46
+ "boundary_constraint": true,
47
+ "poly_prefix": 1,
48
+ "poly_suffix": 1,
49
+ "history_noise_std": 0.5,
50
+ "history_reg_lambda": 0.1,
51
+ "consistency_weight": 1.0,
52
+ "solver": "euler",
53
+ "first_history": "frame0",
54
+ "first_history_state": [
55
+ 0,
56
+ 1,
57
+ 2,
58
+ 3,
59
+ 4,
60
+ 5,
61
+ 6,
62
+ 7,
63
+ 8,
64
+ 9,
65
+ 10,
66
+ 11,
67
+ 12,
68
+ 13,
69
+ 14,
70
+ 15,
71
+ 16,
72
+ 17,
73
+ 18,
74
+ 19,
75
+ 20,
76
+ 21,
77
+ 22,
78
+ 23,
79
+ 24,
80
+ 25,
81
+ 26,
82
+ 27,
83
+ 28,
84
+ 29,
85
+ 30,
86
+ 31,
87
+ 32,
88
+ 33,
89
+ 34,
90
+ 35,
91
+ 36,
92
+ 37,
93
+ 38,
94
+ 39,
95
+ 40,
96
+ 41,
97
+ 42,
98
+ 43,
99
+ 44,
100
+ 45,
101
+ 46,
102
+ 47,
103
+ 48,
104
+ 49,
105
+ 50,
106
+ 51,
107
+ 52,
108
+ 53,
109
+ 54,
110
+ 55,
111
+ 56,
112
+ 57,
113
+ 58,
114
+ 59,
115
+ 60,
116
+ 61,
117
+ 62,
118
+ 63,
119
+ 64,
120
+ 65,
121
+ 66,
122
+ 67,
123
+ 68,
124
+ 69,
125
+ 70,
126
+ 71,
127
+ 72,
128
+ 73,
129
+ 74
130
+ ],
131
+ "first_history_value": [
132
+ 0.0,
133
+ 0.0,
134
+ 0.0,
135
+ 0.0,
136
+ 0.0,
137
+ 0.0,
138
+ 0.0,
139
+ 0.0,
140
+ 0.0,
141
+ 0.0,
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 0.0,
146
+ 0.0,
147
+ 0.0,
148
+ 0.0,
149
+ 0.0,
150
+ 0.0,
151
+ 0.0,
152
+ 0.0,
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0,
159
+ 0.0,
160
+ 0.0,
161
+ 0.0,
162
+ 0.0,
163
+ 0.0,
164
+ 0.0,
165
+ 0.0,
166
+ 0.0,
167
+ 0.0,
168
+ 0.0,
169
+ 0.0,
170
+ 0.0,
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 0.0,
198
+ 0.0,
199
+ 0.0,
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 0.0,
204
+ 0.0,
205
+ 0.0,
206
+ 0.0
207
+ ]
208
+ }
209
+ }
210
+ },
211
+ "contract": {
212
+ "name": "h2_sharpa",
213
+ "robot": "h2_sharpa",
214
+ "cameras": [
215
+ "head",
216
+ "chest"
217
+ ],
218
+ "state": [
219
+ [
220
+ "observation.state",
221
+ 0,
222
+ 75
223
+ ],
224
+ [
225
+ "observation.projected_gravity",
226
+ 0,
227
+ 3
228
+ ]
229
+ ],
230
+ "action": [
231
+ [
232
+ "action.body_target",
233
+ 0,
234
+ 31
235
+ ],
236
+ [
237
+ "action.hands",
238
+ 0,
239
+ 44
240
+ ]
241
+ ],
242
+ "state_dim": 78,
243
+ "action_dim": 75,
244
+ "action_space": null,
245
+ "body_dims": 31
246
+ },
247
+ "image_hw": [
248
+ 168,
249
+ 224
250
+ ],
251
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
252
+ "dataset": {
253
+ "name": "data",
254
+ "root": "/mnt/vepfs/baijiaqi/hb_team01_20261130/a15-hitting-nail-v3-139187e/data",
255
+ "robot_type": "h2_sharpa",
256
+ "fps": 30.0,
257
+ "episodes": [
258
+ 0,
259
+ 1,
260
+ 2,
261
+ 3,
262
+ 4,
263
+ 5,
264
+ 6,
265
+ 7,
266
+ 8,
267
+ 9,
268
+ 10,
269
+ 11,
270
+ 12,
271
+ 13,
272
+ 14,
273
+ 15,
274
+ 16,
275
+ 17,
276
+ 18,
277
+ 19,
278
+ 20,
279
+ 21,
280
+ 22,
281
+ 23,
282
+ 24,
283
+ 25,
284
+ 26,
285
+ 27,
286
+ 28,
287
+ 29,
288
+ 30,
289
+ 31,
290
+ 32,
291
+ 33,
292
+ 34,
293
+ 35,
294
+ 36,
295
+ 37,
296
+ 38,
297
+ 39,
298
+ 40,
299
+ 41,
300
+ 42,
301
+ 43,
302
+ 44,
303
+ 45,
304
+ 46,
305
+ 47,
306
+ 48,
307
+ 49,
308
+ 50,
309
+ 51,
310
+ 52,
311
+ 53,
312
+ 54,
313
+ 55,
314
+ 56,
315
+ 57,
316
+ 58,
317
+ 59,
318
+ 60,
319
+ 61,
320
+ 62,
321
+ 63,
322
+ 64,
323
+ 65,
324
+ 66,
325
+ 67,
326
+ 68,
327
+ 69,
328
+ 70,
329
+ 71,
330
+ 72,
331
+ 73,
332
+ 74,
333
+ 75,
334
+ 76,
335
+ 77,
336
+ 78,
337
+ 79,
338
+ 80,
339
+ 81,
340
+ 82,
341
+ 83,
342
+ 84,
343
+ 85,
344
+ 86,
345
+ 87,
346
+ 88,
347
+ 89,
348
+ 90,
349
+ 91,
350
+ 92,
351
+ 93,
352
+ 94,
353
+ 95,
354
+ 96,
355
+ 97,
356
+ 98,
357
+ 99,
358
+ 100,
359
+ 101,
360
+ 102,
361
+ 103,
362
+ 104,
363
+ 105,
364
+ 106,
365
+ 107,
366
+ 108,
367
+ 109,
368
+ 110,
369
+ 111,
370
+ 112,
371
+ 113,
372
+ 114,
373
+ 115,
374
+ 116,
375
+ 117,
376
+ 118,
377
+ 119,
378
+ 120,
379
+ 121,
380
+ 122,
381
+ 123,
382
+ 124,
383
+ 125,
384
+ 126,
385
+ 127,
386
+ 128,
387
+ 129,
388
+ 130,
389
+ 131,
390
+ 132,
391
+ 133,
392
+ 134,
393
+ 135,
394
+ 136,
395
+ 137,
396
+ 138,
397
+ 139,
398
+ 140,
399
+ 141,
400
+ 142,
401
+ 143,
402
+ 144,
403
+ 145,
404
+ 146,
405
+ 147,
406
+ 148,
407
+ 149
408
+ ],
409
+ "train_episodes": [
410
+ 0,
411
+ 1,
412
+ 2,
413
+ 3,
414
+ 4,
415
+ 5,
416
+ 6,
417
+ 7,
418
+ 8,
419
+ 9,
420
+ 10,
421
+ 11,
422
+ 12,
423
+ 13,
424
+ 14,
425
+ 15,
426
+ 16,
427
+ 17,
428
+ 18,
429
+ 19,
430
+ 20,
431
+ 21,
432
+ 22,
433
+ 23,
434
+ 24,
435
+ 25,
436
+ 26,
437
+ 27,
438
+ 28,
439
+ 29,
440
+ 30,
441
+ 31,
442
+ 32,
443
+ 33,
444
+ 34,
445
+ 35,
446
+ 36,
447
+ 37,
448
+ 38,
449
+ 39,
450
+ 40,
451
+ 41,
452
+ 42,
453
+ 43,
454
+ 44,
455
+ 45,
456
+ 46,
457
+ 47,
458
+ 48,
459
+ 49,
460
+ 50,
461
+ 51,
462
+ 52,
463
+ 53,
464
+ 54,
465
+ 55,
466
+ 56,
467
+ 57,
468
+ 58,
469
+ 59,
470
+ 60,
471
+ 61,
472
+ 62,
473
+ 63,
474
+ 64,
475
+ 65,
476
+ 66,
477
+ 67,
478
+ 68,
479
+ 69,
480
+ 70,
481
+ 71,
482
+ 72,
483
+ 73,
484
+ 74,
485
+ 75,
486
+ 76,
487
+ 77,
488
+ 78,
489
+ 79,
490
+ 80,
491
+ 81,
492
+ 82,
493
+ 83,
494
+ 84,
495
+ 85,
496
+ 86,
497
+ 87,
498
+ 88,
499
+ 89,
500
+ 90,
501
+ 91,
502
+ 92,
503
+ 93,
504
+ 94,
505
+ 95,
506
+ 96,
507
+ 97,
508
+ 98,
509
+ 99,
510
+ 100,
511
+ 101,
512
+ 102,
513
+ 103,
514
+ 104,
515
+ 105,
516
+ 106,
517
+ 107,
518
+ 108,
519
+ 109,
520
+ 110,
521
+ 111,
522
+ 112,
523
+ 113,
524
+ 114,
525
+ 115,
526
+ 116,
527
+ 117,
528
+ 118,
529
+ 119,
530
+ 120,
531
+ 121,
532
+ 122,
533
+ 123,
534
+ 124,
535
+ 125,
536
+ 126,
537
+ 127,
538
+ 128,
539
+ 129,
540
+ 130,
541
+ 131,
542
+ 132,
543
+ 133,
544
+ 134,
545
+ 135,
546
+ 136,
547
+ 137,
548
+ 138,
549
+ 139,
550
+ 140,
551
+ 141,
552
+ 142,
553
+ 143,
554
+ 144,
555
+ 145,
556
+ 146,
557
+ 147,
558
+ 148,
559
+ 149
560
+ ],
561
+ "val_episodes": [],
562
+ "train_frames": 86267,
563
+ "git_commit": "6ce120cceb6bbe5dda177208dc99f48a8820699a"
564
+ },
565
+ "training": {
566
+ "steps": 13000,
567
+ "batch_size": 512,
568
+ "lr": 0.0001,
569
+ "betas": [
570
+ 0.95,
571
+ 0.999
572
+ ],
573
+ "weight_decay": 1e-06,
574
+ "warmup": 500,
575
+ "schedule": "diffusers_cosine",
576
+ "backbone_lr_scale": 1.0,
577
+ "ema": 0.9999,
578
+ "shift_px": 0,
579
+ "amp": true,
580
+ "seed": 42,
581
+ "augmentation": {
582
+ "spec": "docs/augmentation_v2.md",
583
+ "version": "hb-aug-v2-20261109",
584
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
585
+ "visual": {
586
+ "effects": [
587
+ "exposure",
588
+ "contrast",
589
+ "saturation",
590
+ "hue",
591
+ "gamma",
592
+ "temperature",
593
+ "rotation_crop",
594
+ "noise",
595
+ "gaussian_blur",
596
+ "jpeg",
597
+ "motion_blur",
598
+ "sharpen",
599
+ "defocus",
600
+ "light_shadow",
601
+ "wb_channel"
602
+ ],
603
+ "boosted_per_sample": 1,
604
+ "boost": 1.5,
605
+ "pixel_scale": "H / 224",
606
+ "future_targets": "none (one observation frame)"
607
+ },
608
+ "proprio": {
609
+ "robot": "h2_sharpa",
610
+ "body_dims": 31,
611
+ "bias_deg": 2.0,
612
+ "bias_scope": "per_sample",
613
+ "noise_deg": 0.25,
614
+ "noise_clip_sigma": 3,
615
+ "delay_probability": 0.0,
616
+ "history_drop_probability": 0.0,
617
+ "velocity": false
618
+ },
619
+ "native_image_augmentation": "off",
620
+ "evaluation": "off"
621
+ },
622
+ "preflight": {
623
+ "samples": 64,
624
+ "state_dim": 78,
625
+ "body_dims": 31,
626
+ "images_changed": 64,
627
+ "body_values_moved": 1.0,
628
+ "max_body_offset_deg": 2.5455,
629
+ "actions_bit_identical": true,
630
+ "non_body_state_bit_identical": true,
631
+ "eval_items_deterministic": 8
632
+ },
633
+ "aug_seed": 42,
634
+ "layout": {
635
+ "nodes": 1,
636
+ "gpus": 1,
637
+ "per_gpu_batch": 512,
638
+ "global_batch": 512,
639
+ "gradient_accumulation": 1,
640
+ "num_workers": 40,
641
+ "prefetch": 2
642
+ },
643
+ "continuation": null,
644
+ "total_steps": 13000,
645
+ "save_steps": [
646
+ 2250,
647
+ 4250,
648
+ 6500,
649
+ 8750,
650
+ 10750,
651
+ 13000
652
+ ],
653
+ "save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
654
+ "protocol_exceptions": [
655
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
656
+ "owner 2026-11-30 (\u300cteam01 \u8fd9\u4e24\u5f20\u5361\u5148\u88c5\u597d\u73af\u5883\uff0c\u7136\u540e\u5206\u62c5\u6211\u4eec\u8fd9\u8fb9\u5176\u4ed6\u7684\u4efb\u52a1\uff0c\u8bad\u7ec3\u3001\u8bc4\u4f30\u90fd\u53ef\u4ee5\u300d): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
657
+ ],
658
+ "ema_schedule": "diffusion_policy_emamodel",
659
+ "inloop": {
660
+ "task": "a15v3",
661
+ "code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse",
662
+ "every": 250,
663
+ "exception": null,
664
+ "code_sha256": {
665
+ "hb_inloop_core.py": "154fa6d905e32d61c0def546caf6979c3a148b7bef0c1284e773b9051dddce97",
666
+ "hb_eval_common.py": "d89b1bfc1ac03d489b6ba2ac7c61eab3f318023ec37677dd5ee02b93d851d6ac"
667
+ }
668
+ },
669
+ "protocol_recipe": {
670
+ "batch_size": 512,
671
+ "steps": 12000,
672
+ "warmup": 500,
673
+ "workers": 40,
674
+ "long_task_factor": 1
675
+ },
676
+ "protocol_deviations": [
677
+ "steps 13000 (protocol 12000)"
678
+ ],
679
+ "environment": {
680
+ "python": "3.12.1",
681
+ "torch": "2.9.0+cu128",
682
+ "numpy": "2.2.6",
683
+ "cuda": "12.8",
684
+ "cudnn": 91002,
685
+ "torchvision": "0.24.0+cu128",
686
+ "pillow": "12.3.0",
687
+ "gpu": "NVIDIA GeForce RTX 4090 D",
688
+ "driver": "550.127.05"
689
+ },
690
+ "code_dirty": null,
691
+ "allow_dirty_tree": false,
692
+ "augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
693
+ "order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
694
+ "upstream": "NTUMARS/FLASH-Policy@f47e490"
695
+ },
696
+ "stats": {
697
+ "state": {
698
+ "min": [
699
+ -0.09997769445180893,
700
+ -0.00021537415159400553,
701
+ -0.0018031895160675049,
702
+ 0.23896919190883636,
703
+ -0.0032215823885053396,
704
+ -0.16552682220935822,
705
+ -0.10010066628456116,
706
+ -0.005005246959626675,
707
+ -0.0010331370867788792,
708
+ 0.2388608306646347,
709
+ -0.0007713548839092255,
710
+ -0.16637399792671204,
711
+ -0.0036116293631494045,
712
+ -0.0005855314084328711,
713
+ -0.012959281913936138,
714
+ 0.2377660870552063,
715
+ 0.10000789910554886,
716
+ 0.0028428281657397747,
717
+ 0.993225634098053,
718
+ -0.002429646672680974,
719
+ -0.005298535339534283,
720
+ 0.005146781913936138,
721
+ -0.7949823141098022,
722
+ -1.1849690675735474,
723
+ -0.764089822769165,
724
+ -0.20890109241008759,
725
+ 0.0010743907187134027,
726
+ -0.4016851782798767,
727
+ -1.223796010017395,
728
+ 0.003484983928501606,
729
+ -0.5965985059738159,
730
+ 8.041491128096823e-06,
731
+ 7.787263712089043e-06,
732
+ -2.0799054709641496e-06,
733
+ 7.4421236604393926e-06,
734
+ 0.001140148495323956,
735
+ -0.0007875783485360444,
736
+ -0.0007883345242589712,
737
+ 7.089955033734441e-06,
738
+ -0.0007868656539358199,
739
+ -0.08961887657642365,
740
+ 1.387537508890091e-06,
741
+ 1.3565856988861924e-06,
742
+ -0.0007850074907764792,
743
+ 1.3112578471918823e-06,
744
+ 0.0007804867927916348,
745
+ 2.1667759142474097e-07,
746
+ 2.1437449504446704e-07,
747
+ 1.2650284588744398e-06,
748
+ 2.100367879620535e-07,
749
+ 0.0004996865172870457,
750
+ 2.0562282543323818e-07,
751
+ 1.8338482732360717e-07,
752
+ 3.5120523534715176e-05,
753
+ 2.6369834813522175e-05,
754
+ -0.0008715128060430288,
755
+ 1.6693044017301872e-05,
756
+ -0.0002734147710725665,
757
+ -0.06660658866167068,
758
+ -0.1113005056977272,
759
+ 1.06078668977716e-05,
760
+ -0.09395170956850052,
761
+ -0.19489309191703796,
762
+ 2.1877663129998837e-06,
763
+ 2.11020801543782e-06,
764
+ -0.03943561017513275,
765
+ 1.9952312868554145e-06,
766
+ 0.001209239475429058,
767
+ 3.277772577803262e-07,
768
+ 3.2084344070426596e-07,
769
+ 1.877936597338703e-06,
770
+ 3.0860724109516013e-07,
771
+ 0.0008695685537531972,
772
+ 2.961393192890682e-07,
773
+ 4.9229495147073976e-08,
774
+ 0.0008595046238042414,
775
+ -0.0009253888856619596,
776
+ -0.9999996423721313
777
+ ],
778
+ "max": [
779
+ -0.09415019303560257,
780
+ 0.004828622564673424,
781
+ 0.0008512705680914223,
782
+ 0.2468973845243454,
783
+ 0.0011205088812857866,
784
+ -0.14899034798145294,
785
+ -0.09456837922334671,
786
+ -0.00035856530303135514,
787
+ 0.001164556248113513,
788
+ 0.24686793982982635,
789
+ 0.002884133020415902,
790
+ -0.14915470778942108,
791
+ 0.003393669379875064,
792
+ 0.011874571442604065,
793
+ 0.004470391198992729,
794
+ 0.25079748034477234,
795
+ 0.11245691776275635,
796
+ 0.005373213440179825,
797
+ 0.9999775290489197,
798
+ -0.0004550613812170923,
799
+ -0.0006144921062514186,
800
+ 0.017257247120141983,
801
+ 0.6067484021186829,
802
+ -0.03932846337556839,
803
+ 0.8707330822944641,
804
+ 1.1787530183792114,
805
+ 2.6213066577911377,
806
+ 0.4448302388191223,
807
+ 0.17772707343101501,
808
+ 0.6958374381065369,
809
+ 1.7674472474027425e-05,
810
+ 0.0021774214692413807,
811
+ 0.002177412388846278,
812
+ 0.000286454422166571,
813
+ 0.0021773858461529016,
814
+ 0.048038650304079056,
815
+ -1.918966336234007e-05,
816
+ -2.0099716493859887e-05,
817
+ 0.0021775541827082634,
818
+ -1.8466966139385477e-05,
819
+ -0.004215856548398733,
820
+ 0.0004085846012458205,
821
+ 0.00040858410648070276,
822
+ -1.7040652892319486e-05,
823
+ 0.00040858116699382663,
824
+ 0.004995528608560562,
825
+ 7.248025212902576e-05,
826
+ 7.248033944051713e-05,
827
+ 0.000408606487326324,
828
+ 7.248002657433972e-05,
829
+ 0.005003098398447037,
830
+ 7.248362089740112e-05,
831
+ 0.0001694808161118999,
832
+ 1.4606938362121582,
833
+ 1.3873600959777832,
834
+ 0.24172371625900269,
835
+ 1.5354737043380737,
836
+ 1.282624363899231,
837
+ 0.21544072031974792,
838
+ 0.1536547690629959,
839
+ 1.5726174116134644,
840
+ 0.08847889304161072,
841
+ -0.002909993752837181,
842
+ 1.6941105127334595,
843
+ 1.7474862337112427,
844
+ 0.12235886603593826,
845
+ 1.7342374324798584,
846
+ 1.1012191772460938,
847
+ 1.3934080600738525,
848
+ 1.3533018827438354,
849
+ 1.7458083629608154,
850
+ 1.0872085094451904,
851
+ 0.34997692704200745,
852
+ 1.0156328678131104,
853
+ 0.386565238237381,
854
+ 0.011892342939972878,
855
+ 0.00036274068406783044,
856
+ -0.9999292492866516
857
+ ],
858
+ "mean": [
859
+ -0.09785526093611452,
860
+ 0.0029796540751150223,
861
+ -0.00011749093636783019,
862
+ 0.24078336613300713,
863
+ -0.001483745781117172,
864
+ -0.16094673989096656,
865
+ -0.09784785629628794,
866
+ -0.003286792622055945,
867
+ 6.359669603595921e-05,
868
+ 0.24135650970587674,
869
+ 0.0014481086974793924,
870
+ -0.16157293961249933,
871
+ -0.00055516285977429,
872
+ 0.004176521286819223,
873
+ 0.001051175742497642,
874
+ 0.2395181341710026,
875
+ 0.10792622612743608,
876
+ 0.004581044781537889,
877
+ 0.9944883175184331,
878
+ -0.0011651024131686418,
879
+ -0.004377417567246881,
880
+ 0.006125923884388435,
881
+ -0.35644952192305274,
882
+ -0.46418886003898757,
883
+ -0.013048485006977669,
884
+ 0.17741333217133373,
885
+ 1.905103833607418,
886
+ 0.30614702442260283,
887
+ -0.7054572112394577,
888
+ 0.5088922210153903,
889
+ -0.32759722949323195,
890
+ 0.00155383075415595,
891
+ 0.0015537752436624434,
892
+ 0.00020132537563169773,
893
+ 0.0015537100449893638,
894
+ 0.033465170018071755,
895
+ -0.0005566219677073042,
896
+ -0.0005569153729970776,
897
+ 0.0015537284846230618,
898
+ -0.0005563826282825237,
899
+ -0.0861267614232954,
900
+ 0.00029127273341124105,
901
+ 0.00029126452302906614,
902
+ -0.0005556223184502122,
903
+ 0.00029125536324850346,
904
+ 0.0043675904196599285,
905
+ 5.153174948852545e-05,
906
+ 5.1530702786641114e-05,
907
+ 0.00029125860617560865,
908
+ 5.1529519222620906e-05,
909
+ 0.00420368666799645,
910
+ 5.153006054694349e-05,
911
+ 0.00011943137353283142,
912
+ 0.8160156590570241,
913
+ 0.9389792287318086,
914
+ 0.1490323148686384,
915
+ 1.2093103380214947,
916
+ 0.7972762943083992,
917
+ -0.0029631480957493486,
918
+ -0.055737382939839715,
919
+ 1.2004745719955285,
920
+ -0.044283933876475896,
921
+ -0.08029388535325555,
922
+ 1.2305006590593395,
923
+ 1.2743632885109408,
924
+ 0.03205499904873027,
925
+ 1.3778912931374658,
926
+ 0.4899848887858702,
927
+ 0.9868204909239197,
928
+ 0.780929127787715,
929
+ 1.1804992306569957,
930
+ 0.8426924277583776,
931
+ 0.20458252311803743,
932
+ 0.7181666232938461,
933
+ 0.15684561085752854,
934
+ 0.007212025231518785,
935
+ -0.00018580798599419722,
936
+ -0.9999714100548942
937
+ ],
938
+ "std": [
939
+ 0.0009067670789237834,
940
+ 0.0008727894346167395,
941
+ 0.0002777191972242325,
942
+ 0.0006466220604173187,
943
+ 0.0007346710346997718,
944
+ 0.0017976988752153227,
945
+ 0.0007769208980955679,
946
+ 0.0006779111896897012,
947
+ 0.00020889763962404415,
948
+ 0.0005150219641825996,
949
+ 0.0006882885320503921,
950
+ 0.0017855112589450538,
951
+ 0.0007098681864201253,
952
+ 0.0024662644695297446,
953
+ 0.0033463154916504646,
954
+ 0.0009304211235617237,
955
+ 0.0008408055498402711,
956
+ 0.00019948119403078555,
957
+ 0.0008665865887054094,
958
+ 0.0001838611778494026,
959
+ 0.0007190760615107812,
960
+ 0.001141946161740247,
961
+ 0.2633559095218504,
962
+ 0.1844559478015024,
963
+ 0.23941128485327795,
964
+ 0.28156390062770453,
965
+ 0.5549049949709923,
966
+ 0.14039245872370573,
967
+ 0.2860102014074455,
968
+ 0.14344760466848627,
969
+ 0.18510505690932832,
970
+ 0.0005225765840522694,
971
+ 0.0005225690372026028,
972
+ 6.575214921290484e-05,
973
+ 0.0005225621051523737,
974
+ 0.0029143773124083,
975
+ 0.0001843525411469115,
976
+ 0.0001841359459697739,
977
+ 0.0005226020795211893,
978
+ 0.0001845250039153968,
979
+ 0.0047760096669896114,
980
+ 9.812322688642312e-05,
981
+ 9.812203457502503e-05,
982
+ 0.00018469305540414234,
983
+ 9.812084743566436e-05,
984
+ 0.0002908526544858428,
985
+ 1.742548075238556e-05,
986
+ 1.7425327866510986e-05,
987
+ 9.812715294628039e-05,
988
+ 1.7425186916470698e-05,
989
+ 0.0004960553666509786,
990
+ 1.7426072624276864e-05,
991
+ 4.089342148594891e-05,
992
+ 0.3662403907404729,
993
+ 0.3885310127888585,
994
+ 0.08083219424718499,
995
+ 0.4977664762172315,
996
+ 0.4876249899076184,
997
+ 0.04674606850641643,
998
+ 0.049665436463866286,
999
+ 0.4795121047941493,
1000
+ 0.02788045856296372,
1001
+ 0.024717666341607568,
1002
+ 0.5321873529292879,
1003
+ 0.5013715940954119,
1004
+ 0.021384402536122157,
1005
+ 0.5500727925731698,
1006
+ 0.3764727797613653,
1007
+ 0.40516620301013545,
1008
+ 0.32029078359450514,
1009
+ 0.5812045384233172,
1010
+ 0.35930818560330374,
1011
+ 0.13998244790577968,
1012
+ 0.3201486052619058,
1013
+ 0.10190235433527584,
1014
+ 0.0022605747284818113,
1015
+ 0.00014482477039994416,
1016
+ 1.420976945599524e-05
1017
+ ]
1018
+ },
1019
+ "action": {
1020
+ "min": [
1021
+ -0.10000000149011612,
1022
+ 0.0,
1023
+ 0.0,
1024
+ 0.25,
1025
+ 0.0,
1026
+ -0.15000000596046448,
1027
+ -0.10000000149011612,
1028
+ 0.0,
1029
+ 0.0,
1030
+ 0.25,
1031
+ 0.0,
1032
+ -0.15000000596046448,
1033
+ 0.0,
1034
+ 0.0,
1035
+ 0.0,
1036
+ 0.25,
1037
+ 0.10000000149011612,
1038
+ 0.0,
1039
+ 1.0,
1040
+ 0.0,
1041
+ 0.0,
1042
+ 0.0,
1043
+ -0.7830644845962524,
1044
+ -1.15714693069458,
1045
+ -0.7234516739845276,
1046
+ -0.2137162834405899,
1047
+ 0.0,
1048
+ -0.4363322854042053,
1049
+ -1.2217304706573486,
1050
+ 0.0,
1051
+ -0.6005052924156189,
1052
+ 0.0,
1053
+ 0.0,
1054
+ 0.0,
1055
+ 0.0,
1056
+ 0.0,
1057
+ 0.0,
1058
+ 0.0,
1059
+ 0.0,
1060
+ 0.0,
1061
+ 0.0,
1062
+ 0.0,
1063
+ 0.0,
1064
+ 0.0,
1065
+ 0.0,
1066
+ 0.0,
1067
+ 0.0,
1068
+ 0.0,
1069
+ 0.0,
1070
+ 0.0,
1071
+ 0.0,
1072
+ 0.0,
1073
+ 0.0,
1074
+ 0.0,
1075
+ 0.0,
1076
+ 0.0,
1077
+ 0.0,
1078
+ 0.0,
1079
+ -0.033399999141693115,
1080
+ -0.10440000146627426,
1081
+ 0.0,
1082
+ -0.05559999868273735,
1083
+ -0.029100000858306885,
1084
+ 0.0,
1085
+ 0.0,
1086
+ 0.0,
1087
+ 0.0,
1088
+ 0.0,
1089
+ 0.0,
1090
+ 0.0,
1091
+ 0.0,
1092
+ 0.0,
1093
+ 0.0,
1094
+ 0.0,
1095
+ 0.0
1096
+ ],
1097
+ "max": [
1098
+ -0.10000000149011612,
1099
+ 0.0,
1100
+ 0.0,
1101
+ 0.25,
1102
+ 0.0,
1103
+ -0.15000000596046448,
1104
+ -0.10000000149011612,
1105
+ 0.0,
1106
+ 0.0,
1107
+ 0.25,
1108
+ 0.0,
1109
+ -0.15000000596046448,
1110
+ 0.0,
1111
+ 0.0,
1112
+ 0.0,
1113
+ 0.25,
1114
+ 0.10000000149011612,
1115
+ 0.0,
1116
+ 1.0,
1117
+ 0.0,
1118
+ 0.0,
1119
+ 0.0,
1120
+ 0.5866223573684692,
1121
+ -0.06458767503499985,
1122
+ 0.8743140697479248,
1123
+ 1.1923998594284058,
1124
+ 2.6179938316345215,
1125
+ 0.4363322854042053,
1126
+ 0.18158245086669922,
1127
+ 0.6523595452308655,
1128
+ 0.0,
1129
+ 0.0,
1130
+ 0.0,
1131
+ 0.0,
1132
+ 0.0,
1133
+ 0.0,
1134
+ 0.0,
1135
+ 0.0,
1136
+ 0.0,
1137
+ 0.0,
1138
+ 0.0,
1139
+ 0.0,
1140
+ 0.0,
1141
+ 0.0,
1142
+ 0.0,
1143
+ 0.0,
1144
+ 0.0,
1145
+ 0.0,
1146
+ 0.0,
1147
+ 0.0,
1148
+ 0.0,
1149
+ 0.0,
1150
+ 0.0,
1151
+ 1.5707999467849731,
1152
+ 1.4276299476623535,
1153
+ 0.251800000667572,
1154
+ 1.5707999467849731,
1155
+ 1.4098104238510132,
1156
+ 0.2409999966621399,
1157
+ 0.16740000247955322,
1158
+ 1.5707999467849731,
1159
+ 0.0,
1160
+ 0.3490999937057495,
1161
+ 1.7408000230789185,
1162
+ 1.745300054550171,
1163
+ 0.04050000011920929,
1164
+ 1.745300054550171,
1165
+ 1.233299970626831,
1166
+ 1.396299958229065,
1167
+ 1.3615000247955322,
1168
+ 1.745300054550171,
1169
+ 1.0814000368118286,
1170
+ 0.3490999937057495,
1171
+ 0.9969000220298767,
1172
+ 0.4447999894618988
1173
+ ],
1174
+ "mean": [
1175
+ -0.10000000149011612,
1176
+ 0.0,
1177
+ 0.0,
1178
+ 0.25,
1179
+ 0.0,
1180
+ -0.15000000596046448,
1181
+ -0.10000000149011612,
1182
+ 0.0,
1183
+ 0.0,
1184
+ 0.25,
1185
+ 0.0,
1186
+ -0.15000000596046448,
1187
+ 0.0,
1188
+ 0.0,
1189
+ 0.0,
1190
+ 0.25,
1191
+ 0.10000000149011612,
1192
+ 0.0,
1193
+ 1.0,
1194
+ 0.0,
1195
+ 0.0,
1196
+ 0.0,
1197
+ -0.3844676993563776,
1198
+ -0.4635392729059665,
1199
+ -0.025321531695698816,
1200
+ 0.1565658989158264,
1201
+ 1.9096198221052831,
1202
+ 0.3027108377102684,
1203
+ -0.6802851635135142,
1204
+ 0.4717552163889123,
1205
+ -0.3293787508809817,
1206
+ 0.0,
1207
+ 0.0,
1208
+ 0.0,
1209
+ 0.0,
1210
+ 0.0,
1211
+ 0.0,
1212
+ 0.0,
1213
+ 0.0,
1214
+ 0.0,
1215
+ 0.0,
1216
+ 0.0,
1217
+ 0.0,
1218
+ 0.0,
1219
+ 0.0,
1220
+ 0.0,
1221
+ 0.0,
1222
+ 0.0,
1223
+ 0.0,
1224
+ 0.0,
1225
+ 0.0,
1226
+ 0.0,
1227
+ 0.0,
1228
+ 0.9163668700463455,
1229
+ 1.0774307526623856,
1230
+ 0.18450656518916894,
1231
+ 1.2577362062853386,
1232
+ 0.8662071389505672,
1233
+ 0.014139693930753192,
1234
+ -0.0783472468063956,
1235
+ 1.3026880926927225,
1236
+ -0.049635624906086466,
1237
+ 0.16960392906218702,
1238
+ 1.350968706312699,
1239
+ 1.4543478794042892,
1240
+ 0.004224006560807533,
1241
+ 1.4160855530328746,
1242
+ 0.50399988500309,
1243
+ 1.0411720162838662,
1244
+ 0.8450646923517636,
1245
+ 1.3060351313492584,
1246
+ 0.8567824521623536,
1247
+ 0.21634492012668474,
1248
+ 0.7710784049796209,
1249
+ 0.1639630493265118
1250
+ ],
1251
+ "std": [
1252
+ 0.0,
1253
+ 0.0,
1254
+ 0.0,
1255
+ 0.0,
1256
+ 0.0,
1257
+ 0.0,
1258
+ 0.0,
1259
+ 0.0,
1260
+ 0.0,
1261
+ 0.0,
1262
+ 0.0,
1263
+ 0.0,
1264
+ 0.0,
1265
+ 0.0,
1266
+ 0.0,
1267
+ 0.0,
1268
+ 0.0,
1269
+ 0.0,
1270
+ 0.0,
1271
+ 0.0,
1272
+ 0.0,
1273
+ 0.0,
1274
+ 0.27101139510542965,
1275
+ 0.18306758167232656,
1276
+ 0.2321427862317003,
1277
+ 0.2921806368614239,
1278
+ 0.5575150219880946,
1279
+ 0.14082600312771132,
1280
+ 0.2889364190439442,
1281
+ 0.13317078744611063,
1282
+ 0.1862851560996197,
1283
+ 0.0,
1284
+ 0.0,
1285
+ 0.0,
1286
+ 0.0,
1287
+ 0.0,
1288
+ 0.0,
1289
+ 0.0,
1290
+ 0.0,
1291
+ 0.0,
1292
+ 0.0,
1293
+ 0.0,
1294
+ 0.0,
1295
+ 0.0,
1296
+ 0.0,
1297
+ 0.0,
1298
+ 0.0,
1299
+ 0.0,
1300
+ 0.0,
1301
+ 0.0,
1302
+ 0.0,
1303
+ 0.0,
1304
+ 0.0,
1305
+ 0.41432510347711093,
1306
+ 0.4441289438708921,
1307
+ 0.10036169364443552,
1308
+ 0.5129014869126945,
1309
+ 0.5543047289959324,
1310
+ 0.051528101258709685,
1311
+ 0.05980456667607573,
1312
+ 0.5129086732788993,
1313
+ 0.014518427034505595,
1314
+ 0.18576907372151935,
1315
+ 0.5885033266135186,
1316
+ 0.5690668726302637,
1317
+ 0.012073895925927702,
1318
+ 0.5545709581524755,
1319
+ 0.39820855145902984,
1320
+ 0.41600444476329074,
1321
+ 0.34343361130221534,
1322
+ 0.6451957528324598,
1323
+ 0.3560204635861576,
1324
+ 0.13912312189696266,
1325
+ 0.3411755546820009,
1326
+ 0.10772567046676199
1327
+ ]
1328
+ }
1329
+ },
1330
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
1331
+ "task": "a15v3",
1332
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
1333
+ "step": 10750,
1334
+ "weights": "ema",
1335
+ "offline_eval": {
1336
+ "mse": 0.04126323387026787,
1337
+ "mse_row0": 0.0678560808300972,
1338
+ "mse_body_target": 0.028143523260951042,
1339
+ "mse_hands": 0.05050665885210037,
1340
+ "samples": 256,
1341
+ "frames": "train"
1342
+ },
1343
+ "format": "hb_baselines/1"
1344
+ }
a15-hitting-nail/b512-f0-s13000/step-010750/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:991bffa1021ef8b12a363df50c7537db29d3215a482829d7ad0fd129b0fd2917
3
+ size 170849405
a15-hitting-nail/b512-f0-s13000/step-010750/protocol.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 10750,
4
+ "policy": "flash",
5
+ "task": "a15v3",
6
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
7
+ "episodes": 150,
8
+ "frames": 86267,
9
+ "fps": 30.0,
10
+ "steps": 13000,
11
+ "total_steps": 13000,
12
+ "save_steps": [
13
+ 2250,
14
+ 4250,
15
+ 6500,
16
+ 8750,
17
+ 10750,
18
+ 13000
19
+ ],
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "lr": 0.0001,
25
+ "warmup": 500,
26
+ "schedule": "diffusers_cosine",
27
+ "seed": 42,
28
+ "aug_seed": 42,
29
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
30
+ "code_dirty": null,
31
+ "environment": {
32
+ "python": "3.12.1",
33
+ "torch": "2.9.0+cu128",
34
+ "numpy": "2.2.6",
35
+ "cuda": "12.8",
36
+ "cudnn": 91002,
37
+ "torchvision": "0.24.0+cu128",
38
+ "pillow": "12.3.0",
39
+ "gpu": "NVIDIA GeForce RTX 4090 D",
40
+ "driver": "550.127.05"
41
+ },
42
+ "continuation": null,
43
+ "protocol_deviations": [
44
+ "steps 13000 (protocol 12000)"
45
+ ],
46
+ "protocol_exceptions": [
47
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
48
+ "owner 2026-11-30 (「team01 这两张卡先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
49
+ ],
50
+ "files": {
51
+ "config.json": {
52
+ "bytes": 22877,
53
+ "sha256": "e354bf6ef1dd3c3cfbbd24e4d04c1e7e7c67bb96c9ce9f995870b6e01560258f"
54
+ },
55
+ "model.pt": {
56
+ "bytes": 170849405,
57
+ "sha256": "991bffa1021ef8b12a363df50c7537db29d3215a482829d7ad0fd129b0fd2917"
58
+ }
59
+ },
60
+ "global_step": 10750,
61
+ "run_step": 10750,
62
+ "stop_at": null,
63
+ "planned_total_steps": 13000,
64
+ "task_dir": "a15-hitting-nail",
65
+ "training_data": "humanoid-benchmark/a15-hitting-nail @139187e6 (v3, three-factor stall trim, 150 episodes, H2 head + chest)",
66
+ "published_steps": [
67
+ 6500,
68
+ 10750,
69
+ 13000
70
+ ],
71
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
72
+ "ema": 0.9999,
73
+ "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",
74
+ "state_dim": 78,
75
+ "action_dim": 75,
76
+ "cameras": [
77
+ "head",
78
+ "chest"
79
+ ],
80
+ "contract": "h2_sharpa",
81
+ "image_hw": [
82
+ 168,
83
+ 224
84
+ ],
85
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
86
+ "inloop_mse": {
87
+ "task": "a15v3",
88
+ "split": "train10",
89
+ "every": 250,
90
+ "seed": 1234,
91
+ "weights": "ema",
92
+ "nmse_at_this_step": 0.344,
93
+ "lowest_published": 6500,
94
+ "curve": {
95
+ "250": 0.1964,
96
+ "500": 0.2047,
97
+ "750": 0.2588,
98
+ "1000": 0.3207,
99
+ "1250": 0.3675,
100
+ "1500": 0.3947,
101
+ "1750": 0.423,
102
+ "2000": 0.4492,
103
+ "2250": 0.4628,
104
+ "2500": 0.4572,
105
+ "2750": 0.4387,
106
+ "3000": 0.4166,
107
+ "3250": 0.3964,
108
+ "3500": 0.3786,
109
+ "3750": 0.3662,
110
+ "4000": 0.3564,
111
+ "4250": 0.3485,
112
+ "4500": 0.3406,
113
+ "4750": 0.3337,
114
+ "5000": 0.3274,
115
+ "5250": 0.3218,
116
+ "5500": 0.3182,
117
+ "5750": 0.3176,
118
+ "6000": 0.3182,
119
+ "6250": 0.3181,
120
+ "6500": 0.3182,
121
+ "6750": 0.3192,
122
+ "7000": 0.3204,
123
+ "7250": 0.3221,
124
+ "7500": 0.3242,
125
+ "7750": 0.3259,
126
+ "8000": 0.3283,
127
+ "8250": 0.3305,
128
+ "8500": 0.332,
129
+ "8750": 0.3337,
130
+ "9000": 0.3357,
131
+ "9250": 0.3371,
132
+ "9500": 0.3387,
133
+ "9750": 0.3399,
134
+ "10000": 0.341,
135
+ "10250": 0.3419,
136
+ "10500": 0.343,
137
+ "10750": 0.344,
138
+ "11000": 0.3453,
139
+ "11250": 0.3465,
140
+ "11500": 0.3474,
141
+ "11750": 0.348,
142
+ "12000": 0.3488,
143
+ "12250": 0.3493,
144
+ "12500": 0.3498,
145
+ "12750": 0.3501,
146
+ "13000": 0.3505
147
+ }
148
+ },
149
+ "reproducibility": {
150
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/main/hb_training/REPRODUCIBILITY.md",
151
+ "protocol_commit": "dbd9bfe529e2a3229d01ad9e27b102cf9d821eec",
152
+ "training_seed": 42,
153
+ "inloop_mse_seed": 1234,
154
+ "aug_seed": 42,
155
+ "layout": {
156
+ "nodes": 1,
157
+ "gpus": 1,
158
+ "per_gpu_batch": 512,
159
+ "global_batch": 512,
160
+ "gradient_accumulation": 1,
161
+ "num_workers": 40,
162
+ "prefetch": 2
163
+ },
164
+ "environment": "hb-baselines (Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
165
+ "hardware": "NVIDIA GeForce RTX 4090 D (this checkpoint); trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512, no gradient accumulation; environment /root/.venvs/hb-baselines on team01 (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0)",
166
+ "code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ bf40b9df05f60870ac9e4ab3acef11a871925a40 (FLASH first_history frame0, the default) (git archive on team01 vePFS, HB_CODE_COMMIT)",
167
+ "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",
168
+ "exceptions": [
169
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
170
+ "owner 2026-11-30 (「team01 这两张卡先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
171
+ ]
172
+ },
173
+ "inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/ in the last step has the exact code",
174
+ "resume_state_included": false
175
+ }
a15-hitting-nail/b512-f0-s13000/step-013000/SHA256SUMS ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 7e235f0d75da8ee916bbf217aebe3fd6338fae63efb4029beb895ccdbd505e45 config.json
2
+ 00d01671dd267a1e8925978f37e15c0aa2fe04b75a5f236cbde6165f2c8eef63 model.pt
3
+ 5e3bce12f9b4dacd9ff5f6c0406ce55ab6de01ee2cc9f2bfd250a3132d6591ff protocol.json
4
+ 4312b68fd3885f49c71f0958e8f65c60bdb99b43f0aaeb84c449fe913ef8fa50 training_records/code_hb_bai_bf40b9df/HB_CODE_COMMIT
5
+ 9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde training_records/code_hb_bai_bf40b9df/evaluation/augmentation/hb_aug_v2.py
6
+ bfbb52f85ac5d91e37f3cfc24bb8671de447b5b566760bfe091204ae69e1f7f6 training_records/code_hb_bai_bf40b9df/evaluation/baselines/__init__.py
7
+ 3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19 training_records/code_hb_bai_bf40b9df/evaluation/baselines/act_nets.py
8
+ f5dc4607af75ec28a03c87a817537c4b121d1310cffd1c1600f7ae6238a42330 training_records/code_hb_bai_bf40b9df/evaluation/baselines/adapters.py
9
+ b3a46b69af51354a92a1a4428d00c2370c977e9136aebd4092e15f52c6fd5db8 training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_adapter.py
10
+ fafa2663786d53cb865370a342fbdb1df80d3cf910aea31489e603deb50e1073 training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_first_history.py
11
+ 1a5f6286ee9d1c463649d112131fac6f5a97df0d070ad7a6ca375e8d6be78a37 training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_parity.py
12
+ ce4f10cff8714d8e83900e1d821ef417577a612cacfa4bdda29fbc6630abf176 training_records/code_hb_bai_bf40b9df/evaluation/baselines/data.py
13
+ 572f5655353fc582cfc44b67026c4af6b81edd16ec8b4255cc72f62376cc1c66 training_records/code_hb_bai_bf40b9df/evaluation/baselines/flash.py
14
+ c987d9e641f5e5266703a8154b708d9ccab203b06d5ab82774d39a1cba602d62 training_records/code_hb_bai_bf40b9df/evaluation/baselines/fm_dit_v2.py
15
+ 373908420a1feb62e89b3d47e187c96435ea63d2b9083ef07ac028ce48425f5a training_records/code_hb_bai_bf40b9df/evaluation/baselines/inloop.py
16
+ 2d72e3c455d5e376a6f5954886fd4c7a6478eb516380c6a05515fa043c62fbce training_records/code_hb_bai_bf40b9df/evaluation/baselines/nets.py
17
+ 38f2ea6050fa45e6c0d5e3f19caf21f1a72a50f80e356044dddcf76da22b144a training_records/code_hb_bai_bf40b9df/evaluation/baselines/ode_nets.py
18
+ 74ca169fe453f64bf6ffc3f3a85a4208aed2961d0abd9eb3e92b96457f86daf1 training_records/code_hb_bai_bf40b9df/evaluation/baselines/policies.py
19
+ 4b79b9dcc98f05bfe7bc9e64e3492f4565728f6d1f75cbdecc1c817d03ff32a5 training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.lock.txt
20
+ 56a8db94a98c5256028b475d9a0293cdee4cf475e415df763b3a0232433663ba training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.txt
21
+ 6e5e4bf195f36a22c5f9922a1147b72c0659cfe807b144dde7810baf8c54d005 training_records/code_hb_bai_bf40b9df/evaluation/baselines/runtime.py
22
+ 2df490b43b5f8df10a008eebf1ae700d76e58a5b13c659bcc12b9b3a98e6d9a2 training_records/code_hb_bai_bf40b9df/evaluation/baselines/train.py
23
+ 823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159 training_records/code_hb_bai_bf40b9df/evaluation/policy/FLASH/model.py
24
+ 9377794120fa47dc220f68e55eb8ec527175595b7b9e22d677beb712587c7734 training_records/complete.json
25
+ 39503a6c33b1c10ba4d6e2409317eb560c1fa37e1111801b8024b1a1dd510678 training_records/launch.sh
26
+ f1aea90b68540b4e47836d33534650e763f62842aaa8b157b5a1ab86a9484506 training_records/logs/inloop-mse.jsonl
27
+ 995f7e54f49aa32c37a2805432b9e53e784fa4a96c86594df6dcbd08b98cacb5 training_records/pip_freeze_hb-baselines.txt
28
+ e7b3c66f43466c4cc98312b49c4b16f15ba7567659904cbf67c11a3a87729d6f training_records/run.json
29
+ c0fd58098ac10096808dd2c7df4e2df7c0daadd2b652d191da1f8999283c63dd training_records/train.log
30
+ 62d6270f63a6eae43d6954f3d48af36557834925f60963577b4b8e5877c0c7fd training_records/train_log.jsonl
a15-hitting-nail/b512-f0-s13000/step-013000/config.json ADDED
@@ -0,0 +1,1344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "policy": {
3
+ "policy": "flash",
4
+ "n_cameras": 2,
5
+ "state_dim": 78,
6
+ "action_dim": 75,
7
+ "horizon": 16,
8
+ "backbone": "resnet18",
9
+ "backbone_weights": null,
10
+ "backbone_norm": "group",
11
+ "hidden_dim": 512,
12
+ "num_layers": 4,
13
+ "num_heads": 8,
14
+ "mlp_ratio": 4.0,
15
+ "dropout": 0.0,
16
+ "time_embed_dim": 256,
17
+ "num_inference_steps": 1,
18
+ "num_train_timesteps": 100,
19
+ "beta_schedule": "squaredcos_cap_v2",
20
+ "prediction_type": "epsilon",
21
+ "clip_sample": true,
22
+ "act_hidden_dim": 512,
23
+ "dim_feedforward": 3200,
24
+ "enc_layers": 4,
25
+ "dec_layers": 7,
26
+ "nheads": 8,
27
+ "latent_dim": 32,
28
+ "kl_weight": 10.0,
29
+ "ode_body_dim": null,
30
+ "ode_width": 512,
31
+ "ode_layers": 4,
32
+ "ode_cond_dim": 512,
33
+ "ode_field_scale": 1.0,
34
+ "ode_dit_hidden": 512,
35
+ "ode_dit_layers": 4,
36
+ "ode_dit_heads": 8,
37
+ "ode_dit_tokens": 4,
38
+ "extra": {
39
+ "flash": {
40
+ "stride": 2,
41
+ "n_history": 8,
42
+ "n_action": 8,
43
+ "rows": 16,
44
+ "poly_order": 6,
45
+ "fit_pad": 1,
46
+ "boundary_constraint": true,
47
+ "poly_prefix": 1,
48
+ "poly_suffix": 1,
49
+ "history_noise_std": 0.5,
50
+ "history_reg_lambda": 0.1,
51
+ "consistency_weight": 1.0,
52
+ "solver": "euler",
53
+ "first_history": "frame0",
54
+ "first_history_state": [
55
+ 0,
56
+ 1,
57
+ 2,
58
+ 3,
59
+ 4,
60
+ 5,
61
+ 6,
62
+ 7,
63
+ 8,
64
+ 9,
65
+ 10,
66
+ 11,
67
+ 12,
68
+ 13,
69
+ 14,
70
+ 15,
71
+ 16,
72
+ 17,
73
+ 18,
74
+ 19,
75
+ 20,
76
+ 21,
77
+ 22,
78
+ 23,
79
+ 24,
80
+ 25,
81
+ 26,
82
+ 27,
83
+ 28,
84
+ 29,
85
+ 30,
86
+ 31,
87
+ 32,
88
+ 33,
89
+ 34,
90
+ 35,
91
+ 36,
92
+ 37,
93
+ 38,
94
+ 39,
95
+ 40,
96
+ 41,
97
+ 42,
98
+ 43,
99
+ 44,
100
+ 45,
101
+ 46,
102
+ 47,
103
+ 48,
104
+ 49,
105
+ 50,
106
+ 51,
107
+ 52,
108
+ 53,
109
+ 54,
110
+ 55,
111
+ 56,
112
+ 57,
113
+ 58,
114
+ 59,
115
+ 60,
116
+ 61,
117
+ 62,
118
+ 63,
119
+ 64,
120
+ 65,
121
+ 66,
122
+ 67,
123
+ 68,
124
+ 69,
125
+ 70,
126
+ 71,
127
+ 72,
128
+ 73,
129
+ 74
130
+ ],
131
+ "first_history_value": [
132
+ 0.0,
133
+ 0.0,
134
+ 0.0,
135
+ 0.0,
136
+ 0.0,
137
+ 0.0,
138
+ 0.0,
139
+ 0.0,
140
+ 0.0,
141
+ 0.0,
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 0.0,
146
+ 0.0,
147
+ 0.0,
148
+ 0.0,
149
+ 0.0,
150
+ 0.0,
151
+ 0.0,
152
+ 0.0,
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0,
159
+ 0.0,
160
+ 0.0,
161
+ 0.0,
162
+ 0.0,
163
+ 0.0,
164
+ 0.0,
165
+ 0.0,
166
+ 0.0,
167
+ 0.0,
168
+ 0.0,
169
+ 0.0,
170
+ 0.0,
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 0.0,
198
+ 0.0,
199
+ 0.0,
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 0.0,
204
+ 0.0,
205
+ 0.0,
206
+ 0.0
207
+ ]
208
+ }
209
+ }
210
+ },
211
+ "contract": {
212
+ "name": "h2_sharpa",
213
+ "robot": "h2_sharpa",
214
+ "cameras": [
215
+ "head",
216
+ "chest"
217
+ ],
218
+ "state": [
219
+ [
220
+ "observation.state",
221
+ 0,
222
+ 75
223
+ ],
224
+ [
225
+ "observation.projected_gravity",
226
+ 0,
227
+ 3
228
+ ]
229
+ ],
230
+ "action": [
231
+ [
232
+ "action.body_target",
233
+ 0,
234
+ 31
235
+ ],
236
+ [
237
+ "action.hands",
238
+ 0,
239
+ 44
240
+ ]
241
+ ],
242
+ "state_dim": 78,
243
+ "action_dim": 75,
244
+ "action_space": null,
245
+ "body_dims": 31
246
+ },
247
+ "image_hw": [
248
+ 168,
249
+ 224
250
+ ],
251
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
252
+ "dataset": {
253
+ "name": "data",
254
+ "root": "/mnt/vepfs/baijiaqi/hb_team01_20261130/a15-hitting-nail-v3-139187e/data",
255
+ "robot_type": "h2_sharpa",
256
+ "fps": 30.0,
257
+ "episodes": [
258
+ 0,
259
+ 1,
260
+ 2,
261
+ 3,
262
+ 4,
263
+ 5,
264
+ 6,
265
+ 7,
266
+ 8,
267
+ 9,
268
+ 10,
269
+ 11,
270
+ 12,
271
+ 13,
272
+ 14,
273
+ 15,
274
+ 16,
275
+ 17,
276
+ 18,
277
+ 19,
278
+ 20,
279
+ 21,
280
+ 22,
281
+ 23,
282
+ 24,
283
+ 25,
284
+ 26,
285
+ 27,
286
+ 28,
287
+ 29,
288
+ 30,
289
+ 31,
290
+ 32,
291
+ 33,
292
+ 34,
293
+ 35,
294
+ 36,
295
+ 37,
296
+ 38,
297
+ 39,
298
+ 40,
299
+ 41,
300
+ 42,
301
+ 43,
302
+ 44,
303
+ 45,
304
+ 46,
305
+ 47,
306
+ 48,
307
+ 49,
308
+ 50,
309
+ 51,
310
+ 52,
311
+ 53,
312
+ 54,
313
+ 55,
314
+ 56,
315
+ 57,
316
+ 58,
317
+ 59,
318
+ 60,
319
+ 61,
320
+ 62,
321
+ 63,
322
+ 64,
323
+ 65,
324
+ 66,
325
+ 67,
326
+ 68,
327
+ 69,
328
+ 70,
329
+ 71,
330
+ 72,
331
+ 73,
332
+ 74,
333
+ 75,
334
+ 76,
335
+ 77,
336
+ 78,
337
+ 79,
338
+ 80,
339
+ 81,
340
+ 82,
341
+ 83,
342
+ 84,
343
+ 85,
344
+ 86,
345
+ 87,
346
+ 88,
347
+ 89,
348
+ 90,
349
+ 91,
350
+ 92,
351
+ 93,
352
+ 94,
353
+ 95,
354
+ 96,
355
+ 97,
356
+ 98,
357
+ 99,
358
+ 100,
359
+ 101,
360
+ 102,
361
+ 103,
362
+ 104,
363
+ 105,
364
+ 106,
365
+ 107,
366
+ 108,
367
+ 109,
368
+ 110,
369
+ 111,
370
+ 112,
371
+ 113,
372
+ 114,
373
+ 115,
374
+ 116,
375
+ 117,
376
+ 118,
377
+ 119,
378
+ 120,
379
+ 121,
380
+ 122,
381
+ 123,
382
+ 124,
383
+ 125,
384
+ 126,
385
+ 127,
386
+ 128,
387
+ 129,
388
+ 130,
389
+ 131,
390
+ 132,
391
+ 133,
392
+ 134,
393
+ 135,
394
+ 136,
395
+ 137,
396
+ 138,
397
+ 139,
398
+ 140,
399
+ 141,
400
+ 142,
401
+ 143,
402
+ 144,
403
+ 145,
404
+ 146,
405
+ 147,
406
+ 148,
407
+ 149
408
+ ],
409
+ "train_episodes": [
410
+ 0,
411
+ 1,
412
+ 2,
413
+ 3,
414
+ 4,
415
+ 5,
416
+ 6,
417
+ 7,
418
+ 8,
419
+ 9,
420
+ 10,
421
+ 11,
422
+ 12,
423
+ 13,
424
+ 14,
425
+ 15,
426
+ 16,
427
+ 17,
428
+ 18,
429
+ 19,
430
+ 20,
431
+ 21,
432
+ 22,
433
+ 23,
434
+ 24,
435
+ 25,
436
+ 26,
437
+ 27,
438
+ 28,
439
+ 29,
440
+ 30,
441
+ 31,
442
+ 32,
443
+ 33,
444
+ 34,
445
+ 35,
446
+ 36,
447
+ 37,
448
+ 38,
449
+ 39,
450
+ 40,
451
+ 41,
452
+ 42,
453
+ 43,
454
+ 44,
455
+ 45,
456
+ 46,
457
+ 47,
458
+ 48,
459
+ 49,
460
+ 50,
461
+ 51,
462
+ 52,
463
+ 53,
464
+ 54,
465
+ 55,
466
+ 56,
467
+ 57,
468
+ 58,
469
+ 59,
470
+ 60,
471
+ 61,
472
+ 62,
473
+ 63,
474
+ 64,
475
+ 65,
476
+ 66,
477
+ 67,
478
+ 68,
479
+ 69,
480
+ 70,
481
+ 71,
482
+ 72,
483
+ 73,
484
+ 74,
485
+ 75,
486
+ 76,
487
+ 77,
488
+ 78,
489
+ 79,
490
+ 80,
491
+ 81,
492
+ 82,
493
+ 83,
494
+ 84,
495
+ 85,
496
+ 86,
497
+ 87,
498
+ 88,
499
+ 89,
500
+ 90,
501
+ 91,
502
+ 92,
503
+ 93,
504
+ 94,
505
+ 95,
506
+ 96,
507
+ 97,
508
+ 98,
509
+ 99,
510
+ 100,
511
+ 101,
512
+ 102,
513
+ 103,
514
+ 104,
515
+ 105,
516
+ 106,
517
+ 107,
518
+ 108,
519
+ 109,
520
+ 110,
521
+ 111,
522
+ 112,
523
+ 113,
524
+ 114,
525
+ 115,
526
+ 116,
527
+ 117,
528
+ 118,
529
+ 119,
530
+ 120,
531
+ 121,
532
+ 122,
533
+ 123,
534
+ 124,
535
+ 125,
536
+ 126,
537
+ 127,
538
+ 128,
539
+ 129,
540
+ 130,
541
+ 131,
542
+ 132,
543
+ 133,
544
+ 134,
545
+ 135,
546
+ 136,
547
+ 137,
548
+ 138,
549
+ 139,
550
+ 140,
551
+ 141,
552
+ 142,
553
+ 143,
554
+ 144,
555
+ 145,
556
+ 146,
557
+ 147,
558
+ 148,
559
+ 149
560
+ ],
561
+ "val_episodes": [],
562
+ "train_frames": 86267,
563
+ "git_commit": "6ce120cceb6bbe5dda177208dc99f48a8820699a"
564
+ },
565
+ "training": {
566
+ "steps": 13000,
567
+ "batch_size": 512,
568
+ "lr": 0.0001,
569
+ "betas": [
570
+ 0.95,
571
+ 0.999
572
+ ],
573
+ "weight_decay": 1e-06,
574
+ "warmup": 500,
575
+ "schedule": "diffusers_cosine",
576
+ "backbone_lr_scale": 1.0,
577
+ "ema": 0.9999,
578
+ "shift_px": 0,
579
+ "amp": true,
580
+ "seed": 42,
581
+ "augmentation": {
582
+ "spec": "docs/augmentation_v2.md",
583
+ "version": "hb-aug-v2-20261109",
584
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
585
+ "visual": {
586
+ "effects": [
587
+ "exposure",
588
+ "contrast",
589
+ "saturation",
590
+ "hue",
591
+ "gamma",
592
+ "temperature",
593
+ "rotation_crop",
594
+ "noise",
595
+ "gaussian_blur",
596
+ "jpeg",
597
+ "motion_blur",
598
+ "sharpen",
599
+ "defocus",
600
+ "light_shadow",
601
+ "wb_channel"
602
+ ],
603
+ "boosted_per_sample": 1,
604
+ "boost": 1.5,
605
+ "pixel_scale": "H / 224",
606
+ "future_targets": "none (one observation frame)"
607
+ },
608
+ "proprio": {
609
+ "robot": "h2_sharpa",
610
+ "body_dims": 31,
611
+ "bias_deg": 2.0,
612
+ "bias_scope": "per_sample",
613
+ "noise_deg": 0.25,
614
+ "noise_clip_sigma": 3,
615
+ "delay_probability": 0.0,
616
+ "history_drop_probability": 0.0,
617
+ "velocity": false
618
+ },
619
+ "native_image_augmentation": "off",
620
+ "evaluation": "off"
621
+ },
622
+ "preflight": {
623
+ "samples": 64,
624
+ "state_dim": 78,
625
+ "body_dims": 31,
626
+ "images_changed": 64,
627
+ "body_values_moved": 1.0,
628
+ "max_body_offset_deg": 2.5455,
629
+ "actions_bit_identical": true,
630
+ "non_body_state_bit_identical": true,
631
+ "eval_items_deterministic": 8
632
+ },
633
+ "aug_seed": 42,
634
+ "layout": {
635
+ "nodes": 1,
636
+ "gpus": 1,
637
+ "per_gpu_batch": 512,
638
+ "global_batch": 512,
639
+ "gradient_accumulation": 1,
640
+ "num_workers": 40,
641
+ "prefetch": 2
642
+ },
643
+ "continuation": null,
644
+ "total_steps": 13000,
645
+ "save_steps": [
646
+ 2250,
647
+ 4250,
648
+ 6500,
649
+ 8750,
650
+ 10750,
651
+ 13000
652
+ ],
653
+ "save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
654
+ "protocol_exceptions": [
655
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
656
+ "owner 2026-11-30 (\u300cteam01 \u8fd9\u4e24\u5f20\u5361\u5148\u88c5\u597d\u73af\u5883\uff0c\u7136\u540e\u5206\u62c5\u6211\u4eec\u8fd9\u8fb9\u5176\u4ed6\u7684\u4efb\u52a1\uff0c\u8bad\u7ec3\u3001\u8bc4\u4f30\u90fd\u53ef\u4ee5\u300d): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
657
+ ],
658
+ "ema_schedule": "diffusion_policy_emamodel",
659
+ "inloop": {
660
+ "task": "a15v3",
661
+ "code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse",
662
+ "every": 250,
663
+ "exception": null,
664
+ "code_sha256": {
665
+ "hb_inloop_core.py": "154fa6d905e32d61c0def546caf6979c3a148b7bef0c1284e773b9051dddce97",
666
+ "hb_eval_common.py": "d89b1bfc1ac03d489b6ba2ac7c61eab3f318023ec37677dd5ee02b93d851d6ac"
667
+ }
668
+ },
669
+ "protocol_recipe": {
670
+ "batch_size": 512,
671
+ "steps": 12000,
672
+ "warmup": 500,
673
+ "workers": 40,
674
+ "long_task_factor": 1
675
+ },
676
+ "protocol_deviations": [
677
+ "steps 13000 (protocol 12000)"
678
+ ],
679
+ "environment": {
680
+ "python": "3.12.1",
681
+ "torch": "2.9.0+cu128",
682
+ "numpy": "2.2.6",
683
+ "cuda": "12.8",
684
+ "cudnn": 91002,
685
+ "torchvision": "0.24.0+cu128",
686
+ "pillow": "12.3.0",
687
+ "gpu": "NVIDIA GeForce RTX 4090 D",
688
+ "driver": "550.127.05"
689
+ },
690
+ "code_dirty": null,
691
+ "allow_dirty_tree": false,
692
+ "augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
693
+ "order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
694
+ "upstream": "NTUMARS/FLASH-Policy@f47e490"
695
+ },
696
+ "stats": {
697
+ "state": {
698
+ "min": [
699
+ -0.09997769445180893,
700
+ -0.00021537415159400553,
701
+ -0.0018031895160675049,
702
+ 0.23896919190883636,
703
+ -0.0032215823885053396,
704
+ -0.16552682220935822,
705
+ -0.10010066628456116,
706
+ -0.005005246959626675,
707
+ -0.0010331370867788792,
708
+ 0.2388608306646347,
709
+ -0.0007713548839092255,
710
+ -0.16637399792671204,
711
+ -0.0036116293631494045,
712
+ -0.0005855314084328711,
713
+ -0.012959281913936138,
714
+ 0.2377660870552063,
715
+ 0.10000789910554886,
716
+ 0.0028428281657397747,
717
+ 0.993225634098053,
718
+ -0.002429646672680974,
719
+ -0.005298535339534283,
720
+ 0.005146781913936138,
721
+ -0.7949823141098022,
722
+ -1.1849690675735474,
723
+ -0.764089822769165,
724
+ -0.20890109241008759,
725
+ 0.0010743907187134027,
726
+ -0.4016851782798767,
727
+ -1.223796010017395,
728
+ 0.003484983928501606,
729
+ -0.5965985059738159,
730
+ 8.041491128096823e-06,
731
+ 7.787263712089043e-06,
732
+ -2.0799054709641496e-06,
733
+ 7.4421236604393926e-06,
734
+ 0.001140148495323956,
735
+ -0.0007875783485360444,
736
+ -0.0007883345242589712,
737
+ 7.089955033734441e-06,
738
+ -0.0007868656539358199,
739
+ -0.08961887657642365,
740
+ 1.387537508890091e-06,
741
+ 1.3565856988861924e-06,
742
+ -0.0007850074907764792,
743
+ 1.3112578471918823e-06,
744
+ 0.0007804867927916348,
745
+ 2.1667759142474097e-07,
746
+ 2.1437449504446704e-07,
747
+ 1.2650284588744398e-06,
748
+ 2.100367879620535e-07,
749
+ 0.0004996865172870457,
750
+ 2.0562282543323818e-07,
751
+ 1.8338482732360717e-07,
752
+ 3.5120523534715176e-05,
753
+ 2.6369834813522175e-05,
754
+ -0.0008715128060430288,
755
+ 1.6693044017301872e-05,
756
+ -0.0002734147710725665,
757
+ -0.06660658866167068,
758
+ -0.1113005056977272,
759
+ 1.06078668977716e-05,
760
+ -0.09395170956850052,
761
+ -0.19489309191703796,
762
+ 2.1877663129998837e-06,
763
+ 2.11020801543782e-06,
764
+ -0.03943561017513275,
765
+ 1.9952312868554145e-06,
766
+ 0.001209239475429058,
767
+ 3.277772577803262e-07,
768
+ 3.2084344070426596e-07,
769
+ 1.877936597338703e-06,
770
+ 3.0860724109516013e-07,
771
+ 0.0008695685537531972,
772
+ 2.961393192890682e-07,
773
+ 4.9229495147073976e-08,
774
+ 0.0008595046238042414,
775
+ -0.0009253888856619596,
776
+ -0.9999996423721313
777
+ ],
778
+ "max": [
779
+ -0.09415019303560257,
780
+ 0.004828622564673424,
781
+ 0.0008512705680914223,
782
+ 0.2468973845243454,
783
+ 0.0011205088812857866,
784
+ -0.14899034798145294,
785
+ -0.09456837922334671,
786
+ -0.00035856530303135514,
787
+ 0.001164556248113513,
788
+ 0.24686793982982635,
789
+ 0.002884133020415902,
790
+ -0.14915470778942108,
791
+ 0.003393669379875064,
792
+ 0.011874571442604065,
793
+ 0.004470391198992729,
794
+ 0.25079748034477234,
795
+ 0.11245691776275635,
796
+ 0.005373213440179825,
797
+ 0.9999775290489197,
798
+ -0.0004550613812170923,
799
+ -0.0006144921062514186,
800
+ 0.017257247120141983,
801
+ 0.6067484021186829,
802
+ -0.03932846337556839,
803
+ 0.8707330822944641,
804
+ 1.1787530183792114,
805
+ 2.6213066577911377,
806
+ 0.4448302388191223,
807
+ 0.17772707343101501,
808
+ 0.6958374381065369,
809
+ 1.7674472474027425e-05,
810
+ 0.0021774214692413807,
811
+ 0.002177412388846278,
812
+ 0.000286454422166571,
813
+ 0.0021773858461529016,
814
+ 0.048038650304079056,
815
+ -1.918966336234007e-05,
816
+ -2.0099716493859887e-05,
817
+ 0.0021775541827082634,
818
+ -1.8466966139385477e-05,
819
+ -0.004215856548398733,
820
+ 0.0004085846012458205,
821
+ 0.00040858410648070276,
822
+ -1.7040652892319486e-05,
823
+ 0.00040858116699382663,
824
+ 0.004995528608560562,
825
+ 7.248025212902576e-05,
826
+ 7.248033944051713e-05,
827
+ 0.000408606487326324,
828
+ 7.248002657433972e-05,
829
+ 0.005003098398447037,
830
+ 7.248362089740112e-05,
831
+ 0.0001694808161118999,
832
+ 1.4606938362121582,
833
+ 1.3873600959777832,
834
+ 0.24172371625900269,
835
+ 1.5354737043380737,
836
+ 1.282624363899231,
837
+ 0.21544072031974792,
838
+ 0.1536547690629959,
839
+ 1.5726174116134644,
840
+ 0.08847889304161072,
841
+ -0.002909993752837181,
842
+ 1.6941105127334595,
843
+ 1.7474862337112427,
844
+ 0.12235886603593826,
845
+ 1.7342374324798584,
846
+ 1.1012191772460938,
847
+ 1.3934080600738525,
848
+ 1.3533018827438354,
849
+ 1.7458083629608154,
850
+ 1.0872085094451904,
851
+ 0.34997692704200745,
852
+ 1.0156328678131104,
853
+ 0.386565238237381,
854
+ 0.011892342939972878,
855
+ 0.00036274068406783044,
856
+ -0.9999292492866516
857
+ ],
858
+ "mean": [
859
+ -0.09785526093611452,
860
+ 0.0029796540751150223,
861
+ -0.00011749093636783019,
862
+ 0.24078336613300713,
863
+ -0.001483745781117172,
864
+ -0.16094673989096656,
865
+ -0.09784785629628794,
866
+ -0.003286792622055945,
867
+ 6.359669603595921e-05,
868
+ 0.24135650970587674,
869
+ 0.0014481086974793924,
870
+ -0.16157293961249933,
871
+ -0.00055516285977429,
872
+ 0.004176521286819223,
873
+ 0.001051175742497642,
874
+ 0.2395181341710026,
875
+ 0.10792622612743608,
876
+ 0.004581044781537889,
877
+ 0.9944883175184331,
878
+ -0.0011651024131686418,
879
+ -0.004377417567246881,
880
+ 0.006125923884388435,
881
+ -0.35644952192305274,
882
+ -0.46418886003898757,
883
+ -0.013048485006977669,
884
+ 0.17741333217133373,
885
+ 1.905103833607418,
886
+ 0.30614702442260283,
887
+ -0.7054572112394577,
888
+ 0.5088922210153903,
889
+ -0.32759722949323195,
890
+ 0.00155383075415595,
891
+ 0.0015537752436624434,
892
+ 0.00020132537563169773,
893
+ 0.0015537100449893638,
894
+ 0.033465170018071755,
895
+ -0.0005566219677073042,
896
+ -0.0005569153729970776,
897
+ 0.0015537284846230618,
898
+ -0.0005563826282825237,
899
+ -0.0861267614232954,
900
+ 0.00029127273341124105,
901
+ 0.00029126452302906614,
902
+ -0.0005556223184502122,
903
+ 0.00029125536324850346,
904
+ 0.0043675904196599285,
905
+ 5.153174948852545e-05,
906
+ 5.1530702786641114e-05,
907
+ 0.00029125860617560865,
908
+ 5.1529519222620906e-05,
909
+ 0.00420368666799645,
910
+ 5.153006054694349e-05,
911
+ 0.00011943137353283142,
912
+ 0.8160156590570241,
913
+ 0.9389792287318086,
914
+ 0.1490323148686384,
915
+ 1.2093103380214947,
916
+ 0.7972762943083992,
917
+ -0.0029631480957493486,
918
+ -0.055737382939839715,
919
+ 1.2004745719955285,
920
+ -0.044283933876475896,
921
+ -0.08029388535325555,
922
+ 1.2305006590593395,
923
+ 1.2743632885109408,
924
+ 0.03205499904873027,
925
+ 1.3778912931374658,
926
+ 0.4899848887858702,
927
+ 0.9868204909239197,
928
+ 0.780929127787715,
929
+ 1.1804992306569957,
930
+ 0.8426924277583776,
931
+ 0.20458252311803743,
932
+ 0.7181666232938461,
933
+ 0.15684561085752854,
934
+ 0.007212025231518785,
935
+ -0.00018580798599419722,
936
+ -0.9999714100548942
937
+ ],
938
+ "std": [
939
+ 0.0009067670789237834,
940
+ 0.0008727894346167395,
941
+ 0.0002777191972242325,
942
+ 0.0006466220604173187,
943
+ 0.0007346710346997718,
944
+ 0.0017976988752153227,
945
+ 0.0007769208980955679,
946
+ 0.0006779111896897012,
947
+ 0.00020889763962404415,
948
+ 0.0005150219641825996,
949
+ 0.0006882885320503921,
950
+ 0.0017855112589450538,
951
+ 0.0007098681864201253,
952
+ 0.0024662644695297446,
953
+ 0.0033463154916504646,
954
+ 0.0009304211235617237,
955
+ 0.0008408055498402711,
956
+ 0.00019948119403078555,
957
+ 0.0008665865887054094,
958
+ 0.0001838611778494026,
959
+ 0.0007190760615107812,
960
+ 0.001141946161740247,
961
+ 0.2633559095218504,
962
+ 0.1844559478015024,
963
+ 0.23941128485327795,
964
+ 0.28156390062770453,
965
+ 0.5549049949709923,
966
+ 0.14039245872370573,
967
+ 0.2860102014074455,
968
+ 0.14344760466848627,
969
+ 0.18510505690932832,
970
+ 0.0005225765840522694,
971
+ 0.0005225690372026028,
972
+ 6.575214921290484e-05,
973
+ 0.0005225621051523737,
974
+ 0.0029143773124083,
975
+ 0.0001843525411469115,
976
+ 0.0001841359459697739,
977
+ 0.0005226020795211893,
978
+ 0.0001845250039153968,
979
+ 0.0047760096669896114,
980
+ 9.812322688642312e-05,
981
+ 9.812203457502503e-05,
982
+ 0.00018469305540414234,
983
+ 9.812084743566436e-05,
984
+ 0.0002908526544858428,
985
+ 1.742548075238556e-05,
986
+ 1.7425327866510986e-05,
987
+ 9.812715294628039e-05,
988
+ 1.7425186916470698e-05,
989
+ 0.0004960553666509786,
990
+ 1.7426072624276864e-05,
991
+ 4.089342148594891e-05,
992
+ 0.3662403907404729,
993
+ 0.3885310127888585,
994
+ 0.08083219424718499,
995
+ 0.4977664762172315,
996
+ 0.4876249899076184,
997
+ 0.04674606850641643,
998
+ 0.049665436463866286,
999
+ 0.4795121047941493,
1000
+ 0.02788045856296372,
1001
+ 0.024717666341607568,
1002
+ 0.5321873529292879,
1003
+ 0.5013715940954119,
1004
+ 0.021384402536122157,
1005
+ 0.5500727925731698,
1006
+ 0.3764727797613653,
1007
+ 0.40516620301013545,
1008
+ 0.32029078359450514,
1009
+ 0.5812045384233172,
1010
+ 0.35930818560330374,
1011
+ 0.13998244790577968,
1012
+ 0.3201486052619058,
1013
+ 0.10190235433527584,
1014
+ 0.0022605747284818113,
1015
+ 0.00014482477039994416,
1016
+ 1.420976945599524e-05
1017
+ ]
1018
+ },
1019
+ "action": {
1020
+ "min": [
1021
+ -0.10000000149011612,
1022
+ 0.0,
1023
+ 0.0,
1024
+ 0.25,
1025
+ 0.0,
1026
+ -0.15000000596046448,
1027
+ -0.10000000149011612,
1028
+ 0.0,
1029
+ 0.0,
1030
+ 0.25,
1031
+ 0.0,
1032
+ -0.15000000596046448,
1033
+ 0.0,
1034
+ 0.0,
1035
+ 0.0,
1036
+ 0.25,
1037
+ 0.10000000149011612,
1038
+ 0.0,
1039
+ 1.0,
1040
+ 0.0,
1041
+ 0.0,
1042
+ 0.0,
1043
+ -0.7830644845962524,
1044
+ -1.15714693069458,
1045
+ -0.7234516739845276,
1046
+ -0.2137162834405899,
1047
+ 0.0,
1048
+ -0.4363322854042053,
1049
+ -1.2217304706573486,
1050
+ 0.0,
1051
+ -0.6005052924156189,
1052
+ 0.0,
1053
+ 0.0,
1054
+ 0.0,
1055
+ 0.0,
1056
+ 0.0,
1057
+ 0.0,
1058
+ 0.0,
1059
+ 0.0,
1060
+ 0.0,
1061
+ 0.0,
1062
+ 0.0,
1063
+ 0.0,
1064
+ 0.0,
1065
+ 0.0,
1066
+ 0.0,
1067
+ 0.0,
1068
+ 0.0,
1069
+ 0.0,
1070
+ 0.0,
1071
+ 0.0,
1072
+ 0.0,
1073
+ 0.0,
1074
+ 0.0,
1075
+ 0.0,
1076
+ 0.0,
1077
+ 0.0,
1078
+ 0.0,
1079
+ -0.033399999141693115,
1080
+ -0.10440000146627426,
1081
+ 0.0,
1082
+ -0.05559999868273735,
1083
+ -0.029100000858306885,
1084
+ 0.0,
1085
+ 0.0,
1086
+ 0.0,
1087
+ 0.0,
1088
+ 0.0,
1089
+ 0.0,
1090
+ 0.0,
1091
+ 0.0,
1092
+ 0.0,
1093
+ 0.0,
1094
+ 0.0,
1095
+ 0.0
1096
+ ],
1097
+ "max": [
1098
+ -0.10000000149011612,
1099
+ 0.0,
1100
+ 0.0,
1101
+ 0.25,
1102
+ 0.0,
1103
+ -0.15000000596046448,
1104
+ -0.10000000149011612,
1105
+ 0.0,
1106
+ 0.0,
1107
+ 0.25,
1108
+ 0.0,
1109
+ -0.15000000596046448,
1110
+ 0.0,
1111
+ 0.0,
1112
+ 0.0,
1113
+ 0.25,
1114
+ 0.10000000149011612,
1115
+ 0.0,
1116
+ 1.0,
1117
+ 0.0,
1118
+ 0.0,
1119
+ 0.0,
1120
+ 0.5866223573684692,
1121
+ -0.06458767503499985,
1122
+ 0.8743140697479248,
1123
+ 1.1923998594284058,
1124
+ 2.6179938316345215,
1125
+ 0.4363322854042053,
1126
+ 0.18158245086669922,
1127
+ 0.6523595452308655,
1128
+ 0.0,
1129
+ 0.0,
1130
+ 0.0,
1131
+ 0.0,
1132
+ 0.0,
1133
+ 0.0,
1134
+ 0.0,
1135
+ 0.0,
1136
+ 0.0,
1137
+ 0.0,
1138
+ 0.0,
1139
+ 0.0,
1140
+ 0.0,
1141
+ 0.0,
1142
+ 0.0,
1143
+ 0.0,
1144
+ 0.0,
1145
+ 0.0,
1146
+ 0.0,
1147
+ 0.0,
1148
+ 0.0,
1149
+ 0.0,
1150
+ 0.0,
1151
+ 1.5707999467849731,
1152
+ 1.4276299476623535,
1153
+ 0.251800000667572,
1154
+ 1.5707999467849731,
1155
+ 1.4098104238510132,
1156
+ 0.2409999966621399,
1157
+ 0.16740000247955322,
1158
+ 1.5707999467849731,
1159
+ 0.0,
1160
+ 0.3490999937057495,
1161
+ 1.7408000230789185,
1162
+ 1.745300054550171,
1163
+ 0.04050000011920929,
1164
+ 1.745300054550171,
1165
+ 1.233299970626831,
1166
+ 1.396299958229065,
1167
+ 1.3615000247955322,
1168
+ 1.745300054550171,
1169
+ 1.0814000368118286,
1170
+ 0.3490999937057495,
1171
+ 0.9969000220298767,
1172
+ 0.4447999894618988
1173
+ ],
1174
+ "mean": [
1175
+ -0.10000000149011612,
1176
+ 0.0,
1177
+ 0.0,
1178
+ 0.25,
1179
+ 0.0,
1180
+ -0.15000000596046448,
1181
+ -0.10000000149011612,
1182
+ 0.0,
1183
+ 0.0,
1184
+ 0.25,
1185
+ 0.0,
1186
+ -0.15000000596046448,
1187
+ 0.0,
1188
+ 0.0,
1189
+ 0.0,
1190
+ 0.25,
1191
+ 0.10000000149011612,
1192
+ 0.0,
1193
+ 1.0,
1194
+ 0.0,
1195
+ 0.0,
1196
+ 0.0,
1197
+ -0.3844676993563776,
1198
+ -0.4635392729059665,
1199
+ -0.025321531695698816,
1200
+ 0.1565658989158264,
1201
+ 1.9096198221052831,
1202
+ 0.3027108377102684,
1203
+ -0.6802851635135142,
1204
+ 0.4717552163889123,
1205
+ -0.3293787508809817,
1206
+ 0.0,
1207
+ 0.0,
1208
+ 0.0,
1209
+ 0.0,
1210
+ 0.0,
1211
+ 0.0,
1212
+ 0.0,
1213
+ 0.0,
1214
+ 0.0,
1215
+ 0.0,
1216
+ 0.0,
1217
+ 0.0,
1218
+ 0.0,
1219
+ 0.0,
1220
+ 0.0,
1221
+ 0.0,
1222
+ 0.0,
1223
+ 0.0,
1224
+ 0.0,
1225
+ 0.0,
1226
+ 0.0,
1227
+ 0.0,
1228
+ 0.9163668700463455,
1229
+ 1.0774307526623856,
1230
+ 0.18450656518916894,
1231
+ 1.2577362062853386,
1232
+ 0.8662071389505672,
1233
+ 0.014139693930753192,
1234
+ -0.0783472468063956,
1235
+ 1.3026880926927225,
1236
+ -0.049635624906086466,
1237
+ 0.16960392906218702,
1238
+ 1.350968706312699,
1239
+ 1.4543478794042892,
1240
+ 0.004224006560807533,
1241
+ 1.4160855530328746,
1242
+ 0.50399988500309,
1243
+ 1.0411720162838662,
1244
+ 0.8450646923517636,
1245
+ 1.3060351313492584,
1246
+ 0.8567824521623536,
1247
+ 0.21634492012668474,
1248
+ 0.7710784049796209,
1249
+ 0.1639630493265118
1250
+ ],
1251
+ "std": [
1252
+ 0.0,
1253
+ 0.0,
1254
+ 0.0,
1255
+ 0.0,
1256
+ 0.0,
1257
+ 0.0,
1258
+ 0.0,
1259
+ 0.0,
1260
+ 0.0,
1261
+ 0.0,
1262
+ 0.0,
1263
+ 0.0,
1264
+ 0.0,
1265
+ 0.0,
1266
+ 0.0,
1267
+ 0.0,
1268
+ 0.0,
1269
+ 0.0,
1270
+ 0.0,
1271
+ 0.0,
1272
+ 0.0,
1273
+ 0.0,
1274
+ 0.27101139510542965,
1275
+ 0.18306758167232656,
1276
+ 0.2321427862317003,
1277
+ 0.2921806368614239,
1278
+ 0.5575150219880946,
1279
+ 0.14082600312771132,
1280
+ 0.2889364190439442,
1281
+ 0.13317078744611063,
1282
+ 0.1862851560996197,
1283
+ 0.0,
1284
+ 0.0,
1285
+ 0.0,
1286
+ 0.0,
1287
+ 0.0,
1288
+ 0.0,
1289
+ 0.0,
1290
+ 0.0,
1291
+ 0.0,
1292
+ 0.0,
1293
+ 0.0,
1294
+ 0.0,
1295
+ 0.0,
1296
+ 0.0,
1297
+ 0.0,
1298
+ 0.0,
1299
+ 0.0,
1300
+ 0.0,
1301
+ 0.0,
1302
+ 0.0,
1303
+ 0.0,
1304
+ 0.0,
1305
+ 0.41432510347711093,
1306
+ 0.4441289438708921,
1307
+ 0.10036169364443552,
1308
+ 0.5129014869126945,
1309
+ 0.5543047289959324,
1310
+ 0.051528101258709685,
1311
+ 0.05980456667607573,
1312
+ 0.5129086732788993,
1313
+ 0.014518427034505595,
1314
+ 0.18576907372151935,
1315
+ 0.5885033266135186,
1316
+ 0.5690668726302637,
1317
+ 0.012073895925927702,
1318
+ 0.5545709581524755,
1319
+ 0.39820855145902984,
1320
+ 0.41600444476329074,
1321
+ 0.34343361130221534,
1322
+ 0.6451957528324598,
1323
+ 0.3560204635861576,
1324
+ 0.13912312189696266,
1325
+ 0.3411755546820009,
1326
+ 0.10772567046676199
1327
+ ]
1328
+ }
1329
+ },
1330
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
1331
+ "task": "a15v3",
1332
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
1333
+ "step": 13000,
1334
+ "weights": "ema",
1335
+ "offline_eval": {
1336
+ "mse": 0.042158715426921844,
1337
+ "mse_row0": 0.06858505308628082,
1338
+ "mse_body_target": 0.02875266782939434,
1339
+ "mse_hands": 0.051603883504867554,
1340
+ "samples": 256,
1341
+ "frames": "train"
1342
+ },
1343
+ "format": "hb_baselines/1"
1344
+ }
a15-hitting-nail/b512-f0-s13000/step-013000/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00d01671dd267a1e8925978f37e15c0aa2fe04b75a5f236cbde6165f2c8eef63
3
+ size 170849405
a15-hitting-nail/b512-f0-s13000/step-013000/protocol.json ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "hb_baselines/1",
3
+ "step": 13000,
4
+ "policy": "flash",
5
+ "task": "a15v3",
6
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
7
+ "episodes": 150,
8
+ "frames": 86267,
9
+ "fps": 30.0,
10
+ "steps": 13000,
11
+ "total_steps": 13000,
12
+ "save_steps": [
13
+ 2250,
14
+ 4250,
15
+ 6500,
16
+ 8750,
17
+ 10750,
18
+ 13000
19
+ ],
20
+ "global_batch": 512,
21
+ "per_gpu_batch": 512,
22
+ "num_gpus": 1,
23
+ "gradient_accumulation_steps": 1,
24
+ "lr": 0.0001,
25
+ "warmup": 500,
26
+ "schedule": "diffusers_cosine",
27
+ "seed": 42,
28
+ "aug_seed": 42,
29
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
30
+ "code_dirty": null,
31
+ "environment": {
32
+ "python": "3.12.1",
33
+ "torch": "2.9.0+cu128",
34
+ "numpy": "2.2.6",
35
+ "cuda": "12.8",
36
+ "cudnn": 91002,
37
+ "torchvision": "0.24.0+cu128",
38
+ "pillow": "12.3.0",
39
+ "gpu": "NVIDIA GeForce RTX 4090 D",
40
+ "driver": "550.127.05"
41
+ },
42
+ "continuation": null,
43
+ "protocol_deviations": [
44
+ "steps 13000 (protocol 12000)"
45
+ ],
46
+ "protocol_exceptions": [
47
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
48
+ "owner 2026-11-30 (「team01 这两张卡先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
49
+ ],
50
+ "files": {
51
+ "config.json": {
52
+ "bytes": 22879,
53
+ "sha256": "7e235f0d75da8ee916bbf217aebe3fd6338fae63efb4029beb895ccdbd505e45"
54
+ },
55
+ "model.pt": {
56
+ "bytes": 170849405,
57
+ "sha256": "00d01671dd267a1e8925978f37e15c0aa2fe04b75a5f236cbde6165f2c8eef63"
58
+ },
59
+ "training_records/code_hb_bai_bf40b9df/HB_CODE_COMMIT": {
60
+ "bytes": 41,
61
+ "sha256": "4312b68fd3885f49c71f0958e8f65c60bdb99b43f0aaeb84c449fe913ef8fa50"
62
+ },
63
+ "training_records/code_hb_bai_bf40b9df/evaluation/augmentation/hb_aug_v2.py": {
64
+ "bytes": 7475,
65
+ "sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde"
66
+ },
67
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/__init__.py": {
68
+ "bytes": 1060,
69
+ "sha256": "bfbb52f85ac5d91e37f3cfc24bb8671de447b5b566760bfe091204ae69e1f7f6"
70
+ },
71
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/act_nets.py": {
72
+ "bytes": 22435,
73
+ "sha256": "3db95cd8e4e436875e11f1054a99d250ca7d94e0127909090b58730402340f19"
74
+ },
75
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/adapters.py": {
76
+ "bytes": 9389,
77
+ "sha256": "f5dc4607af75ec28a03c87a817537c4b121d1310cffd1c1600f7ae6238a42330"
78
+ },
79
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_adapter.py": {
80
+ "bytes": 6115,
81
+ "sha256": "b3a46b69af51354a92a1a4428d00c2370c977e9136aebd4092e15f52c6fd5db8"
82
+ },
83
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_first_history.py": {
84
+ "bytes": 17392,
85
+ "sha256": "fafa2663786d53cb865370a342fbdb1df80d3cf910aea31489e603deb50e1073"
86
+ },
87
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_parity.py": {
88
+ "bytes": 7968,
89
+ "sha256": "1a5f6286ee9d1c463649d112131fac6f5a97df0d070ad7a6ca375e8d6be78a37"
90
+ },
91
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/data.py": {
92
+ "bytes": 27560,
93
+ "sha256": "ce4f10cff8714d8e83900e1d821ef417577a612cacfa4bdda29fbc6630abf176"
94
+ },
95
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/flash.py": {
96
+ "bytes": 28787,
97
+ "sha256": "572f5655353fc582cfc44b67026c4af6b81edd16ec8b4255cc72f62376cc1c66"
98
+ },
99
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/fm_dit_v2.py": {
100
+ "bytes": 6013,
101
+ "sha256": "c987d9e641f5e5266703a8154b708d9ccab203b06d5ab82774d39a1cba602d62"
102
+ },
103
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/inloop.py": {
104
+ "bytes": 7102,
105
+ "sha256": "373908420a1feb62e89b3d47e187c96435ea63d2b9083ef07ac028ce48425f5a"
106
+ },
107
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/nets.py": {
108
+ "bytes": 10478,
109
+ "sha256": "2d72e3c455d5e376a6f5954886fd4c7a6478eb516380c6a05515fa043c62fbce"
110
+ },
111
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/ode_nets.py": {
112
+ "bytes": 9148,
113
+ "sha256": "38f2ea6050fa45e6c0d5e3f19caf21f1a72a50f80e356044dddcf76da22b144a"
114
+ },
115
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/policies.py": {
116
+ "bytes": 25760,
117
+ "sha256": "74ca169fe453f64bf6ffc3f3a85a4208aed2961d0abd9eb3e92b96457f86daf1"
118
+ },
119
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.lock.txt": {
120
+ "bytes": 1481,
121
+ "sha256": "4b79b9dcc98f05bfe7bc9e64e3492f4565728f6d1f75cbdecc1c817d03ff32a5"
122
+ },
123
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.txt": {
124
+ "bytes": 850,
125
+ "sha256": "56a8db94a98c5256028b475d9a0293cdee4cf475e415df763b3a0232433663ba"
126
+ },
127
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/runtime.py": {
128
+ "bytes": 12622,
129
+ "sha256": "6e5e4bf195f36a22c5f9922a1147b72c0659cfe807b144dde7810baf8c54d005"
130
+ },
131
+ "training_records/code_hb_bai_bf40b9df/evaluation/baselines/train.py": {
132
+ "bytes": 67800,
133
+ "sha256": "2df490b43b5f8df10a008eebf1ae700d76e58a5b13c659bcc12b9b3a98e6d9a2"
134
+ },
135
+ "training_records/code_hb_bai_bf40b9df/evaluation/policy/FLASH/model.py": {
136
+ "bytes": 647,
137
+ "sha256": "823f73aa28cb24c78a26ec20819ed138c327facef11fa630a7fbc84c63bb3159"
138
+ },
139
+ "training_records/complete.json": {
140
+ "bytes": 527,
141
+ "sha256": "9377794120fa47dc220f68e55eb8ec527175595b7b9e22d677beb712587c7734"
142
+ },
143
+ "training_records/launch.sh": {
144
+ "bytes": 1977,
145
+ "sha256": "39503a6c33b1c10ba4d6e2409317eb560c1fa37e1111801b8024b1a1dd510678"
146
+ },
147
+ "training_records/logs/inloop-mse.jsonl": {
148
+ "bytes": 93187,
149
+ "sha256": "f1aea90b68540b4e47836d33534650e763f62842aaa8b157b5a1ab86a9484506"
150
+ },
151
+ "training_records/pip_freeze_hb-baselines.txt": {
152
+ "bytes": 1141,
153
+ "sha256": "995f7e54f49aa32c37a2805432b9e53e784fa4a96c86594df6dcbd08b98cacb5"
154
+ },
155
+ "training_records/run.json": {
156
+ "bytes": 24088,
157
+ "sha256": "e7b3c66f43466c4cc98312b49c4b16f15ba7567659904cbf67c11a3a87729d6f"
158
+ },
159
+ "training_records/train.log": {
160
+ "bytes": 73681,
161
+ "sha256": "c0fd58098ac10096808dd2c7df4e2df7c0daadd2b652d191da1f8999283c63dd"
162
+ },
163
+ "training_records/train_log.jsonl": {
164
+ "bytes": 66673,
165
+ "sha256": "62d6270f63a6eae43d6954f3d48af36557834925f60963577b4b8e5877c0c7fd"
166
+ }
167
+ },
168
+ "global_step": 13000,
169
+ "run_step": 13000,
170
+ "stop_at": null,
171
+ "planned_total_steps": 13000,
172
+ "task_dir": "a15-hitting-nail",
173
+ "training_data": "humanoid-benchmark/a15-hitting-nail @139187e6 (v3, three-factor stall trim, 150 episodes, H2 head + chest)",
174
+ "published_steps": [
175
+ 6500,
176
+ 10750,
177
+ 13000
178
+ ],
179
+ "lr_schedule": "diffusers_cosine after a 500-step linear warm-up",
180
+ "ema": 0.9999,
181
+ "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",
182
+ "state_dim": 78,
183
+ "action_dim": 75,
184
+ "cameras": [
185
+ "head",
186
+ "chest"
187
+ ],
188
+ "contract": "h2_sharpa",
189
+ "image_hw": [
190
+ 168,
191
+ 224
192
+ ],
193
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
194
+ "inloop_mse": {
195
+ "task": "a15v3",
196
+ "split": "train10",
197
+ "every": 250,
198
+ "seed": 1234,
199
+ "weights": "ema",
200
+ "nmse_at_this_step": 0.3505,
201
+ "lowest_published": 6500,
202
+ "curve": {
203
+ "250": 0.1964,
204
+ "500": 0.2047,
205
+ "750": 0.2588,
206
+ "1000": 0.3207,
207
+ "1250": 0.3675,
208
+ "1500": 0.3947,
209
+ "1750": 0.423,
210
+ "2000": 0.4492,
211
+ "2250": 0.4628,
212
+ "2500": 0.4572,
213
+ "2750": 0.4387,
214
+ "3000": 0.4166,
215
+ "3250": 0.3964,
216
+ "3500": 0.3786,
217
+ "3750": 0.3662,
218
+ "4000": 0.3564,
219
+ "4250": 0.3485,
220
+ "4500": 0.3406,
221
+ "4750": 0.3337,
222
+ "5000": 0.3274,
223
+ "5250": 0.3218,
224
+ "5500": 0.3182,
225
+ "5750": 0.3176,
226
+ "6000": 0.3182,
227
+ "6250": 0.3181,
228
+ "6500": 0.3182,
229
+ "6750": 0.3192,
230
+ "7000": 0.3204,
231
+ "7250": 0.3221,
232
+ "7500": 0.3242,
233
+ "7750": 0.3259,
234
+ "8000": 0.3283,
235
+ "8250": 0.3305,
236
+ "8500": 0.332,
237
+ "8750": 0.3337,
238
+ "9000": 0.3357,
239
+ "9250": 0.3371,
240
+ "9500": 0.3387,
241
+ "9750": 0.3399,
242
+ "10000": 0.341,
243
+ "10250": 0.3419,
244
+ "10500": 0.343,
245
+ "10750": 0.344,
246
+ "11000": 0.3453,
247
+ "11250": 0.3465,
248
+ "11500": 0.3474,
249
+ "11750": 0.348,
250
+ "12000": 0.3488,
251
+ "12250": 0.3493,
252
+ "12500": 0.3498,
253
+ "12750": 0.3501,
254
+ "13000": 0.3505
255
+ }
256
+ },
257
+ "reproducibility": {
258
+ "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/main/hb_training/REPRODUCIBILITY.md",
259
+ "protocol_commit": "dbd9bfe529e2a3229d01ad9e27b102cf9d821eec",
260
+ "training_seed": 42,
261
+ "inloop_mse_seed": 1234,
262
+ "aug_seed": 42,
263
+ "layout": {
264
+ "nodes": 1,
265
+ "gpus": 1,
266
+ "per_gpu_batch": 512,
267
+ "global_batch": 512,
268
+ "gradient_accumulation": 1,
269
+ "num_workers": 40,
270
+ "prefetch": 2
271
+ },
272
+ "environment": "hb-baselines (Python 3.12.1, torch 2.9.0+cu128, torchvision 0.24.0); training_records/pip_freeze_hb-baselines.txt",
273
+ "hardware": "NVIDIA GeForce RTX 4090 D (this checkpoint); trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512, no gradient accumulation; environment /root/.venvs/hb-baselines on team01 (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0)",
274
+ "code": "github.com/zuo-kuangji/Humanoid_benchmark bai @ bf40b9df05f60870ac9e4ab3acef11a871925a40 (FLASH first_history frame0, the default) (git archive on team01 vePFS, HB_CODE_COMMIT)",
275
+ "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",
276
+ "exceptions": [
277
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
278
+ "owner 2026-11-30 (「team01 这两张��先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
279
+ ]
280
+ },
281
+ "inference": "Humanoid_benchmark evaluation/policy/FLASH (evaluation/baselines/adapters.py, runtime.BaselinePolicy) loads this folder (config.json + model.pt); training_records/ in the last step has the exact code",
282
+ "resume_state_included": false
283
+ }
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/HB_CODE_COMMIT ADDED
@@ -0,0 +1 @@
 
 
1
+ bf40b9df05f60870ac9e4ab3acef11a871925a40
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/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)
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/__init__.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """FM-DiT, DP (Diffusion Policy, DDPM-DiT), ACT, FLASH, ODE-MLP and ODE-DiT visuomotor baselines of the Humanoid
2
+ Benchmark.
3
+
4
+ FM-DiT, DP and ACT are ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/
5
+ {fm_dit,ddpm_dit,act}.py` and their networks), FLASH and FM-DiT v2 (FLASH-Policy's own FM-DiT; `fm_dit_v2.py`, a separate entry from the
6
+ DextraVerse FM-DiT) from NTUMARS/FLASH-Policy @ f47e490 (`flash.py`), ODE-MLP and
7
+ ODE-DiT after ODE Policy's G1 port (github.com/NTUMARS/ODE-POLICY real-g1; networks in ode_nets.py), each in its
8
+ authors' own configuration; torch only. `train.py` trains one on a task's LeRobot v2.1 expert dataset through a robot
9
+ contract (`data.CONTRACTS`: G1 state44/action76 or H2 state78/action75); `runtime.BaselinePolicy` serves a checkpoint
10
+ to the G1 evaluation adapters (`evaluation/policy/{FMDiT,FMDiT_v2,DP,ACT,FLASH,ODEMLP,ODEDiT}/model.py`, via `adapters.py`) and
11
+ to the H2 adapter
12
+ (`debug/newton/h2_policy_adapters/baseline.py`). Usage and the environment: evaluation/README.md#baselines.
13
+ """
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/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()
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/adapters.py ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """The G1 evaluation adapters of the baselines (evaluation/README.md#the-model-interface): `make_model('fm_dit')`
2
+ returns the `Model` class that `evaluation/policy/FMDiT/model.py` exports (likewise DP, ACT, FLASH, ODEMLP, ODEDiT).
3
+
4
+ Observation: the current ego_view and chest frames (480x640 RGB, resized as the training cache) and state44; FM-DiT,
5
+ DP and ACT read no past actions or earlier frames (one frame); FLASH and the ODE policies also read the interface's
6
+ executed rows before the query (`past_actions`, `history_valid`: the token sent and the INSPIRE opening measured at
7
+ each earlier frame): FLASH for its polynomial history, the ODE policies the last one (frame t-1) as their start.
8
+ Output: the checkpoint's whole chunk (16 rows of action76, row 0 executed at the request's frame), `execution_steps`
9
+ rows of it executed before the next query (deploy.yml `config: execution_steps`, default the whole chunk; the runners
10
+ re-query after at most 12 rows), the request's seed for the sampling noise (FM-DiT, DP).
11
+
12
+ Deployment-side fixes (2026-11-28, B7 green diagnosis; both off unless a deploy.yml entry's `config` sets them, and
13
+ recorded in the server report, policy_server.json):
14
+ - `state_mask_span: <float>`: every state dimension whose training range (config.json stats max - min) is below the
15
+ threshold is fed the value its normalizer maps to 0 (-offset / scale of the policy's state normalizer), whatever
16
+ the live value. A near-constant training dimension (e.g. the B7 green left-hand DFX values, span 0.0014, scale 1406)
17
+ otherwise turns a 0.002 sim-side offset into an out-of-range input of -2.7.
18
+ - `start_history: <json file>` (FLASH, ODE): at a query with no valid executed row (the episode's first), one valid
19
+ history row is supplied instead of none: the file's `row76` token part with the hands measured at the query
20
+ (state44[29:41]; FLASH's and ODE's history rows carry the measured DFX6), as a training item one frame after the
21
+ episode start sees it. Relative paths resolve against the policy folder. Refused for a FLASH checkpoint trained
22
+ with first_history 'frame0' (2026-11-29), which does the same by itself: at a query with no valid executed row it
23
+ gets one valid row = its recorded start token (the median frame-0 token of its training episodes) + the measured
24
+ DFX6 of the query, exactly the row its training used at each episode's first frame (flash.py; no config needed).
25
+ """
26
+ from __future__ import annotations
27
+
28
+ import hashlib
29
+ import json
30
+ from pathlib import Path
31
+
32
+ import numpy as np
33
+
34
+ from .runtime import BaselinePolicy
35
+
36
+ WIDTH = {'sonic_dfx6': 76}
37
+ HANDS = slice(29, 41) # state44: the measured left and right DFX6, the hands of an executed history row
38
+
39
+
40
+ def require(condition, message):
41
+ if not condition:
42
+ raise RuntimeError(message)
43
+
44
+
45
+ def make_model(policy_name: str):
46
+ class Model:
47
+ history_length = 1 # the current head and chest frames only
48
+ video_frames = 0
49
+
50
+ def __init__(self, cfg):
51
+ self.policy = BaselinePolicy(cfg['checkpoint_path'], device=cfg.get('device', 'cuda:0'),
52
+ policy=policy_name, robot='g1')
53
+ contract = self.policy.contract
54
+ require(cfg['action_space'] in WIDTH and contract['action_space'] == cfg['action_space']
55
+ and self.policy.action_dim == WIDTH[cfg['action_space']] and self.policy.state_dim == 44
56
+ and list(self.policy.cameras) == ['ego_view', 'chest'],
57
+ f"checkpoint contract {contract['name']} does not serve {cfg['action_space']}")
58
+ extra = cfg.get('config') or {}
59
+ if extra.get('check_task', True):
60
+ require(cfg['task'].strip() == (self.policy.task_text or '').strip(),
61
+ f'task text {cfg["task"]!r} is not the training task {self.policy.task_text!r}')
62
+ self.execution_steps = int(extra.get('execution_steps') or self.policy.horizon)
63
+ require(1 <= self.execution_steps <= self.policy.horizon, f'execution_steps {self.execution_steps}')
64
+ self.uses_history = self.policy.name == 'flash' or self.policy.uses_previous
65
+ self.info = dict(self.policy.info(), execution_steps=self.execution_steps,
66
+ inputs='current frames + state44' + (' + executed-action history' if self.uses_history
67
+ else ''))
68
+ self.state_mask = None
69
+ if extra.get('state_mask_span') is not None:
70
+ self.state_mask = self._state_mask(float(extra['state_mask_span']))
71
+ self.start_token = None
72
+ if extra.get('start_history'):
73
+ self.start_token = self._start_history(extra['start_history'], Path(cfg['folder']))
74
+
75
+ def _state_mask(self, threshold):
76
+ stats = self.policy.config['stats']['state']
77
+ lo, hi = np.asarray(stats['min'], np.float64), np.asarray(stats['max'], np.float64)
78
+ dims = np.flatnonzero(hi - lo < threshold)
79
+ norm = getattr(self.policy.model, 'state_norm', None)
80
+ require(norm is not None and hasattr(norm, 'scale') and hasattr(norm, 'offset'),
81
+ f'state_mask_span: {self.policy.name} has no affine state normalizer')
82
+ scale = norm.scale.detach().float().cpu().numpy().astype(np.float64)
83
+ offset = norm.offset.detach().float().cpu().numpy().astype(np.float64)
84
+ fill = (-offset / scale)[dims].astype(np.float32)
85
+ check = fill.astype(np.float64) * scale[dims] + offset[dims]
86
+ require(np.all(np.abs(check) < 1e-3), f'state_mask_span: fill values do not normalize to 0 ({check})')
87
+ self.info['state_mask'] = dict(
88
+ switch='state_mask_span', span_threshold=threshold, dims=[int(d) for d in dims],
89
+ train_min=[float(lo[d]) for d in dims], train_max=[float(hi[d]) for d in dims],
90
+ fill=[float(f) for f in fill], normalized_fill=[float(c) for c in check],
91
+ rule='state dims with training max - min < span_threshold are fed the value their state normalizer '
92
+ 'maps to 0, whatever the live value (deployment-side exception, 2026-11-28)')
93
+ return dims, fill
94
+
95
+ def _start_history(self, spec, folder):
96
+ require(self.uses_history, f'start_history: {self.policy.name} reads no executed-action history')
97
+ require(getattr(self.policy.model, 'first_history_source', None) is None,
98
+ "start_history: this FLASH checkpoint was trained with first_history 'frame0' and carries its "
99
+ 'own episode-start row (flash.py); the deployment-side start row is for zero-start checkpoints')
100
+ path = Path(spec) if Path(spec).is_absolute() else folder/spec
101
+ data = json.loads(path.read_text())
102
+ row = np.asarray(data['row76'], np.float32)
103
+ require(row.shape == (self.policy.action_dim,) and np.isfinite(row).all(),
104
+ f'start_history {path}: row76 has shape {row.shape}')
105
+ self.info['start_history'] = dict(
106
+ switch='start_history', file=str(path), sha256=hashlib.sha256(path.read_bytes()).hexdigest(),
107
+ dataset=data.get('dataset'), token_absmax=float(np.abs(row[:64]).max()),
108
+ token=[float(x) for x in row[:64]], hands='measured DFX6 of the query (state44[29:41]), as the '
109
+ 'history rows of training and of the interface carry the measured opening; the file\'s hands unused',
110
+ rule='a query with no valid executed row gets this one valid row (has_history True / ODE start = '
111
+ 'this row) instead of the zero start (deployment-side exception, 2026-11-28)')
112
+ return row[:64].copy()
113
+
114
+ def get_action(self, obs):
115
+ state = obs['state']
116
+ if self.state_mask is not None:
117
+ dims, fill = self.state_mask
118
+ state = np.array(state, np.float32, copy=True).reshape(-1)
119
+ state[dims] = fill
120
+ if self.uses_history:
121
+ past, valid = obs['past_actions'], obs['history_valid']
122
+ if self.start_token is not None and not (np.asarray(valid, np.float32).reshape(-1) > .5).any():
123
+ hands = np.asarray(obs['state'], np.float32).reshape(-1)[HANDS] # measured, never masked
124
+ past = np.concatenate([self.start_token, hands])[None].astype(np.float32)
125
+ valid = np.ones(1, np.float32)
126
+ # a 'frame0' FLASH (flash.py, 2026-11-29): no valid row -> its frame-0 row from the measured, unmasked
127
+ # state (the stored start token + state44[29:41]), as training; unchanged for every other checkpoint
128
+ past, valid = self.policy.start_history(obs['state'], past, valid)
129
+ action, _ = self.policy.predict(obs['images'], state, seed=obs['seed'],
130
+ past_actions=past, history_valid=valid)
131
+ else:
132
+ action, _ = self.policy.predict(obs['images'], state, seed=obs['seed'])
133
+ return dict(action=action, execution_steps=self.execution_steps,
134
+ sampling_steps=self.policy.sampling_steps)
135
+
136
+ Model.__name__ = Model.__qualname__ = f'Model_{policy_name}'
137
+ return Model
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_adapter.py ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ first=policy.first_history_source) # a 'frame0' checkpoint's episode-start row
83
+ ds._maps, ds._pid = maps, __import__('os').getpid()
84
+ for t in ts:
85
+ k = int(np.nonzero(ds.index == s + t)[0][0])
86
+ images, state, _, hist, has, dense, dense_valid = ds[k]
87
+ idx = np.arange(t - HISTORY_ROWS, t)
88
+ past = lowdim['history'][s + np.clip(idx, 0, n - 1)].astype(np.float32)
89
+ valid = (idx >= 0).astype(np.float32)
90
+ past[idx < 0] = 0.0
91
+ obs = dict(images={c: frames[c][t] for c in base.cameras}, state=lowdim['state'][s + t],
92
+ past_actions=past, history_valid=valid, seed=0, frame=t, history_frame=t)
93
+ a_chunk = adapter.get_action(obs)['action']
94
+ with torch.inference_mode():
95
+ img = images[None].to(a.device).permute(0, 1, 4, 2, 3).float().div_(255.)
96
+ b_chunk, _ = policy.predict(img, state[None].to(a.device), hist[None].to(a.device),
97
+ has[None].to(a.device))
98
+ b_chunk = b_chunk[0].float().cpu().numpy()
99
+ diff = float(np.abs(a_chunk - b_chunk).max())
100
+ worst = max(worst, diff)
101
+ nrm = policy.action_norm
102
+ err = (nrm.normalize(torch.from_numpy(a_chunk).to(a.device)) -
103
+ nrm.normalize(dense.to(a.device))).pow(2).cpu().numpy()[dense_valid.numpy()]
104
+ report.append(dict(episode=ep, t=t, has_history=bool(has), max_abs_diff=diff,
105
+ nmse_vs_recorded=float(err.mean()),
106
+ token_cos_row0=float(np.dot(a_chunk[0, :64], dense[0, :64].numpy()) /
107
+ (np.linalg.norm(a_chunk[0, :64]) *
108
+ np.linalg.norm(dense[0, :64].numpy()) + 1e-12))))
109
+ ok = worst == 0.0
110
+ print(json.dumps(dict(ok=ok, max_abs_diff=worst, checkpoint=str(a.checkpoint), queries=report), indent=1))
111
+ sys.exit(0 if ok else 1)
112
+
113
+
114
+ if __name__ == '__main__':
115
+ main()
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/check_flash_first_history.py ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """CPU check of FLASH's episode-start history (flash.py `first_history`, owner 2026-11-29), no dataset or GPU needed:
2
+
3
+ <baselines env>/bin/python -I evaluation/baselines/check_flash_first_history.py
4
+
5
+ On synthetic episodes of the G1 contract g1_sonic_cmd and the H2 contract h2_sharpa (feature names as in their
6
+ meta/info.json, the H2 hand targets in another order than the state's hands) and tiny FLASH networks it checks:
7
+
8
+ (a) 'frame0' training items: at an episode's first frame has_history is True and the history is h0 replicated, h0
9
+ built from the frame-0 observation (G1: the median frame-0 token of the training episodes + state44[29:41]; H2:
10
+ observation.state75 in action75 order, the same mapping as h2_sharpa_policy_eval.py's state_to_action), never
11
+ from the anchor's own action row; the next frame keeps the edge padding of the executed row 0;
12
+ (b) deployment = training at the first query: the G1 adapter (evaluation/baselines/adapters.py) and the H2 adapter
13
+ (debug/newton/h2_policy_adapters/baseline.py; with no valid row and with the runner's --first-history state row)
14
+ build the identical history and return the training path's chunk bit for bit, from a saved checkpoint;
15
+ (c) a checkpoint whose config has no `first_history` (every FLASH trained before 2026-11-29) is 'zero': no row means
16
+ has_history False, the zero start, in the dataset, the runtime and the adapters;
17
+ (d) train.py's settings of an --init-from continuation (flash_run_settings): a 'zero' parent (no key) continues as
18
+ 'zero' by default, a 'frame0' parent's row is reused (not recomputed), an explicit --flash first_history that
19
+ differs from the parent is recorded as a change, a training from scratch is 'frame0'; the policy-configuration
20
+ check accepts the inherited settings.
21
+ Prints one JSON line; exits 1 on a failure.
22
+ """
23
+ from __future__ import annotations
24
+
25
+ import importlib.util
26
+ import json
27
+ import os
28
+ from pathlib import Path
29
+ import sys
30
+ import tempfile
31
+
32
+ import numpy as np
33
+
34
+ HERE = Path(__file__).resolve().parent
35
+ REPO = HERE.parents[1]
36
+ if str(HERE.parent) not in sys.path:
37
+ sys.path.insert(0, str(HERE.parent))
38
+
39
+ HW = (32, 32)
40
+ TINY = dict(hidden_dim=32, num_layers=1, num_heads=2, mlp_ratio=2.0, dropout=0.0, time_embed_dim=16,
41
+ num_inference_steps=1, backbone='resnet18', backbone_weights=None, backbone_norm='group')
42
+
43
+
44
+ def features_of(contract, hand_order):
45
+ """meta/info.json features of the contract's columns: G1 and H2 joint names (H2 action.hands in `hand_order`)."""
46
+ body = [f'joint_{k}' for k in range(31)]
47
+ hands = [f'hand_{k}' for k in range(44)]
48
+ f = {'observation.projected_gravity': dict(shape=[3], names=['x', 'y', 'z']),
49
+ 'action.motion_token': dict(shape=[64], names='motion_token')}
50
+ if contract.robot == 'g1':
51
+ f['observation.state'] = dict(shape=[41], names=[f'g1_{k}' for k in range(41)])
52
+ for side in ('left', 'right'):
53
+ names = [f'{side}_{d}' for d in ('pinky', 'ring', 'middle', 'index', 'thumb_bend', 'thumb_rotation')]
54
+ f[f'observation.inspire_{side}_hand_state'] = dict(shape=[6], names=names)
55
+ f[f'teleop.inspire_{side}_hand_cmd'] = dict(shape=[6], names=names)
56
+ else:
57
+ f['observation.state'] = dict(shape=[75], names=body + hands)
58
+ f['action.body_target'] = dict(shape=[31], names=body)
59
+ f['action.hands'] = dict(shape=[44], names=[hands[k] for k in hand_order])
60
+ return f
61
+
62
+
63
+ def synthetic_lowdim(contract, rng, lengths=(9, 12, 10)):
64
+ n = sum(lengths)
65
+ state = rng.normal(size=(n, contract.state_dim)).astype(np.float32)
66
+ action = rng.normal(size=(n, contract.action_dim)).astype(np.float32)
67
+ history = rng.normal(size=(n, contract.action_dim)).astype(np.float32) if contract.history is not None else action
68
+ starts = np.cumsum([0, *lengths[:-1]])
69
+ return dict(state=state, action=action, history=history, starts=starts, lengths=np.asarray(lengths),
70
+ episodes=list(range(len(lengths))), tasks=['synthetic'])
71
+
72
+
73
+ def main():
74
+ import torch
75
+ from baselines.data import (CONTRACTS, FlashChunkDataset, first_history_layout, first_history_start,
76
+ statistics)
77
+ from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS, first_history_source, flash_settings
78
+ from baselines.policies import PolicyConfig, build_policy
79
+ from baselines.runtime import BaselinePolicy, save_checkpoint
80
+ from baselines.adapters import make_model
81
+ spec = importlib.util.spec_from_file_location('hb_baselines_train', HERE / 'train.py')
82
+ train = importlib.util.module_from_spec(spec)
83
+ spec.loader.exec_module(train)
84
+
85
+ spec = importlib.util.spec_from_file_location('h2_baseline', REPO / 'debug/newton/h2_policy_adapters/baseline.py')
86
+ h2_adapter = importlib.util.module_from_spec(spec)
87
+ spec.loader.exec_module(h2_adapter)
88
+
89
+ torch.manual_seed(0)
90
+ rng = np.random.default_rng(0)
91
+ report, failures = {}, []
92
+
93
+ def check(ok, what):
94
+ if not ok:
95
+ failures.append(what)
96
+ return bool(ok)
97
+
98
+ tmp = Path(tempfile.mkdtemp(prefix='flash_first_history_'))
99
+ for name in ('g1_sonic_cmd', 'h2_sharpa'):
100
+ contract = CONTRACTS[name]
101
+ r = report[name] = {}
102
+ hand_order = rng.permutation(44)
103
+ features = features_of(contract, hand_order)
104
+ layout = first_history_layout(contract, features)
105
+ if contract.robot == 'g1':
106
+ want = [-1] * 64 + list(range(29, 41))
107
+ else: # h2_sharpa_policy_eval.py: state_to_action from the dataset names
108
+ names = features['observation.state']['names']
109
+ want = [names.index(n) for n in features['action.body_target']['names'] + features['action.hands']['names']]
110
+ r['layout_as_expected'] = check(layout == want, f'{name}: layout')
111
+ bad = json.loads(json.dumps(features))
112
+ if contract.robot == 'h2_sharpa':
113
+ bad['action.hands']['names'][0] = 'no_such_joint'
114
+ else:
115
+ bad['observation.inspire_left_hand_state']['names'] = None # direct state columns need no names
116
+ try:
117
+ first_history_layout(contract, bad)
118
+ r['unmatched_name'] = 'accepted' if contract.robot == 'g1' else 'NOT REFUSED'
119
+ check(contract.robot == 'g1', f'{name}: an unmatched joint name was accepted')
120
+ except ValueError:
121
+ r['unmatched_name'] = 'refused'
122
+ check(contract.robot == 'h2_sharpa', f'{name}: refused')
123
+
124
+ lowdim = synthetic_lowdim(contract, rng)
125
+ train_pos = [0, 1]
126
+ value = first_history_start(lowdim, layout, train_pos)
127
+ if contract.robot == 'g1':
128
+ median = np.median(lowdim['history'][lowdim['starts'][train_pos], :64].astype(np.float64), axis=0)
129
+ check(np.allclose(value[:64], median) and not any(value[64:]), f'{name}: start token')
130
+ settings = dict(FLASH_DEFAULTS, first_history_state=layout, first_history_value=value)
131
+ cfg = PolicyConfig.from_dict(dict(policy='flash', n_cameras=2, state_dim=contract.state_dim,
132
+ action_dim=contract.action_dim, **dict(FLASH_POLICY_FIELDS, **TINY),
133
+ horizon=settings['rows'], extra=dict(flash=settings)))
134
+ policy = build_policy(cfg, pretrained=False).eval()
135
+ policy.fit_normalizers(statistics(lowdim, np.arange(len(lowdim['state']))))
136
+ fs = flash_settings(cfg)
137
+ H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
138
+ offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
139
+ total = int(lowdim['lengths'].sum())
140
+ maps = {c: rng.integers(0, 256, size=(total, *HW, 3), dtype=np.uint8) for c in contract.cameras}
141
+
142
+ def dataset(first):
143
+ ds = FlashChunkDataset(lowdim, {}, contract.cameras, HW, [0, 1, 2], offsets=offsets,
144
+ stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'],
145
+ with_dense=True, first=first)
146
+ ds._maps, ds._pid = maps, os.getpid()
147
+ return ds
148
+
149
+ # (a) training items of a 'frame0' FLASH
150
+ ds = dataset(first_history_source(fs))
151
+ s0 = int(lowdim['starts'][2]) # a held-out episode: h0 still from its own frame-0 state
152
+ _, _, _, hist0, has0, *_ = ds[int(np.nonzero(ds.index == s0)[0][0])]
153
+ state0 = lowdim['state'][s0]
154
+ h0 = np.where(np.asarray(layout) >= 0, state0[np.maximum(layout, 0)], value).astype(np.float32)
155
+ r['frame0_t0_has_history'] = check(bool(has0), f'{name}: has_history at t=0')
156
+ r['frame0_t0_is_h0'] = check(np.array_equal(hist0.numpy(), np.repeat(h0[None], fs['n_history'], 0)),
157
+ f'{name}: history at t=0 is h0 replicated')
158
+ check(not np.allclose(h0, lowdim['action'][s0]) and not np.allclose(h0, lowdim['history'][s0]),
159
+ f'{name}: h0 equals the anchor row')
160
+ _, _, _, hist1, has1, *_ = ds[int(np.nonzero(ds.index == s0 + 1)[0][0])]
161
+ r['frame0_t1_edge_padding'] = check(bool(has1) and np.array_equal(
162
+ hist1.numpy(), np.repeat(lowdim['history'][s0][None], fs['n_history'], 0)), f'{name}: t=1 edge padding')
163
+ plain = ds.plain()
164
+ plain._maps, plain._pid = maps, os.getpid()
165
+ check(all(torch.equal(a, b) for a, b in zip(ds[0][2:], plain[0][2:])), f'{name}: plain() differs')
166
+
167
+ # (b) deployment from a saved checkpoint
168
+ def save(pol, folder):
169
+ config = dict(policy=pol.cfg.to_dict(), contract=contract.to_dict(), image_hw=list(HW),
170
+ task_text='synthetic', dataset=dict(name='synthetic'), training={}, step=0)
171
+ save_checkpoint(folder, pol, config)
172
+ return folder
173
+
174
+ def train_chunk(pol, item):
175
+ images, state, _, hist, has, *_ = item
176
+ with torch.inference_mode():
177
+ img = images[None].permute(0, 1, 4, 2, 3).float().div_(255.)
178
+ out, _ = pol.predict(img, state[None], hist[None], has[None])
179
+ return out[0].numpy()
180
+
181
+ def first_query(pol_dir, item_state, s):
182
+ """Chunks of the deployed adapter at the first query of episode starting at s (no executed row)."""
183
+ images = {c: maps[c][s] for c in contract.cameras}
184
+ past, valid = np.zeros((40, contract.action_dim), np.float32), np.zeros(40, np.float32)
185
+ base = BaselinePolicy(pol_dir, device='cpu', policy='flash')
186
+ hist, has = base.history(*base.start_history(item_state, past, valid))
187
+ out = dict(history=hist[0].numpy(), has=bool(has[0]))
188
+ if contract.robot == 'g1':
189
+ adapter = make_model('flash')(dict(checkpoint_path=str(pol_dir), device='cpu', action_space='sonic_dfx6',
190
+ task='synthetic', config={}))
191
+ out['chunks'] = [adapter.get_action(dict(images=images, state=item_state, past_actions=past,
192
+ history_valid=valid, seed=0))['action']]
193
+ else:
194
+ adapter = h2_adapter.Policy(dict(checkpoint=str(pol_dir), policy='flash'), 'cpu')
195
+ runner = past.copy(), valid.copy() # --first-history state: one valid row, state75 in action75 order
196
+ names = features['observation.state']['names']
197
+ state_to_action = np.array([names.index(n) for n in features['action.body_target']['names']
198
+ + features['action.hands']['names']])
199
+ runner[0][-1], runner[1][-1] = np.asarray(item_state, np.float32)[:75][state_to_action], 1.
200
+ out['runner_row_is_h0'] = np.array_equal(runner[0][-1], base.model.first_history_row(item_state))
201
+ out['chunks'] = [adapter.act(images, item_state, past, valid, 0)[0],
202
+ adapter.act(images, item_state, *runner, 0)[0]]
203
+ return out
204
+
205
+ folder = save(policy, tmp / f'{name}_frame0')
206
+ item = ds[int(np.nonzero(ds.index == s0)[0][0])]
207
+ dep = first_query(folder, lowdim['state'][s0], s0)
208
+ loaded = BaselinePolicy(folder, device='cpu', policy='flash').model
209
+ ref = train_chunk(loaded, item)
210
+ r['deploy_history_equals_training'] = check(dep['has'] and np.array_equal(dep['history'], item[3].numpy()),
211
+ f'{name}: deployment history differs from training')
212
+ r['deploy_chunks_equal_training'] = check(all(np.array_equal(c, ref) for c in dep['chunks']),
213
+ f'{name}: deployed chunk differs from the training path')
214
+ if 'runner_row_is_h0' in dep:
215
+ r['runner_first_history_state_row_is_h0'] = check(dep['runner_row_is_h0'], f'{name}: runner row')
216
+
217
+ # (c) a config without first_history = 'zero'
218
+ old = {k: v for k, v in settings.items() if not k.startswith('first_history')}
219
+ cfg0 = PolicyConfig.from_dict(dict(cfg.to_dict(), extra=dict(flash=old)))
220
+ policy0 = build_policy(cfg0, pretrained=False).eval()
221
+ policy0.load_state_dict(policy.state_dict())
222
+ r['no_key_is_zero'] = check(policy0.first_history == 'zero' and policy0.first_history_source is None,
223
+ f'{name}: missing key is not zero')
224
+ ds0 = dataset(policy0.first_history_source)
225
+ item0 = ds0[int(np.nonzero(ds0.index == s0)[0][0])]
226
+ r['zero_t0_has_history'] = bool(item0[4])
227
+ check(not bool(item0[4]) and not item0[3].abs().sum(), f'{name}: zero start item')
228
+ folder0 = save(policy0, tmp / f'{name}_zero')
229
+ check('first_history' not in json.loads((folder0 / 'config.json').read_text())['policy']['extra']['flash'],
230
+ f'{name}: the zero checkpoint config has the key')
231
+ dep0 = first_query(folder0, lowdim['state'][s0], s0)
232
+ ref0 = train_chunk(BaselinePolicy(folder0, device='cpu', policy='flash').model, item0)
233
+ r['zero_deploy_has_history'] = dep0['has']
234
+ r['zero_deploy_chunks_equal_training'] = check(
235
+ not dep0['has'] and np.array_equal(dep0['chunks'][0], ref0), f'{name}: zero deployment')
236
+ # (the H2 runner's --first-history state row on a zero checkpoint stays the 2026-11-28 deployment-side
237
+ # exception: one valid row, not the zero start; not compared)
238
+ r['frame0_vs_zero_chunk_differs'] = bool(not np.array_equal(ref, ref0))
239
+
240
+ # (d) continuation settings (train.py), the parents' configs as saved above
241
+ def no_recompute():
242
+ raise AssertionError('the frame-0 row was recomputed')
243
+
244
+ def fresh():
245
+ return layout, [v + 1.0 for v in value] # a recomputation would give other values
246
+
247
+ def run(given, parent, frame0_row):
248
+ st, rec = train.flash_run_settings(given, parent, frame0_row)
249
+ pol = dict(cfg.to_dict(), extra=dict(flash=st))
250
+ return st, rec, pol
251
+
252
+ p_zero = json.loads((folder0 / 'config.json').read_text())['policy']
253
+ p_frame0 = json.loads((folder / 'config.json').read_text())['policy']
254
+ st, rec, pol = run({}, p_zero['extra']['flash'], no_recompute)
255
+ r['cont_zero_parent_default'] = st['first_history']
256
+ check(st['first_history'] == 'zero' and st['first_history_state'] is None and not rec['changed']
257
+ and rec['source'].startswith('inherited') and train.same_policy_config(p_zero, pol),
258
+ f'{name}: continuation of a zero parent is not zero')
259
+ policy_c = build_policy(PolicyConfig.from_dict(pol), pretrained=False)
260
+ check(policy_c.first_history == 'zero', f'{name}: continued zero policy')
261
+ check(train.same_policy_config(p_zero, pol, ignore_first_history=False), f'{name}: resume check zero')
262
+ st, rec, pol = run({}, p_frame0['extra']['flash'], no_recompute)
263
+ r['cont_frame0_parent_default'] = st['first_history']
264
+ check(st['first_history'] == 'frame0' and st['first_history_state'] == layout
265
+ and st['first_history_value'] == value and not rec['changed'] and train.same_policy_config(p_frame0, pol),
266
+ f'{name}: continuation of a frame0 parent')
267
+ st, rec, pol = run({'first_history': 'frame0'}, p_zero['extra']['flash'], fresh)
268
+ r['cont_zero_parent_explicit_frame0'] = dict(this=st['first_history'], changed=rec['changed'])
269
+ check(st['first_history'] == 'frame0' and rec['changed'] and 'note' in rec
270
+ and rec['source'].startswith('--flash') and not train.same_policy_config(p_zero, pol)
271
+ and train.same_policy_config(p_zero, pol, ignore_first_history=True),
272
+ f'{name}: explicit switch not recorded')
273
+ st, rec, pol = run({'first_history': 'zero'}, p_frame0['extra']['flash'], no_recompute)
274
+ check(st['first_history'] == 'zero' and st['first_history_state'] is None and rec['changed'],
275
+ f'{name}: explicit zero on a frame0 parent')
276
+ st, rec, _ = run({}, None, fresh)
277
+ r['scratch_default'] = st['first_history']
278
+ check(st['first_history'] == 'frame0' and rec is None and st['first_history_state'] == layout,
279
+ f'{name}: from-scratch default')
280
+ print(json.dumps(dict(ok=not failures, failures=failures, **report)))
281
+ sys.exit(1 if failures else 0)
282
+
283
+
284
+ if __name__ == '__main__':
285
+ main()
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/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, first_history='zero') # the episode-start row is not compared here
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()
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/data.py ADDED
@@ -0,0 +1,509 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # the executed rows a policy conditions on (FLASH's history, the ODE policies' row before t), when they are not the
44
+ # action rows: g1_sonic_cmd trains on the commanded hands but conditions on the measured ones, as at deployment
45
+ # (the interface's past_actions = the token sent + the measured DFX6)
46
+ history: tuple | None = None
47
+
48
+ @property
49
+ def history_columns(self) -> tuple:
50
+ return self.history if self.history is not None else self.action
51
+
52
+ @property
53
+ def state_dim(self) -> int:
54
+ return sum(end - start for _, start, end in self.state)
55
+
56
+ @property
57
+ def action_dim(self) -> int:
58
+ return sum(end - start for _, start, end in self.action)
59
+
60
+ def to_dict(self, cameras=None) -> dict:
61
+ out = dict(name=self.name, robot=self.robot, cameras=list(cameras or self.cameras),
62
+ state=[list(s) for s in self.state], action=[list(a) for a in self.action],
63
+ state_dim=self.state_dim, action_dim=self.action_dim, action_space=self.action_space,
64
+ body_dims=self.body_dims)
65
+ if self.history is not None:
66
+ out['history'] = [list(h) for h in self.history]
67
+ return out
68
+
69
+
70
+ _G1_HANDS = (('observation.inspire_left_hand_state', 0, 6), ('observation.inspire_right_hand_state', 0, 6))
71
+ # the INSPIRE commands the expert sent (same [0, 1] DFX6 openings, same finger order; thumb pitch / yaw = the measured
72
+ # thumb bend / rotation). Owner 2026-11-27: every policy learns the commanded actions, hands included, never measured
73
+ # states (a closing hand stops on the object while its command keeps closing: b6 holds 0.13-0.34 tighter).
74
+ _G1_HAND_CMDS = (('teleop.inspire_left_hand_cmd', 0, 6), ('teleop.inspire_right_hand_cmd', 0, 6))
75
+ _G1_STATE = (('observation.state', 0, 29), *_G1_HANDS, ('observation.projected_gravity', 0, 3))
76
+ _H2_STATE = (('observation.state', 0, 75), ('observation.projected_gravity', 0, 3))
77
+ _H2_ACTION = (('action.body_target', 0, 31), ('action.hands', 0, 44))
78
+ # body_dims: G1 observation.state[0:29] are the 29 body joints; H2 observation.state[0:31] are legs 6+6, waist 3,
79
+ # head 2, arms 7+7 (docs/unitree_h2_sharpa.md), then the Sharpa hands.
80
+ CONTRACTS = {c.name: c for c in (
81
+ Contract('g1_sonic_dfx6', 'g1', ('ego_view', 'chest'), _G1_STATE,
82
+ (('action.motion_token', 0, 64), *_G1_HANDS), action_space='sonic_dfx6', body_dims=29),
83
+ # owner 2026-11-27: the default G1 contract of every new training (the same sonic_dfx6 interface and 76 values)
84
+ Contract('g1_sonic_cmd', 'g1', ('ego_view', 'chest'), _G1_STATE,
85
+ (('action.motion_token', 0, 64), *_G1_HAND_CMDS), action_space='sonic_dfx6', body_dims=29,
86
+ history=(('action.motion_token', 0, 64), *_G1_HANDS)),
87
+ Contract('h2_sharpa', 'h2_sharpa', ('head', 'chest'), _H2_STATE, _H2_ACTION, body_dims=31),
88
+ Contract('h2_sharpa_planner', 'h2_sharpa', ('head', 'chest'), _H2_STATE,
89
+ (*_H2_ACTION, ('action.planner', 0, 7)), body_dims=31),
90
+ )}
91
+
92
+
93
+ def augmentation_module():
94
+ """evaluation/augmentation: the augmentation spec v2 shared by every model's training (imported on demand)."""
95
+ evaluation = str(Path(__file__).resolve().parents[1])
96
+ if evaluation not in sys.path:
97
+ sys.path.insert(0, evaluation)
98
+ import augmentation
99
+ return augmentation
100
+
101
+
102
+ def resize_frame(frame: np.ndarray, hw) -> np.ndarray:
103
+ """(H, W, 3) uint8 RGB -> (h, w, 3) uint8, OpenCV INTER_AREA (training cache and live frames alike)."""
104
+ import cv2
105
+ frame = np.ascontiguousarray(frame, dtype=np.uint8)
106
+ if frame.ndim != 3 or frame.shape[2] != 3:
107
+ raise ValueError(f'expected an (H, W, 3) RGB frame, got {frame.shape}')
108
+ h, w = int(hw[0]), int(hw[1])
109
+ if frame.shape[:2] == (h, w):
110
+ return frame
111
+ return cv2.resize(frame, (w, h), interpolation=cv2.INTER_AREA)
112
+
113
+
114
+ class LeRobotDataset:
115
+ """A LeRobot v2.1 dataset directory (meta/info.json, meta/episodes.jsonl, data/, videos/)."""
116
+
117
+ def __init__(self, root):
118
+ self.root = Path(root).expanduser().resolve()
119
+ self.info = json.loads((self.root / 'meta/info.json').read_text())
120
+ if self.info.get('codebase_version') != 'v2.1':
121
+ raise ValueError(f"{self.root}: LeRobot {self.info.get('codebase_version')}, expected v2.1")
122
+ rows = [json.loads(line) for line in (self.root / 'meta/episodes.jsonl').read_text().splitlines() if line]
123
+ self.lengths = {int(r['episode_index']): int(r['length']) for r in rows}
124
+ tasks = [json.loads(line) for line in (self.root / 'meta/tasks.jsonl').read_text().splitlines() if line]
125
+ self.tasks = {int(t['task_index']): t['task'] for t in tasks}
126
+ self.fps = float(self.info['fps'])
127
+
128
+ @property
129
+ def name(self) -> str:
130
+ """The dataset's folder name (its parent's for an export folder named `lerobot`)."""
131
+ return self.root.parent.name if self.root.name == 'lerobot' else self.root.name
132
+
133
+ def chunk(self, episode: int) -> int:
134
+ return episode // int(self.info['chunks_size'])
135
+
136
+ def parquet(self, episode: int) -> Path:
137
+ return self.root / self.info['data_path'].format(episode_chunk=self.chunk(episode), episode_index=episode)
138
+
139
+ def video(self, episode: int, camera: str) -> Path:
140
+ return self.root / self.info['video_path'].format(episode_chunk=self.chunk(episode), episode_index=episode,
141
+ video_key=f'observation.images.{camera}')
142
+
143
+ def check_contract(self, contract: Contract, cameras):
144
+ features = self.info['features']
145
+ for column, start, end in (*contract.state, *contract.action, *contract.history_columns):
146
+ if column not in features:
147
+ raise KeyError(f'{self.root.name}: no column {column!r} (contract {contract.name})')
148
+ width = int(np.prod(features[column]['shape']))
149
+ if end > width:
150
+ raise ValueError(f'{column} has {width} values; the contract reads {start}:{end}')
151
+ for camera in cameras:
152
+ key = f'observation.images.{camera}'
153
+ if features.get(key, {}).get('dtype') != 'video':
154
+ raise KeyError(f'{self.root.name}: no video {key!r}')
155
+
156
+
157
+ def parse_episodes(spec: str | None, available) -> list:
158
+ """'0:100', '0,3,7' or None (all), restricted to the dataset's episodes, sorted."""
159
+ available = sorted(available)
160
+ if not spec:
161
+ return available
162
+ chosen = set()
163
+ for part in spec.split(','):
164
+ if ':' in part:
165
+ lo, hi = part.split(':')
166
+ chosen.update(range(int(lo or 0), int(hi) if hi else available[-1] + 1))
167
+ else:
168
+ chosen.add(int(part))
169
+ missing = sorted(chosen - set(available))
170
+ if missing:
171
+ raise ValueError(f'episodes not in the dataset: {missing[:10]}')
172
+ return sorted(chosen)
173
+
174
+
175
+ def load_lowdim(dataset: LeRobotDataset, contract: Contract, episodes) -> dict:
176
+ """State (N, state_dim) and action (N, action_dim) float32 of the episodes in order, plus each episode's start
177
+ row, length and task text; `history` (N, action_dim) is the executed rows a policy conditions on (the action rows
178
+ themselves unless the contract names other columns)."""
179
+ import pyarrow.parquet as pq
180
+ columns = sorted({c for c, _, _ in (*contract.state, *contract.action, *contract.history_columns)}
181
+ | {'frame_index', 'task_index'})
182
+ states, actions, histories, starts, lengths, tasks, offset = [], [], [], [], [], set(), 0
183
+ for episode in episodes:
184
+ table = pq.read_table(dataset.parquet(episode), columns=columns)
185
+ data = {c: np.asarray(table.column(c).to_pylist(), dtype=np.float64) for c in columns}
186
+ n = len(data['frame_index'])
187
+ if n != dataset.lengths[episode] or not np.array_equal(data['frame_index'], np.arange(n)):
188
+ raise ValueError(f'episode {episode}: {n} rows / frame_index differ from episodes.jsonl')
189
+
190
+ def pick(spec):
191
+ return np.concatenate([data[c].reshape(n, -1)[:, s:e] for c, s, e in spec], axis=1).astype(np.float32)
192
+
193
+ states.append(pick(contract.state))
194
+ actions.append(pick(contract.action))
195
+ if contract.history is not None:
196
+ histories.append(pick(contract.history))
197
+ tasks.update(dataset.tasks[int(i)] for i in np.unique(data['task_index']))
198
+ starts.append(offset)
199
+ lengths.append(n)
200
+ offset += n
201
+ state, action = np.concatenate(states), np.concatenate(actions)
202
+ history = np.concatenate(histories) if contract.history is not None else action
203
+ if not (np.isfinite(state).all() and np.isfinite(action).all() and np.isfinite(history).all()):
204
+ raise ValueError('non-finite state or action values')
205
+ return dict(state=state, action=action, history=history, starts=np.asarray(starts), lengths=np.asarray(lengths),
206
+ episodes=list(episodes), tasks=sorted(tasks))
207
+
208
+
209
+ def statistics(lowdim: dict, rows: np.ndarray, quantiles: bool = False) -> dict:
210
+ """min / max / mean / std of state and action over `rows`; with `quantiles` also their q01 / q99 (the ODE
211
+ policies' normalization bounds, as ODE Policy's G1 port fits them)."""
212
+ out = {}
213
+ for key in ('state', 'action'):
214
+ x = lowdim[key][rows].astype(np.float64)
215
+ out[key] = dict(min=x.min(0).tolist(), max=x.max(0).tolist(), mean=x.mean(0).tolist(), std=x.std(0).tolist())
216
+ if quantiles:
217
+ q01, q99 = np.quantile(x, [0.01, 0.99], axis=0)
218
+ out[key].update(q01=q01.tolist(), q99=q99.tolist())
219
+ return out
220
+
221
+
222
+ # Columns recorded in physical [0, 1] (the INSPIRE DFX6 openings): the ODE policies normalize them with these fixed
223
+ # bounds instead of the data's, as ODE Policy's G1 port does.
224
+ UNIT_RANGE_COLUMNS = ('observation.inspire_left_hand_state', 'observation.inspire_right_hand_state',
225
+ 'teleop.inspire_left_hand_cmd', 'teleop.inspire_right_hand_cmd')
226
+
227
+
228
+ def unit_range_dims(contract: Contract) -> dict:
229
+ """{'state': [...], 'action': [...]}: the positions of the UNIT_RANGE_COLUMNS values in the contract's layouts."""
230
+ out = {}
231
+ for key, spec in (('state', contract.state), ('action', contract.action)):
232
+ dims, offset = [], 0
233
+ for column, start, end in spec:
234
+ if column in UNIT_RANGE_COLUMNS:
235
+ dims.extend(range(offset, offset + end - start))
236
+ offset += end - start
237
+ out[key] = dims
238
+ return out
239
+
240
+
241
+ # History values that no observation measures (the G1 SONIC motion token: a latent): a FLASH 'frame0' history row
242
+ # takes a fixed value for them (flash.py, first_history)
243
+ LATENT_COLUMNS = ('action.motion_token',)
244
+
245
+
246
+ def _feature_names(features: dict, column: str):
247
+ names = (features.get(column) or {}).get('names')
248
+ width = int(np.prod(features[column]['shape'])) if column in features else 0
249
+ return list(names) if isinstance(names, (list, tuple)) and len(names) == width else None
250
+
251
+
252
+ def first_history_layout(contract: Contract, features: dict) -> list:
253
+ """For each value of the contract's history row, the index in the contract's state that measures it at the same
254
+ frame, or -1 for a LATENT_COLUMNS value: the sources of FLASH's frame-0 history row (flash.first_history_row).
255
+
256
+ A history column that is itself a state column (the measured G1 DFX6, state44[29:41]) maps onto it; any other
257
+ (the H2 action75 targets body_target31 | hands44) is matched by joint name (meta/info.json `names`) to exactly one
258
+ state value (H2: observation.state75; the matching of debug/newton/h2_sharpa_policy_eval.py `state_to_action`).
259
+ A value with no unique match is an error: pass --flash first_history='"zero"' to train without it."""
260
+ state_index, offset = {}, 0
261
+ for column, start, end in contract.state:
262
+ for j in range(start, end):
263
+ state_index[(column, j)] = offset + j - start
264
+ offset += end - start
265
+ by_name = {}
266
+ for column, start, end in contract.state:
267
+ names = _feature_names(features, column)
268
+ for j in range(start, end):
269
+ if names is not None:
270
+ by_name.setdefault(names[j], []).append(state_index[(column, j)])
271
+ out = []
272
+ for column, start, end in contract.history_columns:
273
+ names = _feature_names(features, column)
274
+ for j in range(start, end):
275
+ if (column, j) in state_index:
276
+ out.append(state_index[(column, j)])
277
+ elif column in LATENT_COLUMNS:
278
+ out.append(-1)
279
+ else:
280
+ hits = by_name.get(names[j], []) if names is not None else []
281
+ if len(hits) != 1:
282
+ what = f'{column}[{j}]' + (f' ({names[j]!r})' if names is not None else ' (no names in info.json)')
283
+ raise ValueError(f'contract {contract.name}: history value {what} matches {len(hits)} state '
284
+ "values by name; FLASH's frame-0 history needs exactly one")
285
+ out.append(hits[0])
286
+ return out
287
+
288
+
289
+ def first_history_start(lowdim: dict, layout, positions) -> list:
290
+ """The fixed values of FLASH's frame-0 history row: for each -1 of `layout` the element-wise median of that value
291
+ at the first frame of the episodes `positions` (the training episodes); 0 where the row reads the state."""
292
+ first = lowdim['history'][lowdim['starts'][list(positions)]].astype(np.float64)
293
+ median = np.median(first, axis=0)
294
+ return [float(median[d]) if src < 0 else 0.0 for d, src in enumerate(layout)]
295
+
296
+
297
+ # -- frame cache --------------------------------------------------------------------------------------------------
298
+ def _decode_into(job):
299
+ path, out_path, total, start, length, hw = job
300
+ import av
301
+ frames = np.memmap(out_path, dtype=np.uint8, mode='r+', shape=(total, hw[0], hw[1], 3))
302
+ count = 0
303
+ with av.open(str(path)) as container:
304
+ stream = container.streams.video[0]
305
+ stream.thread_type = 'AUTO'
306
+ for frame in container.decode(stream):
307
+ if count < length:
308
+ frames[start + count] = resize_frame(frame.to_ndarray(format='rgb24'), hw)
309
+ count += 1
310
+ frames.flush()
311
+ del frames
312
+ if count != length:
313
+ raise ValueError(f'{path}: {count} video frames, {length} data rows')
314
+ return length
315
+
316
+
317
+ def frame_cache(dataset: LeRobotDataset, lowdim: dict, cameras, hw, cache_root, workers=8) -> dict:
318
+ """{camera: path of the (N, h, w, 3) uint8 memory map} for the episodes of `lowdim`, decoded once and reused."""
319
+ from multiprocessing import get_context
320
+ total = int(lowdim['lengths'].sum())
321
+ paths = {}
322
+ for camera in cameras:
323
+ key = json.dumps(dict(version=CACHE_VERSION, root=str(dataset.root), episodes=lowdim['episodes'],
324
+ lengths=lowdim['lengths'].tolist(), camera=camera, hw=list(hw)), sort_keys=True)
325
+ digest = hashlib.sha256(key.encode()).hexdigest()[:16]
326
+ folder = Path(cache_root).expanduser() / f'{dataset.name}_{camera}_{hw[0]}x{hw[1]}_{digest}'
327
+ folder.mkdir(parents=True, exist_ok=True)
328
+ out, meta = folder / 'frames.u8', folder / 'meta.json'
329
+ if meta.exists() and json.loads(meta.read_text()).get('complete'):
330
+ paths[camera] = out
331
+ continue
332
+ np.memmap(out, dtype=np.uint8, mode='w+', shape=(total, hw[0], hw[1], 3)).flush()
333
+ jobs = [(dataset.video(e, camera), out, total, int(s), int(n), tuple(hw))
334
+ for e, s, n in zip(lowdim['episodes'], lowdim['starts'], lowdim['lengths'])]
335
+ with get_context('spawn').Pool(max(1, int(workers))) as pool: # the caller may hold torch threads
336
+ for done, _ in enumerate(pool.imap_unordered(_decode_into, jobs), 1):
337
+ if done % 20 == 0 or done == len(jobs):
338
+ print(json.dumps(dict(event='frame_cache', camera=camera, episodes=done, of=len(jobs))),
339
+ flush=True)
340
+ meta.write_text(json.dumps(dict(json.loads(key), frames=total, complete=True), indent=1))
341
+ paths[camera] = out
342
+ return paths
343
+
344
+
345
+ class ChunkDataset:
346
+ """torch-style dataset of (images (n_cameras, h, w, 3) uint8, state (state_dim,), action (horizon, action_dim))
347
+ over the frames of the selected episodes (positions into lowdim['episodes']). Memory maps open lazily per
348
+ process (DataLoader workers).
349
+
350
+ `body_dims` > 0 turns on the training augmentation (docs/augmentation_v2.md, evaluation/augmentation): per item,
351
+ the cached frames of all cameras get one hb_aug_v2.augment call (one time step, no future targets) and the first
352
+ `body_dims` state values the per-sample joint bias + noise; the action rows are never touched. 0 (evaluation,
353
+ offline checks) returns the cached frames and the recorded state unchanged, deterministically.
354
+
355
+ `lead` > 0 prepends that many rows before t to the action rows (lead + horizon rows, t-lead..t+horizon-1) and
356
+ adds a fourth item, the rows' validity (lead + horizon,) float: 0 for a row before the episode's first or past its
357
+ last (whose values repeat the nearest row); the ODE policies start from the row before t, or from their BOS where
358
+ it is invalid, and leave invalid future rows out of the loss (policies.ODEPolicy).
359
+
360
+ aug_seed (HumanWAM hb_training/REPRODUCIBILITY.md section 3; the training seed, `HB_AUG_SEED`): an item asked for
361
+ as (k, draw) (train.EpochSampler, 2026-11-27) is augmented with numpy default_rng([aug_seed, draw]), draw being its
362
+ position in the run's sample stream: the same seed and step give the same augmentations whatever the worker count
363
+ and across an interrupted run's --resume. A plain index k (the preflight) uses the per-worker stream
364
+ default_rng([aug_seed, torch.initial_seed(), worker id]) of the runs trained before; None the shared worker_rng
365
+ (pid + urandom: not reproducible)."""
366
+
367
+ def __init__(self, lowdim: dict, frames: dict, cameras, hw, horizon: int, positions, body_dims: int = 0,
368
+ lead: int = 0, aug_seed=None):
369
+ self.lowdim, self.paths, self.cameras, self.hw, self.horizon = lowdim, frames, list(cameras), tuple(hw), horizon
370
+ self.positions, self.body_dims, self.lead = list(positions), int(body_dims), int(lead)
371
+ self.aug_seed = aug_seed
372
+ self._rng_key, self._rng_obj = None, None
373
+ if self.body_dims:
374
+ augmentation_module() # asserts the spec version before any worker starts
375
+ self.total = int(lowdim['lengths'].sum())
376
+ index, begin, end = [], np.zeros(self.total, np.int64), np.zeros(self.total, np.int64)
377
+ for p in positions:
378
+ s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
379
+ index.append(np.arange(s, s + n))
380
+ begin[s:s + n] = s
381
+ end[s:s + n] = s + n
382
+ self.index, self.begin, self.end = np.concatenate(index), begin, end
383
+ self._maps, self._pid = None, None
384
+
385
+ def __len__(self):
386
+ return len(self.index)
387
+
388
+ def _frames(self):
389
+ if self._maps is None or self._pid != os.getpid():
390
+ self._maps = {c: np.memmap(self.paths[c], dtype=np.uint8, mode='r', shape=(self.total, *self.hw, 3))
391
+ for c in self.cameras}
392
+ self._pid = os.getpid()
393
+ return self._maps
394
+
395
+ def rows(self, i: int) -> np.ndarray:
396
+ return np.clip(np.arange(i - self.lead, i + self.horizon), self.begin[i], self.end[i] - 1)
397
+
398
+ def valid(self, i: int) -> np.ndarray:
399
+ rows = np.arange(i - self.lead, i + self.horizon)
400
+ return ((rows >= self.begin[i]) & (rows < self.end[i])).astype(np.float32)
401
+
402
+ def plain(self):
403
+ """The same items without augmentation (the preflight's reference read)."""
404
+ return ChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.horizon, self.positions,
405
+ lead=self.lead)
406
+
407
+ def _rng(self):
408
+ if self.aug_seed is None or not self.body_dims:
409
+ return None
410
+ import torch
411
+ info = torch.utils.data.get_worker_info()
412
+ wid = info.id if info is not None else 0
413
+ key = (os.getpid(), wid)
414
+ if self._rng_key != key:
415
+ self._rng_obj = np.random.default_rng([int(self.aug_seed), int(torch.initial_seed()), int(wid)])
416
+ self._rng_key = key
417
+ return self._rng_obj
418
+
419
+ def _key(self, k):
420
+ """(item index, augmentation rng) of a sampler key: (k, draw) or a plain k (class docstring)."""
421
+ if isinstance(k, (tuple, list)):
422
+ k, draw = k
423
+ if self.aug_seed is not None and self.body_dims:
424
+ return int(k), np.random.default_rng([int(self.aug_seed), int(draw)])
425
+ return int(k), self._rng()
426
+
427
+ def _observation(self, i: int, rng=None):
428
+ """The cameras (n_cameras, h, w, 3) uint8 and the state of frame i, augmented when body_dims > 0."""
429
+ import torch
430
+ maps = self._frames()
431
+ images = torch.from_numpy(np.stack([maps[c][i] for c in self.cameras]))
432
+ state = self.lowdim['state'][i]
433
+ if self.body_dims:
434
+ augmentation = augmentation_module()
435
+ images, _ = augmentation.augment_frames_uint8(images, rng=rng)
436
+ state = augmentation.perturb_body(state, self.body_dims, rng=rng)
437
+ return images, torch.from_numpy(np.asarray(state, dtype=np.float32))
438
+
439
+ def __getitem__(self, k):
440
+ import torch
441
+ k, rng = self._key(k)
442
+ i = int(self.index[k])
443
+ images, state = self._observation(i, rng=rng)
444
+ rows = self.rows(i)
445
+ action = self.lowdim['action'][rows]
446
+ if self.lead and self.lowdim.get('history') is not None and self.lowdim['history'] is not self.lowdim['action']:
447
+ action = action.copy() # the rows before t are executed rows (the contract's history columns)
448
+ action[:self.lead] = self.lowdim['history'][rows[:self.lead]]
449
+ item = images, state, torch.from_numpy(action)
450
+ return (*item, torch.from_numpy(self.valid(i))) if self.lead else item
451
+
452
+
453
+ class FlashChunkDataset(ChunkDataset):
454
+ """FLASH training items (evaluation/baselines/flash.py) over every frame of the selected episodes as the anchor:
455
+ (images, state, poly, history, has_history[, dense, dense_valid]).
456
+
457
+ - images, state: the anchor frame's cameras and state44, augmented as ChunkDataset (spec v2) when body_dims > 0;
458
+ - poly (H_ext, action_dim): the action rows at `offsets` frames from the anchor (the polynomial's extended grid,
459
+ `stride` frames apart), clamped to the episode (FLASH's edge padding);
460
+ - history (n_history, action_dim), has_history: flash.history_rows over the `span` executed rows before the anchor
461
+ (rows before the episode start invalid), the same function the adapter applies to past_actions; at the
462
+ episode's first frame (no executed row) with `first` (flash.first_history_source of a 'frame0' FLASH) the
463
+ frame-0 row flash.first_history_row(first, recorded state of that frame) replicated, has_history True (the
464
+ recorded state, not the augmented one: history labels are never augmented); without it the zero start;
465
+ - dense (rows, action_dim), dense_valid: the recorded 30 Hz rows from the anchor (offline check only).
466
+
467
+ aug_seed: as ChunkDataset (the same seeded stream)."""
468
+
469
+ def __init__(self, lowdim, frames, cameras, hw, positions, *, offsets, stride, n_history, rows, body_dims=0,
470
+ aug_seed=None, with_dense=False, first=None):
471
+ super().__init__(lowdim, frames, cameras, hw, rows, positions, body_dims=body_dims)
472
+ self.first = first
473
+ self.offsets = np.asarray(offsets, dtype=np.int64)
474
+ self.stride, self.n_history, self.n_rows = int(stride), int(n_history), int(rows)
475
+ self.span = (self.n_history - 1) * self.stride + 1
476
+ self.aug_seed, self.with_dense = aug_seed, bool(with_dense)
477
+ start = np.zeros(self.total, np.int64)
478
+ for p in positions:
479
+ s, n = int(lowdim['starts'][p]), int(lowdim['lengths'][p])
480
+ start[s:s + n] = s
481
+ self.start = start
482
+
483
+ def plain(self):
484
+ return FlashChunkDataset(self.lowdim, self.paths, self.cameras, self.hw, self.positions, offsets=self.offsets,
485
+ stride=self.stride, n_history=self.n_history, rows=self.n_rows,
486
+ with_dense=self.with_dense, first=self.first)
487
+
488
+ def __getitem__(self, k):
489
+ import torch
490
+ from .flash import first_history_row, history_rows
491
+ k, rng = self._key(k)
492
+ i = int(self.index[k])
493
+ s0, e1 = int(self.start[i]), int(self.end[i])
494
+ images, state = self._observation(i, rng=rng)
495
+ action = self.lowdim['action']
496
+ poly = action[np.clip(i + self.offsets, s0, e1 - 1)]
497
+ past = i - self.span + np.arange(self.span)
498
+ executed = self.lowdim.get('history', action) # the measured hands under g1_sonic_cmd, as past_actions
499
+ first = (first_history_row(self.first, self.lowdim['state'][s0]) if self.first is not None and i == s0
500
+ else None)
501
+ history, has = history_rows(executed[np.maximum(past, s0)], past >= s0, self.stride, self.n_history,
502
+ first_row=first)
503
+ out = [images, state, torch.from_numpy(np.ascontiguousarray(poly)), torch.from_numpy(history),
504
+ torch.tensor(bool(has))]
505
+ if self.with_dense:
506
+ idx = i + np.arange(self.n_rows)
507
+ out += [torch.from_numpy(np.ascontiguousarray(action[np.minimum(idx, e1 - 1)])),
508
+ torch.from_numpy(idx < e1)]
509
+ return tuple(out)
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/flash.py ADDED
@@ -0,0 +1,474 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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).
19
+ - **Episode start (`first_history`, owner 2026-11-29).** With no executed row at all (the episode's first frame, the
20
+ first query of a rollout) upstream still has a history: its dataset pads the n_obs_steps window with the first
21
+ frame and its runner repeats the first observation. `'frame0'` (the default of every new training) does the same:
22
+ the history is one row h0 replicated over the n_history points (has_history True), built from the frame's
23
+ OBSERVATION only (never the anchor's own action row): every history value that the state measures is taken from
24
+ the state (`first_history_state`: its index in the contract's state; G1 the measured DFX6 = state44[29:41], H2
25
+ action75 = observation.state75 matched by joint name, data.first_history_layout), and the value that nothing
26
+ measures (the G1 SONIC token) is a fixed start (`first_history_value`: the element-wise median of the frame-0
27
+ tokens of the training episodes, computed once by train.py). Both lists are recorded in the checkpoint's config, and
28
+ the deployment (runtime.BaselinePolicy.start_history, used by the G1 and H2 adapters) builds the same h0 from the
29
+ first query's measured state. A checkpoint whose config has no `first_history` (every FLASH checkpoint trained
30
+ before 2026-11-29) is `'zero'`: no row means has_history False and the flow starts from the zero coefficients, in
31
+ training as at deployment, exactly as it was trained and evaluated.
32
+ - **Sampling stride.** The model's points are `stride` dataset frames apart (30 Hz data: stride 2 = 67 ms, the paper's
33
+ 4 x 15 ms = 60 ms). Every dataset frame is an anchor (FLASH's converter keeps only every stride-th frame: one phase
34
+ of the same sparse data).
35
+ - **Observation.** The current ego_view and chest frames and state44 condition the DiT (n_obs 1); FLASH's 8-frame
36
+ observation history is not rendered by the benchmark runners. state44 is the low-dim encoder input as agent_pos is.
37
+ - **Output.** The polynomial is evaluated at every 30 Hz frame from the anchor (`rows` rows, row 0 = the query frame),
38
+ the analytic form of FLASH's continuous-time resampling, at exact frame times. FLASH's velocity feed-forward has no
39
+ channel in the interface (SONIC takes tokens) and is not produced.
40
+ - Polynomial fits run in float32 outside autocast (FLASH runs them inside its bf16 autocast); the encoder and the
41
+ DiT run under the trainer's bf16 autocast as upstream.
42
+ - Augmentation spec v2 replaces the native image augmentation (FLASH's random_crop is configured but inert without
43
+ crop_shape).
44
+ """
45
+ from __future__ import annotations
46
+
47
+ import copy
48
+
49
+ import numpy as np
50
+ import torch
51
+ import torch.nn as nn
52
+ import torch.nn.functional as F
53
+ import torchvision
54
+
55
+ from .nets import IMAGENET_MEAN, IMAGENET_STD, Mlp, SinusoidalPosEmb, replace_batchnorm_with_groupnorm
56
+
57
+ # configs/policy_config/flash.yaml (+ default_runner.yaml horizon 16 / n_obs 8 / n_action 8), owner 2026-11-24 stride 2
58
+ FLASH_DEFAULTS = dict(stride=2, n_history=8, n_action=8, rows=16, poly_order=6, fit_pad=1, boundary_constraint=True,
59
+ poly_prefix=1, poly_suffix=1, history_noise_std=0.5, history_reg_lambda=0.1,
60
+ consistency_weight=1.0, solver='euler',
61
+ # the history at the episode start (module docstring; owner 2026-11-29): 'frame0' (new trainings)
62
+ # or 'zero'; train.py fills the frame-0 row's sources (one entry per action value: the state
63
+ # index it is read from, -1 for a fixed value) and its fixed values (0 where read from the state)
64
+ first_history='frame0', first_history_state=None, first_history_value=None)
65
+ FIRST_HISTORY = ('frame0', 'zero')
66
+ # PolicyConfig fields of a FLASH run (flash.yaml + default_train.yaml): DiT 512 x 4 x 8, dropout 0, time embedding
67
+ # 256, one inference step, ResNet18 from scratch with GroupNorm, one per camera
68
+ FLASH_POLICY_FIELDS = dict(hidden_dim=512, num_layers=4, num_heads=8, mlp_ratio=4.0, dropout=0.0, time_embed_dim=256,
69
+ num_inference_steps=1, backbone='resnet18', backbone_weights=None, backbone_norm='group')
70
+
71
+
72
+ def flash_settings(cfg) -> dict:
73
+ """The FLASH settings of a PolicyConfig (cfg.extra['flash'] over the defaults); unknown keys are an error."""
74
+ given = dict((cfg.extra or {}).get('flash', {}))
75
+ unknown = sorted(set(given) - set(FLASH_DEFAULTS))
76
+ if unknown:
77
+ raise KeyError(f'unknown FLASH settings {unknown}; known: {sorted(FLASH_DEFAULTS)}')
78
+ out = dict(FLASH_DEFAULTS, **given)
79
+ if 'first_history' not in given: # a checkpoint trained before 2026-11-29: the zero start it was trained with
80
+ out['first_history'] = 'zero'
81
+ if out['solver'] not in ('euler', 'midpoint'):
82
+ raise ValueError(f"solver {out['solver']!r}")
83
+ if out['poly_prefix'] is None or int(out['poly_prefix']) < 0:
84
+ raise ValueError('this port implements poly_prefix >= 0 (flash.yaml: 1)')
85
+ if out['first_history'] not in FIRST_HISTORY:
86
+ raise ValueError(f"first_history {out['first_history']!r}, expected one of {FIRST_HISTORY}")
87
+ if out['first_history'] == 'frame0':
88
+ index, value = out['first_history_state'], out['first_history_value']
89
+ if index is None or value is None or len(index) != len(value):
90
+ raise ValueError("first_history 'frame0' needs first_history_state and first_history_value of the same "
91
+ 'length (train.py fills them from the dataset)')
92
+ return out
93
+
94
+
95
+ def first_history_source(settings: dict):
96
+ """(state index (Da,) int64, fixed value (Da,) float32) of the frame-0 history row of a 'frame0' FLASH, else
97
+ None ('zero')."""
98
+ if settings['first_history'] != 'frame0':
99
+ return None
100
+ return (np.asarray(settings['first_history_state'], np.int64),
101
+ np.asarray(settings['first_history_value'], np.float32))
102
+
103
+
104
+ def first_history_row(source, state) -> np.ndarray:
105
+ """h0 (Da,) float32: the history row of a frame with no executed row before it, from that frame's state: value d
106
+ is state[index[d]], or the fixed value[d] where index[d] is -1."""
107
+ index, value = source
108
+ state = np.asarray(state, np.float32).reshape(-1)
109
+ if index.max(initial=-1) >= len(state):
110
+ raise ValueError(f'first_history_state reads state index {int(index.max())}, the state has {len(state)}')
111
+ return np.where(index >= 0, state[np.maximum(index, 0)], value).astype(np.float32)
112
+
113
+
114
+ # --- networks: utils/models/flow_net.py and positional_embedding.py of FLASH-Policy ------------------------------
115
+ class RotaryPosEmbFlash(nn.Module):
116
+ """torchtune RoPE as FLASH builds it: `dim` = the model width, its dim/2 frequencies split over the heads, pairs
117
+ interleaved (x[..., 0::2], x[..., 1::2])."""
118
+
119
+ def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
120
+ super().__init__()
121
+ self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
122
+ theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
123
+ self.register_buffer('theta', theta, persistent=False)
124
+ seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
125
+ idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
126
+ self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
127
+ persistent=False)
128
+
129
+ def forward(self, x): # x: (B, heads, S, head_dim)
130
+ x = x.permute(0, 2, 1, 3)
131
+ B, S, heads, head_dim = x.size()
132
+ rope = self.cache[:S].view(1, S, heads, head_dim // 2, 2)
133
+ xs = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
134
+ out = torch.stack([xs[..., 0] * rope[..., 0] - xs[..., 1] * rope[..., 1],
135
+ xs[..., 1] * rope[..., 0] + xs[..., 0] * rope[..., 1]], -1)
136
+ return out.flatten(3).permute(0, 2, 1, 3).type_as(x)
137
+
138
+
139
+ class FlashAttention(nn.Module):
140
+ 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):
141
+ super().__init__()
142
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
143
+ self.num_heads, self.head_dim = num_heads, dim // num_heads
144
+ self.attn_drop = attn_drop
145
+ self.proj_drop = nn.Dropout(proj_drop)
146
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
147
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
148
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
149
+ self.proj = nn.Linear(dim, dim)
150
+ self.rope = RotaryPosEmbFlash(dim, max_seq_len=max_seq_len)
151
+
152
+ def forward(self, x):
153
+ B, S, C = x.shape
154
+ q, k, v = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
155
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
156
+ x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
157
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
158
+
159
+
160
+ class FlashAdaLNBlock(nn.Module):
161
+ def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0, max_seq_len=256):
162
+ super().__init__()
163
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
164
+ self.attn = FlashAttention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout,
165
+ max_seq_len=max_seq_len)
166
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
167
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
168
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
169
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
170
+ self.dim = dim
171
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
172
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
173
+
174
+ def forward(self, x, t, c):
175
+ B = x.shape[0]
176
+ gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
177
+ x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
178
+ return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
179
+
180
+
181
+ class FlashFlowTransformer(nn.Module):
182
+ """FLASH's FlowTransformer: AdaLN DiT over the C coefficient rows (tokens of width action_dim)."""
183
+
184
+ def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
185
+ dropout=0.1, time_embed_dim=256, max_seq_len=256):
186
+ super().__init__()
187
+ self.input_proj = nn.Linear(input_dim, hidden_dim)
188
+ self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
189
+ nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
190
+ self.cond_embed = nn.Linear(condition_dim, hidden_dim)
191
+ self.transformer_blocks = nn.ModuleList(
192
+ [FlashAdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout, max_seq_len=max_seq_len)
193
+ for _ in range(num_layers)])
194
+ self.norm = nn.LayerNorm(hidden_dim)
195
+ self.out_proj = nn.Linear(hidden_dim, output_dim)
196
+
197
+ def basic_init(module):
198
+ if isinstance(module, nn.Linear):
199
+ nn.init.xavier_uniform_(module.weight)
200
+ if module.bias is not None:
201
+ nn.init.constant_(module.bias, 0)
202
+
203
+ self.apply(basic_init)
204
+ nn.init.normal_(self.time_embed[1].weight, std=0.02)
205
+ nn.init.normal_(self.time_embed[3].weight, std=0.02)
206
+
207
+ def forward(self, x, t, global_cond):
208
+ if not torch.is_tensor(t):
209
+ t = torch.tensor(t, device=x.device)
210
+ if t.ndim == 0:
211
+ t = t.expand(x.shape[0])
212
+ x = self.input_proj(x)
213
+ t = self.time_embed(t)
214
+ c = self.cond_embed(global_cond)
215
+ for block in self.transformer_blocks:
216
+ x = block(x, t, c)
217
+ return self.out_proj(self.norm(x))
218
+
219
+
220
+ class FlashObsEncoder(nn.Module):
221
+ """FLASH's MultiImageObsEncoder (share_rgb_model False, use_group_norm, imagenet_norm, no resize / crop): one
222
+ torchvision ResNet (classifier removed) per camera, every copy deep-copied from one initialization, BatchNorm
223
+ replaced by GroupNorm(C // 16) after the copy; each [0, 1] image goes through FLASH's range normalizer (x 2 - 1)
224
+ and then torchvision's ImageNet Normalize, as upstream composes them. Output: the cameras' pooled features in the
225
+ contract's camera order, then the normalized state. (B, n_cameras * 512 + state_dim)."""
226
+
227
+ def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None):
228
+ super().__init__()
229
+ base = getattr(torchvision.models, backbone)(weights=weights)
230
+ base.fc = nn.Identity()
231
+ self.rgb = nn.ModuleList([replace_batchnorm_with_groupnorm(copy.deepcopy(base)) for _ in range(n_cameras)])
232
+ self.n_cameras, self.state_dim = int(n_cameras), int(state_dim)
233
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
234
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
235
+ self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
236
+
237
+ def forward(self, images, state):
238
+ """images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
239
+ x = images * 2.0 - 1.0 # get_image_range_normalizer: [0, 1] -> [-1, 1]
240
+ feats = [net((x[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)]
241
+ return torch.cat([*feats, state], dim=-1)
242
+
243
+
244
+ # --- the policy ---------------------------------------------------------------------------------------------------
245
+ def legendre_basis(s: torch.Tensor, degree: int):
246
+ """Shifted Legendre basis on s in [0, 1] and its first / second derivatives (FLASH's _build_legendre_basis)."""
247
+ x = 2 * s - 1
248
+ H, C = len(s), degree + 1
249
+ P = torch.zeros(H, C, dtype=s.dtype)
250
+ dP = torch.zeros(H, C, dtype=s.dtype)
251
+ d2P = torch.zeros(H, C, dtype=s.dtype)
252
+ P[:, 0] = 1.0
253
+ if C > 1:
254
+ P[:, 1] = x
255
+ dP[:, 1] = 1.0
256
+ for n in range(1, C - 1):
257
+ P[:, n + 1] = ((2 * n + 1) * x * P[:, n] - n * P[:, n - 1]) / (n + 1)
258
+ dP[:, n + 1] = ((2 * n + 1) * (P[:, n] + x * dP[:, n]) - n * dP[:, n - 1]) / (n + 1)
259
+ d2P[:, n + 1] = ((2 * n + 1) * (2 * dP[:, n] + x * d2P[:, n]) - n * d2P[:, n - 1]) / (n + 1)
260
+ return P, 2 * dP, 4 * d2P
261
+
262
+
263
+ def history_rows(rows, valid, stride: int, n_history: int, first_row=None):
264
+ """The FLASH history of one query from its executed rows.
265
+
266
+ rows (N, D) and valid (N,): consecutive frames ending at the frame before the query (row N - 1 = t - 1), a valid
267
+ contiguous suffix (the interface's past_actions / history_valid; the dataset's rows before an anchor). Returns
268
+ (history (n_history, D) float32 at frames t-1-(n_history-1-j)*stride, has_history bool): a point before the first
269
+ valid row repeats that row (FLASH's edge padding). With no valid row: `first_row` (D,) given (a 'frame0' FLASH:
270
+ first_history_row of the query frame) -> that row at every point, has_history True; else has_history False (the
271
+ zero start of a 'zero' FLASH)."""
272
+ rows = np.asarray(rows, dtype=np.float32)
273
+ valid = np.asarray(valid, dtype=bool).reshape(-1)
274
+ span = (n_history - 1) * stride + 1
275
+ if len(rows) < span or len(valid) != len(rows):
276
+ raise ValueError(f'need >= {span} history rows (stride {stride} x {n_history} points), got {rows.shape}')
277
+ if not valid.any():
278
+ if first_row is not None:
279
+ first_row = np.asarray(first_row, np.float32).reshape(-1)
280
+ if first_row.shape != (rows.shape[1],) or not np.isfinite(first_row).all():
281
+ raise ValueError(f'first_row {first_row.shape}: expected {rows.shape[1]} finite values')
282
+ return np.repeat(first_row[None], n_history, axis=0), True
283
+ return np.zeros((n_history, rows.shape[1]), np.float32), False
284
+ first = int(np.argmax(valid))
285
+ if not valid[first:].all():
286
+ raise ValueError('history_valid must be a contiguous suffix')
287
+ idx = len(rows) - 1 - (n_history - 1 - np.arange(n_history)) * stride
288
+ return rows[np.maximum(idx, first)].copy(), True
289
+
290
+
291
+ class FlashPolicy(nn.Module):
292
+ """FLASH (FlashDiTImagePolicy) on the baselines contract.
293
+
294
+ Training: compute_loss(images, state, poly, history, has_history) with poly (B, H_ext, Da) the physical action
295
+ rows at the polynomial's extended grid (anchor index fit_pad + poly_prefix, `stride` frames apart, clamped at the
296
+ episode's ends), history (B, n_history, Da) from history_rows (at an episode start: first_history_row
297
+ replicated for 'frame0', the zero start for 'zero'). Inference: predict(images, state, history,
298
+ has_history) -> the physical (B, rows, Da) chunk at 30 Hz from the query frame, and the normalized coefficients."""
299
+ name = 'flash'
300
+ backbone_prefix = 'obs_encoder.rgb.'
301
+
302
+ def __init__(self, cfg, init_weights=None):
303
+ super().__init__()
304
+ from .policies import Normalizer
305
+ self.cfg = cfg
306
+ self.state_norm = Normalizer(cfg.state_dim)
307
+ self.action_norm = Normalizer(cfg.action_dim)
308
+ f = self.flash = flash_settings(cfg)
309
+ self.stride, self.n_history, self.n_action = int(f['stride']), int(f['n_history']), int(f['n_action'])
310
+ self.rows, self.poly_order, self.fit_pad = int(f['rows']), int(f['poly_order']), int(f['fit_pad'])
311
+ self.prefix, self.suffix = int(f['poly_prefix']), int(f['poly_suffix'])
312
+ self.boundary_constraint = bool(f['boundary_constraint'])
313
+ self.history_noise_std = float(f['history_noise_std'])
314
+ self.history_reg_lambda = float(f['history_reg_lambda'])
315
+ self.consistency_weight = float(f['consistency_weight'])
316
+ self.solver = f['solver']
317
+ self.first_history = f['first_history']
318
+ self.first_history_source = first_history_source(f) # None for a 'zero' FLASH
319
+ if self.first_history_source is not None and len(self.first_history_source[0]) != cfg.action_dim:
320
+ raise ValueError(f'first_history_state has {len(self.first_history_source[0])} entries, the action '
321
+ f'{cfg.action_dim}')
322
+ if cfg.horizon != self.rows:
323
+ raise ValueError(f'PolicyConfig.horizon {cfg.horizon} must equal the FLASH output rows {self.rows}')
324
+ C = self.num_coeff = self.poly_order + 1
325
+ H_poly = self.H_poly = self.prefix + self.n_action + self.suffix
326
+ H_ext = self.H_ext = H_poly + 2 * self.fit_pad
327
+ self.anchor = self.fit_pad + self.prefix # anchor index in the extended grid
328
+ last_dense = (self.rows - 1) / self.stride
329
+ if self.prefix + last_dense > H_poly - 1 + 1e-9:
330
+ raise ValueError(f'{self.rows} rows at stride {self.stride} reach past the fitted polynomial')
331
+
332
+ s_ext = torch.linspace(0.0, 1.0, H_ext, dtype=torch.float64)
333
+ s_mid = s_ext[self.fit_pad:self.fit_pad + H_poly] if self.fit_pad > 0 else s_ext
334
+ eval_ext, d1_ext, _ = legendre_basis(s_ext, self.poly_order)
335
+ StS = eval_ext.T @ eval_ext
336
+ lstsq = torch.linalg.solve(StS, eval_ext.T)
337
+ eval_mid, _, _ = legendre_basis(s_mid, self.poly_order)
338
+ coeff_scale = torch.norm(lstsq, dim=1).clamp(min=1e-8)
339
+ self.register_buffer('_lstsq_matrix', lstsq.float())
340
+ self.register_buffer('_coeff_scale', coeff_scale.float().view(1, -1, 1))
341
+ # history fit (flash_policy.py, poly_prefix branch): the first n_history rows of the core grid, Tikhonov
342
+ S_hist = eval_mid.double() if H_poly == self.n_history else eval_mid[:self.n_history, :].double()
343
+ StS_hist = S_hist.T @ S_hist
344
+ if self.history_reg_lambda > 0:
345
+ StS_hist = StS_hist + self.history_reg_lambda * torch.eye(C, dtype=torch.float64)
346
+ self.register_buffer('_history_lstsq_matrix', torch.linalg.solve(StS_hist, S_hist.T).float())
347
+ if self.boundary_constraint: # KKT C1 at the execution start and the next window's start
348
+ idx = [self.fit_pad + self.prefix, self.fit_pad + self.prefix + self.n_action]
349
+ if idx[1] >= H_ext:
350
+ raise ValueError(f'bc_overlap {idx[1]} >= H_ext {H_ext}: increase fit_pad')
351
+ A_pos, A_vel = eval_ext[idx, :], d1_ext[idx, :]
352
+ A = torch.cat([A_pos, A_vel], dim=0)
353
+ StS_inv_AT = torch.linalg.solve(StS, torch.eye(C, dtype=torch.float64)) @ A.T
354
+ self.register_buffer('_bc_eval_pos', A_pos.float())
355
+ self.register_buffer('_bc_eval_vel', A_vel.float())
356
+ self.register_buffer('_bc_correction', (StS_inv_AT @ torch.linalg.inv(A @ StS_inv_AT)).float())
357
+ self.register_buffer('_bc_pos_indices', torch.tensor(idx, dtype=torch.long))
358
+ # the 30 Hz output rows: frame k after the anchor sits at grid index anchor + k / stride
359
+ s_dense = torch.tensor([(self.anchor + k / self.stride) / (H_ext - 1) for k in range(self.rows)],
360
+ dtype=torch.float64)
361
+ self.register_buffer('_dense_eval_matrix', legendre_basis(s_dense, self.poly_order)[0].float())
362
+
363
+ self.obs_encoder = FlashObsEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone, weights=init_weights)
364
+ self.model = FlashFlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
365
+ hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim,
366
+ num_layers=cfg.num_layers, num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio,
367
+ dropout=cfg.dropout, time_embed_dim=cfg.time_embed_dim)
368
+
369
+ def fit_normalizers(self, stats: dict):
370
+ self.state_norm.fit(stats['state']['min'], stats['state']['max'])
371
+ self.action_norm.fit(stats['action']['min'], stats['action']['max'])
372
+
373
+ @property
374
+ def sampling_steps(self) -> int:
375
+ return int(self.cfg.num_inference_steps or 1)
376
+
377
+ @property
378
+ def history_span(self) -> int:
379
+ """Executed rows a query needs: (n_history - 1) * stride + 1."""
380
+ return (self.n_history - 1) * self.stride + 1
381
+
382
+ def first_history_row(self, state):
383
+ """h0 (Da,) of a query with no executed row before it, from its physical state ('frame0'); None ('zero')."""
384
+ return None if self.first_history_source is None else first_history_row(self.first_history_source, state)
385
+
386
+ def extended_offsets(self) -> np.ndarray:
387
+ """Frame offsets from the anchor of the extended polynomial grid (for the training targets)."""
388
+ return (np.arange(self.H_ext) - self.anchor) * self.stride
389
+
390
+ # polynomial operations, float32 and outside autocast ----------------------------------------------------------
391
+ def _to_coeff(self, traj_n):
392
+ return torch.einsum('ch,bhd->bcd', self._lstsq_matrix, traj_n) / self._coeff_scale
393
+
394
+ def _history_coeff(self, history, has_history):
395
+ with torch.autocast(history.device.type, enabled=False):
396
+ h = torch.einsum('ch,bhd->bcd', self._history_lstsq_matrix, self.action_norm.normalize(history.float()))
397
+ h = h / self._coeff_scale
398
+ return torch.where(has_history.view(-1, 1, 1).bool(), h, torch.zeros_like(h))
399
+
400
+ def _apply_boundary_constraint(self, norm_coeff, traj_n):
401
+ raw = norm_coeff * self._coeff_scale
402
+ idx, H = self._bc_pos_indices, traj_n.shape[1]
403
+ cur_pos = torch.einsum('kc,bcd->bkd', self._bc_eval_pos, raw)
404
+ tgt_pos = traj_n[:, idx, :]
405
+ vel = []
406
+ for i in idx.tolist():
407
+ if i + 1 < H:
408
+ v = (traj_n[:, i + 1] - traj_n[:, i - 1]) * (H - 1) / 2
409
+ elif i >= 2:
410
+ v = (3 * traj_n[:, i] - 4 * traj_n[:, i - 1] + traj_n[:, i - 2]) * (H - 1) / 2
411
+ else:
412
+ v = (traj_n[:, i] - traj_n[:, i - 1]) * (H - 1)
413
+ vel.append(v)
414
+ tgt_vel = torch.stack(vel, dim=1)
415
+ cur_vel = torch.einsum('kc,bcd->bkd', self._bc_eval_vel, raw)
416
+ residual = torch.cat([cur_pos - tgt_pos, cur_vel - tgt_vel], dim=1)
417
+ return (raw - torch.einsum('ck,bkd->bcd', self._bc_correction, residual)) / self._coeff_scale
418
+
419
+ def target_coeff(self, poly):
420
+ with torch.autocast(poly.device.type, enabled=False):
421
+ traj_n = self.action_norm.normalize(poly.float())
422
+ coeff = self._to_coeff(traj_n)
423
+ if self.boundary_constraint:
424
+ coeff = self._apply_boundary_constraint(coeff, traj_n)
425
+ return coeff
426
+
427
+ def dense_from_coeff(self, norm_coeff):
428
+ """(B, rows, Da) physical actions at the 30 Hz frames from the anchor."""
429
+ with torch.autocast(norm_coeff.device.type, enabled=False):
430
+ raw = norm_coeff.float() * self._coeff_scale
431
+ return self.action_norm.unnormalize(torch.einsum('hc,bcd->bhd', self._dense_eval_matrix, raw))
432
+
433
+ def condition(self, images, state):
434
+ return self.obs_encoder(images, self.state_norm.normalize(state))
435
+
436
+ # training and inference ------------------------------------------------------------------------------------------
437
+ def compute_loss(self, images, state, poly, history, has_history):
438
+ target = self.target_coeff(poly)
439
+ hist = self._history_coeff(history, has_history)
440
+ if self.training and self.history_noise_std > 0:
441
+ hist = hist + torch.randn_like(hist) * self.history_noise_std
442
+ cond = self.condition(images, state)
443
+ t = torch.rand(target.shape[0], device=target.device)
444
+ te = t.view(-1, 1, 1)
445
+ x_t = (1 - te) * hist + te * target
446
+ loss_fm = F.mse_loss(self.model(x_t, t, cond).float(), target - hist)
447
+ loss, metrics = loss_fm, dict(fm=float(loss_fm.detach()))
448
+ if self.consistency_weight > 0:
449
+ v0 = self.model(hist, torch.zeros_like(t), cond).float()
450
+ loss_c = F.mse_loss(hist + v0, target)
451
+ loss = loss + self.consistency_weight * loss_c
452
+ metrics['consistency'] = float(loss_c.detach())
453
+ return loss, metrics
454
+
455
+ @torch.no_grad()
456
+ def predict_coeff(self, images, state, history, has_history):
457
+ cond = self.condition(images, state)
458
+ x = self._history_coeff(history, has_history)
459
+ times = torch.linspace(0, 1.0, self.sampling_steps + 1)
460
+ for i in range(self.sampling_steps):
461
+ t0 = times[i].view(1).expand(x.shape[0]).to(x.device)
462
+ t1 = times[i + 1].view(1).expand(x.shape[0]).to(x.device)
463
+ dt = (t1 - t0).view(-1, 1, 1)
464
+ if self.solver == 'euler':
465
+ x = x + dt * self.model(x, t0, cond).float()
466
+ else:
467
+ x_mid = x + self.model(x, t0, cond).float() * dt / 2
468
+ x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond).float()
469
+ return x
470
+
471
+ @torch.no_grad()
472
+ def predict(self, images, state, history, has_history, generator=None): # noqa: ARG002 - deterministic
473
+ coeff = self.predict_coeff(images, state, history, has_history)
474
+ return self.dense_from_coeff(coeff), coeff
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/fm_dit_v2.py ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """FM-DiT v2: the flow-matching DiT of NTUMARS/FLASH-Policy @ f47e490 behind the baselines contract (owner 2026-11-25).
2
+
3
+ Not the `fm_dit` baseline of policies.py (FM-DiT v1, ported from DextraVerse's IL core), which stays unchanged for the
4
+ checkpoints trained with it. The owner asked for this second implementation after the v1 checkpoints reached 1 success
5
+ in all their closed-loop evaluations; if v2 scores higher under the same training and evaluation, v1 is retired.
6
+
7
+ Ported from `roboverse_learn/il/policies/fm/fm_dit_image_policy.py` (`FlowMatchingDiTImagePolicy`) with
8
+ `configs/policy_config/fm_dit.yaml` and `configs/train_config/default_train.yaml`, FLASH-Policy's own FM-DiT baseline.
9
+ Its network is FLASH's (flow_net.FlowTransformer with the torchtune RoPE, MultiImageObsEncoder), so this module
10
+ reuses flash.py's port of them; only the flow and the sampler differ from FLASH:
11
+
12
+ - loss: x_t = (1 - t) noise + t a with t ~ U(0, 1) and noise ~ N(0, I) over the whole normalized chunk; MSE of the
13
+ DiT's output against a - noise (obs_as_global_cond: no inpainting mask, every element counts);
14
+ - sampling: num_inference_steps 10 midpoint steps from noise (20 DiT calls), t = 0 -> 1;
15
+ - fm_dit.yaml: DiT 512 wide, 4 blocks, 8 heads, mlp ratio 4, dropout 0.1, time embedding 256; one ResNet18 per camera
16
+ from scratch with GroupNorm, ImageNet normalization of the range-normalized image; the state joins the image
17
+ features as the low-dim input (agent_pos), as in FLASH's encoder;
18
+ - default_train.yaml: seed 42, AdamW lr 1e-4 (betas 0.95 / 0.999, weight decay 1e-6), 500 warm-up steps then
19
+ diffusers' cosine, Diffusion Policy's EMAModel (power 0.75, max 0.9999), the encoder at the full learning rate
20
+ (train.py FM_DIT_V2_TRAINING).
21
+
22
+ What the humanoid interface changes, as for FLASH (flash.py, owner 2026-11-24/25: aligned with FLASH's port):
23
+ one observation frame (the current ego_view and chest frames and state44; the runners render no 8-frame history),
24
+ 16 rows of action76 at 30 Hz from the query frame (row 0 = the query frame, the LeRobot rows t..t+15, as every
25
+ baseline), the augmentation spec v2 in place of the native random_crop (inert upstream without crop_shape), the
26
+ benchmark's batch 512 on one GPU. The runners re-query after at most 12 rows (FLASH-Policy executes 8 of 16).
27
+ """
28
+ from __future__ import annotations
29
+
30
+ import torch
31
+ import torch.nn as nn
32
+ import torch.nn.functional as F
33
+
34
+ from .flash import FlashFlowTransformer, FlashObsEncoder
35
+
36
+ # fm_dit.yaml: the PolicyConfig fields of an FM-DiT v2 run
37
+ FM_DIT_V2_POLICY_FIELDS = dict(hidden_dim=512, num_layers=4, num_heads=8, mlp_ratio=4.0, dropout=0.1,
38
+ time_embed_dim=256, num_inference_steps=10, backbone='resnet18',
39
+ backbone_weights=None, backbone_norm='group')
40
+ UPSTREAM = 'NTUMARS/FLASH-Policy@f47e490 roboverse_learn/il/policies/fm/fm_dit_image_policy.py (fm_dit.yaml)'
41
+
42
+
43
+ class FMDiTv2Policy(nn.Module):
44
+ """FLASH-Policy's FlowMatchingDiTImagePolicy on the baselines contract (module docstring). The policies.BasePolicy
45
+ contract (an nn.Module, as flash.FlashPolicy, so that policies.py can register it without an import cycle)."""
46
+ name = 'fm_dit_v2'
47
+ backbone_prefix = 'obs_encoder.rgb.'
48
+ lead_rows = 0
49
+
50
+ def __init__(self, cfg, init_weights=None):
51
+ super().__init__()
52
+ from .policies import Normalizer
53
+ self.cfg = cfg
54
+ self.state_norm = Normalizer(cfg.state_dim)
55
+ self.action_norm = Normalizer(cfg.action_dim)
56
+ self.obs_encoder = FlashObsEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone, weights=init_weights)
57
+ # fm_dit_image_policy.py: max_seq_len = horizon (the RoPE cache covers the action tokens)
58
+ self.model = FlashFlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
59
+ hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim,
60
+ num_layers=cfg.num_layers, num_heads=cfg.num_heads,
61
+ mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
62
+ time_embed_dim=cfg.time_embed_dim, max_seq_len=cfg.horizon)
63
+
64
+ def fit_normalizers(self, stats: dict):
65
+ """LinearNormalizer 'limits' (upstream's default): state and action min / max to [-1, 1]."""
66
+ self.state_norm.fit(stats['state']['min'], stats['state']['max'])
67
+ self.action_norm.fit(stats['action']['min'], stats['action']['max'])
68
+
69
+ @property
70
+ def sampling_steps(self) -> int:
71
+ return int(self.cfg.num_inference_steps or 10)
72
+
73
+ def condition(self, images, state):
74
+ return self.obs_encoder(images, self.state_norm.normalize(state))
75
+
76
+ def compute_loss(self, images, state, action):
77
+ cond = self.condition(images, state)
78
+ target = self.action_norm.normalize(action.float())
79
+ noise = torch.randn_like(target)
80
+ t = torch.rand(target.shape[0], device=target.device)
81
+ te = t.view(-1, 1, 1)
82
+ x_t = (1 - te) * noise + te * target
83
+ loss = F.mse_loss(self.model(x_t, t, cond).float(), target - noise)
84
+ return loss, dict(fm=float(loss.detach()))
85
+
86
+ @torch.no_grad()
87
+ def predict(self, images, state, generator=None):
88
+ cond = self.condition(images, state)
89
+ B, steps = images.shape[0], self.sampling_steps
90
+ x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=images.device, dtype=torch.float32,
91
+ generator=generator)
92
+ times = torch.linspace(0, 1.0, steps + 1)
93
+ for i in range(steps): # conditional_sample: the midpoint rule
94
+ t0 = times[i].view(1).expand(B).to(images.device)
95
+ t1 = times[i + 1].view(1).expand(B).to(images.device)
96
+ dt = (t1 - t0).view(-1, 1, 1)
97
+ x_mid = x + self.model(x, t0, cond).float() * dt / 2
98
+ x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond).float()
99
+ return self.action_norm.unnormalize(x), x
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/inloop.py ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ first_row=model.first_history_row(q['state'])) # 'frame0': h0 at t = 0
98
+ hist.append(h)
99
+ has.append(ok)
100
+ extra = (torch.from_numpy(np.stack(hist)).to(device), torch.tensor(has, device=device))
101
+ kwargs = {}
102
+ if getattr(model, 'lead_rows', 0): # the ODE policies start from the executed row before (BOS without one)
103
+ prev = [np.asarray(q.get('past_action', ()), np.float32).reshape(-1, contract.action_dim) for q in batch]
104
+ kwargs = dict(previous=torch.from_numpy(np.stack([p[-1] if len(p) else np.zeros(contract.action_dim,
105
+ np.float32)
106
+ for p in prev])).to(device),
107
+ has_previous=torch.tensor([len(p) > 0 for p in prev], device=device))
108
+ pred, _ = model.predict(images, state, *extra, generator=generator, **kwargs)
109
+ return pred.float().cpu().numpy()
110
+
111
+ info = dict(weights='ema', policy=policy_name, cache_checked_episodes=checked,
112
+ inloop_code=str(code_dir), cache=str(E.split_dir(task, split)))
113
+ loop = core.InLoop(policy_name, task, split, Path(run_dir) / 'logs' / 'inloop-mse.jsonl', predict,
114
+ cams=list(cameras), info=info)
115
+ loop.every = core.EVERY
116
+ loop.say(f'{policy_name} installed: task {task} split {split}, every {core.EVERY} steps, cache checked on '
117
+ f'episodes {checked}, code {code_dir}, G={os.environ.get("G", "<default>")}')
118
+ return loop
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/nets.py ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Networks of the FM-DiT and DP (DDPM-DiT) baselines: the AdaLN DiT action backbone and the camera + state encoder.
2
+
3
+ Ported from DextraVerse's imitation-learning core (`dextraverse/algorithms/il/models/nets/dit.py`, `layers.py`,
4
+ `positional_embedding.py`, `vision/backbones.py`, `vision/encoder.py`), unchanged in architecture and initialization.
5
+ Left out: the ROVE improvement embedding, the spatial-softmax / R3M / tactile options and the inpainting path (the
6
+ baselines always condition through the global observation feature). Added: the ResNet's normalization choice
7
+ (`get_resnet`): DextraVerse's GroupNorm for a backbone trained from scratch, or BatchNorm frozen at the pretrained
8
+ statistics (the DETR / ACT practice) for an ImageNet-initialized backbone that is fine-tuned with the policy.
9
+ """
10
+ from __future__ import annotations
11
+
12
+ import math
13
+
14
+ import torch
15
+ import torch.nn as nn
16
+ import torch.nn.functional as F
17
+ import torchvision
18
+
19
+ IMAGENET_MEAN = (0.485, 0.456, 0.406)
20
+ IMAGENET_STD = (0.229, 0.224, 0.225)
21
+
22
+
23
+ class SinusoidalPosEmb(nn.Module):
24
+ def __init__(self, dim):
25
+ super().__init__()
26
+ self.dim = dim
27
+
28
+ def forward(self, x):
29
+ half_dim = self.dim // 2
30
+ emb = math.log(10000) / (half_dim - 1)
31
+ emb = torch.exp(torch.arange(half_dim, device=x.device) * -emb)
32
+ emb = x[:, None] * emb[None, :]
33
+ return torch.cat((emb.sin(), emb.cos()), dim=-1)
34
+
35
+
36
+ class RotaryPosEmb(nn.Module):
37
+ """Rotary position embedding over each attention head's (S, head_dim) slice."""
38
+
39
+ def __init__(self, dim):
40
+ super().__init__()
41
+ self.dim = dim
42
+ self.register_buffer('inv_freq', 1.0 / (10000 ** (torch.arange(0, dim, 2).float() / dim)))
43
+
44
+ def forward(self, x): # x: (B, heads, S, head_dim)
45
+ t = torch.arange(x.shape[-2], device=x.device, dtype=self.inv_freq.dtype)
46
+ freqs = torch.outer(t, self.inv_freq.to(x.device))
47
+ emb = torch.cat([freqs, freqs], dim=-1)
48
+ cos, sin = emb.cos()[None, None], emb.sin()[None, None]
49
+ x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2:]
50
+ return x * cos + torch.cat([-x2, x1], dim=-1) * sin
51
+
52
+
53
+ class Mlp(nn.Module):
54
+ """The ViT MLP (timm.layers.Mlp) as DextraVerse's nets/layers.py."""
55
+
56
+ def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0):
57
+ super().__init__()
58
+ out_features = out_features or in_features
59
+ hidden_features = hidden_features or in_features
60
+ self.fc1 = nn.Linear(in_features, hidden_features)
61
+ self.act = act_layer()
62
+ self.drop1 = nn.Dropout(drop)
63
+ self.norm = nn.Identity()
64
+ self.fc2 = nn.Linear(hidden_features, out_features)
65
+ self.drop2 = nn.Dropout(drop)
66
+
67
+ def forward(self, x):
68
+ return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
69
+
70
+
71
+ class Attention(nn.Module):
72
+ def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0.0, proj_drop=0.0, qk_norm=True):
73
+ super().__init__()
74
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
75
+ self.num_heads = num_heads
76
+ self.head_dim = dim // num_heads
77
+ self.attn_drop = attn_drop
78
+ self.proj_drop = nn.Dropout(proj_drop)
79
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
80
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
81
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
82
+ self.proj = nn.Linear(dim, dim)
83
+ self.rope = RotaryPosEmb(self.head_dim)
84
+
85
+ def forward(self, x):
86
+ B, S, C = x.shape
87
+ qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
88
+ q, k, v = qkv.unbind(0)
89
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
90
+ x = F.scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop if self.training else 0.0)
91
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
92
+
93
+
94
+ class AdaLNBlock(nn.Module):
95
+ """Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022)."""
96
+
97
+ def __init__(self, dim, num_heads, mlp_ratio=4.0, dropout=0.0):
98
+ super().__init__()
99
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
100
+ self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
101
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
102
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
103
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
104
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
105
+ self.dim = dim
106
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
107
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
108
+
109
+ def forward(self, x, t, c):
110
+ B = x.shape[0]
111
+ gamma1, gamma2, scale1, scale2, shift1, shift2 = self.ada_ln(F.silu(t + c)).view(B, 6, 1, self.dim).unbind(1)
112
+ x = x + self.attn(self.norm1(x).mul(scale1.add(1)).add_(shift1)).mul_(gamma1)
113
+ return x + self.mlp(self.norm2(x).mul(scale2.add(1)).add_(shift2)).mul_(gamma2)
114
+
115
+
116
+ class FlowTransformer(nn.Module):
117
+ """DiT action backbone: AdaLN blocks over the H action tokens, conditioned on time_embed(t) + cond_embed(obs).
118
+
119
+ As DextraVerse, the generic Xavier initialization runs after the blocks' zero init of their AdaLN projection, so
120
+ it is not the full AdaLN-Zero recipe (kept: it is the reference's training behaviour)."""
121
+
122
+ def __init__(self, input_dim, condition_dim, hidden_dim, output_dim, num_layers, num_heads, mlp_ratio=4.0,
123
+ dropout=0.1, time_embed_dim=256):
124
+ super().__init__()
125
+ self.input_proj = nn.Linear(input_dim, hidden_dim)
126
+ self.time_embed = nn.Sequential(SinusoidalPosEmb(time_embed_dim), nn.Linear(time_embed_dim, time_embed_dim * 4),
127
+ nn.Mish(), nn.Linear(time_embed_dim * 4, hidden_dim))
128
+ self.cond_embed = nn.Linear(condition_dim, hidden_dim)
129
+ self.transformer_blocks = nn.ModuleList(
130
+ [AdaLNBlock(hidden_dim, num_heads, mlp_ratio=mlp_ratio, dropout=dropout) for _ in range(num_layers)])
131
+ self.norm = nn.LayerNorm(hidden_dim)
132
+ self.out_proj = nn.Linear(hidden_dim, output_dim)
133
+
134
+ def basic_init(module):
135
+ if isinstance(module, nn.Linear):
136
+ nn.init.xavier_uniform_(module.weight)
137
+ if module.bias is not None:
138
+ nn.init.constant_(module.bias, 0)
139
+
140
+ self.apply(basic_init)
141
+ nn.init.normal_(self.time_embed[1].weight, std=0.02)
142
+ nn.init.normal_(self.time_embed[3].weight, std=0.02)
143
+
144
+ def forward(self, x, t, global_cond):
145
+ if not torch.is_tensor(t):
146
+ t = torch.tensor(t, device=x.device)
147
+ if t.ndim == 0:
148
+ t = t.expand(x.shape[0])
149
+ x = self.input_proj(x)
150
+ t = self.time_embed(t)
151
+ c = self.cond_embed(global_cond)
152
+ for block in self.transformer_blocks:
153
+ x = block(x, t, c)
154
+ return self.out_proj(self.norm(x))
155
+
156
+
157
+ def replace_batchnorm_with_groupnorm(module: nn.Module) -> nn.Module:
158
+ """DextraVerse's use_group_norm: every BatchNorm2d becomes GroupNorm(num_features // 16 groups)."""
159
+ for name, child in module.named_children():
160
+ if isinstance(child, nn.BatchNorm2d):
161
+ setattr(module, name, nn.GroupNorm(num_groups=child.num_features // 16, num_channels=child.num_features))
162
+ else:
163
+ replace_batchnorm_with_groupnorm(child)
164
+ return module
165
+
166
+
167
+ NORMS = ('group', 'frozen_bn')
168
+
169
+
170
+ def get_resnet(name='resnet18', weights=None, norm='group') -> nn.Module:
171
+ """A torchvision ResNet with its classifier removed: (N, 3, H, W) -> (N, 512) globally pooled.
172
+
173
+ weights: torchvision weights name (e.g. 'IMAGENET1K_V1') to initialize from, or None (random initialization;
174
+ a checkpoint load supplies every weight). norm: 'group' replaces every BatchNorm with GroupNorm (DextraVerse's
175
+ use_group_norm, for training from scratch: pretrained BatchNorm statistics and affine are dropped); 'frozen_bn'
176
+ keeps BatchNorm frozen at its (pretrained) running statistics and affine, the convolutions fine-tune."""
177
+ if norm == 'frozen_bn':
178
+ from .act_nets import FrozenBatchNorm2d
179
+ resnet = getattr(torchvision.models, name)(weights=weights, norm_layer=FrozenBatchNorm2d)
180
+ elif norm == 'group':
181
+ resnet = replace_batchnorm_with_groupnorm(getattr(torchvision.models, name)(weights=weights))
182
+ else:
183
+ raise ValueError(f'norm must be one of {NORMS}, got {norm!r}')
184
+ resnet.fc = nn.Identity()
185
+ return resnet
186
+
187
+
188
+ class ImageStateEncoder(nn.Module):
189
+ """DextraVerse MultiImageObsEncoder as configured for FM-DiT / DDPM-DiT: one ResNet shared by every camera
190
+ (share_rgb_model; `get_resnet` weights and norm), ImageNet normalization of the [0, 1] images, the pooled features
191
+ of each camera in the contract's camera order, then the normalized state. shared=False gives every camera its own
192
+ ResNet (share_rgb_model False, the ODE policy's encoder; `rgb` is then a ModuleList in camera order).
193
+ Output (B, n_cameras * 512 + state_dim)."""
194
+
195
+ def __init__(self, n_cameras, state_dim, backbone='resnet18', weights=None, norm='group', shared=True):
196
+ super().__init__()
197
+ self.n_cameras, self.state_dim, self.shared = int(n_cameras), int(state_dim), bool(shared)
198
+ self.rgb = (get_resnet(backbone, weights=weights, norm=norm) if self.shared else
199
+ nn.ModuleList([get_resnet(backbone, weights=weights, norm=norm) for _ in range(self.n_cameras)]))
200
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1), persistent=False)
201
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 3, 1, 1), persistent=False)
202
+ self.feature_dim = self.n_cameras * (512 if backbone in ('resnet18', 'resnet34') else 2048) + self.state_dim
203
+
204
+ def forward(self, images, state):
205
+ """images (B, n_cameras, 3, H, W) in [0, 1]; state (B, state_dim) normalized."""
206
+ B = images.shape[0]
207
+ if self.shared:
208
+ x = (images.flatten(0, 1) - self.mean) / self.std
209
+ features = self.rgb(x).reshape(B, -1) # camera features side by side, in camera order
210
+ else:
211
+ features = torch.cat([net((images[:, i] - self.mean) / self.std) for i, net in enumerate(self.rgb)], dim=-1)
212
+ return torch.cat([features, state], dim=-1)
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/ode_nets.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Vector fields of the ODE policy baselines (ODE-MLP, ODE-DiT).
2
+
3
+ Ported from ODE Policy (Jindou Jia et al., https://github.com/NTUMARS/ODE-POLICY, branch main @cea26d94, Apache-2.0):
4
+ `ode_policy/policies/ode/ode_image_policy.py` (`_FiLMLayer`, `VectorField`, `DiTVectorField`) and the DiT parts it
5
+ uses, `ode_policy/utils/models/flow_net.py` (`Attention`, `AdaLNBlock`), `ode_policy/utils/models/layers.py` (`Mlp`)
6
+ and `ode_policy/policies/dp/models/diffusion/positional_embedding.py` (`RotaryPosEmb`, torchtune's interleaved RoPE
7
+ over the full width, which differs from the DextraVerse RoPE of nets.py). Architectures and initializations are
8
+ unchanged. Left out: the gripper-only dropout pass (`drop_first`; the benchmark's actions have no binary gripper).
9
+
10
+ Both fields are autonomous (no time input): f(a, s | c) depends only on where the action state `a` is, the
11
+ proprioception `s` (when the field reads it) and the per-chunk condition `c`; the output layer starts at zero, so an
12
+ untrained policy holds its start action.
13
+ """
14
+ from __future__ import annotations
15
+
16
+ import torch
17
+ import torch.nn as nn
18
+ import torch.nn.functional as F
19
+
20
+
21
+ class FiLMLayer(nn.Module):
22
+ def __init__(self, dim, cond_dim):
23
+ super().__init__()
24
+ self.lin = nn.Linear(dim, dim)
25
+ self.film = nn.Linear(cond_dim, 2 * dim)
26
+
27
+ def forward(self, h, c=None, gb=None):
28
+ g, b = gb if gb is not None else self.film(c).chunk(2, dim=-1)
29
+ return h + F.silu(self.lin(h) * (1 + g) + b)
30
+
31
+
32
+ class VectorField(nn.Module):
33
+ """ODE-MLP: f(a, s | c), a FiLM-modulated residual MLP. Training-only dropout on the hidden units keeps one mask
34
+ per sample for every field call until reset_dropout(), so a whole integrated chunk sees one thinned field."""
35
+
36
+ def __init__(self, cond_dim, state_dim, hidden_dim, num_layers, out_dim, pose_dim, dropout=0.0):
37
+ super().__init__()
38
+ self.dropout, self._masks = float(dropout), None
39
+ self.inp = nn.Linear(pose_dim + state_dim, hidden_dim)
40
+ self.layers = nn.ModuleList([FiLMLayer(hidden_dim, cond_dim) for _ in range(num_layers)])
41
+ self.out = nn.Linear(hidden_dim, out_dim)
42
+ self.feat_dim = hidden_dim
43
+ nn.init.zeros_(self.out.weight)
44
+ nn.init.zeros_(self.out.bias)
45
+
46
+ def precompute(self, c):
47
+ """FiLM scale/shift depend on c only; computed once per integration."""
48
+ return [layer.film(c).chunk(2, dim=-1) for layer in self.layers]
49
+
50
+ def reset_dropout(self):
51
+ self._masks = None
52
+
53
+ def forward(self, a, s, c, film=None):
54
+ drop = self.training and self.dropout > 0
55
+ h = self.inp(torch.cat([a, s], dim=-1))
56
+ if drop and (self._masks is None or self._masks[0].shape != h.shape):
57
+ keep = 1.0 - self.dropout
58
+ self._masks = [torch.bernoulli(torch.full_like(h, keep)) / keep for _ in self.layers]
59
+ for i, layer in enumerate(self.layers):
60
+ h = layer(h, c, None if film is None else film[i])
61
+ if drop:
62
+ h = h * self._masks[i]
63
+ return self.out(h)
64
+
65
+
66
+ class RotaryPosEmb(nn.Module):
67
+ """Rotary positional embedding (torchtune), built over the full width `dim` and applied to the heads' slices."""
68
+
69
+ def __init__(self, dim: int, max_seq_len: int = 256, base: int = 10_000):
70
+ super().__init__()
71
+ self.dim, self.base, self.max_seq_len = dim, base, max_seq_len
72
+ theta = 1.0 / (base ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
73
+ self.register_buffer('theta', theta, persistent=False)
74
+ seq_idx = torch.arange(max_seq_len, dtype=theta.dtype)
75
+ idx_theta = torch.einsum('i, j -> ij', seq_idx, theta).float()
76
+ self.register_buffer('cache', torch.stack([torch.cos(idx_theta), torch.sin(idx_theta)], dim=-1),
77
+ persistent=False)
78
+
79
+ def forward(self, x):
80
+ """x (B, num_heads, S, head_dim) -> the same shape."""
81
+ x = x.permute(0, 2, 1, 3) # (B, S, num_heads, head_dim)
82
+ B, S, num_heads, head_dim = x.size()
83
+ rope_cache = self.cache[:S]
84
+ xshaped = x.float().reshape(*x.shape[:-1], head_dim // 2, 2)
85
+ rope_cache = rope_cache.view(1, S, num_heads, head_dim // 2, 2)
86
+ x_out = torch.stack([xshaped[..., 0] * rope_cache[..., 0] - xshaped[..., 1] * rope_cache[..., 1],
87
+ xshaped[..., 1] * rope_cache[..., 0] + xshaped[..., 0] * rope_cache[..., 1]], -1)
88
+ return x_out.flatten(3).permute(0, 2, 1, 3).type_as(x)
89
+
90
+
91
+ class Attention(nn.Module):
92
+ def __init__(self, dim, num_heads=8, qkv_bias=True, attn_drop=0., proj_drop=0., max_seq_len=64, qk_norm=True):
93
+ super().__init__()
94
+ assert dim % num_heads == 0, 'dim should be divisible by num_heads'
95
+ self.num_heads = num_heads
96
+ self.head_dim = dim // num_heads
97
+ self.attn_drop = attn_drop
98
+ self.proj_drop = nn.Dropout(proj_drop)
99
+ self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
100
+ self.q_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
101
+ self.k_norm = nn.LayerNorm(self.head_dim) if qk_norm else nn.Identity()
102
+ self.proj = nn.Linear(dim, dim)
103
+ self.rope = RotaryPosEmb(dim, max_seq_len=max_seq_len)
104
+
105
+ def forward(self, x, mask=None):
106
+ B, S, C = x.shape
107
+ qkv = self.qkv(x).reshape(B, S, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
108
+ q, k, v = qkv.unbind(0)
109
+ q, k = self.rope(self.q_norm(q)), self.rope(self.k_norm(k))
110
+ if self.training:
111
+ x = F.scaled_dot_product_attention(q, k, v, attn_mask=mask, dropout_p=self.attn_drop)
112
+ else:
113
+ x = F.scaled_dot_product_attention(q, k, v)
114
+ return self.proj_drop(self.proj(x.transpose(1, 2).reshape(B, S, C)))
115
+
116
+
117
+ class Mlp(nn.Module):
118
+ """The ViT MLP (timm.layers.Mlp) as ODE Policy's utils/models/layers.py, linear layers only."""
119
+
120
+ def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.):
121
+ super().__init__()
122
+ out_features = out_features or in_features
123
+ hidden_features = hidden_features or in_features
124
+ self.fc1 = nn.Linear(in_features, hidden_features)
125
+ self.act = act_layer()
126
+ self.drop1 = nn.Dropout(drop)
127
+ self.norm = nn.Identity()
128
+ self.fc2 = nn.Linear(hidden_features, out_features)
129
+ self.drop2 = nn.Dropout(drop)
130
+
131
+ def forward(self, x):
132
+ return self.drop2(self.fc2(self.norm(self.drop1(self.act(self.fc1(x))))))
133
+
134
+
135
+ class AdaLNBlock(nn.Module):
136
+ """Adaptive-LayerNorm transformer block as in DiT (Peebles et al. 2022); ada_ln starts at zero (adaLN-zero)."""
137
+
138
+ def __init__(self, dim, num_heads, mlp_ratio=4., dropout=0.):
139
+ super().__init__()
140
+ self.norm1 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
141
+ self.attn = Attention(dim, num_heads=num_heads, attn_drop=dropout, proj_drop=dropout)
142
+ self.norm2 = nn.LayerNorm(dim, elementwise_affine=False, eps=1e-6)
143
+ self.mlp = Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio),
144
+ act_layer=lambda: nn.GELU(approximate='tanh'), drop=0)
145
+ self.ada_ln = nn.Sequential(nn.SiLU(), nn.Linear(dim, 6 * dim))
146
+ self.dim = dim
147
+ nn.init.constant_(self.ada_ln[-1].weight, 0)
148
+ nn.init.constant_(self.ada_ln[-1].bias, 0)
149
+
150
+
151
+ class DiTVectorField(nn.Module):
152
+ """ODE-DiT: the vector field built from DiT blocks. [a, s] is projected to n_tokens tokens; every block's
153
+ LayerNorm scales/shifts/gates are regressed from the condition c (no time input: the field is autonomous); the
154
+ tokens are pooled for the output. Same interface and zero-initialized output as VectorField."""
155
+
156
+ def __init__(self, cond_dim, state_dim, hidden_dim, num_layers, out_dim, pose_dim, num_heads=8, n_tokens=4,
157
+ mlp_ratio=4.0):
158
+ super().__init__()
159
+ self.n_tokens, self.hidden_dim, self.feat_dim = n_tokens, hidden_dim, hidden_dim
160
+ self.inp = nn.Linear(pose_dim + state_dim, n_tokens * hidden_dim)
161
+ self.pos = nn.Parameter(torch.zeros(1, n_tokens, hidden_dim))
162
+ self.cond = nn.Linear(cond_dim, hidden_dim)
163
+ self.blocks = nn.ModuleList([AdaLNBlock(hidden_dim, num_heads, mlp_ratio) for _ in range(num_layers)])
164
+ self.norm = nn.LayerNorm(hidden_dim)
165
+ self.out = nn.Linear(hidden_dim, out_dim)
166
+ nn.init.zeros_(self.out.weight)
167
+ nn.init.zeros_(self.out.bias)
168
+
169
+ def precompute(self, c):
170
+ """The adaLN scales/shifts/gates depend on c only: computed once per integration."""
171
+ cc = F.silu(self.cond(c))
172
+ return [blk.ada_ln(cc).view(c.shape[0], 6, 1, self.hidden_dim).unbind(1) for blk in self.blocks]
173
+
174
+ def forward(self, a, s, c, film=None):
175
+ B = a.shape[0]
176
+ x = self.inp(torch.cat([a, s], dim=-1)).view(B, self.n_tokens, self.hidden_dim) + self.pos
177
+ mods = self.precompute(c) if film is None else film
178
+ for blk, (g1, g2, sc1, sc2, sh1, sh2) in zip(self.blocks, mods):
179
+ x = x + blk.attn(blk.norm1(x) * (1 + sc1) + sh1) * g1
180
+ x = x + blk.mlp(blk.norm2(x) * (1 + sc2) + sh2) * g2
181
+ return self.out(self.norm(x).mean(dim=1))
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/policies.py ADDED
@@ -0,0 +1,459 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """The baseline policies behind one contract; the first three ported from DextraVerse's imitation-learning core:
2
+
3
+ - `fm_dit`, `FMDiTPolicy` (reference: dextraverse/algorithms/il/models/fm_dit.py + fm_base.py): flow matching, MSE on
4
+ the velocity `a - noise`; sampled with 10 midpoint steps from noise (20 DiT calls);
5
+ - `dp`, `DPPolicy` (ddpm_dit.py + ddpm_base.py: Diffusion Policy with a DiT backbone): DDPM epsilon MSE over 100
6
+ steps; sampled with the 100 DDPM steps;
7
+ - `act`, `ACTPolicy` (act.py + nets/act/): L1 + `kl_weight` x KL of the CVAE; decoded from the zero latent in one pass;
8
+ - `flash`, `flash.FlashPolicy` (NTUMARS/FLASH-Policy @ f47e490): polynomial-coefficient flow from the fitted history
9
+ of the executed actions to the future, one Euler step; its contract adds the history (flash.py's docstring).
10
+ - `fm_dit_v2`, `fm_dit_v2.FMDiTv2Policy` (FLASH-Policy @ f47e490's own FM-DiT, owner 2026-11-25): flow matching from
11
+ noise as `fm_dit`, on FLASH's networks (DiT 512, one from-scratch GroupNorm ResNet18 per camera) and recipe; a
12
+ separate entry: `fm_dit` (v1) keeps its checkpoints and behaviour (fm_dit_v2.py's docstring).
13
+
14
+ Two follow ODE Policy's G1 port (Jia et al., github.com/NTUMARS/ODE-POLICY branch real-g1 @fd8bec47, maintained in
15
+ HumanWAM as packages/ode_g1: model.py `SonicLatentODE`, data.py), with its GR00T backbone replaced by ODE Policy's own
16
+ image encoder (ode_policy main @cea26d94, ode.yaml), each in its authors' configuration (not aligned with the others):
17
+
18
+ - `ode_mlp`, `ODEPolicy`: the body part of the action (G1: the SONIC motion token) is an ODE state, db/dt =
19
+ f(b, s | c) with a FiLM residual MLP field, integrated with Euler one row per step from the body row executed at t-1;
20
+ the hands are decoded from c; masked MSE of the integrated path and the hands;
21
+ - `ode_dit`, `ODEDiTPolicy`: the same with ODE Policy's DiT (adaLN) field (ode_dit.yaml).
22
+
23
+ Contract (every policy): `compute_loss(images, state, action) -> (loss, metrics)` and
24
+ `predict(images, state, generator) -> (action, normalized action)`; images (B, n_cameras, 3, H, W) float in [0, 1],
25
+ state (B, state_dim) and action (B, lead_rows + horizon, action_dim) in physical units. Each policy owns its
26
+ `Normalizer` (DextraVerse's LinearNormalizer 'limits' mode: state and action to [-1, 1] per dimension, constant
27
+ dimensions shifted to 0), saved in its state dict. One observation frame (n_obs_steps 1: the current images and
28
+ state); the chunk's row 0 is the action of the observation's own frame (the LeRobot rows t..t+horizon-1). A policy
29
+ with `lead_rows` 1 (the ODE policies) also reads the row before, t-1, and the rows' validity (ChunkDataset `lead`),
30
+ and its `predict` takes `previous`, the action row executed at t-1. The ODE policies normalize with their own bounds
31
+ (q01 / q99, the DFX6 hands fixed at [0, 1], clipped to [-5, 5]). The configuration that builds a policy is a plain
32
+ dict (`PolicyConfig` fields), stored in the checkpoint.
33
+
34
+ The ResNet18 of FM-DiT, DP and ACT starts from torchvision's ImageNet-1k weights (`backbone_weights` 'IMAGENET1K_V1',
35
+ the default since 2026-11-16) and is fine-tuned with the policy, its BatchNorm frozen at the pretrained statistics
36
+ (`backbone_norm` 'frozen_bn', as ACT always does); `backbone_weights` None trains from scratch with DextraVerse's
37
+ GroupNorm encoder (FM-DiT, DP) or ACT's frozen-BatchNorm one. The ODE policies default to ODE Policy's encoder: one
38
+ ResNet18 per camera, from scratch, GroupNorm. A checkpoint load builds the structure without fetching any weights.
39
+ """
40
+ from __future__ import annotations
41
+
42
+ from dataclasses import asdict, dataclass, field, replace
43
+
44
+ import torch
45
+ import torch.nn as nn
46
+ import torch.nn.functional as F
47
+
48
+ from .act_nets import DETRVAE, Transformer, build_backbone, build_style_encoder, kl_divergence
49
+ from .nets import IMAGENET_MEAN, IMAGENET_STD, FlowTransformer, ImageStateEncoder
50
+ from .ode_nets import DiTVectorField, VectorField
51
+
52
+ ODE_POLICIES = ('ode_mlp', 'ode_dit')
53
+ # Defaults that differ by policy. horizon and backbone_weights resolve in PolicyConfig; backbone_lr_scale (and amp)
54
+ # are the training script's. The ODE policies: 16-row chunks (the G1 port's H16; its deployment re-plans about 4 rows
55
+ # before a chunk ends, as the benchmark clients' query every 12 rows), ODE Policy's encoder from scratch at the full
56
+ # learning rate (ode.yaml, default_train.yaml). Mixed precision as the G1 port: the encoder under bf16 autocast, the
57
+ # ODE head in FP32.
58
+ # The training recipe of ODE Policy's default_train.yaml (the same NTUMARS trainer as FLASH's): seed 42, lr 1e-4 at
59
+ # the benchmark's batch 512 without batch scaling (as every model of the protocol, HumanWAM REPRODUCIBILITY.md
60
+ # section 4), 500-step warm-up then diffusers' cosine, Diffusion Policy's EMAModel as upstream counts it.
61
+ POLICY_DEFAULTS = {name: dict(horizon=16, backbone_weights=None, backbone_lr_scale=1.0, seed=42,
62
+ schedule='diffusers_cosine', ema_schedule='diffusion_policy_emamodel')
63
+ for name in ODE_POLICIES}
64
+
65
+
66
+ @dataclass
67
+ class PolicyConfig:
68
+ """Everything that builds a policy (stored in the checkpoint's config.json). Model defaults are DextraVerse's
69
+ configs/algorithm/il/model/{fm_dit,ddpm_dit,act}.yaml and, for the ODE policies (`ode_*` fields), ODE Policy's G1
70
+ port (HumanWAM packages/ode_g1 configs/g1.yaml `head`) and ode_dit.yaml for the DiT field."""
71
+ policy: str
72
+ n_cameras: int
73
+ state_dim: int
74
+ action_dim: int
75
+ horizon: int | None = None # None: the policy's default (POLICY_DEFAULTS, else 16)
76
+ backbone: str = 'resnet18'
77
+ # torchvision weights to initialize from; None = from scratch; 'default': IMAGENET1K_V1, the ODE policies None
78
+ backbone_weights: str | None = 'default'
79
+ backbone_norm: str | None = None # 'frozen_bn' or 'group'; None: frozen_bn when pretrained or ACT, else group
80
+ # FM-DiT / DP (DiT backbone)
81
+ hidden_dim: int = 384
82
+ num_layers: int = 4
83
+ num_heads: int = 8
84
+ mlp_ratio: float = 4.0
85
+ dropout: float = 0.1
86
+ time_embed_dim: int = 128
87
+ num_inference_steps: int | None = None # None: FM-DiT 10 midpoint steps, DP every training timestep (100)
88
+ # DP noise schedule (diffusers DDPMScheduler)
89
+ num_train_timesteps: int = 100
90
+ beta_schedule: str = 'squaredcos_cap_v2'
91
+ prediction_type: str = 'epsilon'
92
+ clip_sample: bool = True
93
+ # ACT
94
+ act_hidden_dim: int = 512
95
+ dim_feedforward: int = 3200
96
+ enc_layers: int = 4
97
+ dec_layers: int = 7
98
+ nheads: int = 8
99
+ latent_dim: int = 32
100
+ kl_weight: float = 10.0
101
+ # ODE policies (G1 port, configs/g1.yaml head: width 512, 4 FiLM layers, cond 512, field_scale 1). ode_body_dim:
102
+ # the leading action columns integrated as the ODE state, the rest decoded from the condition (G1: the token 64 and
103
+ # the DFX6 12; train.py sets it to the contract's first action group, H2: body_target 31). ODE-DiT: ODE Policy's
104
+ # DiT field, 512 wide, 4 blocks, 8 heads, 4 tokens (ode_dit.yaml).
105
+ ode_body_dim: int | None = None
106
+ ode_width: int = 512
107
+ ode_layers: int = 4
108
+ ode_cond_dim: int = 512
109
+ ode_field_scale: float = 1.0
110
+ ode_dit_hidden: int = 512
111
+ ode_dit_layers: int = 4
112
+ ode_dit_heads: int = 8
113
+ ode_dit_tokens: int = 4
114
+ extra: dict = field(default_factory=dict)
115
+
116
+ def __post_init__(self):
117
+ defaults = POLICY_DEFAULTS.get(self.policy, {})
118
+ if self.horizon is None:
119
+ self.horizon = int(defaults.get('horizon', 16))
120
+ if self.backbone_weights == 'default':
121
+ self.backbone_weights = defaults.get('backbone_weights', 'IMAGENET1K_V1')
122
+ if self.backbone_norm is None:
123
+ self.backbone_norm = 'frozen_bn' if self.backbone_weights or self.policy == 'act' else 'group'
124
+ if self.policy == 'act' and self.backbone_norm != 'frozen_bn':
125
+ raise ValueError("ACT's backbone keeps frozen BatchNorm (backbone_norm 'frozen_bn')")
126
+
127
+ @classmethod
128
+ def from_dict(cls, data: dict) -> PolicyConfig:
129
+ known = {k: v for k, v in data.items() if k in cls.__dataclass_fields__}
130
+ return cls(**known)
131
+
132
+ def to_dict(self) -> dict:
133
+ return asdict(self)
134
+
135
+
136
+ class Normalizer(nn.Module):
137
+ """Per-dimension affine map to [-1, 1] from the training data's min/max (DextraVerse LinearNormalizer, mode
138
+ 'limits', fit_offset, range_eps 1e-4): x_n = x * scale + offset; a dimension whose range is below range_eps gets
139
+ scale 1 and maps its value to 0."""
140
+
141
+ def __init__(self, dim: int):
142
+ super().__init__()
143
+ self.register_buffer('scale', torch.ones(dim))
144
+ self.register_buffer('offset', torch.zeros(dim))
145
+
146
+ @torch.no_grad()
147
+ def fit(self, minimum, maximum, range_eps=1e-4):
148
+ lo = torch.as_tensor(minimum, dtype=torch.float32)
149
+ hi = torch.as_tensor(maximum, dtype=torch.float32)
150
+ span = hi - lo
151
+ ignore = span < range_eps
152
+ span[ignore] = 2.0
153
+ scale = 2.0 / span
154
+ offset = -1.0 - scale * lo
155
+ offset[ignore] = -lo[ignore]
156
+ self.scale.copy_(scale)
157
+ self.offset.copy_(offset)
158
+
159
+ def normalize(self, x):
160
+ return x * self.scale + self.offset
161
+
162
+ def unnormalize(self, x):
163
+ return (x - self.offset) / self.scale
164
+
165
+
166
+ class BasePolicy(nn.Module):
167
+ name = ''
168
+ backbone_prefix = '' # state-dict prefix of the image backbone (its own learning rate in training)
169
+ lead_rows = 0 # action rows before the observation's frame that a training item carries (ODE: 1, the start)
170
+
171
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
172
+ super().__init__()
173
+ self.cfg = cfg
174
+ self.state_norm = Normalizer(cfg.state_dim)
175
+ self.action_norm = Normalizer(cfg.action_dim)
176
+
177
+ def fit_normalizers(self, stats: dict):
178
+ self.state_norm.fit(stats['state']['min'], stats['state']['max'])
179
+ self.action_norm.fit(stats['action']['min'], stats['action']['max'])
180
+
181
+ @property
182
+ def sampling_steps(self) -> int:
183
+ return 1
184
+
185
+ def compute_loss(self, images, state, action):
186
+ raise NotImplementedError
187
+
188
+ def predict(self, images, state, generator=None):
189
+ raise NotImplementedError
190
+
191
+
192
+ class DiTPolicy(BasePolicy):
193
+ """Shared by FM-DiT and DP: the shared-ResNet image + state encoder and the AdaLN DiT over the action chunk
194
+ (global observation conditioning, DextraVerse obs_as_global_cond)."""
195
+ backbone_prefix = 'obs_encoder.rgb.'
196
+
197
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
198
+ super().__init__(cfg)
199
+ self.obs_encoder = ImageStateEncoder(cfg.n_cameras, cfg.state_dim, backbone=cfg.backbone,
200
+ weights=init_weights, norm=cfg.backbone_norm)
201
+ self.model = FlowTransformer(input_dim=cfg.action_dim, condition_dim=self.obs_encoder.feature_dim,
202
+ hidden_dim=cfg.hidden_dim, output_dim=cfg.action_dim, num_layers=cfg.num_layers,
203
+ num_heads=cfg.num_heads, mlp_ratio=cfg.mlp_ratio, dropout=cfg.dropout,
204
+ time_embed_dim=cfg.time_embed_dim)
205
+
206
+ def condition(self, images, state):
207
+ return self.obs_encoder(images, self.state_norm.normalize(state))
208
+
209
+
210
+ class FMDiTPolicy(DiTPolicy):
211
+ """Flow-matching DiT (DextraVerse FlowMatchingDiTImagePolicy): x_t = (1 - t) noise + t a, t ~ U(0, 1), the DiT
212
+ regresses the velocity a - noise; sampling integrates t = 0 -> 1 with the midpoint rule."""
213
+ name = 'fm_dit'
214
+
215
+ @property
216
+ def sampling_steps(self) -> int:
217
+ return int(self.cfg.num_inference_steps or 10)
218
+
219
+ def compute_loss(self, images, state, action):
220
+ cond = self.condition(images, state)
221
+ target = self.action_norm.normalize(action)
222
+ noise = torch.randn_like(target)
223
+ t = torch.rand(target.shape[0], device=target.device)
224
+ te = t.view(-1, 1, 1)
225
+ x_t = (1 - te) * noise + te * target
226
+ loss = F.mse_loss(self.model(x_t, t, cond), target - noise)
227
+ return loss, dict(fm=float(loss.detach()))
228
+
229
+ @torch.no_grad()
230
+ def predict(self, images, state, generator=None):
231
+ cond = self.condition(images, state)
232
+ B, steps = images.shape[0], self.sampling_steps
233
+ x = torch.randn((B, self.cfg.horizon, self.cfg.action_dim), device=cond.device, dtype=cond.dtype,
234
+ generator=generator)
235
+ times = torch.linspace(0, 1.0, steps + 1, device=cond.device)
236
+ for i in range(steps):
237
+ t0 = times[i].view(1).expand(B)
238
+ t1 = times[i + 1].view(1).expand(B)
239
+ dt = (t1 - t0).view(-1, 1, 1)
240
+ x_mid = x + self.model(x, t0, cond) * dt / 2
241
+ x = x + dt * self.model(x_mid, t0 + (t1 - t0) / 2, cond)
242
+ return self.action_norm.unnormalize(x), x
243
+
244
+
245
+ class DPPolicy(DiTPolicy):
246
+ """Diffusion Policy with the DiT backbone (DextraVerse DiffusionDiTImagePolicy, ddpm_dit.yaml): DDPM with 100
247
+ training steps, squaredcos_cap_v2 betas, fixed_small variance, clipped samples, epsilon prediction; sampled with
248
+ every training step (100 DiT calls)."""
249
+ name = 'dp'
250
+
251
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
252
+ super().__init__(cfg, init_weights)
253
+ from diffusers.schedulers.scheduling_ddpm import DDPMScheduler
254
+ self.noise_scheduler = DDPMScheduler(num_train_timesteps=cfg.num_train_timesteps, beta_start=0.0001,
255
+ beta_end=0.02, beta_schedule=cfg.beta_schedule,
256
+ variance_type='fixed_small', clip_sample=cfg.clip_sample,
257
+ prediction_type=cfg.prediction_type)
258
+
259
+ @property
260
+ def sampling_steps(self) -> int:
261
+ return int(self.cfg.num_inference_steps or self.cfg.num_train_timesteps)
262
+
263
+ def compute_loss(self, images, state, action):
264
+ cond = self.condition(images, state)
265
+ target = self.action_norm.normalize(action)
266
+ noise = torch.randn_like(target)
267
+ t = torch.randint(0, self.noise_scheduler.config.num_train_timesteps, (target.shape[0],),
268
+ device=target.device).long()
269
+ noisy = self.noise_scheduler.add_noise(target, noise, t)
270
+ pred = self.model(noisy, t, cond)
271
+ goal = noise if self.cfg.prediction_type == 'epsilon' else target
272
+ loss = F.mse_loss(pred, goal)
273
+ return loss, dict(ddpm=float(loss.detach()))
274
+
275
+ @torch.no_grad()
276
+ def predict(self, images, state, generator=None):
277
+ cond = self.condition(images, state)
278
+ scheduler = self.noise_scheduler
279
+ x = torch.randn((images.shape[0], self.cfg.horizon, self.cfg.action_dim), device=cond.device,
280
+ dtype=cond.dtype, generator=generator)
281
+ scheduler.set_timesteps(self.sampling_steps, device=cond.device)
282
+ for t in scheduler.timesteps:
283
+ x = scheduler.step(self.model(x, t.to(cond.device), cond), t, x, generator=generator).prev_sample
284
+ return self.action_norm.unnormalize(x), x
285
+
286
+
287
+ class ACTPolicy(BasePolicy):
288
+ """ACT (DextraVerse ACTImagePolicy, act.yaml): ImageNet-normalized cameras through one ResNet with frozen
289
+ BatchNorm (spatial tokens, no pooling), the normalized state as qpos, a CVAE style encoder over the action chunk in
290
+ training, the DETR decoder with `horizon` queries; loss L1 + kl_weight x KL; inference decodes from the zero
291
+ latent (deterministic)."""
292
+ name = 'act'
293
+ backbone_prefix = 'model.backbone.'
294
+
295
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
296
+ super().__init__(cfg)
297
+ transformer = Transformer(d_model=cfg.act_hidden_dim, nhead=cfg.nheads, num_encoder_layers=cfg.enc_layers,
298
+ num_decoder_layers=cfg.dec_layers, dim_feedforward=cfg.dim_feedforward,
299
+ dropout=cfg.dropout, return_intermediate_dec=False)
300
+ self.model = DETRVAE(build_backbone(cfg.backbone, hidden_dim=cfg.act_hidden_dim, weights=init_weights),
301
+ transformer,
302
+ build_style_encoder(cfg.act_hidden_dim, cfg.nheads, cfg.dim_feedforward, cfg.enc_layers,
303
+ cfg.dropout),
304
+ qpos_dim=cfg.state_dim, action_dim=cfg.action_dim, num_queries=cfg.horizon,
305
+ latent_dim=cfg.latent_dim)
306
+ self.register_buffer('mean', torch.tensor(IMAGENET_MEAN).view(1, 1, 3, 1, 1), persistent=False)
307
+ self.register_buffer('std', torch.tensor(IMAGENET_STD).view(1, 1, 3, 1, 1), persistent=False)
308
+
309
+ def compute_loss(self, images, state, action):
310
+ target = self.action_norm.normalize(action)
311
+ a_hat, (mu, logvar) = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std,
312
+ actions=target)
313
+ l1 = F.l1_loss(a_hat, target)
314
+ kl = kl_divergence(mu, logvar)
315
+ return l1 + self.cfg.kl_weight * kl, dict(l1=float(l1.detach()), kl=float(kl.detach()))
316
+
317
+ @torch.no_grad()
318
+ def predict(self, images, state, generator=None): # noqa: ARG002 - deterministic (zero latent)
319
+ a_hat, _ = self.model(self.state_norm.normalize(state), (images - self.mean) / self.std)
320
+ return self.action_norm.unnormalize(a_hat), a_hat
321
+
322
+
323
+ class ODEPolicy(BasePolicy):
324
+ """ODE policy as ODE Policy's G1 port (`SonicLatentODE`): the body part b of the action row (the first
325
+ ode_body_dim columns; G1 the SONIC motion token 64) is integrated with Euler, one row per unit of time,
326
+ b_{k+1} = b_k + field_scale * f(b_k, s | c), from b_0 = the body row before the chunk; the remaining columns (G1:
327
+ the measured DFX6 12) are decoded from c for every row (linear, SiLU, linear; continuous, no sigmoid). c =
328
+ Linear(LayerNorm(image features)): one ResNet18 per view (ODE Policy's encoder, in place of the G1 port's GR00T
329
+ reader); the state enters the field only, never the condition or the hands.
330
+
331
+ Normalization (the G1 port's): per-dimension q01 / q99 of the training rows to [-1, 1], the UNIT_RANGE columns
332
+ (DFX6) fixed at [0, 1], constant dimensions shifted to 0, clipped to [-5, 5]; the executed body row at inference is
333
+ not clipped (a carried endpoint may leave the interval). Start: training teacher-forces b_0 = the recorded body row
334
+ t-1, the normalized-zero BOS at an episode's first frame; execution starts from the body part of the row executed
335
+ at t-1 (the interface's past_actions[-1]), BOS without one. Loss: masked MSE in normalized units (rows past the
336
+ episode's end left out), body and hands weighted by their widths. The ODE head runs in FP32 (the encoder under the
337
+ caller's autocast). Deterministic; no start perturbation (the G1 port's)."""
338
+ name = 'ode_mlp'
339
+ field_arch = 'mlp'
340
+ backbone_prefix = 'obs_encoder.rgb.'
341
+ lead_rows = 1
342
+ CLIP = 5.0
343
+
344
+ def __init__(self, cfg: PolicyConfig, init_weights=None):
345
+ super().__init__(cfg)
346
+ if cfg.ode_body_dim is None or not 0 < cfg.ode_body_dim <= cfg.action_dim:
347
+ raise ValueError(f'ode_body_dim must be in 1..{cfg.action_dim}, got {cfg.ode_body_dim}')
348
+ body, hands = cfg.ode_body_dim, cfg.action_dim - cfg.ode_body_dim
349
+ self.obs_encoder = ImageStateEncoder(cfg.n_cameras, 0, backbone=cfg.backbone, weights=init_weights,
350
+ norm=cfg.backbone_norm, shared=False) # images only
351
+ self.context_norm = nn.LayerNorm(self.obs_encoder.feature_dim)
352
+ self.context_proj = nn.Linear(self.obs_encoder.feature_dim, cfg.ode_cond_dim)
353
+ if self.field_arch == 'dit':
354
+ self.field = DiTVectorField(cfg.ode_cond_dim, cfg.state_dim, cfg.ode_dit_hidden, cfg.ode_dit_layers, body,
355
+ body, num_heads=cfg.ode_dit_heads, n_tokens=cfg.ode_dit_tokens)
356
+ else:
357
+ self.field = VectorField(cfg.ode_cond_dim, cfg.state_dim, cfg.ode_width, cfg.ode_layers, body, body)
358
+ self.hand_hidden = nn.Linear(cfg.ode_cond_dim, cfg.ode_cond_dim)
359
+ self.hand_output = nn.Linear(cfg.ode_cond_dim, cfg.horizon * hands) if hands else None
360
+
361
+ def fit_normalizers(self, stats: dict):
362
+ """The G1 port's bounds: q01 / q99 (from stats, else min / max), the stats' unit_dims fixed at [0, 1]."""
363
+ for key, norm in (('state', self.state_norm), ('action', self.action_norm)):
364
+ entry = stats[key]
365
+ lo = torch.as_tensor(entry.get('q01', entry['min']), dtype=torch.float64).clone()
366
+ hi = torch.as_tensor(entry.get('q99', entry['max']), dtype=torch.float64).clone()
367
+ unit = torch.as_tensor(entry.get('unit_dims', []), dtype=torch.long)
368
+ lo[unit], hi[unit] = 0.0, 1.0
369
+ norm.fit(lo, hi)
370
+
371
+ @property
372
+ def sampling_steps(self) -> int:
373
+ """Euler steps (field calls) per query."""
374
+ return int(self.cfg.horizon)
375
+
376
+ def features(self, images):
377
+ return self.obs_encoder(images, images.new_zeros(images.shape[0], 0))
378
+
379
+ def head(self, features, s, b0, n_steps):
380
+ """FP32: (body path (B, n_steps, body), hands (B, n_steps, hands)) in normalized units."""
381
+ cfg = self.cfg
382
+ c = self.context_proj(self.context_norm(features.float()))
383
+ film = self.field.precompute(c) # c is fixed over the chunk
384
+ b, path = b0, []
385
+ for _ in range(n_steps): # Euler, dt = one row
386
+ b = b + cfg.ode_field_scale * self.field(b, s, c, film)
387
+ path.append(b)
388
+ path = torch.stack(path, dim=1)
389
+ hands = cfg.action_dim - cfg.ode_body_dim
390
+ if not hands:
391
+ return path, path[..., :0]
392
+ out = self.hand_output(F.silu(self.hand_hidden(c))).view(c.shape[0], cfg.horizon, hands)
393
+ return path, out[:, :n_steps]
394
+
395
+ def compute_loss(self, images, state, action, valid=None):
396
+ cfg = self.cfg
397
+ H, body = cfg.horizon, cfg.ode_body_dim
398
+ if action.shape[1] != H + 1:
399
+ raise ValueError(f'the ODE policy trains on the row before + {H} rows, got {action.shape[1]} rows')
400
+ valid = torch.ones(action.shape[:2], device=action.device) if valid is None else valid.to(action.device)
401
+ features = self.features(images)
402
+ with torch.autocast(device_type=images.device.type, enabled=False):
403
+ s = self.state_norm.normalize(state.float()).clamp(-self.CLIP, self.CLIP)
404
+ nact = self.action_norm.normalize(action.float()).clamp(-self.CLIP, self.CLIP)
405
+ b0 = nact[:, 0, :body] * valid[:, :1].float() # BOS (normalized zero) at an episode's first frame
406
+ path, hands = self.head(features, s, b0, H)
407
+ target, mask = nact[:, 1:], valid[:, 1:, None].float()
408
+
409
+ def masked(pred, goal):
410
+ m = mask.expand_as(goal)
411
+ return ((pred - goal).square() * m).sum() / m.sum().clamp_min(1)
412
+
413
+ body_loss = masked(path, target[..., :body])
414
+ hand_loss = masked(hands, target[..., body:]) if hands.shape[-1] else body_loss.new_zeros(())
415
+ loss = (body * body_loss + (cfg.action_dim - body) * hand_loss) / cfg.action_dim
416
+ return loss, dict(body=float(body_loss.detach()), hand=float(hand_loss.detach()))
417
+
418
+ @torch.no_grad()
419
+ def predict(self, images, state, generator=None, previous=None, has_previous=None): # noqa: ARG002
420
+ """previous: (B, action_dim) physical, the row executed at t-1 (its body part is the start); None, or a False
421
+ in has_previous (B,), starts from the BOS."""
422
+ cfg = self.cfg
423
+ features = self.features(images)
424
+ with torch.autocast(device_type=images.device.type, enabled=False):
425
+ s = self.state_norm.normalize(state.float()).clamp(-self.CLIP, self.CLIP)
426
+ b0 = features.new_zeros(images.shape[0], cfg.ode_body_dim, dtype=torch.float32)
427
+ if previous is not None:
428
+ start = self.action_norm.normalize(previous.to(device=images.device, dtype=torch.float32))
429
+ keep = (torch.ones(images.shape[0], device=images.device) if has_previous is None else
430
+ has_previous.to(images.device).float())
431
+ b0 = start[:, :cfg.ode_body_dim] * keep[:, None] # unclipped carry
432
+ path, hands = self.head(features, s, b0, cfg.horizon)
433
+ raw = torch.cat([path, hands], dim=-1)
434
+ return self.action_norm.unnormalize(raw), raw
435
+
436
+
437
+ class ODEDiTPolicy(ODEPolicy):
438
+ """ODE-DiT: the ODE policy with ODE Policy's DiT (adaLN) vector field (ode_dit.yaml) over [b, s]."""
439
+ name = 'ode_dit'
440
+ field_arch = 'dit'
441
+
442
+
443
+ from .flash import FlashPolicy # noqa: E402 - FLASH (flash.py) builds on this module's Normalizer and nets.py
444
+ from .fm_dit_v2 import FMDiTv2Policy # noqa: E402 - FM-DiT v2 (FLASH-Policy's FM-DiT) builds on flash.py's networks
445
+
446
+ POLICIES = {cls.name: cls for cls in (FMDiTPolicy, DPPolicy, ACTPolicy, FlashPolicy, ODEPolicy, ODEDiTPolicy,
447
+ FMDiTv2Policy)}
448
+ LABELS = {'fm_dit': 'FM-DiT', 'dp': 'DP (DDPM-DiT)', 'act': 'ACT', 'flash': 'FLASH', 'ode_mlp': 'ODE-MLP',
449
+ 'ode_dit': 'ODE-DiT', 'fm_dit_v2': 'FM-DiT v2'}
450
+
451
+
452
+ def build_policy(cfg: PolicyConfig | dict, pretrained: bool = True) -> BasePolicy:
453
+ """The policy of `cfg`; pretrained=True initializes the backbone from cfg.backbone_weights (training),
454
+ False builds the same structure with random weights (a checkpoint load, which must not download anything)."""
455
+ cfg = cfg if isinstance(cfg, PolicyConfig) else PolicyConfig.from_dict(cfg)
456
+ if cfg.policy not in POLICIES:
457
+ raise KeyError(f'unknown baseline {cfg.policy!r}; one of {sorted(POLICIES)}')
458
+ cfg = replace(cfg) # a copy (resolved backbone_norm)
459
+ return POLICIES[cfg.policy](cfg, init_weights=cfg.backbone_weights if pretrained else None)
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.lock.txt ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # pip freeze of the hb-baselines training environment (2026-11-27, Python 3.12.12, NAS
2
+ # preflight-20261104T1648Z/policies-20261109/envs/hb-baselines, used by the A800 trainings). The Aliyun DSW copy
3
+ # /root/.venvs/hb-baselines (Python 3.12.1, pillow 12.3.0) trained the 2026-11-24..26 DSW runs.
4
+ anyio==4.16.0
5
+ av==15.1.0
6
+ certifi==2026.11.20
7
+ charset-normalizer==3.5.3
8
+ click==8.5.1
9
+ diffusers==0.35.1
10
+ filelock==4.3.1
11
+ fsspec==2026.9.0
12
+ h11==0.16.0
13
+ hf-xet==1.8.0
14
+ httpcore2==2.16.2
15
+ httpx2==2.16.2
16
+ huggingface_hub==2.4.0
17
+ idna==3.20
18
+ importlib_metadata==10.2.0
19
+ iniconfig==2.3.1
20
+ Jinja2==3.1.6
21
+ lazy-importer==0.1.0
22
+ MarkupSafe==3.0.4
23
+ mpmath==1.3.0
24
+ networkx==3.7
25
+ numpy==2.2.6
26
+ nvidia-cublas-cu12==12.8.4.1
27
+ nvidia-cuda-cupti-cu12==12.8.90
28
+ nvidia-cuda-nvrtc-cu12==12.8.93
29
+ nvidia-cuda-runtime-cu12==12.8.90
30
+ nvidia-cudnn-cu12==9.10.2.21
31
+ nvidia-cufft-cu12==11.3.3.83
32
+ nvidia-cufile-cu12==1.13.1.3
33
+ nvidia-curand-cu12==10.3.9.90
34
+ nvidia-cusolver-cu12==11.7.3.90
35
+ nvidia-cusparse-cu12==12.5.8.93
36
+ nvidia-cusparselt-cu12==0.7.1
37
+ nvidia-nccl-cu12==2.27.5
38
+ nvidia-nvjitlink-cu12==12.8.93
39
+ nvidia-nvshmem-cu12==3.3.20
40
+ nvidia-nvtx-cu12==12.8.90
41
+ opencv-python-headless==4.11.0.86
42
+ packaging==26.4
43
+ pillow==13.0.0
44
+ pluggy==1.7.0
45
+ pyarrow==23.0.1
46
+ Pygments==2.21.0
47
+ pytest==8.4.2
48
+ PyYAML==6.0.4
49
+ regex==2026.11.19
50
+ requests==2.34.2
51
+ safetensors==0.8.0
52
+ setuptools==84.2.1
53
+ sympy==1.14.0
54
+ torch==2.9.0+cu128
55
+ torchvision==0.24.0+cu128
56
+ tqdm==4.70.1
57
+ triton==3.5.0
58
+ truststore==0.10.5
59
+ typing_extensions==4.16.0
60
+ urllib3==2.8.0
61
+ zipp==4.1.2
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/requirements.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Environment of the FM-DiT / DP / ACT baselines (training and the policy server), Python 3.12, CUDA 12.8 wheels:
2
+ # uv venv <env> --python 3.12
3
+ # uv pip install --python <env>/bin/python -r evaluation/baselines/requirements.txt \
4
+ # --extra-index-url https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match
5
+ # The full pinned set of the training environment (the A800 / NAS env, Python 3.12.12): requirements.lock.txt
6
+ # (HumanWAM hb_training/envs/hb-baselines.txt). Each run records its versions in config.json training.environment.
7
+ torch==2.9.0+cu128
8
+ torchvision==0.24.0+cu128
9
+ diffusers==0.35.1
10
+ av==15.1.0
11
+ pyarrow==23.0.1
12
+ numpy==2.2.6
13
+ opencv-python-headless==4.11.0.86
14
+ pytest==8.4.2
15
+ pillow==13.0.0 # the JPEG effect of the augmentation spec v2 depends on it (owner 2026-11-27: pin every version that changes the numerics)
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/runtime.py ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Checkpoints and inference of the baselines.
2
+
3
+ A checkpoint is a directory written by train.py (`<run>/checkpoints/step-NNNNNN/`, `final` links the last one):
4
+
5
+ - `model.pt`: torch.save of {format, config (the config.json text), state_dict}: the EMA weights (or the raw ones when
6
+ EMA is off) with the policy's state and action normalizers, loaded strictly with `weights_only=True`;
7
+ - `config.json`: the policy configuration, the contract (robot, cameras, state and action columns), the image size,
8
+ the training task text, dataset, episodes, recipe and statistics;
9
+ - `protocol.json`: model.pt's size and SHA-256.
10
+
11
+ `BaselinePolicy.predict` takes the live frames of the checkpoint's cameras (any size; resized with data.resize_frame,
12
+ as the training cache), the physical state of the contract, a seed and, for a policy that starts from it (the ODE
13
+ policies, `uses_previous`), the action row executed at the frame before; it returns the physical (horizon,
14
+ action_dim) chunk with its normalized form; row 0 is the action of the observation's frame.
15
+ """
16
+ from __future__ import annotations
17
+
18
+ import hashlib
19
+ import json
20
+ from pathlib import Path
21
+
22
+ import numpy as np
23
+
24
+ FORMAT = 'hb_baselines/1'
25
+
26
+
27
+ def sha256(path) -> str:
28
+ digest = hashlib.sha256()
29
+ with Path(path).open('rb') as stream:
30
+ for block in iter(lambda: stream.read(16 << 20), b''):
31
+ digest.update(block)
32
+ return digest.hexdigest()
33
+
34
+
35
+ def save_checkpoint(folder, policy, config: dict):
36
+ """Write model.pt, config.json and protocol.json of `policy` (an nn.Module) into `folder`."""
37
+ import torch
38
+ folder = Path(folder)
39
+ folder.mkdir(parents=True, exist_ok=True)
40
+ text = json.dumps(dict(config, format=FORMAT), indent=1)
41
+ state = {k: v.detach().cpu().contiguous() for k, v in policy.state_dict().items()}
42
+ torch.save(dict(format=FORMAT, config=text, state_dict=state), folder / 'model.pt.tmp')
43
+ (folder / 'model.pt.tmp').replace(folder / 'model.pt')
44
+ (folder / 'config.json').write_text(text)
45
+ tr, ds = config.get('training') or {}, config.get('dataset') or {}
46
+ # HumanWAM hb_training/REPRODUCIBILITY.md section 8 (2026-11-27): what the checkpoint is, beside config.json
47
+ summary = dict(task=config.get('task'), dataset_id=config.get('dataset_id'),
48
+ episodes=len(ds.get('train_episodes') or []), frames=ds.get('train_frames'), fps=ds.get('fps'),
49
+ steps=tr.get('steps'), total_steps=tr.get('total_steps'), save_steps=tr.get('save_steps'),
50
+ global_batch=tr.get('batch_size'), per_gpu_batch=tr.get('batch_size'), num_gpus=1,
51
+ gradient_accumulation_steps=1, lr=tr.get('lr'), warmup=tr.get('warmup'),
52
+ schedule=tr.get('schedule'), seed=tr.get('seed'), aug_seed=tr.get('aug_seed'),
53
+ code_commit=config.get('code_commit'), code_dirty=tr.get('code_dirty'),
54
+ environment=tr.get('environment'), continuation=tr.get('continuation'),
55
+ protocol_deviations=tr.get('protocol_deviations'), protocol_exceptions=tr.get('protocol_exceptions'))
56
+ (folder / 'protocol.json').write_text(json.dumps(dict(
57
+ format=FORMAT, step=config.get('step'), policy=config['policy']['policy'], **summary,
58
+ files={'model.pt': dict(bytes=(folder / 'model.pt').stat().st_size, sha256=sha256(folder / 'model.pt'))}),
59
+ indent=1, default=str))
60
+
61
+
62
+ def load_checkpoint(folder, device='cpu', verify=True):
63
+ """(policy in eval mode on `device`, config dict) of a checkpoint directory."""
64
+ import torch
65
+ from .policies import build_policy
66
+ folder = Path(folder)
67
+ if verify:
68
+ protocol = json.loads((folder / 'protocol.json').read_text())
69
+ entry = protocol['files']['model.pt']
70
+ if (folder / 'model.pt').stat().st_size != entry['bytes']:
71
+ raise ValueError(f'{folder}/model.pt differs from protocol.json')
72
+ payload = torch.load(folder / 'model.pt', map_location='cpu', weights_only=True)
73
+ if payload.get('format') != FORMAT:
74
+ raise ValueError(f"{folder}: format {payload.get('format')!r}, expected {FORMAT}")
75
+ config = json.loads(payload['config'])
76
+ if json.loads((folder / 'config.json').read_text()) != config:
77
+ raise ValueError(f'{folder}: config.json differs from the one inside model.pt')
78
+ policy = build_policy(config['policy'], pretrained=False) # every weight comes from model.pt
79
+ policy.load_state_dict(payload['state_dict'], strict=True)
80
+ return policy.to(device).eval(), config
81
+
82
+
83
+ class BaselinePolicy:
84
+ """A loaded checkpoint for closed-loop inference (one request at a time)."""
85
+
86
+ def __init__(self, checkpoint, device='cuda:0', policy: str | None = None, robot: str | None = None):
87
+ import torch
88
+ self.torch = torch
89
+ self.device = torch.device(device)
90
+ self.model, self.config = load_checkpoint(checkpoint, device=self.device)
91
+ self.checkpoint = str(Path(checkpoint).resolve())
92
+ name, contract = self.config['policy']['policy'], self.config['contract']
93
+ if policy is not None and name != policy:
94
+ raise ValueError(f'{checkpoint} is a {name!r} checkpoint, not {policy!r}')
95
+ if robot is not None and contract['robot'] != robot:
96
+ raise ValueError(f"{checkpoint} was trained for {contract['robot']!r} ({contract['name']}), not {robot!r}")
97
+ self.name, self.contract = name, contract
98
+ self.cameras = tuple(contract['cameras'])
99
+ self.image_hw = tuple(self.config['image_hw'])
100
+ self.horizon = int(self.config['policy']['horizon'])
101
+ self.state_dim, self.action_dim = int(contract['state_dim']), int(contract['action_dim'])
102
+ self.sampling_steps = int(self.model.sampling_steps)
103
+ self.task_text = self.config.get('task_text')
104
+ self.uses_previous = bool(getattr(self.model, 'lead_rows', 0))
105
+
106
+ def info(self) -> dict:
107
+ out = dict(model=self.name, checkpoint=self.checkpoint, step=self.config.get('step'),
108
+ contract=self.contract['name'], views=list(self.cameras), image_hw=list(self.image_hw),
109
+ action_chunk=self.horizon, action_dim=self.action_dim, state_dim=self.state_dim,
110
+ sampling_steps=self.sampling_steps, task_text=self.task_text,
111
+ training_data=self.config.get('dataset', {}).get('name'))
112
+ if self.name == 'flash':
113
+ out['flash'] = dict(self.model.flash, history_rows=self.model.history_span)
114
+ out['first_history'] = ('no executed row: the frame-0 row from the query state, replicated (has_history '
115
+ 'True)' if self.model.first_history == 'frame0' else
116
+ 'no executed row: has_history False, the zero start')
117
+ if self.uses_previous:
118
+ out['starts_from'] = 'the body part of the row executed at t-1, else the normalized-zero BOS'
119
+ return out
120
+
121
+ def start_history(self, state, past_actions, history_valid):
122
+ """(past_actions, history_valid) of a query, with the episode-start row of a 'frame0' FLASH (flash.py) when
123
+ no row is valid: one valid row, first_history_row of the query's physical state (history_rows replicates it,
124
+ as training does at an episode's first frame). Unchanged otherwise ('zero' FLASH, other policies, a query
125
+ that has an executed row, e.g. the H2 runner's --first-history state row)."""
126
+ if self.name != 'flash' or self.model.first_history_source is None:
127
+ return past_actions, history_valid
128
+ if past_actions is not None and history_valid is not None and (np.asarray(history_valid, np.float32).reshape(-1) > 0.5).any():
129
+ return past_actions, history_valid
130
+ row = self.model.first_history_row(np.asarray(state, np.float32).reshape(-1))
131
+ return row[None].astype(np.float32), np.ones(1, np.float32)
132
+
133
+ def history(self, past_actions, history_valid):
134
+ """FLASH: (history (1, n_history, Da), has_history (1,)) tensors from the executed rows before the query
135
+ (past_actions (N, Da) oldest first, row N-1 = frame t-1; history_valid (N,) a contiguous valid suffix)."""
136
+ from .flash import history_rows
137
+ torch, span = self.torch, self.model.history_span
138
+ rows = np.asarray(past_actions, np.float32)
139
+ valid = np.asarray(history_valid, np.float32).reshape(-1) > 0.5
140
+ if rows.ndim != 2 or rows.shape[1] != self.action_dim or len(valid) != len(rows):
141
+ raise ValueError(f'past_actions {rows.shape} / history_valid {valid.shape}: '
142
+ f'expected (N, {self.action_dim})')
143
+ if len(rows) < span: # fewer rows than the history reaches back: the missing older rows are invalid
144
+ pad = span - len(rows)
145
+ rows = np.concatenate([np.zeros((pad, rows.shape[1]), np.float32), rows])
146
+ valid = np.concatenate([np.zeros(pad, bool), valid])
147
+ hist, has = history_rows(rows[-span:], valid[-span:], self.model.stride, self.model.n_history)
148
+ return (torch.from_numpy(hist)[None].to(self.device),
149
+ torch.tensor([bool(has)], device=self.device))
150
+
151
+ def images_tensor(self, images: dict):
152
+ from .data import resize_frame
153
+ missing = [c for c in self.cameras if c not in images]
154
+ if missing:
155
+ raise KeyError(f'missing cameras {missing}; the checkpoint reads {list(self.cameras)}')
156
+ frames = np.stack([resize_frame(np.asarray(images[c]), self.image_hw) for c in self.cameras])
157
+ x = self.torch.from_numpy(frames).to(self.device).permute(0, 3, 1, 2).float().div_(255.)
158
+ return x.unsqueeze(0) # (1, n_cameras, 3, h, w)
159
+
160
+ def predict(self, images: dict, state, seed: int = 0, previous=None, past_actions=None, history_valid=None):
161
+ """(action (horizon, action_dim) float32 physical, normalized form (FLASH: the polynomial coefficients)).
162
+ The ODE policies (`uses_previous`) start from `previous`, the physical action row executed at the frame before
163
+ (else the last row of past_actions when history_valid marks it; with neither, their BOS). FLASH needs
164
+ past_actions / history_valid (the interface's executed rows before the query; a 'frame0' FLASH builds its
165
+ episode-start row from `state` when none is valid, start_history). The others ignore all three."""
166
+ torch = self.torch
167
+ state = np.asarray(state, np.float32).reshape(-1)
168
+ if state.shape != (self.state_dim,) or not np.isfinite(state).all():
169
+ raise ValueError(f'expected a finite state of {self.state_dim} values, got {state.shape}')
170
+ args, kwargs = (), {}
171
+ if self.uses_previous:
172
+ if previous is None and past_actions is not None and history_valid is not None:
173
+ valid = np.asarray(history_valid, np.float32).reshape(-1)
174
+ if len(valid) and valid[-1] > 0.5:
175
+ previous = np.asarray(past_actions, np.float32)[-1]
176
+ if previous is not None:
177
+ previous = np.asarray(previous, np.float32).reshape(-1)
178
+ if previous.shape != (self.action_dim,) or not np.isfinite(previous).all():
179
+ raise ValueError(f'expected a finite previous action row of {self.action_dim} values, '
180
+ f'got {previous.shape}')
181
+ kwargs['previous'] = torch.from_numpy(previous)[None].to(self.device)
182
+ if self.name == 'flash':
183
+ if past_actions is None or history_valid is None:
184
+ raise ValueError('FLASH needs past_actions and history_valid (the executed rows before the query)')
185
+ # a 'frame0' FLASH without a valid row: h0 from this state (the adapters pass it from the unmasked state)
186
+ past_actions, history_valid = self.start_history(state, past_actions, history_valid)
187
+ args = self.history(past_actions, history_valid)
188
+ generator = torch.Generator(device=self.device)
189
+ generator.manual_seed(int(seed) % (2 ** 63 - 1))
190
+ with torch.inference_mode():
191
+ action, raw = self.model.predict(self.images_tensor(images),
192
+ torch.from_numpy(state)[None].to(self.device), *args,
193
+ generator=generator, **kwargs)
194
+ action = action[0].float().cpu().numpy()
195
+ if action.shape != (self.horizon, self.action_dim) or not np.isfinite(action).all():
196
+ raise ValueError(f'invalid prediction {action.shape}')
197
+ return np.ascontiguousarray(action, np.float32), raw[0].float().cpu().numpy().astype(np.float32)
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/evaluation/baselines/train.py ADDED
@@ -0,0 +1,1029 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Train an FM-DiT, DP (DDPM-DiT), ACT, FLASH, ODE-MLP or ODE-DiT baseline on a task's LeRobot v2.1 expert dataset.
2
+
3
+ <baselines env>/bin/python -I evaluation/baselines/train.py --policy fm_dit --contract h2_sharpa \\
4
+ --dataset data/h2_pour_water/h2_pour_water_r1/lerobot --out <run dir> --steps 60000
5
+
6
+ The recipe is DextraVerse's shared IL recipe (configs/algorithm/il/train.yaml; runners/train_dex_flow_matching.py):
7
+ AdamW (lr 1e-4, betas 0.95/0.999, weight decay 1e-6), cosine decay (here after a 500-step linear warm-up, as
8
+ Diffusion Policy), whole-policy EMA (Diffusion Policy's warm-up schedule, max decay 0.9999) whose weights are the
9
+ saved checkpoint, batch 64, one observation frame and 16-row chunks. Added for the humanoid views: frames resized
10
+ to 168x224 (the 480x640 aspect). bf16 autocast on CUDA.
11
+
12
+ FM-DiT v2 (--policy fm_dit_v2, evaluation/baselines/fm_dit_v2.py; owner 2026-11-25) is FLASH-Policy's own FM-DiT:
13
+ fm_dit.yaml's networks and the FLASH recipe below (FM_DIT_V2_TRAINING), on the plain 16-row chunks of every baseline;
14
+ it requires the in-training MSE as FLASH does. `--policy fm_dit` (v1, DextraVerse's) is unchanged.
15
+
16
+ FLASH (--policy flash, evaluation/baselines/flash.py) keeps its upstream recipe (FLASH-Policy f47e490,
17
+ default_train.yaml + flash.yaml) where the defaults differ: seed 42 (upstream's; the protocol keeps each model's
18
+ official seed), ResNet18 from scratch with GroupNorm trained at the full learning rate (--backbone-weights none,
19
+ --backbone-lr-scale 1), diffusers' cosine schedule with a 500-step warm-up, Diffusion Policy's EMAModel decay as
20
+ upstream counts it, and its own items (FlashChunkDataset: the polynomial targets at the sampling stride, the executed
21
+ history; at an episode's first frame, from 2026-11-29, the frame-0 row replicated as upstream: first_history 'frame0',
22
+ its sources and the G1 start token computed here from the dataset and recorded in the checkpoint's config; an
23
+ --init-from continuation keeps its parent's first_history - 'zero' without the key - and reuses a 'frame0' parent's
24
+ row, unless --flash first_history=... is given, which its continuation record notes: flash_run_settings).
25
+ --flash KEY=VALUE changes a FLASH setting (flash.FLASH_DEFAULTS: stride, n_history, ...). Its augmentation
26
+ stream is seeded from the training seed, as every model's (ChunkDataset aug_seed; logged as HB_AUG_SEED=<seed>).
27
+
28
+ ODE-MLP / ODE-DiT (--policy ode_mlp / ode_dit, policies.ODEPolicy) keep their G1 port's choices
29
+ (policies.POLICY_DEFAULTS): 16-row chunks, the ODE head in FP32, their own normalization bounds (q01 / q99 of the
30
+ training rows, the DFX6 hands fixed at [0, 1]: stats q01 / q99 / unit_dims), the body part = the contract's first
31
+ action group, the encoder from scratch at the full learning rate, seed 42 (ODE Policy's default_train.yaml, whose
32
+ optimizer, schedule and EMA are the recipe above). Their items carry the row before t and the rows' validity
33
+ (ChunkDataset lead 1).
34
+
35
+ Augmentation (2026-11-16): the Humanoid Benchmark spec v2 (docs/augmentation_v2.md, evaluation/augmentation), the
36
+ same for every model of the benchmark, is on by default (--augmentation hb-v2): per training item one hb_aug_v2 call
37
+ on the cached 168x224 frames of all cameras (colour shared, geometry / light patches / white balance per camera, one
38
+ 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
39
+ body joint angles of the raw state (G1 29, H2 31), before the policy's normalizers; actions untouched. The native
40
+ random shift is off (--shift 0; a shift with hb-v2 is refused). Before the first step a preflight reads training items
41
+ through the augmented and the plain path and checks the state width (G1 44 / H2 78, no velocity), that only the body
42
+ joints move and by at most 2.75 deg, that the action rows (and FLASH's history) are bit-identical, that the images
43
+ change, and that the offline-check items are deterministic; it is stored in run.json (--preflight-only stops after it).
44
+ --augmentation none is an explicit exception to the spec, recorded in run.json and the checkpoints. The ResNet18
45
+ starts from torchvision's ImageNet-1k weights (--backbone-weights IMAGENET1K_V1, downloaded once to the torch hub
46
+ cache) and is fine-tuned at 0.1 x the learning rate (--backbone-lr-scale, the DETR practice) with its BatchNorm
47
+ frozen; --backbone-weights none trains it from scratch (DextraVerse's GroupNorm encoder for FM-DiT and DP).
48
+
49
+ In-training MSE (owner 2026-11-22, HumanWAM hb_training/REPRODUCIBILITY.md section 6): --inloop-task <key> with
50
+ --inloop-code <HumanWAM hb_training/eval-action-mse> evaluates the saved (EMA) weights every HB_INLOOP_EVERY (250)
51
+ steps on the protocol's cached episodes (inloop.py) into <out>/logs/inloop-mse.jsonl. FLASH refuses to train without
52
+ it unless --allow-no-inloop (an exception to the protocol, recorded in run.json); so do the ODE policies.
53
+
54
+ Writes into --out: run.json (arguments), train_log.jsonl, checkpoints/step-NNNNNN/ at the save points (runtime.py
55
+ format; owner 2026-11-27, every small model: 6 checkpoints spread evenly over the run's steps, each rounded to the
56
+ in-training MSE's 250-step grid, the last one at the end; save_points()), checkpoints/final -> the last one, and
57
+ train_state.pt (optimizer, schedule, EMA, step) that
58
+ --resume continues from (an interrupted run: the same schedule, not a continuation). Each save also measures the EMA
59
+ policy offline on fixed frames (held-out episodes with --val-episodes, else training frames): normalized-action MSE
60
+ overall and per action group.
61
+
62
+ Protocol and reproducibility (owner 2026-11-27, aligned with HumanWAM hb_training/protocol.yaml): the batch, steps
63
+ (long tasks x2), warm-up, workers and seed default to the protocol recipe of the policy (PROTOCOL_RECIPES); another
64
+ value, --save-every, a dataset not at 30 Hz or training without the in-training MSE (now required for every model) is
65
+ refused unless --protocol-exception / --allow-no-inloop records the owner's decision; uncommitted changes under
66
+ evaluation/ are refused unless --allow-dirty-tree. The order is EpochSampler's (epoch e: default_rng([seed, 1, e])),
67
+ each item augmented with default_rng([aug_seed, draw]) (its position in the run's stream), so worker count and an
68
+ interruption change nothing: train_state.pt keeps the torch / CUDA / numpy / python random states and --resume
69
+ continues bit-exactly. config.json and each protocol.json record the task, the dataset id (--dataset-id REPO@COMMIT
70
+ or inferred from <name>-<commit>/data), the save points, the environment (Python, torch, torchvision, numpy, Pillow,
71
+ CUDA, cuDNN, GPU, driver), the sha256 of hb_aug_v2.py and of the in-training MSE code, and the deviations.
72
+
73
+ Continuation (owner 2026-11-27, HumanWAM hb_training/protocol.yaml interface.continuation, as FastWAM's
74
+ hb_fastwam_cont.py): --init-from <run>/checkpoints/step-NNNNNN into a new --out loads that run's weights only (raw policy
75
+ and EMA from its train_state.pt when written at that step, else the saved EMA weights for both), then trains --steps
76
+ more steps with a fresh AdamW and schedule: peak --lr = 0.3 x the original peak (a peak equal to or above it is
77
+ refused without --continuation-exception; owner 2026-11-28: the long FM-DiT v1 continuations to the scaled step
78
+ count use the from-scratch peak and warm-up), --warmup = 5 % of --steps, then the policy's cosine. Same policy configuration, data, augmentation and seed
79
+ (checked). Checkpoints are named by the total step (e.g. a 12000-step run continued 2000 steps saves step-014000);
80
+ train_log, in-training MSE and the EMA decay also count the total steps; config.json training.continuation records
81
+ the source checkpoint (path, step, model.pt sha256, code commit) and the continuation's learning rate.
82
+ Owner 2026-11-28: with --continuation-exception a g1_sonic_dfx6 run (measured hands) may be continued as g1_sonic_cmd
83
+ (the commanded hands; same state, cameras and 76 values): the weights are loaded, then the state and action normalizers
84
+ are re-fit on this run's data (its config.json stats). A source checkpoint written by the collaborator's own
85
+ --init-from runs (028df1bb format: training.init_from.step) counts that parent step into the total.
86
+ """
87
+ from __future__ import annotations
88
+
89
+ import argparse
90
+ import copy
91
+ from datetime import datetime, timezone
92
+ import json
93
+ import math
94
+ import os
95
+ from pathlib import Path
96
+ import subprocess
97
+ import sys
98
+ import time
99
+
100
+ import numpy as np
101
+
102
+ HERE = Path(__file__).resolve().parent
103
+ REPO = HERE.parents[1]
104
+ if str(HERE.parent) not in sys.path:
105
+ sys.path.insert(0, str(HERE.parent))
106
+
107
+ from baselines.data import (CONTRACTS, ChunkDataset, FlashChunkDataset, LeRobotDataset, # noqa: E402
108
+ augmentation_module, first_history_layout, first_history_start, frame_cache, load_lowdim,
109
+ parse_episodes, statistics, unit_range_dims)
110
+ from baselines.flash import FLASH_DEFAULTS, FLASH_POLICY_FIELDS # noqa: E402
111
+ from baselines.fm_dit_v2 import FM_DIT_V2_POLICY_FIELDS, UPSTREAM as FM_DIT_V2_UPSTREAM # noqa: E402
112
+ from baselines.policies import ODE_POLICIES, POLICIES, POLICY_DEFAULTS, PolicyConfig, build_policy # noqa: E402
113
+ from baselines.runtime import save_checkpoint # noqa: E402
114
+
115
+ DEFAULTS = dict(lr=1e-4, betas=(0.95, 0.999), weight_decay=1e-6, warmup=500, ema=0.9999, batch_size=64,
116
+ horizon=16, backbone_weights='IMAGENET1K_V1', backbone_lr_scale=0.1, seed=0, amp=True)
117
+ # FLASH-Policy f47e490 default_train.yaml / flash.yaml where they differ from DEFAULTS
118
+ FLASH_TRAINING = dict(seed=42, backbone_weights=None, backbone_lr_scale=1.0, schedule='diffusers_cosine',
119
+ ema_schedule='diffusion_policy_emamodel')
120
+ # FM-DiT v2 (fm_dit_v2.py): FLASH-Policy's FM-DiT trains with the same default_train.yaml
121
+ FM_DIT_V2_TRAINING = dict(FLASH_TRAINING)
122
+ # HumanWAM hb_training/protocol.yaml models.* (owner 2026-11-27: hb_baselines trains exactly the protocol's recipe; any
123
+ # other value is refused unless --protocol-exception records the owner's decision): the global batch (1 GPU), the
124
+ # steps of a training from scratch (long tasks x LONG_TASKS), the warm-up and the DataLoader workers. FM-DiT v1 and DP
125
+ # have no registered recipe (the collaborator's; FM-DiT v1 is superseded by v2): only the batch is checked for them.
126
+ PROTOCOL_RECIPES = {
127
+ 'act': dict(batch_size=512, steps=4000, warmup=200, workers=32),
128
+ 'flash': dict(batch_size=512, steps=12000, warmup=500, workers=40),
129
+ 'fm_dit_v2': dict(batch_size=512, steps=12000, warmup=500, workers=32),
130
+ 'ode_mlp': dict(batch_size=512, steps=5000, warmup=500, workers=32),
131
+ 'ode_dit': dict(batch_size=512, steps=5000, warmup=500, workers=32),
132
+ 'fm_dit': dict(batch_size=512),
133
+ 'dp': dict(batch_size=512),
134
+ }
135
+ LONG_TASKS = {'c6': 2} # protocol.yaml interface.long_task_step_factor (A14 is not doubled)
136
+ DATASET_FPS = 30 # every dataset, training and evaluation (owner 2026-11-26)
137
+
138
+
139
+ def training_defaults(policy: str) -> dict:
140
+ """DEFAULTS with the policy's own: FLASH_TRAINING (flash), FM_DIT_V2_TRAINING (fm_dit_v2),
141
+ policies.POLICY_DEFAULTS (the ODE policies)."""
142
+ # FM-DiT v1: seed 42 for every training from 2026-11-27 (owner: one seed per model, kept on every training;
143
+ # FM-DiT uses 42 as fm_dit_v2 / FLASH; its published seed-0 folders stay as recorded)
144
+ own = {'flash': FLASH_TRAINING, 'fm_dit_v2': FM_DIT_V2_TRAINING, 'fm_dit': dict(seed=42)}.get(policy, {})
145
+ return dict(DEFAULTS, **own, **POLICY_DEFAULTS.get(policy, {}))
146
+
147
+
148
+ def policy_default(policy: str, key: str):
149
+ """The training default of `key` for `policy`."""
150
+ return training_defaults(policy)[key]
151
+
152
+
153
+ FIRST_HISTORY_KEYS = ('first_history', 'first_history_state', 'first_history_value')
154
+
155
+
156
+ def first_history_of(flash: dict | None) -> dict:
157
+ """The episode-start settings of a FLASH config (flash.py): a checkpoint without them (trained before 2026-11-29)
158
+ is 'zero'."""
159
+ flash = flash or {}
160
+ return dict(first_history=flash.get('first_history', 'zero'), first_history_state=flash.get('first_history_state'),
161
+ first_history_value=flash.get('first_history_value'))
162
+
163
+
164
+ def flash_run_settings(given: dict, parent: dict | None, frame0_row):
165
+ """(FLASH settings of this run, first_history record of a continuation or None).
166
+
167
+ FLASH_DEFAULTS + `given` (--flash KEY=VALUE). first_history (owner 2026-11-29): a training from scratch defaults to
168
+ 'frame0'; a continuation (`parent` = the --init-from checkpoint's policy.extra.flash) to the parent's ('zero' when
169
+ it has no key), a 'frame0' parent's first_history_state / first_history_value reused as they are (not recomputed).
170
+ Only an explicit --flash first_history=... sets another value; the record says so (changed, note). frame0_row():
171
+ (state, value) from this run's data, for a 'frame0' run that has none (from scratch, or switched explicitly)."""
172
+ settings = dict(FLASH_DEFAULTS, **given)
173
+ record = inherited = None
174
+ if parent is not None:
175
+ inherited = first_history_of(parent)
176
+ if 'first_history' not in given or given['first_history'] == inherited['first_history']:
177
+ settings.update({k: v for k, v in inherited.items() if k not in given})
178
+ record = dict(parent=inherited['first_history'], this=settings['first_history'],
179
+ source=('--flash first_history (explicit)' if 'first_history' in given else
180
+ 'inherited from the --init-from checkpoint'))
181
+ recomputed = False
182
+ if settings['first_history'] == 'frame0' and settings['first_history_state'] is None:
183
+ state, value = frame0_row()
184
+ settings.update(first_history_state=state, first_history_value=value)
185
+ recomputed = True
186
+ if record is not None:
187
+ changed = first_history_of(settings) != inherited
188
+ record.update(changed=changed, recomputed_from_this_data=recomputed)
189
+ if changed:
190
+ record['note'] = (f"the episode-start history differs from the parent's ({inherited['first_history']} -> "
191
+ f"{settings['first_history']}{', frame-0 row computed on this run' if recomputed else ''}"
192
+ "), set explicitly with --flash; the parent was trained with its own")
193
+ return settings, record
194
+
195
+
196
+ def _comparable_policy(policy: dict, drop_first_history: bool) -> dict:
197
+ """A policy configuration with FLASH's episode-start settings normalized (absent = 'zero') or left out."""
198
+ if policy.get('policy') != 'flash':
199
+ return policy
200
+ flash = dict((policy.get('extra') or {}).get('flash') or {})
201
+ normalized = first_history_of(flash)
202
+ for key in FIRST_HISTORY_KEYS:
203
+ flash.pop(key, None)
204
+ if not drop_first_history:
205
+ flash.update(normalized)
206
+ return dict(policy, extra=dict(policy.get('extra') or {}, flash=flash))
207
+
208
+
209
+ def same_policy_config(saved: dict, current: dict, ignore_first_history: bool = False) -> bool:
210
+ """A saved policy configuration matches the current one; a field added to PolicyConfig after the save (absent
211
+ from it) matches when the current value is that field's default (e.g. the ode_* fields for an older FM-DiT run).
212
+ FLASH's first_history settings compare normalized (a config without them is 'zero'); a continuation ignores them
213
+ (ignore_first_history: an explicit change is in its continuation record, flash_run_settings)."""
214
+ from dataclasses import MISSING, fields
215
+ saved = _comparable_policy(saved, ignore_first_history)
216
+ current = _comparable_policy(current, ignore_first_history)
217
+ defaults = {f.name: f.default for f in fields(PolicyConfig) if f.default is not MISSING}
218
+ return all(saved[k] == v if k in saved else (k in defaults and defaults[k] == v) for k, v in current.items()) \
219
+ and set(saved) <= set(current)
220
+
221
+
222
+ def git_commit():
223
+ """The code's commit: git HEAD, or outside a checkout (a tree copied file by file, e.g. onto the A800 NAS, which
224
+ cannot reach the private repository) the commit in <repo>/HB_CODE_COMMIT that the copier wrote and checked."""
225
+ try:
226
+ return subprocess.run(['git', '-C', str(REPO), 'rev-parse', 'HEAD'], capture_output=True, text=True,
227
+ check=True).stdout.strip()
228
+ except Exception: # noqa: BLE001 - outside a checkout
229
+ import re
230
+ try:
231
+ m = re.search(r'\b[0-9a-f]{7,40}\b', (REPO / 'HB_CODE_COMMIT').read_text())
232
+ except OSError:
233
+ return None
234
+ return m.group(0) if m else None
235
+
236
+
237
+ def git_dirty():
238
+ """The uncommitted changes of the code a run trains with (evaluation/), [] when clean, None outside a checkout:
239
+ the recorded code_commit is that code only when the tree is clean."""
240
+ try:
241
+ out = subprocess.run(['git', '-C', str(REPO), 'status', '--porcelain', '--', 'evaluation'],
242
+ capture_output=True, text=True, check=True).stdout
243
+ except Exception: # noqa: BLE001 - outside a checkout
244
+ return None
245
+ return [line[3:] for line in out.splitlines() if line.strip()]
246
+
247
+
248
+ def file_sha256(path):
249
+ import hashlib
250
+ try:
251
+ return hashlib.sha256(Path(path).read_bytes()).hexdigest()
252
+ except OSError:
253
+ return None
254
+
255
+
256
+ def environment(device):
257
+ """The versions that change the numerics (REPRODUCIBILITY.md principle 5): Python, torch, torchvision, numpy,
258
+ Pillow (the JPEG effect of the augmentation), CUDA, cuDNN, the GPU and its driver."""
259
+ import platform
260
+ import torch
261
+ env = dict(python=platform.python_version(), torch=torch.__version__, numpy=np.__version__,
262
+ cuda=torch.version.cuda,
263
+ cudnn=torch.backends.cudnn.version() if torch.backends.cudnn.is_available() else None)
264
+ for name, module in (('torchvision', 'torchvision'), ('pillow', 'PIL')):
265
+ try:
266
+ env[name] = __import__(module).__version__
267
+ except Exception: # noqa: BLE001
268
+ env[name] = None
269
+ if device.type == 'cuda':
270
+ env['gpu'] = torch.cuda.get_device_name(device)
271
+ try:
272
+ env['driver'] = subprocess.run(['nvidia-smi', '--query-gpu=driver_version', '--format=csv,noheader',
273
+ '-i', str(device.index or 0)], capture_output=True, text=True,
274
+ timeout=20).stdout.strip() or None
275
+ except Exception: # noqa: BLE001
276
+ env['driver'] = None
277
+ return env
278
+
279
+
280
+ class EpochSampler:
281
+ """The training order (owner 2026-11-27, aligned with HumanWAM's resumable runs): epoch e is the permutation
282
+ numpy default_rng([seed, 1, e]) of the items, cut to whole batches (drop_last); each item comes with its draw
283
+ number (its position in the whole run's stream, e * batches_per_epoch * batch + j), which seeds its augmentation
284
+ (ChunkDataset: default_rng([aug_seed, draw])). Order and augmentations are thus a function of the seed and the
285
+ step only (not of the worker count or of an interruption): start_step skips the batches already trained."""
286
+
287
+ def __init__(self, n, batch_size, seed, start_step=0):
288
+ self.n, self.batch, self.seed = int(n), int(batch_size), int(seed)
289
+ self.per_epoch = self.n // self.batch
290
+ if self.per_epoch < 1:
291
+ raise SystemExit(f'{n} training items: fewer than one batch of {batch_size}')
292
+ self.epoch, self.offset = divmod(int(start_step), self.per_epoch)
293
+
294
+ def __len__(self):
295
+ return (self.per_epoch - self.offset) * self.batch
296
+
297
+ def __iter__(self):
298
+ perm = np.random.default_rng([self.seed, 1, self.epoch]).permutation(self.n)
299
+ base = self.epoch * self.per_epoch * self.batch
300
+ start = self.offset * self.batch
301
+ self.epoch, self.offset = self.epoch + 1, 0
302
+ for j in range(start, self.per_epoch * self.batch):
303
+ yield int(perm[j]), base + j
304
+
305
+
306
+ def rng_state():
307
+ import random
308
+ import torch
309
+ return dict(torch=torch.get_rng_state(), cuda=torch.cuda.get_rng_state_all() if torch.cuda.is_available() else None,
310
+ numpy=np.random.get_state(), python=random.getstate())
311
+
312
+
313
+ def set_rng_state(state):
314
+ import random
315
+ import torch
316
+ torch.set_rng_state(state['torch'])
317
+ if state.get('cuda') is not None and torch.cuda.is_available():
318
+ torch.cuda.set_rng_state_all(state['cuda'])
319
+ np.random.set_state(state['numpy'])
320
+ random.setstate(state['python'])
321
+
322
+
323
+ def parse_hw(text):
324
+ h, w = text.lower().split('x')
325
+ return int(h), int(w)
326
+
327
+
328
+ def random_shift(images, pad):
329
+ """DrQ random shift: replicate-pad by `pad` pixels and crop back at a random offset per sample.
330
+ images (B, N, 3, H, W) float."""
331
+ import torch
332
+ import torch.nn.functional as F
333
+ if pad <= 0:
334
+ return images
335
+ B, N, C, H, W = images.shape
336
+ x = F.pad(images.reshape(B * N, C, H, W), (pad,) * 4, mode='replicate')
337
+ oy = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
338
+ ox = torch.randint(0, 2 * pad + 1, (B * N,), device=images.device)
339
+ rows = (oy[:, None] + torch.arange(H, device=images.device)[None])[:, None, :, None].expand(-1, C, -1, W + 2 * pad)
340
+ x = x.gather(2, rows)
341
+ cols = (ox[:, None] + torch.arange(W, device=images.device)[None])[:, None, None, :].expand(-1, C, H, -1)
342
+ return x.gather(3, cols).reshape(B, N, C, H, W)
343
+
344
+
345
+ class EMA:
346
+ """Diffusion Policy's EMAModel schedule: decay = min(max_decay, 1 - (1 + step) ** -0.75), parameters averaged,
347
+ buffers (normalizers) copied. schedule 'diffusion_policy_emamodel' counts the steps as upstream's EMAModel does
348
+ (decay 0 for the first two updates, then 1 - (step - 1) ** -0.75; FLASH)."""
349
+
350
+ def __init__(self, model, max_decay, schedule='hb'):
351
+ self.model = copy.deepcopy(model).eval().requires_grad_(False)
352
+ self.max_decay = float(max_decay)
353
+ self.schedule = schedule
354
+
355
+ def decay(self, step):
356
+ if self.schedule == 'diffusion_policy_emamodel':
357
+ return 0.0 if step <= 2 else min(self.max_decay, max(0.0, 1 - (step - 1) ** -0.75))
358
+ return 0.0 if step <= 0 else min(self.max_decay, max(0.0, 1 - (1 + step) ** -0.75))
359
+
360
+ def update(self, model, step):
361
+ import torch
362
+ decay = self.decay(step)
363
+ with torch.no_grad():
364
+ for e, p in zip(self.model.parameters(), model.parameters()):
365
+ e.mul_(decay).add_(p.detach(), alpha=1 - decay)
366
+ for e, b in zip(self.model.buffers(), model.buffers()):
367
+ e.copy_(b)
368
+ return decay
369
+
370
+
371
+ def preflight(train_set, eval_set, contract, samples=64, seed=0) -> dict:
372
+ """Training items of `train_set` (augmented unless its body_dims is 0) against the same frames read without
373
+ augmentation, and two reads of the offline-check items; raises on any violation of docs/augmentation_v2.md.
374
+ Items are (images, state, *labels): every label (action rows; FLASH's polynomial rows and history) must be
375
+ bit-identical to the plain read."""
376
+ import torch
377
+ plain = train_set.plain() # the same frames without augmentation
378
+ picks = np.random.default_rng(seed).choice(len(plain), size=min(samples, len(plain)), replace=False)
379
+ nb, sd = train_set.body_dims, contract.state_dim
380
+ limit = augmentation_module().max_body_offset_rad() * (1 + 1e-5)
381
+ images_changed = body_moved = 0
382
+ worst = 0.0
383
+ for k in picks:
384
+ (im, st, *lab), (im0, st0, *lab0) = train_set[int(k)], plain[int(k)]
385
+ if st.shape != (sd,) or st0.shape != (sd,) or [x.shape for x in lab] != [x.shape for x in lab0]:
386
+ raise SystemExit(f'preflight: state {tuple(st.shape)} / labels {[tuple(x.shape) for x in lab]}, '
387
+ f'expected ({sd},)')
388
+ if not all(torch.equal(a, b) for a, b in zip(lab, lab0)):
389
+ raise SystemExit('preflight: an action label differs from the recorded data')
390
+ if not torch.equal(st[nb:], st0[nb:]):
391
+ raise SystemExit(f'preflight: a state value past the {nb} body joints changed')
392
+ delta = (st[:nb].double() - st0[:nb].double()).abs()
393
+ if nb:
394
+ worst = max(worst, float(delta.max()))
395
+ if worst > limit:
396
+ raise SystemExit(f'preflight: a body joint moved {math.degrees(worst):.3f} deg (> 2.75)')
397
+ body_moved += int((delta > 0).sum())
398
+ images_changed += int(not torch.equal(im, im0))
399
+ n = len(picks)
400
+ moved = body_moved / max(1, n * nb)
401
+ if nb and (images_changed < 0.9 * n or moved < 0.95):
402
+ raise SystemExit(f'preflight: augmentation inactive ({images_changed}/{n} images changed, {moved:.3f} of the '
403
+ 'body joint values moved)')
404
+ if not nb and (images_changed or worst):
405
+ raise SystemExit('preflight: items changed with the augmentation off')
406
+ eval_picks = np.random.default_rng(seed + 1).choice(len(eval_set), size=min(8, len(eval_set)), replace=False)
407
+ for k in eval_picks:
408
+ a, b = eval_set[int(k)], eval_set[int(k)]
409
+ if eval_set.body_dims or not all(torch.equal(x, y) for x, y in zip(a, b)):
410
+ raise SystemExit('preflight: the offline-check items are not deterministic')
411
+ return dict(samples=n, state_dim=sd, body_dims=nb, images_changed=images_changed,
412
+ body_values_moved=round(moved, 4),
413
+ max_body_offset_deg=round(math.degrees(worst), 4), actions_bit_identical=True,
414
+ non_body_state_bit_identical=True, eval_items_deterministic=len(eval_picks))
415
+
416
+
417
+ def offline_eval(policy, dataset, samples, device, groups):
418
+ """Normalized-action MSE of policy.predict on fixed dataset items (seeded), overall and per action group. FLASH:
419
+ its 30 Hz output rows against the recorded rows from the anchor (rows past the episode's end left out). A policy
420
+ with lead rows (ODE) starts from the recorded row before the frame (its BOS at an episode's first frame), as from
421
+ the executed row in closed loop, and is scored on the valid rows."""
422
+ import torch
423
+ policy.eval()
424
+ errs, masks = [], []
425
+ generator = torch.Generator(device=device)
426
+ generator.manual_seed(0)
427
+ lead = int(getattr(policy, 'lead_rows', 0))
428
+ for start in range(0, len(samples), 32):
429
+ batch = [dataset[int(k)] for k in samples[start:start + 32]]
430
+ images = torch.stack([b[0] for b in batch]).to(device).permute(0, 1, 4, 2, 3).float().div_(255.)
431
+ state = torch.stack([b[1] for b in batch]).to(device)
432
+ if policy.name == 'flash':
433
+ hist = torch.stack([b[3] for b in batch]).to(device)
434
+ has = torch.stack([b[4] for b in batch]).to(device)
435
+ target = torch.stack([b[5] for b in batch]).to(device)
436
+ valid = torch.stack([b[6] for b in batch]).numpy()
437
+ pred, _ = policy.predict(images, state, hist, has, generator=generator)
438
+ raw = policy.action_norm.normalize(pred.float())
439
+ elif lead:
440
+ rows = torch.stack([b[2] for b in batch]).to(device)
441
+ row_valid = torch.stack([b[3] for b in batch])
442
+ previous, target = rows[:, lead - 1], rows[:, lead:]
443
+ valid = (row_valid[:, lead:] > 0).numpy()
444
+ _, raw = policy.predict(images, state, generator=generator, previous=previous,
445
+ has_previous=(row_valid[:, lead - 1] > 0).to(device))
446
+ else:
447
+ target = torch.stack([b[2] for b in batch]).to(device)
448
+ valid = np.ones(target.shape[:2], bool)
449
+ _, raw = policy.predict(images, state, generator=generator)
450
+ errs.append((raw.float() - policy.action_norm.normalize(target)).pow(2).cpu().numpy())
451
+ masks.append(valid)
452
+ err, mask = np.concatenate(errs), np.concatenate(masks) # (S, horizon, action_dim), (S, horizon)
453
+ rows = err[mask]
454
+ out = dict(mse=float(rows.mean()), mse_row0=float(err[:, 0][mask[:, 0]].mean()))
455
+ offset = 0
456
+ for column, start, end in groups:
457
+ out[f'mse_{column.split(".")[-1]}'] = float(rows[:, offset:offset + end - start].mean())
458
+ offset += end - start
459
+ return out
460
+
461
+
462
+ SAVE_COUNT = 6 # owner 2026-11-27: small models keep 6 checkpoints per training, spread evenly over its steps
463
+ SAVE_GRID = 250 # the in-training MSE's interval: every save point has its nMSE
464
+
465
+
466
+ def save_points(steps: int, every=None) -> list:
467
+ """The run's own steps (1..steps) at which it saves: k * steps / 6 for k = 1..6 rounded to the 250-step grid
468
+ (the last one is always `steps`); with `every` (a recorded deviation) every multiple of it and the end."""
469
+ if every:
470
+ return sorted({*range(every, steps + 1, every), steps})
471
+ if steps < SAVE_COUNT * SAVE_GRID:
472
+ return sorted({max(1, round(k * steps / SAVE_COUNT)) for k in range(1, SAVE_COUNT + 1)})
473
+ return sorted({min(steps, max(SAVE_GRID, SAVE_GRID * round(k * steps / SAVE_COUNT / SAVE_GRID)))
474
+ for k in range(1, SAVE_COUNT)} | {steps})
475
+
476
+
477
+ def init_continuation(args, policy, ema, pcfg, contract, cameras, hw, augmentation, train_episodes, out, stats):
478
+ """--init-from (owner 2026-11-27: aligned with HumanWAM's continuation, hb_training/protocol.yaml
479
+ interface.continuation and fastwam_tools/hb_fastwam_cont.py): load only the weights of a finished run's checkpoint
480
+ into the freshly built policy (and EMA) before training; the optimizer and the schedule start new. The run it
481
+ continues must have the same policy configuration, contract, cameras, image size, augmentation and training
482
+ episodes, and the continuation's peak learning rate must be below the original one (REPRODUCIBILITY.md: a
483
+ continuation never reuses the original peak) unless --continuation-exception records the owner's decision (owner
484
+ 2026-11-28: long FM-DiT v1 continuations use the from-scratch peak). Returns (record for config.training.continuation, original steps)."""
485
+ import torch
486
+ from baselines.runtime import sha256 as file_sha256
487
+ src = args.init_from.expanduser().resolve()
488
+ if not (src / 'model.pt').is_file() or not (src / 'config.json').is_file():
489
+ raise SystemExit(f'--init-from {src}: not a checkpoint folder (model.pt, config.json)')
490
+ if src.parent.parent == out:
491
+ raise SystemExit('--init-from: give the continuation its own --out (the original run stays as it is)')
492
+ before = json.loads((src / 'config.json').read_text())
493
+ problems = []
494
+ if not same_policy_config(before['policy'], pcfg.to_dict(), ignore_first_history=True):
495
+ problems.append('policy configuration') # FLASH first_history: recorded by flash_run_settings
496
+ hands_switch = False # owner 2026-11-28: a measured-hand G1 run continued on the commanded hands
497
+ if before['contract'] != contract.to_dict(cameras):
498
+ saved_c, want_c = before['contract'], contract.to_dict(cameras)
499
+ same_io = all(saved_c.get(k) == want_c.get(k) for k in ('robot', 'cameras', 'state', 'state_dim', 'action_dim',
500
+ 'action_space', 'body_dims'))
501
+ if (saved_c.get('name'), want_c['name']) == ('g1_sonic_dfx6', 'g1_sonic_cmd') and same_io and args.continuation_exception:
502
+ hands_switch = True
503
+ else:
504
+ problems.append('contract / cameras')
505
+ if list(before['image_hw']) != list(hw):
506
+ problems.append('image size')
507
+ if (before['training'].get('augmentation') or {}).get('version') != augmentation.get('version') \
508
+ or before['training'].get('shift_px') != args.shift:
509
+ problems.append('augmentation')
510
+ if list(before['dataset']['train_episodes']) != list(train_episodes):
511
+ problems.append('training episodes')
512
+ if problems:
513
+ raise SystemExit(f'--init-from {src}: the run differs in {", ".join(problems)}; a continuation trains the '
514
+ 'same model on the same data')
515
+ original_lr = float(before['training']['lr'])
516
+ if not args.lr < original_lr and not args.continuation_exception:
517
+ raise SystemExit(f'--init-from: --lr {args.lr} must be below the original peak {original_lr} (the protocol: '
518
+ f'0.3 x, i.e. {0.3 * original_lr:g})')
519
+ step0 = int(before['step'])
520
+ parent = (before['training'].get('init_from') or {}) if not before['training'].get('continuation') else {}
521
+ if isinstance(parent, dict) and parent.get('step') is not None:
522
+ # a checkpoint of the collaborator's own --init-from runs (028df1bb format): its 'step' counts that run only
523
+ step0 += int(parent['step'])
524
+ state_file = src.parent.parent / 'train_state.pt'
525
+ saved = torch.load(state_file, map_location='cpu', weights_only=False) if state_file.is_file() else None
526
+ total_saved = None # the total step train_state.pt was written at (its 'step' counts the run's own steps)
527
+ if saved is not None:
528
+ c = (saved['config'].get('training') or {}).get('continuation') or {}
529
+ total_saved = int(c.get('init_step', 0)) + int(saved['step'])
530
+ if saved is not None and total_saved == step0:
531
+ policy.load_state_dict(saved['policy'], strict=True)
532
+ if ema is not None:
533
+ if saved.get('ema') is None:
534
+ raise SystemExit(f'--init-from: {state_file} has no EMA weights')
535
+ ema.model.load_state_dict(saved['ema'], strict=True)
536
+ weights = f'raw policy and EMA from {state_file} (written at step {step0})'
537
+ else:
538
+ payload = torch.load(src / 'model.pt', map_location='cpu', weights_only=True)
539
+ policy.load_state_dict(payload['state_dict'], strict=True)
540
+ if ema is not None:
541
+ ema.model.load_state_dict(payload['state_dict'], strict=True)
542
+ weights = (f'the saved {before.get("weights", "ema")} weights of {src.name} for the policy and its EMA '
543
+ f'(no train_state.pt written at step {step0})')
544
+ if hands_switch: # the action normalizer follows this run's (commanded-hand) data, as its config.json stats
545
+ policy.fit_normalizers(stats)
546
+ if ema is not None:
547
+ ema.model.fit_normalizers(stats)
548
+ policy.to(next(policy.parameters()).device)
549
+ record = dict(init_from=str(src), init_step=step0, init_weights=weights, init_model_sha256=file_sha256(src / 'model.pt'),
550
+ init_code_commit=before.get('code_commit'), original_peak_lr=original_lr, peak_lr=args.lr,
551
+ peak_lr_factor=round(args.lr / original_lr, 6), warmup_steps=args.warmup,
552
+ warmup_ratio=round(args.warmup / max(1, args.steps), 6), more_steps=args.steps,
553
+ total_steps=step0 + args.steps, optimizer='fresh AdamW (same groups, betas, weight decay)',
554
+ schedule='fresh: warm-up then the policy\'s cosine over the continuation steps',
555
+ ema_decay_steps='total steps (the EMA keeps averaging as in the original run)',
556
+ init_contract=before['contract'].get('name'),
557
+ hands_switch=('measured -> commanded hands (owner 2026-11-28); state and action normalizers '
558
+ 're-fit on the data of this run') if hands_switch else None)
559
+ print(json.dumps(dict(event='continuation', **record)), flush=True)
560
+ return record, step0
561
+
562
+
563
+ def main():
564
+ p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
565
+ p.add_argument('--policy', choices=sorted(POLICIES), required=True)
566
+ p.add_argument('--dataset', type=Path, required=True, help='LeRobot v2.1 dataset directory')
567
+ p.add_argument('--contract', choices=sorted(CONTRACTS), required=True)
568
+ p.add_argument('--cameras', help='comma-separated cameras (default: the contract\'s)')
569
+ p.add_argument('--episodes', help="episodes to use, e.g. '0:100' (default: all)")
570
+ p.add_argument('--val-episodes', type=int, default=0, help='hold out the last N of them for the offline check')
571
+ p.add_argument('--out', type=Path, required=True)
572
+ p.add_argument('--steps', type=int, default=None,
573
+ help="training steps (default: the protocol recipe's, long tasks x2; with --init-from 2000)")
574
+ p.add_argument('--batch-size', type=int, default=None, help="batch (default: the protocol recipe's, 512)")
575
+ p.add_argument('--dataset-id', metavar='REPO@COMMIT',
576
+ help='the HF dataset and revision the --dataset directory holds (recorded; default: inferred from '
577
+ 'a directory named <name>-<commit>/data)')
578
+ p.add_argument('--allow-dirty-tree', action='store_true',
579
+ help='train with uncommitted changes under evaluation/ (recorded; otherwise refused)')
580
+ p.add_argument('--lr', type=float, default=None,
581
+ help=f"peak learning rate (default {DEFAULTS['lr']}; with --init-from 0.3 x the original peak)")
582
+ p.add_argument('--weight-decay', type=float, default=DEFAULTS['weight_decay'])
583
+ p.add_argument('--warmup', type=int, default=None,
584
+ help=f"warm-up steps (default {DEFAULTS['warmup']}; with --init-from 5 %% of --steps)")
585
+ p.add_argument('--ema', type=float, default=DEFAULTS['ema'], help='max EMA decay; 0 saves the raw weights')
586
+ p.add_argument('--horizon', type=int, default=None,
587
+ help="action rows per chunk (default: the policy's; 16; FLASH: --flash rows)")
588
+ p.add_argument('--image-size', default='168x224', help='HxW of the policy images')
589
+ p.add_argument('--augmentation', choices=['hb-v2', 'none'], default='hb-v2',
590
+ help='training augmentation: the benchmark spec v2 (default; docs/augmentation_v2.md) or none '
591
+ '(an explicit exception, recorded in run.json)')
592
+ p.add_argument('--shift', type=int, default=0,
593
+ help='native random-shift augmentation in pixels (default 0: off; only with --augmentation none)')
594
+ p.add_argument('--preflight-only', action='store_true', help='run the data preflight, write run.json and stop')
595
+ p.add_argument('--backbone-weights', default=None,
596
+ help="torchvision weights the ResNet18 starts from (default IMAGENET1K_V1; FLASH, ODE: none); "
597
+ "'none': from scratch")
598
+ p.add_argument('--backbone-lr-scale', type=float, default=None,
599
+ help='learning rate of the image backbone relative to --lr (default 0.1; FLASH, ODE: 1)')
600
+ p.add_argument('--model', action='append', default=[], metavar='KEY=VALUE',
601
+ help='override a PolicyConfig field (JSON value), e.g. num_layers=6; repeatable')
602
+ p.add_argument('--flash', action='append', default=[], metavar='KEY=VALUE',
603
+ help='FLASH setting (JSON value), e.g. stride=2; repeatable (flash.FLASH_DEFAULTS)')
604
+ p.add_argument('--cache-dir', type=Path, default=Path('~/hb_models/baselines/cache'))
605
+ p.add_argument('--workers', type=int, default=None,
606
+ help='DataLoader workers (and frame-cache decoders); the v2 augmentation costs ~17 ms of one CPU '
607
+ "core per item, so 8 workers feed only ~6 steps/s at batch 64 (default: the protocol "
608
+ "recipe's)")
609
+ p.add_argument('--prefetch', type=int, default=2, help='batches prefetched per worker')
610
+ p.add_argument('--save-every', type=int, default=None,
611
+ help="save every N steps instead of the protocol's 6 even save points (owner 2026-11-27); a "
612
+ 'deviation: needs --protocol-exception')
613
+ p.add_argument('--log-every', type=int, default=100)
614
+ p.add_argument('--eval-samples', type=int, default=256)
615
+ p.add_argument('--seed', type=int, default=None,
616
+ help='training seed (default: the model\'s one fixed seed: ACT, DP 0; FM-DiT v1 / v2, FLASH, ODE 42; '
617
+ 'another value needs --protocol-exception)')
618
+ p.add_argument('--device', default='cuda:0')
619
+ p.add_argument('--no-amp', action='store_true')
620
+ p.add_argument('--resume', action='store_true', help='continue from <out>/train_state.pt')
621
+ p.add_argument('--init-from', type=Path, metavar='CHECKPOINT',
622
+ help='continuation of a finished run (HumanWAM hb_training/protocol.yaml interface.continuation: '
623
+ 'weights only): its checkpoint folder <run>/checkpoints/step-NNNNNN. Loads the raw policy and '
624
+ 'its EMA from <run>/train_state.pt when that was written at the same step (else the saved '
625
+ 'EMA weights for both); a fresh AdamW and schedule run --steps MORE steps with peak --lr '
626
+ '(the protocol: 0.3 x the original peak) and --warmup (5 %% of --steps). Checkpoints, logs, '
627
+ 'the in-training MSE and the EMA decay count the total steps (original + continuation). '
628
+ 'Use a new --out.')
629
+ p.add_argument('--protocol-exception', metavar='TEXT', action='append', default=[],
630
+ help="a setting other than the protocol's (e.g. --save-every): the owner's decision, recorded "
631
+ 'verbatim in run.json and config.json (repeatable)')
632
+ p.add_argument('--continuation-exception', metavar='TEXT',
633
+ help='--init-from with a peak learning rate, warm-up or step count other than the protocol\'s '
634
+ '(0.3 x, 5 %%, 2000 or, long tasks, 4000 steps): the owner\'s decision, recorded verbatim')
635
+ p.add_argument('--inloop-task', help='in-training MSE: the task key of HumanWAM eval-action-mse hb_eval_common')
636
+ p.add_argument('--inloop-code', type=Path, help='in-training MSE: HumanWAM hb_training/eval-action-mse')
637
+ p.add_argument('--allow-no-inloop', action='store_true',
638
+ help='train without the in-training MSE (every model needs it, owner 2026-11-22/27; an exception '
639
+ 'to the protocol, recorded)')
640
+ args = p.parse_args()
641
+ recipe = PROTOCOL_RECIPES.get(args.policy, {})
642
+ factor = LONG_TASKS.get(args.inloop_task, 1)
643
+ given = dict(warmup=args.warmup, seed=args.seed)
644
+ args.batch_size = recipe.get('batch_size', DEFAULTS['batch_size']) if args.batch_size is None else args.batch_size
645
+ args.workers = recipe.get('workers', 32) if args.workers is None else args.workers
646
+ if args.steps is None:
647
+ args.steps = (2000 * factor if args.init_from else
648
+ recipe['steps'] * factor if 'steps' in recipe else 60000)
649
+ if args.warmup is None and not args.init_from and 'warmup' in recipe:
650
+ args.warmup = recipe['warmup']
651
+ want_seed = training_defaults(args.policy)['seed']
652
+ deviations = [f'{k} {v} (protocol {w})' for k, v, w in (
653
+ ('batch_size', args.batch_size, recipe.get('batch_size')),
654
+ ('steps', args.steps, None if args.init_from or 'steps' not in recipe else recipe['steps'] * factor),
655
+ ('warmup', given['warmup'], None if args.init_from else recipe.get('warmup')),
656
+ ('workers', args.workers, recipe.get('workers')),
657
+ ('seed', given['seed'], want_seed)) if w is not None and v is not None and v != w]
658
+ if args.save_every:
659
+ deviations.append(f'save_every {args.save_every} (protocol: 6 even save points)')
660
+ if deviations and not args.protocol_exception:
661
+ raise SystemExit(f"{args.policy}: {', '.join(deviations)} differ from the protocol (HumanWAM "
662
+ "hb_training/protocol.yaml); pass --protocol-exception with the owner's decision")
663
+ continuation_protocol = None
664
+ if args.init_from: # HumanWAM protocol.yaml interface.continuation
665
+ original_lr = float(json.loads((args.init_from.expanduser() / 'config.json').read_text())['training']['lr'])
666
+ want = dict(lr=0.3 * original_lr, warmup=round(0.05 * args.steps), steps=(2000, 4000))
667
+ args.lr = want['lr'] if args.lr is None else args.lr
668
+ args.warmup = want['warmup'] if args.warmup is None else args.warmup
669
+ off = [f'{k} {v}' for k, v, ok in (('lr', args.lr, math.isclose(args.lr, want['lr'], rel_tol=1e-6)),
670
+ ('warmup', args.warmup, args.warmup == want['warmup']),
671
+ ('steps', args.steps, args.steps in want['steps'])) if not ok]
672
+ if off and not args.continuation_exception:
673
+ raise SystemExit(f"--init-from: {', '.join(off)} differ from the protocol's continuation (lr "
674
+ f"{want['lr']:g} = 0.3 x {original_lr:g}, warm-up {want['warmup']} = 5 % of --steps, "
675
+ '2000 steps, long tasks 4000); pass --continuation-exception with the owner\'s decision')
676
+ continuation_protocol = dict(peak_lr_factor=0.3, warmup_ratio=0.05, steps=list(want['steps']),
677
+ deviations=off, exception=args.continuation_exception)
678
+ elif args.continuation_exception:
679
+ raise SystemExit('--continuation-exception goes with --init-from')
680
+ args.lr = DEFAULTS['lr'] if args.lr is None else args.lr
681
+ args.warmup = DEFAULTS['warmup'] if args.warmup is None else args.warmup
682
+
683
+ flash = args.policy == 'flash'
684
+ ode = args.policy in ODE_POLICIES
685
+ fm2 = args.policy == 'fm_dit_v2'
686
+ defaults = training_defaults(args.policy)
687
+ horizon = defaults['horizon'] if args.horizon is None else args.horizon
688
+ lead = int(getattr(POLICIES[args.policy], 'lead_rows', 0)) # FlashPolicy has none (no lead rows)
689
+ seed = defaults['seed'] if args.seed is None else args.seed
690
+ backbone_weights = defaults['backbone_weights'] if args.backbone_weights is None else args.backbone_weights
691
+ backbone_lr_scale = defaults['backbone_lr_scale'] if args.backbone_lr_scale is None else args.backbone_lr_scale
692
+ if not args.inloop_task and not args.allow_no_inloop:
693
+ raise SystemExit(f'{args.policy}: the protocol requires the in-training MSE for every model (--inloop-task, '
694
+ '--inloop-code), or --allow-no-inloop as a recorded exception')
695
+ dirty = git_dirty()
696
+ if dirty and not args.allow_dirty_tree:
697
+ raise SystemExit(f'uncommitted changes under evaluation/ ({", ".join(dirty[:5])}): the recorded code_commit '
698
+ 'would not be the code trained; commit them or pass --allow-dirty-tree (recorded)')
699
+ if bool(args.inloop_task) != bool(args.inloop_code):
700
+ raise SystemExit('--inloop-task and --inloop-code go together')
701
+
702
+ out = args.out.expanduser().resolve()
703
+ out.mkdir(parents=True, exist_ok=True)
704
+ contract = CONTRACTS[args.contract]
705
+ aug = augmentation_module()
706
+ aug.check_state_layout(contract.robot, contract.state_dim, [column for column, _, _ in contract.state])
707
+ hb_aug = args.augmentation == 'hb-v2'
708
+ if hb_aug and args.shift:
709
+ raise SystemExit('--shift is the native random shift, which the augmentation spec v2 turns off '
710
+ '(docs/augmentation_v2.md); use it only with --augmentation none')
711
+ if contract.body_dims != aug.BODY_JOINTS[contract.robot]:
712
+ raise SystemExit(f'contract {contract.name}: body_dims {contract.body_dims}, the spec perturbs '
713
+ f'{aug.BODY_JOINTS[contract.robot]} body joints')
714
+ augmentation = (aug.describe(contract.robot, contract.body_dims) if hb_aug else
715
+ dict(version=None, exception='--augmentation none (not the benchmark default)'))
716
+ cameras = tuple(args.cameras.split(',')) if args.cameras else contract.cameras
717
+ hw = parse_hw(args.image_size)
718
+ dataset = LeRobotDataset(args.dataset)
719
+ dataset.check_contract(contract, cameras)
720
+ if dataset.fps != DATASET_FPS and not args.protocol_exception:
721
+ raise SystemExit(f'{dataset.root}: {dataset.fps} Hz; every dataset, training and evaluation is {DATASET_FPS} '
722
+ "Hz (owner 2026-11-26); pass --protocol-exception with the owner's decision")
723
+ dataset_id = args.dataset_id
724
+ if dataset_id is None:
725
+ import re
726
+ root = Path(dataset.root)
727
+ m = re.fullmatch(r'(.+)-([0-9a-f]{7,40})', (root.parent if root.name == 'data' else root).name)
728
+ dataset_id = f'{m.group(1)}@{m.group(2)} (inferred from the directory name)' if m else None
729
+ if dataset_id is None:
730
+ raise SystemExit(f'{dataset.root}: give --dataset-id REPO@COMMIT (the HF dataset and revision it holds)')
731
+ episodes = parse_episodes(args.episodes, dataset.lengths)
732
+ if not 0 <= args.val_episodes < len(episodes):
733
+ raise SystemExit('--val-episodes must leave training episodes')
734
+ lowdim = load_lowdim(dataset, contract, episodes)
735
+ if len(lowdim['tasks']) != 1:
736
+ raise SystemExit(f"the baselines take no language: one task per dataset, found {lowdim['tasks']}")
737
+ n_train = len(episodes) - args.val_episodes
738
+ train_pos, val_pos = list(range(n_train)), list(range(n_train, len(episodes)))
739
+ train_rows = np.concatenate([np.arange(s, s + n) for s, n in
740
+ zip(lowdim['starts'][:n_train], lowdim['lengths'][:n_train])])
741
+ stats = statistics(lowdim, train_rows, quantiles=ode)
742
+ if ode: # the G1 port's normalization: the DFX6 values fixed at [0, 1]
743
+ for key, dims in unit_range_dims(contract).items():
744
+ stats[key]['unit_dims'] = dims
745
+ frames = frame_cache(dataset, lowdim, cameras, hw, args.cache_dir, workers=args.workers)
746
+
747
+ overrides = {k: json.loads(v) for k, v in (item.split('=', 1) for item in args.model)}
748
+ base = dict(policy=args.policy, n_cameras=len(cameras), state_dim=contract.state_dim,
749
+ action_dim=contract.action_dim, horizon=horizon)
750
+ if ode: # the body part integrated as the ODE state: the contract's first action group (G1 token 64, H2 body 31)
751
+ _, first, last = contract.action[0]
752
+ overrides.setdefault('ode_body_dim', last - first)
753
+ first_history_record = None
754
+ if flash:
755
+ def frame0_row():
756
+ # the episode-start history row (flash.py, owner 2026-11-29): its sources in the state, and the median
757
+ # frame-0 value of what no observation measures (the G1 token) over the training episodes
758
+ try:
759
+ layout = first_history_layout(contract, dataset.info['features'])
760
+ except ValueError as error:
761
+ raise SystemExit(f'FLASH first_history frame0: {error}')
762
+ return layout, first_history_start(lowdim, layout, train_pos)
763
+
764
+ parent_flash = None
765
+ if args.init_from: # a continuation keeps its parent's episode start unless --flash first_history says so
766
+ parent_cfg = json.loads((args.init_from.expanduser() / 'config.json').read_text())['policy']
767
+ parent_flash = (parent_cfg.get('extra') or {}).get('flash') or {}
768
+ settings, first_history_record = flash_run_settings(
769
+ {k: json.loads(v) for k, v in (i.split('=', 1) for i in args.flash)}, parent_flash, frame0_row)
770
+ if args.horizon is not None and args.horizon != settings['rows']:
771
+ raise SystemExit('FLASH: the output rows are --flash rows=N, not --horizon')
772
+ base.update(FLASH_POLICY_FIELDS, horizon=int(settings['rows']), extra=dict(flash=settings))
773
+ elif args.flash:
774
+ raise SystemExit('--flash applies to --policy flash only')
775
+ if fm2:
776
+ base.update(FM_DIT_V2_POLICY_FIELDS)
777
+ weights = None if str(backbone_weights).lower() in ('none', '') else backbone_weights
778
+ pcfg = PolicyConfig.from_dict({**base, 'backbone_weights': weights, **overrides})
779
+ aug_seed = seed if hb_aug else None # every model: the seeded augmentation stream (REPRODUCIBILITY.md section 3)
780
+ if flash:
781
+ from baselines.flash import FlashPolicy, first_history_source, flash_settings
782
+ fs = flash_settings(pcfg)
783
+ H_ext = fs['poly_prefix'] + fs['n_action'] + fs['poly_suffix'] + 2 * fs['fit_pad']
784
+ offsets = (np.arange(H_ext) - (fs['fit_pad'] + fs['poly_prefix'])) * fs['stride']
785
+ kw = dict(offsets=offsets, stride=fs['stride'], n_history=fs['n_history'], rows=fs['rows'],
786
+ first=first_history_source(fs))
787
+ train_set = FlashChunkDataset(lowdim, frames, cameras, hw, train_pos,
788
+ body_dims=contract.body_dims if hb_aug else 0, aug_seed=aug_seed, **kw)
789
+ eval_set = FlashChunkDataset(lowdim, frames, cameras, hw, val_pos or train_pos, with_dense=True, **kw)
790
+ assert FlashPolicy.name == 'flash'
791
+ else:
792
+ train_set = ChunkDataset(lowdim, frames, cameras, hw, horizon, train_pos,
793
+ body_dims=contract.body_dims if hb_aug else 0, lead=lead, aug_seed=aug_seed)
794
+ eval_set = ChunkDataset(lowdim, frames, cameras, hw, horizon, val_pos or train_pos,
795
+ lead=lead) # never augmented
796
+ print(f'HB_AUG_SEED={aug_seed}', file=sys.stderr, flush=True)
797
+ checks = preflight(train_set, eval_set, contract, seed=seed)
798
+ print(json.dumps(dict(event='preflight', augmentation=augmentation.get('version'), **checks)), flush=True)
799
+ if args.save_every and not args.protocol_exception:
800
+ raise SystemExit('--save-every: the protocol saves 6 checkpoints spread evenly over the steps (owner '
801
+ "2026-11-27); pass --protocol-exception with the owner's decision to save otherwise")
802
+ save_at = set(save_points(args.steps, args.save_every))
803
+ print(json.dumps(dict(event='save_points', steps=sorted(save_at))), flush=True)
804
+ layout = dict(nodes=1, gpus=1, per_gpu_batch=args.batch_size, global_batch=args.batch_size,
805
+ gradient_accumulation=1, num_workers=args.workers, prefetch=args.prefetch)
806
+ if args.preflight_only:
807
+ (out / 'run.json').write_text(json.dumps(dict(
808
+ argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
809
+ contract=contract.to_dict(cameras), image_hw=list(hw), augmentation=augmentation, preflight=checks,
810
+ shift_px=args.shift, seed=seed, aug_seed=aug_seed, layout=layout, policy=pcfg.to_dict(),
811
+ code_commit=git_commit()), indent=1, default=str))
812
+ return
813
+
814
+ import torch
815
+ torch.manual_seed(seed)
816
+ np.random.seed(seed)
817
+ device = torch.device(args.device)
818
+ policy = build_policy(pcfg)
819
+ policy.fit_normalizers(stats)
820
+ policy.to(device)
821
+ ema = EMA(policy, args.ema, defaults.get('ema_schedule', 'hb')) if args.ema > 0 else None
822
+ named = list(policy.named_parameters())
823
+ backbone = [p for n, p in named if n.startswith(policy.backbone_prefix)]
824
+ rest = [p for n, p in named if not n.startswith(policy.backbone_prefix)]
825
+ if not backbone:
826
+ raise SystemExit(f'no backbone parameters under {policy.backbone_prefix!r}')
827
+ optimizer = torch.optim.AdamW([dict(params=rest), dict(params=backbone, lr=args.lr * backbone_lr_scale)],
828
+ lr=args.lr, betas=DEFAULTS['betas'], weight_decay=args.weight_decay)
829
+ schedule = defaults.get('schedule', 'hb')
830
+
831
+ def lr_lambda(step):
832
+ if schedule == 'diffusers_cosine': # diffusers get_cosine_schedule_with_warmup (FLASH's lr_scheduler)
833
+ if step < args.warmup:
834
+ return step / max(1, args.warmup)
835
+ progress = (step - args.warmup) / max(1, args.steps - args.warmup)
836
+ return max(0.0, 0.5 * (1.0 + math.cos(math.pi * progress)))
837
+ if step < args.warmup:
838
+ return (step + 1) / max(1, args.warmup)
839
+ return 0.5 * (1 + math.cos(math.pi * min(1.0, (step - args.warmup) / max(1, args.steps - args.warmup))))
840
+
841
+ scheduler = torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda)
842
+ step = 0
843
+ step0 = 0 # continuation: the steps of the run it starts from (0 for a training from scratch)
844
+ continuation = None
845
+ state_path = out / 'train_state.pt'
846
+ resuming = args.resume and state_path.exists()
847
+ resume_rng = None
848
+ if args.init_from and not resuming:
849
+ continuation, step0 = init_continuation(args, policy, ema, pcfg, contract, cameras, hw, augmentation,
850
+ episodes[:n_train], out, stats)
851
+ continuation['protocol'] = continuation_protocol
852
+ if first_history_record is not None: # FLASH: the episode start inherited or explicitly changed
853
+ continuation['first_history'] = first_history_record
854
+ if resuming:
855
+ saved = torch.load(state_path, map_location='cpu', weights_only=False)
856
+ if not same_policy_config(saved['config']['policy'], pcfg.to_dict()):
857
+ raise SystemExit('train_state.pt was written for another policy configuration')
858
+ before = saved['config'].get('training', {})
859
+ if (before.get('augmentation') or {}).get('version') != augmentation.get('version') \
860
+ or before.get('shift_px') != args.shift:
861
+ raise SystemExit('train_state.pt was trained with another augmentation (version / --shift); resuming '
862
+ 'would change it mid-run')
863
+ policy.load_state_dict(saved['policy'])
864
+ optimizer.load_state_dict(saved['optimizer'])
865
+ scheduler.load_state_dict(saved['scheduler'])
866
+ if ema is not None:
867
+ ema.model.load_state_dict(saved['ema'])
868
+ step = int(saved['step'])
869
+ continuation = before.get('continuation')
870
+ if bool(continuation) != bool(args.init_from) or (
871
+ continuation and Path(continuation['init_from']) != args.init_from.expanduser().resolve()):
872
+ raise SystemExit('--resume: give the same --init-from as the interrupted run (none for a run from '
873
+ 'scratch)')
874
+ step0 = int(continuation['init_step']) if continuation else 0
875
+ resume_rng = saved.get('rng')
876
+ if resume_rng is None:
877
+ print('HB_RESUME no random state in train_state.pt (written before 2026-11-27): the streams restart',
878
+ flush=True)
879
+ print(json.dumps(dict(event='resumed', step=step0 + step, local_step=step)), flush=True)
880
+
881
+ inloop = None
882
+ if args.inloop_task:
883
+ # one GPU: hb_inloop_core shards by RANK / WORLD_SIZE, which a DLC node sets for its own launcher
884
+ for key, value in (('RANK', '0'), ('WORLD_SIZE', '1'), ('LOCAL_RANK', '0')):
885
+ if os.environ.get(key, value) != value:
886
+ print(f'HB_INLOOP {key}={os.environ[key]} -> {value} (one-GPU training)', flush=True)
887
+ os.environ[key] = value
888
+ from baselines import inloop as inloop_mod
889
+ inloop = inloop_mod.install(args.inloop_code, args.inloop_task, out,
890
+ lambda: ema.model if ema is not None else policy, contract, cameras, hw, lowdim,
891
+ args.policy, lowdim_loader=lambda eps: load_lowdim(dataset, contract, eps))
892
+ else:
893
+ print(f'HB_INLOOP {args.policy} disabled: no --inloop-task', flush=True)
894
+
895
+ samples = np.random.default_rng(1).choice(len(eval_set), size=min(args.eval_samples, len(eval_set)), replace=False)
896
+ training = dict(steps=args.steps, batch_size=args.batch_size, lr=args.lr, betas=list(DEFAULTS['betas']),
897
+ weight_decay=args.weight_decay, warmup=args.warmup,
898
+ schedule='linear warm-up + cosine' if schedule == 'hb' else schedule,
899
+ backbone_lr_scale=backbone_lr_scale,
900
+ ema=args.ema, shift_px=args.shift, amp=(not args.no_amp) and bool(defaults['amp']), seed=seed,
901
+ augmentation=augmentation, preflight=checks, aug_seed=aug_seed, layout=layout,
902
+ continuation=continuation, total_steps=step0 + args.steps,
903
+ save_steps=[step0 + k for k in sorted(save_at)],
904
+ save_rule=(f'every {args.save_every} steps (exception)' if args.save_every else
905
+ f'{SAVE_COUNT} checkpoints spread evenly over the steps on the {SAVE_GRID}-step grid '
906
+ '(owner 2026-11-27)'),
907
+ protocol_exceptions=args.protocol_exception)
908
+ training.update(ema_schedule=defaults.get('ema_schedule', 'hb'),
909
+ inloop=dict(task=args.inloop_task, code=str(args.inloop_code) if args.inloop_code else None,
910
+ every=int(os.environ.get('HB_INLOOP_EVERY', '250')) if args.inloop_task else 0,
911
+ exception=None if args.inloop_task else '--allow-no-inloop',
912
+ code_sha256={f: file_sha256(Path(args.inloop_code) / f) for f in
913
+ ('hb_inloop_core.py', 'hb_eval_common.py')} if args.inloop_code else None))
914
+ training.update(protocol_recipe=dict(recipe, long_task_factor=factor), protocol_deviations=deviations,
915
+ environment=environment(device), code_dirty=dirty, allow_dirty_tree=args.allow_dirty_tree,
916
+ augmentation_sha256=file_sha256(HERE.parent / 'augmentation' / 'hb_aug_v2.py'),
917
+ order='EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, '
918
+ 'draw])')
919
+ if flash:
920
+ training.update(upstream='NTUMARS/FLASH-Policy@f47e490')
921
+ if fm2:
922
+ training.update(upstream=FM_DIT_V2_UPSTREAM)
923
+ if ode:
924
+ training.update(upstream='NTUMARS/ODE-POLICY real-g1@fd8bec47 (G1 port, HumanWAM packages/ode_g1) + '
925
+ 'main@cea26d94 (encoder, ode_dit field, default_train.yaml)')
926
+ config = dict(
927
+ policy=pcfg.to_dict(), contract=contract.to_dict(cameras), image_hw=list(hw), task_text=lowdim['tasks'][0],
928
+ dataset=dict(name=dataset.name,
929
+ root=str(dataset.root), robot_type=dataset.info.get('robot_type'), fps=dataset.fps,
930
+ episodes=episodes, train_episodes=episodes[:n_train], val_episodes=episodes[n_train:],
931
+ train_frames=int(len(train_set)),
932
+ git_commit=dataset.info.get('script_config', {}).get('git_commit')),
933
+ training=training, stats=stats, code_commit=git_commit(), task=args.inloop_task, dataset_id=dataset_id)
934
+ run = dict(argv=sys.argv, started=datetime.now().isoformat(timespec='seconds'), host=os.uname().nodename,
935
+ torch=torch.__version__, **config)
936
+ (out / 'run.json').write_text(json.dumps(run, indent=1, default=str))
937
+ sampler = EpochSampler(len(train_set), args.batch_size, seed, start_step=step)
938
+ # its own generator: creating the iterator (here and after a --resume) must not draw from the global stream that
939
+ # the model's noise and dropout use, or a resumed run would be one draw off
940
+ loader = torch.utils.data.DataLoader(train_set, batch_size=args.batch_size, sampler=sampler, drop_last=True,
941
+ generator=torch.Generator().manual_seed(seed),
942
+ num_workers=args.workers, pin_memory=True, persistent_workers=True,
943
+ prefetch_factor=args.prefetch)
944
+ params = sum(x.numel() for x in policy.parameters())
945
+ print(json.dumps(dict(event='start', policy=args.policy, params=params,
946
+ backbone_params=sum(x.numel() for x in backbone), backbone_weights=pcfg.backbone_weights,
947
+ backbone_norm=pcfg.backbone_norm, train_frames=len(train_set), steps=args.steps,
948
+ from_step=step0 + step, total_steps=step0 + args.steps, cameras=list(cameras), hw=list(hw),
949
+ seed=seed)), flush=True)
950
+ log = (out / 'train_log.jsonl').open('a')
951
+ amp = (not args.no_amp) and device.type == 'cuda' and bool(defaults['amp'])
952
+
953
+ def save(step): # step: this run's own steps; checkpoints are named and stamped with the total
954
+ total = step0 + step
955
+ folder = out / f'checkpoints/step-{total:06d}'
956
+ model = ema.model if ema is not None else policy
957
+ metrics = offline_eval(model, eval_set, samples, device, contract.action)
958
+ save_checkpoint(folder, model, dict(config, step=total, weights='ema' if ema is not None else 'raw',
959
+ offline_eval=dict(metrics, samples=len(samples),
960
+ frames='val' if val_pos else 'train')))
961
+ final = out / 'checkpoints/final'
962
+ if final.is_symlink() or final.exists():
963
+ final.unlink()
964
+ final.symlink_to(folder.name)
965
+ torch.save(dict(policy=policy.state_dict(), optimizer=optimizer.state_dict(), scheduler=scheduler.state_dict(),
966
+ ema=None if ema is None else ema.model.state_dict(), step=step, config=config,
967
+ rng=rng_state()),
968
+ out / 'train_state.pt.tmp')
969
+ (out / 'train_state.pt.tmp').replace(state_path)
970
+ record = dict(event='save', step=total, checkpoint=str(folder), **metrics)
971
+ print(json.dumps(record), flush=True)
972
+ log.write(json.dumps(record) + '\n')
973
+ log.flush()
974
+ policy.train()
975
+
976
+ if resume_rng is not None: # the interrupted run's random streams (model noise, dropout) at its last save
977
+ set_rng_state(resume_rng)
978
+ policy.train()
979
+ t0, data_s, acc = time.monotonic(), 0.0, {}
980
+ while step < args.steps:
981
+ tick = time.monotonic()
982
+ for images, *labels in loader:
983
+ data_s += time.monotonic() - tick
984
+ images = images.to(device, non_blocking=True).permute(0, 1, 4, 2, 3).float().div_(255.)
985
+ images = random_shift(images, args.shift)
986
+ labels = [x.to(device, non_blocking=True) for x in labels]
987
+ with torch.autocast(device.type, dtype=torch.bfloat16, enabled=amp):
988
+ loss, metrics = policy.compute_loss(images, *labels)
989
+ optimizer.zero_grad(set_to_none=True)
990
+ loss.backward()
991
+ optimizer.step()
992
+ scheduler.step()
993
+ step += 1
994
+ decay = ema.update(policy, step0 + step) if ema is not None else 0.0
995
+ for k, v in dict(metrics, loss=float(loss.detach())).items():
996
+ acc[k] = acc.get(k, 0.0) + v
997
+ if step % args.log_every == 0:
998
+ elapsed = time.monotonic() - t0
999
+ record = dict(event='train', step=step0 + step, lr=scheduler.get_last_lr()[0],
1000
+ backbone_lr=scheduler.get_last_lr()[1], ema_decay=round(decay, 6),
1001
+ it_s=round(args.log_every / elapsed, 2), data_frac=round(data_s / elapsed, 3),
1002
+ **{k: v / args.log_every for k, v in acc.items()})
1003
+ print(json.dumps(record), flush=True)
1004
+ log.write(json.dumps(record) + '\n')
1005
+ log.flush()
1006
+ t0, data_s, acc = time.monotonic(), 0.0, {}
1007
+ if inloop is not None and (step0 + step) % inloop.every == 0:
1008
+ inloop.evaluate(step0 + step, ema.model if ema is not None else policy)
1009
+ policy.train()
1010
+ if step in save_at:
1011
+ save(step)
1012
+ if step >= args.steps:
1013
+ break
1014
+ tick = time.monotonic()
1015
+ log.close()
1016
+ if step >= args.steps: # as HumanWAM's launchers (e.g. fastwam_cont.sh): what the finished run is
1017
+ c = continuation or {}
1018
+ (out / 'complete.json').write_text(json.dumps(dict(
1019
+ run=out.name, policy=args.policy, contract=contract.name, steps=args.steps, total_steps_after=step0 + step,
1020
+ per_gpu_batch=args.batch_size, global_batch=args.batch_size, gradient_accumulation_steps=1,
1021
+ save_steps=[step0 + k for k in sorted(save_at)], seed=seed, aug_seed=aug_seed, peak_lr=args.lr, warmup=args.warmup,
1022
+ continued_from=c.get('init_from'), continued_from_step=c.get('init_step'),
1023
+ continuation=continuation, code_commit=config['code_commit'],
1024
+ finished_utc=datetime.now(timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ')), indent=1))
1025
+ print(json.dumps(dict(event='done', step=step0 + step, checkpoint=str(out / 'checkpoints/final'))), flush=True)
1026
+
1027
+
1028
+ if __name__ == '__main__':
1029
+ main()
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/code_hb_bai_bf40b9df/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')
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/complete.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "a15v3-flash-b512-f0-s13000",
3
+ "policy": "flash",
4
+ "contract": "h2_sharpa",
5
+ "steps": 13000,
6
+ "total_steps_after": 13000,
7
+ "per_gpu_batch": 512,
8
+ "global_batch": 512,
9
+ "gradient_accumulation_steps": 1,
10
+ "save_steps": [
11
+ 2250,
12
+ 4250,
13
+ 6500,
14
+ 8750,
15
+ 10750,
16
+ 13000
17
+ ],
18
+ "seed": 42,
19
+ "aug_seed": 42,
20
+ "peak_lr": 0.0001,
21
+ "warmup": 500,
22
+ "continued_from": null,
23
+ "continued_from_step": null,
24
+ "continuation": null,
25
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
26
+ "finished_utc": "2026-11-30T12:09:45Z"
27
+ }
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/launch.sh ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # launch.sh (2026-11-30, team01): flash A15 v3 (HF a15-hitting-nail @139187e6, 3-factor stall trim, 150 episodes, H2
3
+ # head + chest) on card 0 (RTX 4090D 24 GB); code /mnt/vepfs/baijiaqi/hb_team01_20261130/code/hb_bai_bf40b9df (bai bf40b9df); see /mnt/vepfs/baijiaqi/hb_team01_20261130/mk_team01_a15.py.
4
+ # Start: setsid nohup bash launch.sh > launch.out 2>&1 < /dev/null &
5
+ set -u
6
+ RUN=/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000
7
+ mkdir -p $RUN
8
+ cd /mnt/vepfs/baijiaqi/hb_team01_20261130/code/hb_bai_bf40b9df
9
+ export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0
10
+ export G=/mnt/vepfs/baijiaqi/hb_team01_20261130/policies HB_EVAL_CACHE=/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache
11
+ exec taskset -c 0-89 /root/.venvs/hb-baselines/bin/python -I evaluation/baselines/train.py \
12
+ --policy flash --contract h2_sharpa --steps 13000 --seed 42 --lr 1e-4 --warmup 500 --batch-size 512 --workers 40 --log-every 50 --protocol-exception 'owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000' --protocol-exception 'owner 2026-11-30 (「team01 这两张卡先装好环境,然后分担我们这边其他的任务,训练、评估都可以」): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)' --dataset /mnt/vepfs/baijiaqi/hb_team01_20261130/a15-hitting-nail-v3-139187e/data --dataset-id humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d --cache-dir /dev/shm/hb_team01_cache --inloop-task a15v3 --inloop-code /mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse --out /mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000 >> $RUN/train.log 2>&1
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/logs/inloop-mse.jsonl ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"step": 250, "utc": "2026-11-30T09:41:26Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 9.3, "infer_s_per_query": 0.0082, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.016482239841486487, "mae_raw": 0.05354517019735565, "nmse": 0.19639093461123402, "groups": {"body_target": {"mse_raw": 0.01738294951197381, "nmse": 0.2539422345301857}, "hands": {"mse_raw": 0.016113767703559857, "nmse": 0.17284722100802655}}, "nmse_by_step": [0.17787930795785944, 0.16513381383626113, 0.16117320299871105, 0.16235364253756276, 0.1705998272726171, 0.18455793920141805, 0.19504366778717794, 0.19804213924661362, 0.1985794347672271, 0.19919258687100524, 0.20108348278706178, 0.20071817236153136, 0.20131981809636557, 0.2119946809167799, 0.23797468499989144, 0.28050940824560955], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00048008453230609876, "rms_raw": 0.021910831392398116, "mae_raw": 0.016802617152749236}, "nmse_per_episode": {"0": 0.20408356721870816, "17": 0.19999683872690383, "33": 0.21462020426672737, "50": 0.19682451608749982, "66": 0.20074634974004074, "83": 0.1995551657399931, "99": 0.1971107055820412, "116": 0.18715010202483362, "132": 0.21405073153761864, "149": 0.15991215723024724}, "nmse_episode_sem": 0.004889730869039685}
2
+ {"step": 500, "utc": "2026-11-30T09:43:56Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.0165380368495251, "mae_raw": 0.06962905472173772, "nmse": 0.2046511150916214, "groups": {"body_target": {"mse_raw": 0.02066295957945544, "nmse": 0.31528321912340346}, "hands": {"mse_raw": 0.014850568460008146, "nmse": 0.1593925270786197}}, "nmse_by_step": [0.17143410537617174, 0.16664039425613186, 0.14940276640509648, 0.13002808161560192, 0.12200987719267373, 0.1289932929610105, 0.13787927902696173, 0.14456273240211762, 0.1589672532331701, 0.19458367828413717, 0.2533192841733938, 0.3119877069538046, 0.335876636632226, 0.31384014452185477, 0.2749028265568156, 0.2893763098949463], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.005420367422196883, "rms_raw": 0.07362314460953759, "mae_raw": 0.05222796335350177}, "nmse_per_episode": {"0": 0.21425886750508766, "17": 0.19775098984849676, "33": 0.21742466501508365, "50": 0.19811324032486957, "66": 0.20103525130800767, "83": 0.1975887500022508, "99": 0.19493166607696796, "116": 0.21179411942287812, "132": 0.2531154205343948, "149": 0.16766608107292294}, "nmse_episode_sem": 0.006884615259643722}
3
+ {"step": 750, "utc": "2026-11-30T09:46:54Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.021785089925847587, "mae_raw": 0.09337308777806133, "nmse": 0.25882148380433745, "groups": {"body_target": {"mse_raw": 0.03085070844745887, "nmse": 0.4584557257337582}, "hands": {"mse_raw": 0.01807642780337024, "nmse": 0.17715293028775617}}, "nmse_by_step": [0.2857040897854148, 0.24640877497501634, 0.18670380122322947, 0.12304579394160758, 0.09312224384533853, 0.1119576471953031, 0.14164206593305673, 0.15207588011192189, 0.1573601019176562, 0.21111341849353712, 0.3424684510090799, 0.4972700940335624, 0.5527656119374356, 0.44267052416699104, 0.27888779088738475, 0.33091406392031547], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0025253416339062777, "rms_raw": 0.05025277737504941, "mae_raw": 0.03809036634555144}, "nmse_per_episode": {"0": 0.25900678239591823, "17": 0.23432495639048137, "33": 0.2805581537843774, "50": 0.24495272150740244, "66": 0.24035118889317225, "83": 0.23125080784438798, "99": 0.24222825790155017, "116": 0.28617505684651157, "132": 0.3302546673393812, "149": 0.2385607374922697}, "nmse_episode_sem": 0.009945939308978186}
4
+ {"step": 1000, "utc": "2026-11-30T09:49:39Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02919124516395843, "mae_raw": 0.11240498691795536, "nmse": 0.32071546499729264, "groups": {"body_target": {"mse_raw": 0.03068832588130182, "nmse": 0.4449171065575939}, "hands": {"mse_raw": 0.028578803052317952, "nmse": 0.26990570254080576}}, "nmse_by_step": [0.39433612907190374, 0.3236218762155214, 0.22209223943772358, 0.14052614552963552, 0.13278079210088742, 0.19228341729752776, 0.24609842077341818, 0.24486123896552214, 0.2180885307082832, 0.2520180406390421, 0.39942411005619977, 0.5906856956008175, 0.6530826314603168, 0.48968341132264165, 0.2632654281343363, 0.38082774085691223], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0025770018385215137, "rms_raw": 0.0507641786944447, "mae_raw": 0.03875462247800561}, "nmse_per_episode": {"0": 0.31772780980586235, "17": 0.3008591951670378, "33": 0.34756882525523125, "50": 0.3118949314665016, "66": 0.3049209248011998, "83": 0.2954280635002544, "99": 0.30794056122284963, "116": 0.33911725002069715, "132": 0.37006666051044257, "149": 0.31043410695380474}, "nmse_episode_sem": 0.007552740518318982}
5
+ {"step": 1250, "utc": "2026-11-30T09:52:44Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0065, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.03357873646971377, "mae_raw": 0.12053470911086307, "nmse": 0.36751285815790624, "groups": {"body_target": {"mse_raw": 0.03317071378364244, "nmse": 0.45798592593180865}, "hands": {"mse_raw": 0.033745654841288414, "nmse": 0.330501148614037}}, "nmse_by_step": [0.47572796605084716, 0.3824554573313013, 0.25719693507619695, 0.17232719030787752, 0.18169049659554679, 0.2567133337686946, 0.30990334756264987, 0.2906336422469809, 0.24362999604697919, 0.2715043895263814, 0.4360007522622997, 0.6575441203946818, 0.7375636493693918, 0.556249307976322, 0.28148243159610736, 0.38101687466212664], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.002642521029890792, "rms_raw": 0.05140545719951134, "mae_raw": 0.03891189323998221}, "nmse_per_episode": {"0": 0.36761195311625283, "17": 0.353674004251137, "33": 0.38953958527752136, "50": 0.3577624541093876, "66": 0.35302710489255007, "83": 0.34755071564425344, "99": 0.3558135392135097, "116": 0.38484583754790674, "132": 0.403968156241463, "149": 0.3598557064730597}, "nmse_episode_sem": 0.005967321225354411}
6
+ {"step": 1500, "utc": "2026-11-30T09:55:24Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.03478202962105797, "mae_raw": 0.1219101972169356, "nmse": 0.39465119298427864, "groups": {"body_target": {"mse_raw": 0.035451918410315454, "nmse": 0.4907432350870676}, "hands": {"mse_raw": 0.03450798420727082, "nmse": 0.3553408121240468}}, "nmse_by_step": [0.5326745841092948, 0.42433039266253086, 0.2844766192517813, 0.19652713869196664, 0.20957086540868933, 0.28171499004569045, 0.32414519022186034, 0.2951649606508336, 0.2498201902474647, 0.2928080656487137, 0.4766945548232239, 0.70716090421508, 0.777577601381222, 0.5750060128764979, 0.28625347009284574, 0.4114150519621449], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0028337312288830466, "rms_raw": 0.0532328021889046, "mae_raw": 0.04020151881290802}, "nmse_per_episode": {"0": 0.3900862493570756, "17": 0.39179571538275865, "33": 0.41341530605454113, "50": 0.3905935337668935, "66": 0.3884235768537747, "83": 0.3859738793018355, "99": 0.391583761416312, "116": 0.4026158036799048, "132": 0.4101420160949436, "149": 0.38316136150487984}, "nmse_episode_sem": 0.0032596699042898836}
7
+ {"step": 1750, "utc": "2026-11-30T09:58:32Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.9, "infer_s_per_query": 0.0078, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.03635103697680753, "mae_raw": 0.1251251686266941, "nmse": 0.42299060830339735, "groups": {"body_target": {"mse_raw": 0.03748942242406351, "nmse": 0.528383409610871}, "hands": {"mse_raw": 0.035885333839293716, "nmse": 0.37987537140488553}}, "nmse_by_step": [0.5764386078158784, 0.4627318863675685, 0.31281564179469157, 0.21854409556797333, 0.22972463496707435, 0.29885849605270964, 0.33608123009585733, 0.304657162978432, 0.2646105088531786, 0.3222738260937893, 0.5229295377217911, 0.7612492110836144, 0.824202263742824, 0.6033948492677934, 0.2993271506655892, 0.4410788337299125], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.003065270851939452, "rms_raw": 0.05536488825907131, "mae_raw": 0.042263560861486006}, "nmse_per_episode": {"0": 0.40982357713816947, "17": 0.4327608845243896, "33": 0.4435933137042023, "50": 0.4233825090679795, "66": 0.42349356665547316, "83": 0.4257736601124899, "99": 0.4274082494644444, "116": 0.42041891166637135, "132": 0.4208517756878169, "149": 0.40676561777016423}, "nmse_episode_sem": 0.0033224828849922235}
8
+ {"step": 2000, "utc": "2026-11-30T10:01:09Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.03783498940344971, "mae_raw": 0.12783754885045925, "nmse": 0.44917355385666324, "groups": {"body_target": {"mse_raw": 0.03963036222680794, "nmse": 0.5692428400067626}, "hands": {"mse_raw": 0.03710051870298498, "nmse": 0.40005430043162254}}, "nmse_by_step": [0.6035836405677804, 0.4897209913500862, 0.3392447211796395, 0.24192445278087865, 0.24862556773856342, 0.31428577535786983, 0.35007658109802264, 0.3213512914312519, 0.28845500110565264, 0.3573336006167494, 0.5684837669812542, 0.8114298822283968, 0.8699724398442014, 0.634554817294809, 0.31136356300382667, 0.4475666262392784], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.003421858587291257, "rms_raw": 0.05849665449657149, "mae_raw": 0.0452865913743971}, "nmse_per_episode": {"0": 0.4275781316636756, "17": 0.4691495132093806, "33": 0.4783816760115544, "50": 0.4546450490281172, "66": 0.4563298078554152, "83": 0.4611878406505299, "99": 0.4607635041190746, "116": 0.4335134446817506, "132": 0.43321532900094545, "149": 0.4254596377701788}, "nmse_episode_sem": 0.005900455130196355}
9
+ {"step": 2250, "utc": "2026-11-30T10:04:22Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.6, "infer_s_per_query": 0.007, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.038064836895404, "mae_raw": 0.1281095937684753, "nmse": 0.46283692326161247, "groups": {"body_target": {"mse_raw": 0.041051462110441375, "nmse": 0.6008166928822347}, "hands": {"mse_raw": 0.03684303567107053, "nmse": 0.40639065387135775}}, "nmse_by_step": [0.6228870864102766, 0.5071821551078247, 0.357289742131737, 0.25645625385244775, 0.2550292313309047, 0.3137935488274909, 0.34775763788595127, 0.323711146067261, 0.30052063192279743, 0.3812699368962662, 0.6014151235345878, 0.8470834868288891, 0.9016111044892675, 0.6545179260077295, 0.3140766536260828, 0.43182346041460334], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0037094424766150828, "rms_raw": 0.06090519252588471, "mae_raw": 0.04741325430994367}, "nmse_per_episode": {"0": 0.4403508131459107, "17": 0.48335513126709967, "33": 0.49947495314068885, "50": 0.47060033130014306, "66": 0.4727317030528863, "83": 0.47820468354049334, "99": 0.47706409916605685, "116": 0.44055539433598134, "132": 0.44418035421928165, "149": 0.432950966800758}, "nmse_episode_sem": 0.007142292098708215}
10
+ {"step": 2500, "utc": "2026-11-30T10:07:18Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0031, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.03678182320789299, "mae_raw": 0.12594943384649063, "nmse": 0.45722679060631133, "groups": {"body_target": {"mse_raw": 0.04068446070909147, "nmse": 0.6090438079923189}, "hands": {"mse_raw": 0.035185289684675436, "nmse": 0.3951198289483993}}, "nmse_by_step": [0.6264696173007958, 0.5078587200348742, 0.35912338904531704, 0.2549330102220452, 0.24383857989895327, 0.2931616570871361, 0.32502898985537904, 0.3077230507906087, 0.2953943581915922, 0.3843056687923176, 0.6058494478474243, 0.8484263793468226, 0.9022692239786322, 0.6574134336961979, 0.31197002861928863, 0.40264627625611876], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0036957587878014455, "rms_raw": 0.06079275275722794, "mae_raw": 0.04704567007394387}, "nmse_per_episode": {"0": 0.43518801611712615, "17": 0.47250972193460583, "33": 0.49751329234178715, "50": 0.4664647326686555, "66": 0.46697863719340643, "83": 0.47137959375719135, "99": 0.47142306285208346, "116": 0.4342086645597238, "132": 0.4429905882318527, "149": 0.4252744142668371}, "nmse_episode_sem": 0.007199079931646153}
11
+ {"step": 2750, "utc": "2026-11-30T10:10:29Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0067, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.03471263500800795, "mae_raw": 0.12260403966577293, "nmse": 0.43869897450582584, "groups": {"body_target": {"mse_raw": 0.03922067192915817, "nmse": 0.5963497407397114}, "hands": {"mse_raw": 0.03286843808571922, "nmse": 0.37420547922832714}}, "nmse_by_step": [0.6166910431526695, 0.49517382041900443, 0.3478997946458702, 0.24226213095213897, 0.22340690243251754, 0.2638028093910544, 0.29321734530070453, 0.2819458474176441, 0.27820373681430166, 0.3698306990963126, 0.5854860713403637, 0.82065837105716, 0.8775957911646814, 0.6480815534060496, 0.31074538302711446, 0.3747962289519694], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0035150335539524797, "rms_raw": 0.05928771840737742, "mae_raw": 0.04526062642852253}, "nmse_per_episode": {"0": 0.41687029038313583, "17": 0.4471608206523426, "33": 0.48126543388770904, "50": 0.4491537294672825, "66": 0.4462941234017381, "83": 0.449000439433323, "99": 0.4520905214748262, "116": 0.416475402108899, "132": 0.4290313702115688, "149": 0.4102567529411391}, "nmse_episode_sem": 0.006829262186075359}
12
+ {"step": 3000, "utc": "2026-11-30T10:13:13Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.032721237339901364, "mae_raw": 0.11911560883074396, "nmse": 0.41659834793718, "groups": {"body_target": {"mse_raw": 0.037986980811912846, "nmse": 0.5834350694677756}, "hands": {"mse_raw": 0.030567069555896668, "nmse": 0.3483469618564819}}, "nmse_by_step": [0.6016449156580239, 0.4756886102643603, 0.33169012377720974, 0.22856361700064556, 0.20598664107224737, 0.23958039845122264, 0.2661097826545551, 0.2581946981211284, 0.2590538803113838, 0.34904248352023204, 0.5548347971778866, 0.7801663452993411, 0.8399726307932054, 0.629086975662857, 0.3059639820675127, 0.35023025068330255], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.003323468759904338, "rms_raw": 0.057649533908821306, "mae_raw": 0.043617546011558185}, "nmse_per_episode": {"0": 0.3968944350433997, "17": 0.42105997380784105, "33": 0.4599542663796577, "50": 0.42620516417912335, "66": 0.42087602336603336, "83": 0.4207205768430627, "99": 0.4278606550490148, "116": 0.39887666444193615, "132": 0.41279958958402346, "149": 0.390074931145932}, "nmse_episode_sem": 0.006294236040957608}
13
+ {"step": 3250, "utc": "2026-11-30T10:16:11Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.6, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.030941359579426616, "mae_raw": 0.11585140845441375, "nmse": 0.3964136998468953, "groups": {"body_target": {"mse_raw": 0.03705463264665027, "nmse": 0.5737291654643627}, "hands": {"mse_raw": 0.028440475142835122, "nmse": 0.32387555482156755}}, "nmse_by_step": [0.5874566372463159, 0.4571531518023945, 0.31603395244962, 0.2159186148239219, 0.1913016857542069, 0.21945198154730453, 0.2425290295693021, 0.23560223150296342, 0.2388190278373694, 0.32742714270946066, 0.5264952435452621, 0.745574449617244, 0.8081134090588822, 0.6114440748907357, 0.2992430875052219, 0.3299876193948243], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.003132492316356819, "rms_raw": 0.055968672633508285, "mae_raw": 0.04194661610086401}, "nmse_per_episode": {"0": 0.37837738554408545, "17": 0.39811694917580775, "33": 0.4394249128283579, "50": 0.4054267315646711, "66": 0.3980712728951703, "83": 0.39548624653236264, "99": 0.40605404559583835, "116": 0.3819853874063382, "132": 0.3955966598355749, "149": 0.37349172223081933}, "nmse_episode_sem": 0.005853756296364054}
14
+ {"step": 3500, "utc": "2026-11-30T10:18:54Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02952583654292922, "mae_raw": 0.11344058211050904, "nmse": 0.37855522997036256, "groups": {"body_target": {"mse_raw": 0.036490417995322655, "nmse": 0.5645540320015185}, "hands": {"mse_raw": 0.026676689585131908, "nmse": 0.3024648109576169}}, "nmse_by_step": [0.5725222974994985, 0.43933511927312074, 0.30029853399111156, 0.20259515121386526, 0.1770436569483208, 0.201634595157167, 0.22177090491234033, 0.21437449677337553, 0.21843071351369728, 0.30643415525488704, 0.5024871103467846, 0.7191862779180838, 0.7842092524390161, 0.5965631291454845, 0.2922034598498188, 0.317717193796297], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0029355587890869924, "rms_raw": 0.054180797235616536, "mae_raw": 0.04022607416905586}, "nmse_per_episode": {"0": 0.3617096681464959, "17": 0.37700941139168215, "33": 0.42083583860258655, "50": 0.38700185512661334, "66": 0.3783913271631554, "83": 0.37324204477040807, "99": 0.38707594155942404, "116": 0.36603419968596185, "132": 0.3782252635969004, "149": 0.3620520487019978}, "nmse_episode_sem": 0.00544837062746238}
15
+ {"step": 3750, "utc": "2026-11-30T10:21:58Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.7, "infer_s_per_query": 0.0044, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028634745553174003, "mae_raw": 0.11209278043317364, "nmse": 0.36623754107041284, "groups": {"body_target": {"mse_raw": 0.03633041998664577, "nmse": 0.5611255590273101}, "hands": {"mse_raw": 0.025486515103117367, "nmse": 0.28651062463350035}}, "nmse_by_step": [0.5616601268571134, 0.42601865703923375, 0.28683659797360345, 0.1900185820571623, 0.1645685274528904, 0.18809629252889662, 0.2062094057998341, 0.1969032458856799, 0.20028197752207447, 0.28942006218002014, 0.4880309950155216, 0.7075261494461756, 0.7742996984008437, 0.5883318388793446, 0.287040770361328, 0.31481573294655074], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0027916920864456568, "rms_raw": 0.05283646549917639, "mae_raw": 0.038827048083253775}, "nmse_per_episode": {"0": 0.3495546037044472, "17": 0.36031523947050226, "33": 0.40596105169240015, "50": 0.3748502331596165, "66": 0.36564742487528484, "83": 0.35797006411138316, "99": 0.37382747571785097, "116": 0.355535161597101, "132": 0.3659249773159733, "149": 0.356816512132542}, "nmse_episode_sem": 0.0050482216940130045}
16
+ {"step": 4000, "utc": "2026-11-30T10:24:37Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027927897718970685, "mae_raw": 0.1110299601441392, "nmse": 0.35635802188581245, "groups": {"body_target": {"mse_raw": 0.03633866966077582, "nmse": 0.5595711107392222}, "hands": {"mse_raw": 0.024487127379141313, "nmse": 0.2732253946275995}}, "nmse_by_step": [0.5550965450230877, 0.4161396285073903, 0.275700367731537, 0.1788010841889424, 0.15271181664160544, 0.1751795214640266, 0.19197281082111836, 0.1819793930226003, 0.18598220338883464, 0.27722424962711417, 0.4785695805598699, 0.7000761535517595, 0.7670250126679007, 0.5809063238283649, 0.2816739120967247, 0.3132397466198465], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0027016132101953657, "rms_raw": 0.05197704503139213, "mae_raw": 0.03775668417546417}, "nmse_per_episode": {"0": 0.34034793262778157, "17": 0.34628030127247494, "33": 0.3921346009454167, "50": 0.36458968144707254, "66": 0.355205657046938, "83": 0.3456829113441331, "99": 0.36239354884926445, "116": 0.3479062647536166, "132": 0.3570430208114364, "149": 0.35395375390771555}, "nmse_episode_sem": 0.0046363533546945794}
17
+ {"step": 4250, "utc": "2026-11-30T10:27:44Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0066, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02746752355742728, "mae_raw": 0.11040149594645154, "nmse": 0.3484901010963409, "groups": {"body_target": {"mse_raw": 0.0363091477764811, "nmse": 0.5575966950801172}, "hands": {"mse_raw": 0.02385049546781434, "nmse": 0.26294649446661417}}, "nmse_by_step": [0.5509272385343026, 0.4086855026738592, 0.2666995261301425, 0.16961142444977695, 0.14310536946572444, 0.1651995594361823, 0.18116250510216117, 0.1703532297295755, 0.17440200651582866, 0.2671670689213699, 0.4710830960574902, 0.694593826787685, 0.761285557978734, 0.5736556212747047, 0.2755000274657164, 0.31315790017692163], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0026214298407255415, "rms_raw": 0.051199900788239244, "mae_raw": 0.03682505444786016}, "nmse_per_episode": {"0": 0.3322281004274704, "17": 0.3350171125162559, "33": 0.38072161405968574, "50": 0.3572541934720016, "66": 0.34779192598983427, "83": 0.3370650517949248, "99": 0.35345446952969545, "116": 0.34101671980007603, "132": 0.34916347638050305, "149": 0.3516513839213701}, "nmse_episode_sem": 0.004451710177152705}
18
+ {"step": 4500, "utc": "2026-11-30T10:30:33Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.0269598742148136, "mae_raw": 0.10962009107773747, "nmse": 0.34060848928747905, "groups": {"body_target": {"mse_raw": 0.036128349867063425, "nmse": 0.5535758865430508}, "hands": {"mse_raw": 0.023209134175256853, "nmse": 0.25348546313747256}}, "nmse_by_step": [0.5496583612147395, 0.40229049501166037, 0.25799941118609554, 0.16068314087641877, 0.13388426403102202, 0.15553535393697407, 0.1705865010275984, 0.15920214330085938, 0.16344750690410706, 0.2572766067556843, 0.46254292514851647, 0.6866631153291382, 0.7528740448127819, 0.5650902812990801, 0.26955531399656885, 0.31327686036054664], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0025238449006500375, "rms_raw": 0.05023788312269972, "mae_raw": 0.03585081216747814}, "nmse_per_episode": {"0": 0.3232761756259954, "17": 0.32466125407257146, "33": 0.370620437713886, "50": 0.3495397142319919, "66": 0.3396424852604268, "83": 0.32939745115790475, "99": 0.34472067898983955, "116": 0.3336217395679207, "132": 0.3406285566002633, "149": 0.34907641761443614}, "nmse_episode_sem": 0.00447111441093929}
19
+ {"step": 4750, "utc": "2026-11-30T10:33:49Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.6, "infer_s_per_query": 0.007, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026478164263453292, "mae_raw": 0.10889773283140106, "nmse": 0.3337078461816942, "groups": {"body_target": {"mse_raw": 0.03594973334437591, "nmse": 0.5502743012161884}, "hands": {"mse_raw": 0.02260343145762131, "nmse": 0.24511247821303744}}, "nmse_by_step": [0.5488025526458181, 0.3962481663028367, 0.2502300980602602, 0.15346258599338933, 0.1271319947434524, 0.1486016000435007, 0.16232687204325721, 0.14955950494088793, 0.1533007417517086, 0.24782394931665092, 0.45438697176205756, 0.6787614558166438, 0.7435693362756275, 0.5550106161123809, 0.26379927592933033, 0.31718139695796665], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.002435329583512098, "rms_raw": 0.049349058587901125, "mae_raw": 0.03503124125690776}, "nmse_per_episode": {"0": 0.31593984430820093, "17": 0.31709272096489416, "33": 0.36123438451819545, "50": 0.3432586447160087, "66": 0.3327034049699798, "83": 0.32307047628066043, "99": 0.3369806952405272, "116": 0.3272201561447276, "132": 0.33258069964376885, "149": 0.34528094618852245}, "nmse_episode_sem": 0.0044002133978667335}
20
+ {"step": 5000, "utc": "2026-11-30T10:36:41Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0035, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026032245589410863, "mae_raw": 0.10815633452892673, "nmse": 0.3274245491262749, "groups": {"body_target": {"mse_raw": 0.03562885815549595, "nmse": 0.5450792794672491}, "hands": {"mse_raw": 0.02210635863055788, "nmse": 0.23838397762314914}}, "nmse_by_step": [0.5507142729566393, 0.3918736882991036, 0.2433595782268663, 0.14646755758076327, 0.12018389941844801, 0.1413233371182564, 0.15399571331429585, 0.14045551957063665, 0.1442379885055187, 0.2395870107902245, 0.4469840901205171, 0.6709709681525801, 0.7342484305946871, 0.5454510969902292, 0.25888704979751126, 0.3209214451577027], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.00233674011990043, "rms_raw": 0.04833983988285884, "mae_raw": 0.03424014744139261}, "nmse_per_episode": {"0": 0.3093741853470335, "17": 0.3110323478705629, "33": 0.35407019753051316, "50": 0.3373709050777181, "66": 0.3261969310764534, "83": 0.3169340025637822, "99": 0.32996729282378806, "116": 0.32063771906003097, "132": 0.3256104214644042, "149": 0.3409238930748627}, "nmse_episode_sem": 0.004412855426402457}
21
+ {"step": 5250, "utc": "2026-11-30T10:39:46Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.7, "infer_s_per_query": 0.0073, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.025631479177995756, "mae_raw": 0.10743151166157419, "nmse": 0.3217796802561962, "groups": {"body_target": {"mse_raw": 0.035280541085094506, "nmse": 0.5368870133836148}, "hands": {"mse_raw": 0.021684135670546265, "nmse": 0.23378122579497948}}, "nmse_by_step": [0.5532488564662364, 0.38875590574771646, 0.2376081903330707, 0.1401392869174646, 0.1134569194072567, 0.1340643052338715, 0.14602761216006357, 0.13229356565062106, 0.13654334755029243, 0.23263098326503015, 0.4404493582069031, 0.6640155163598068, 0.7263490841091099, 0.5377003270739515, 0.2542831577007332, 0.3217322829102374], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0022059707910699914, "rms_raw": 0.046967763317726674, "mae_raw": 0.03326733690795356}, "nmse_per_episode": {"0": 0.3034456922761626, "17": 0.30543636145962794, "33": 0.3456369424526881, "50": 0.33290866627347093, "66": 0.3209256930180135, "83": 0.31130090017231227, "99": 0.3238189443428315, "116": 0.3145629168706863, "132": 0.318890078504699, "149": 0.3381393769321179}, "nmse_episode_sem": 0.0043947953859429035}
22
+ {"step": 5500, "utc": "2026-11-30T10:42:35Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02537555604307593, "mae_raw": 0.10696699989529142, "nmse": 0.3182351457297042, "groups": {"body_target": {"mse_raw": 0.035067784074672606, "nmse": 0.530879553172647}, "hands": {"mse_raw": 0.021410553666513652, "nmse": 0.231244251775773}}, "nmse_by_step": [0.5591536548608559, 0.3885393585966611, 0.23440661413086594, 0.13607579154112948, 0.10879384260791829, 0.12845157315068814, 0.1394381635411751, 0.1256057930728668, 0.13053692944973175, 0.22739837195696241, 0.43545126758296215, 0.6585860322466507, 0.7205612674303561, 0.5330552105377138, 0.25262444393540556, 0.3238394429133305], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0020765020355248687, "rms_raw": 0.04556865189496907, "mae_raw": 0.032358296476574434}, "nmse_per_episode": {"0": 0.2999549990580997, "17": 0.30211663230587604, "33": 0.33846749638890755, "50": 0.33076628817424547, "66": 0.3181009507993404, "83": 0.3083250333919237, "99": 0.32062107595108447, "116": 0.3102797922445652, "132": 0.3140043717250666, "149": 0.33662995575444254}, "nmse_episode_sem": 0.00432418685469481}
23
+ {"step": 5750, "utc": "2026-11-30T10:45:28Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.4, "infer_s_per_query": 0.0064, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.025312244691792593, "mae_raw": 0.10684202332657058, "nmse": 0.31758927094265293, "groups": {"body_target": {"mse_raw": 0.03483889686219881, "nmse": 0.5280123671318389}, "hands": {"mse_raw": 0.021414977894808236, "nmse": 0.23150709522889498}}, "nmse_by_step": [0.5657293596813123, 0.3897871970278306, 0.23217734391989273, 0.13247108378323405, 0.10505970367747017, 0.12486846963003977, 0.13542815564694363, 0.12110265600097207, 0.1262543424805457, 0.2248041560720366, 0.43561904177582395, 0.6606084279197668, 0.721774500172657, 0.5320475294440848, 0.25276166309128056, 0.33185901559479775], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0019829836590460398, "rms_raw": 0.04453070467717797, "mae_raw": 0.03167609210139057}, "nmse_per_episode": {"0": 0.29984090900893146, "17": 0.3017122341549062, "33": 0.3347508055740585, "50": 0.33137343368687566, "66": 0.31776995035508115, "83": 0.3078414116576807, "99": 0.32027960777436865, "116": 0.3089151083631197, "132": 0.31268034887048757, "149": 0.33741974476577685}, "nmse_episode_sem": 0.0042757567666818165}
24
+ {"step": 6000, "utc": "2026-11-30T10:48:11Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0067, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.025387389864133227, "mae_raw": 0.10698928010530483, "nmse": 0.3181563944340238, "groups": {"body_target": {"mse_raw": 0.03468076293663622, "nmse": 0.5247402408403403}, "hands": {"mse_raw": 0.02158555542538201, "nmse": 0.2336448209041672}}, "nmse_by_step": [0.5737796529984035, 0.39274156426084134, 0.23168560149015963, 0.13029497142192878, 0.10209794573165025, 0.1215583363361136, 0.13198777819150934, 0.11800898188798656, 0.12407297506101699, 0.22405864495393302, 0.4365172376912333, 0.6626549134180836, 0.7238762301958779, 0.5337657090680933, 0.2554530728473142, 0.33902554949105673], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0018886706629764047, "rms_raw": 0.043458838720982926, "mae_raw": 0.030979686458708012}, "nmse_per_episode": {"0": 0.3014089252084946, "17": 0.3019002140152178, "33": 0.33288594514254405, "50": 0.33255883908359096, "66": 0.31859214166755423, "83": 0.30789145249250893, "99": 0.3206934596865702, "116": 0.30947986026504415, "132": 0.3137643225825957, "149": 0.3388652836373061}, "nmse_episode_sem": 0.0042207370851626}
25
+ {"step": 6250, "utc": "2026-11-30T10:51:15Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.025488986585675482, "mae_raw": 0.10717842651402681, "nmse": 0.31809109908965344, "groups": {"body_target": {"mse_raw": 0.03453349290940494, "nmse": 0.5206589300521351}, "hands": {"mse_raw": 0.021788961271422526, "nmse": 0.23522244096863815}}, "nmse_by_step": [0.5797859361543419, 0.39459546217127567, 0.23119177718959674, 0.12855361479767755, 0.09927043909161899, 0.11780216228705241, 0.12817098968174512, 0.11525639179874386, 0.12274264793979446, 0.2236032513082148, 0.43590186123372154, 0.6614940264325015, 0.7229929859579834, 0.5348617565572168, 0.2593064993878872, 0.34512721189566886], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001798508492360514, "rms_raw": 0.04240882564231783, "mae_raw": 0.030348651764126218}, "nmse_per_episode": {"0": 0.3023490905746671, "17": 0.30115647371109994, "33": 0.33106138585492717, "50": 0.33325239523292766, "66": 0.3184949128407945, "83": 0.3074697408699303, "99": 0.3207411541400322, "116": 0.30955057685406273, "132": 0.31333111487889925, "149": 0.33973868620392134}, "nmse_episode_sem": 0.004236721537769436}
26
+ {"step": 6500, "utc": "2026-11-30T10:53:59Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.3, "infer_s_per_query": 0.0036, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02561473979018506, "mae_raw": 0.10744361075731113, "nmse": 0.3182307081610422, "groups": {"body_target": {"mse_raw": 0.034351569568899336, "nmse": 0.5162459648852782}, "hands": {"mse_raw": 0.02204058215343831, "nmse": 0.2372244667738548}}, "nmse_by_step": [0.5836092143360356, 0.3957716492055748, 0.23062251292672545, 0.12683357787986674, 0.09644596086166539, 0.11413259254677793, 0.12450319767063682, 0.11259270321978168, 0.12154616277401324, 0.22369575927691654, 0.4366148822670864, 0.6624972123474963, 0.7245268436451157, 0.5374300880636262, 0.2627618891205875, 0.3494924761458094], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0017143558709268442, "rms_raw": 0.041404780773804904, "mae_raw": 0.02976626967018206}, "nmse_per_episode": {"0": 0.3032818922235114, "17": 0.30071517855431873, "33": 0.3290905585193277, "50": 0.3342149807397347, "66": 0.31894015530999065, "83": 0.3070023658266984, "99": 0.3207967295547963, "116": 0.3103867367455653, "132": 0.3135131233618032, "149": 0.3403780536109974}, "nmse_episode_sem": 0.004228942854744852}
27
+ {"step": 6750, "utc": "2026-11-30T10:56:19Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.025789851377933024, "mae_raw": 0.10785438018542834, "nmse": 0.3191896594994325, "groups": {"body_target": {"mse_raw": 0.03425319589641148, "nmse": 0.5139415084641812}, "hands": {"mse_raw": 0.022327574074919115, "nmse": 0.23951844855930796}}, "nmse_by_step": [0.5873435929373753, 0.39704108975292407, 0.2302500651281487, 0.12560418492360606, 0.094604013534824, 0.11192018392140164, 0.12226198464103767, 0.11080443664375869, 0.1206734116420479, 0.22427596001373196, 0.4388754207375547, 0.6661867662688415, 0.7287321279016178, 0.5408271945512797, 0.26520344350619063, 0.35402564701796696], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001636077760516817, "rms_raw": 0.04044845807341507, "mae_raw": 0.029234065430833032}, "nmse_per_episode": {"0": 0.3050157311262352, "17": 0.30141783457779064, "33": 0.3282432124447355, "50": 0.335764561179634, "66": 0.32018689250978644, "83": 0.3076278089425179, "99": 0.32153680198286666, "116": 0.3119402762881117, "132": 0.31438354836171145, "149": 0.3416365175520676}, "nmse_episode_sem": 0.004205035402165411}
28
+ {"step": 7000, "utc": "2026-11-30T10:59:17Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.6, "infer_s_per_query": 0.0069, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02599228222313118, "mae_raw": 0.10828791397726495, "nmse": 0.32043573577981316, "groups": {"body_target": {"mse_raw": 0.03418040920470759, "nmse": 0.5115710634127157}, "hands": {"mse_raw": 0.022642593912486287, "nmse": 0.24224401083908031}}, "nmse_by_step": [0.5907602679934635, 0.39825483487756824, 0.23021586181834994, 0.12497541228277526, 0.09351217960265527, 0.11048643700712309, 0.1207959829657823, 0.10982093065378735, 0.12048825864648088, 0.22521485814191902, 0.44095500574084084, 0.6691786399207179, 0.73219657139858, 0.5441322688472654, 0.26847411580038805, 0.35930655040536863], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001552424721154936, "rms_raw": 0.03940082132589289, "mae_raw": 0.02862265818001258}, "nmse_per_episode": {"0": 0.30724730151122276, "17": 0.30256180733725707, "33": 0.32903631019668966, "50": 0.33724861645694476, "66": 0.32153636926935475, "83": 0.3084484145767993, "99": 0.3226889043255443, "116": 0.3134437810765831, "132": 0.31545992245906945, "149": 0.34258425984643376}, "nmse_episode_sem": 0.004166746509108428}
29
+ {"step": 7250, "utc": "2026-11-30T11:02:19Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0067, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026188469231135544, "mae_raw": 0.10874762625170872, "nmse": 0.3221261274676067, "groups": {"body_target": {"mse_raw": 0.034180467967549234, "nmse": 0.5109530912159171}, "hands": {"mse_raw": 0.022919015202602686, "nmse": 0.24487873320693426}}, "nmse_by_step": [0.5948198546754229, 0.40019542628566696, 0.2306109728475284, 0.1244120356277966, 0.09233281412195714, 0.10906434264143039, 0.11959621882507868, 0.10923168237505247, 0.12073732581603108, 0.22658708930783153, 0.44360060240810706, 0.6729911567786705, 0.7366056007068832, 0.5482587106854879, 0.2722939128261509, 0.3646922006812831], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001491969004932424, "rms_raw": 0.03862601461363085, "mae_raw": 0.028186788132751446}, "nmse_per_episode": {"0": 0.3096973518072539, "17": 0.3039181836395026, "33": 0.33015824691365164, "50": 0.33935307000808324, "66": 0.3234953138027237, "83": 0.30986404631872455, "99": 0.32449469797597746, "116": 0.31534125877430397, "132": 0.31728671908491474, "149": 0.34367026143864826}, "nmse_episode_sem": 0.004132725627216477}
30
+ {"step": 7500, "utc": "2026-11-30T11:05:05Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026405241933301658, "mae_raw": 0.10921567983883335, "nmse": 0.3241822212028578, "groups": {"body_target": {"mse_raw": 0.03420899361520611, "nmse": 0.5106924442658036}, "hands": {"mse_raw": 0.02321279806343166, "nmse": 0.24788258449528894}}, "nmse_by_step": [0.5991881256617939, 0.40251657253843637, 0.23142552730679983, 0.12413081186229062, 0.0911753062777116, 0.10748959993646466, 0.11827109296561616, 0.10877962156322987, 0.12152797606119778, 0.228738248604498, 0.44707525673882553, 0.6775873992008405, 0.7418051550968038, 0.5532566885392337, 0.2766113576352534, 0.3695745107141793], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0014447350519026737, "rms_raw": 0.03800967050505271, "mae_raw": 0.027858638372420533}, "nmse_per_episode": {"0": 0.3126149475501649, "17": 0.3055684572704623, "33": 0.33198681295442556, "50": 0.34158066217546373, "66": 0.32588540220027395, "83": 0.3118759053999958, "99": 0.3265916674014201, "116": 0.31753716769445733, "132": 0.31933238526780633, "149": 0.3450234313168349}, "nmse_episode_sem": 0.004088756166942828}
31
+ {"step": 7750, "utc": "2026-11-30T11:08:05Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.5, "infer_s_per_query": 0.0041, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026582203010245945, "mae_raw": 0.1095865350473544, "nmse": 0.32591162488658176, "groups": {"body_target": {"mse_raw": 0.03422851635925814, "nmse": 0.5100328835455418}, "hands": {"mse_raw": 0.0234541657311046, "nmse": 0.25058929179882544}}, "nmse_by_step": [0.6030829377616109, 0.40466288793401994, 0.23232955733489327, 0.12419228860877772, 0.0905847975711959, 0.10660081495931385, 0.11763315148145495, 0.10880268002707585, 0.12231566479897343, 0.23017687014644195, 0.4490634804789423, 0.6802561774221253, 0.7453568160521162, 0.5575450609644715, 0.28081145888119013, 0.3735692803345766], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0014015654347106043, "rms_raw": 0.037437487024513334, "mae_raw": 0.02753772574022036}, "nmse_per_episode": {"0": 0.3150805753526419, "17": 0.30736157090111693, "33": 0.3333773506448091, "50": 0.3435991204273914, "66": 0.3278595255772586, "83": 0.31370513624504537, "99": 0.3283461589861264, "116": 0.3193310493977562, "132": 0.3206585691778335, "149": 0.34612608555113944}, "nmse_episode_sem": 0.004037182213766963}
32
+ {"step": 8000, "utc": "2026-11-30T11:10:49Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.8, "infer_s_per_query": 0.0077, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026765091677806226, "mae_raw": 0.10999293660359241, "nmse": 0.32834158548828046, "groups": {"body_target": {"mse_raw": 0.034250672299571606, "nmse": 0.5121062961068645}, "hands": {"mse_raw": 0.023702808696174932, "nmse": 0.253165112962496}}, "nmse_by_step": [0.6067454976631435, 0.4068198739117312, 0.2332029930063117, 0.12418118350061141, 0.09011895021464646, 0.10615186696893304, 0.1174265183879516, 0.10889882174545064, 0.12297874831249284, 0.23220258098103724, 0.4530927294444597, 0.6861078037668558, 0.7517043073704566, 0.5625096188457944, 0.2845679424245455, 0.37940175352222455], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0013666454530015795, "rms_raw": 0.03696816810448659, "mae_raw": 0.027287333498050268}, "nmse_per_episode": {"0": 0.31831246701977295, "17": 0.30976625036121486, "33": 0.33542519203734394, "50": 0.3462711750986626, "66": 0.3306289146333101, "83": 0.31608477906339905, "99": 0.3309434550026139, "116": 0.32159976078911073, "132": 0.3231142022909223, "149": 0.3478110974001575}, "nmse_episode_sem": 0.0039862936362634336}
33
+ {"step": 8250, "utc": "2026-11-30T11:13:49Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0067, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.026914524250761157, "mae_raw": 0.11030365504044173, "nmse": 0.3305450522454143, "groups": {"body_target": {"mse_raw": 0.03430126849151275, "nmse": 0.5143303257550669}, "hands": {"mse_raw": 0.023892674334090057, "nmse": 0.25536016762782915}}, "nmse_by_step": [0.6097666975656393, 0.40870867617578127, 0.23403224084535718, 0.12422466571949317, 0.0897243947701104, 0.1057583204818446, 0.11729286897375128, 0.10911857933089998, 0.12376552589556719, 0.23417646825836988, 0.4566962913065755, 0.6911497713225493, 0.7571772118997588, 0.5669627442590562, 0.2882040997244154, 0.3848361414718162], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0013412880656971272, "rms_raw": 0.03662359984623476, "mae_raw": 0.027097297367571074}, "nmse_per_episode": {"0": 0.32094178325911593, "17": 0.3121389357354809, "33": 0.3374861690162312, "50": 0.3486574891418815, "66": 0.33329205539842777, "83": 0.3182608371273375, "99": 0.33326876691962926, "116": 0.3233473513895504, "132": 0.32489951187262855, "149": 0.34983009517701746}, "nmse_episode_sem": 0.003982738619879963}
34
+ {"step": 8500, "utc": "2026-11-30T11:16:30Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027037033944845534, "mae_raw": 0.11056781363379978, "nmse": 0.33196571368101185, "groups": {"body_target": {"mse_raw": 0.034257455593676704, "nmse": 0.5143925473210789}, "hands": {"mse_raw": 0.0240832250885055, "nmse": 0.2573365544646208}}, "nmse_by_step": [0.6124817226816401, 0.4102159291863981, 0.23468415152122496, 0.12428219197782456, 0.08938074540203204, 0.10524957213457854, 0.11693732388966697, 0.10914469000252736, 0.12420321542058474, 0.2351299159020139, 0.4582721452218968, 0.6934978702110878, 0.7603223912359285, 0.5705043982512138, 0.2916492676795487, 0.3885181234400099], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0013215126765058012, "rms_raw": 0.036352615813800816, "mae_raw": 0.026955415906835395}, "nmse_per_episode": {"0": 0.3226630320952192, "17": 0.3138237384074219, "33": 0.33884550268789665, "50": 0.3501395362116966, "66": 0.3349875617853606, "83": 0.31977047151956733, "99": 0.33462371459467427, "116": 0.3244082431404789, "132": 0.32574541769766874, "149": 0.3513652940649365}, "nmse_episode_sem": 0.003985087795148025}
35
+ {"step": 8750, "utc": "2026-11-30T11:19:35Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0067, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027174746991807483, "mae_raw": 0.1108545250068447, "nmse": 0.3337269922314083, "groups": {"body_target": {"mse_raw": 0.034240532190937645, "nmse": 0.515698821810023}, "hands": {"mse_raw": 0.02428419850125424, "nmse": 0.25928397104015677}}, "nmse_by_step": [0.6150823563092258, 0.41176626596544663, 0.23543377686983447, 0.12440642639019414, 0.08911452174396563, 0.10491918695983972, 0.11681967240630563, 0.10935005395706805, 0.1247841151732575, 0.23649212407254785, 0.4607467437662998, 0.6970685171749234, 0.7644475799921588, 0.5742789766964287, 0.295081424600685, 0.3930449710069304], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0013065392253104084, "rms_raw": 0.03614608174215302, "mae_raw": 0.02684248670132168}, "nmse_per_episode": {"0": 0.3248310750376749, "17": 0.31571982442019, "33": 0.3405327230923312, "50": 0.35217908791294333, "66": 0.3370802999732088, "83": 0.3215263218817013, "99": 0.3364029287518534, "116": 0.3259189905224624, "132": 0.32697244595962954, "149": 0.35292545567433603}, "nmse_episode_sem": 0.003988334328375478}
36
+ {"step": 9000, "utc": "2026-11-30T11:22:24Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.6, "infer_s_per_query": 0.0044, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02732483794516694, "mae_raw": 0.11115967290584929, "nmse": 0.3357091876792171, "groups": {"body_target": {"mse_raw": 0.03425429535691451, "nmse": 0.5176643481447373}, "hands": {"mse_raw": 0.02449005991308838, "nmse": 0.26127298567059526}}, "nmse_by_step": [0.6179851582945204, 0.4137341208820928, 0.23640940363874038, 0.12460604503175678, 0.08888982502623043, 0.10469671009698173, 0.116810976595504, 0.10956728160210925, 0.12538218836798168, 0.23803545213452942, 0.4637274755090729, 0.7014449801895064, 0.7693409408568128, 0.5783822438247488, 0.29832466470044844, 0.39739727717133333], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012921933708823943, "rms_raw": 0.03594709127151172, "mae_raw": 0.0267441540708781}, "nmse_per_episode": {"0": 0.32712054620660247, "17": 0.3178012488940391, "33": 0.3425622868942239, "50": 0.3541474860990793, "66": 0.339293829977887, "83": 0.32362895692227556, "99": 0.3381575870175676, "116": 0.3278267110912904, "132": 0.32868170084375303, "149": 0.35475052487175784}, "nmse_episode_sem": 0.0039711300012947775}
37
+ {"step": 9250, "utc": "2026-11-30T11:25:23Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0069, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027442268959086195, "mae_raw": 0.1114118721755693, "nmse": 0.33714500918562573, "groups": {"body_target": {"mse_raw": 0.034253811416120133, "nmse": 0.5188202675358605}, "hands": {"mse_raw": 0.024655728863026853, "nmse": 0.2628233125878024}}, "nmse_by_step": [0.6196915738505503, 0.4151242785972282, 0.23728210516404402, 0.12488817499030072, 0.08874039106972093, 0.10452004159626516, 0.1168739033095909, 0.10986872414583988, 0.12588924372464097, 0.23902923332917927, 0.4656247657758611, 0.7044507115225533, 0.7730388619754257, 0.5818096123057209, 0.30091566270294307, 0.4000955572203457], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012775959460436409, "rms_raw": 0.035743474174227116, "mae_raw": 0.026633928079300616}, "nmse_per_episode": {"0": 0.3287828441204083, "17": 0.3191190633881452, "33": 0.34412037861401373, "50": 0.3557460592246458, "66": 0.34092091797837204, "83": 0.3253982374705701, "99": 0.33970608173140654, "116": 0.32923440229453466, "132": 0.3301255949736353, "149": 0.35537835422988723}, "nmse_episode_sem": 0.003932445913261311}
38
+ {"step": 9500, "utc": "2026-11-30T11:28:19Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.6, "infer_s_per_query": 0.007, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027540527955751466, "mae_raw": 0.11160758371557458, "nmse": 0.3386848846893608, "groups": {"body_target": {"mse_raw": 0.03427705545884464, "nmse": 0.5207611634756418}, "hands": {"mse_raw": 0.02478467579539517, "nmse": 0.26419913427679137}}, "nmse_by_step": [0.6214162898689136, 0.4166777135639908, 0.23823894114738492, 0.1252420066249496, 0.0887945643930668, 0.10467088673818233, 0.11720330121689417, 0.11022240832150763, 0.1263358458542065, 0.2400986328174772, 0.4678461863329872, 0.7077769248816558, 0.7765815541930661, 0.584507993177159, 0.30311215640596995, 0.40388726514209117], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012626906615400397, "rms_raw": 0.035534358887421055, "mae_raw": 0.02652100258557734}, "nmse_per_episode": {"0": 0.3304472897186094, "17": 0.3208107616690235, "33": 0.34571358606012026, "50": 0.35763903653285356, "66": 0.34278745806589495, "83": 0.32711027149888783, "99": 0.34136357344252116, "116": 0.3305047521000498, "132": 0.33153041578806924, "149": 0.3562386314851905}, "nmse_episode_sem": 0.003915052538244145}
39
+ {"step": 9750, "utc": "2026-11-30T11:31:32Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.8, "infer_s_per_query": 0.0078, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027642241671257377, "mae_raw": 0.11180860102057559, "nmse": 0.3398799992008018, "groups": {"body_target": {"mse_raw": 0.03429484648883576, "nmse": 0.5214106299163853}, "hands": {"mse_raw": 0.02492072151861166, "nmse": 0.26561746845351764}}, "nmse_by_step": [0.6226917875373965, 0.41765404961241975, 0.2388748668559868, 0.12551920804017588, 0.0887680341013661, 0.1045658001798231, 0.1172329661863371, 0.11045461020926974, 0.12684561209490722, 0.24116896967562598, 0.46971292530532555, 0.7104478114593095, 0.779677442206623, 0.5872900969874209, 0.3051690820363001, 0.40577180117006956], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012473155614544887, "rms_raw": 0.035317354961187125, "mae_raw": 0.026404370014842336}, "nmse_per_episode": {"0": 0.33177662841687044, "17": 0.32218179763100113, "33": 0.3472554114354592, "50": 0.3590767563142542, "66": 0.3441912149191316, "83": 0.3284920484704065, "99": 0.3426044609394628, "116": 0.3313426876681079, "132": 0.33266637804652377, "149": 0.3567393541947761}, "nmse_episode_sem": 0.0038959323679391643}
40
+ {"step": 10000, "utc": "2026-11-30T11:34:23Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0069, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027739444060080214, "mae_raw": 0.11200545015091862, "nmse": 0.3409896957704211, "groups": {"body_target": {"mse_raw": 0.034325446204481046, "nmse": 0.5219361690070571}, "hands": {"mse_raw": 0.025045170455552598, "nmse": 0.2669661385372518}}, "nmse_by_step": [0.6237922161476456, 0.4186282456356758, 0.23956146746413717, 0.12584704246644335, 0.08877319538311432, 0.10444308780018022, 0.1172309058509668, 0.11068019720035854, 0.1273833614085798, 0.24224074955201255, 0.4714896063308889, 0.7129308985431055, 0.7825732062963232, 0.5899600893639023, 0.30705956947180313, 0.40710178659192764], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012335299701467554, "rms_raw": 0.03512164532231876, "mae_raw": 0.026294253092201677}, "nmse_per_episode": {"0": 0.33287848144563276, "17": 0.32356066531855693, "33": 0.348626641107272, "50": 0.3604914783275802, "66": 0.34548731036557084, "83": 0.3295025229304357, "99": 0.3439754943933501, "116": 0.3319493308636182, "132": 0.33328483701300243, "149": 0.3577749535995683}, "nmse_episode_sem": 0.003932178526800334}
41
+ {"step": 10250, "utc": "2026-11-30T11:37:20Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.4, "infer_s_per_query": 0.0039, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027825404772749057, "mae_raw": 0.11216519965294272, "nmse": 0.34192798670523084, "groups": {"body_target": {"mse_raw": 0.03434433200724682, "nmse": 0.5223344009895872}, "hands": {"mse_raw": 0.025158570904090877, "nmse": 0.2681253626798124}}, "nmse_by_step": [0.6249420122257807, 0.419185485841033, 0.23988511002119242, 0.12611616465871067, 0.08898858886151297, 0.10463790449161776, 0.11752508654371722, 0.1111106772693551, 0.12795677816261547, 0.24305128808114254, 0.47257545164184417, 0.7143644677834666, 0.7844262108420459, 0.5921484271863398, 0.30926071008262773, 0.4086165017230755], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012229813217682463, "rms_raw": 0.03497114984910056, "mae_raw": 0.02621814943052566}, "nmse_per_episode": {"0": 0.33382691746244547, "17": 0.32484149864495293, "33": 0.3497917878425299, "50": 0.3616941128530568, "66": 0.34662885384739794, "83": 0.33050032235803534, "99": 0.34503838094286476, "116": 0.3323215818811078, "132": 0.3339634954010436, "149": 0.3584645166082669}, "nmse_episode_sem": 0.003945692417574199}
42
+ {"step": 10500, "utc": "2026-11-30T11:40:09Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 3.2, "infer_s_per_query": 0.0088, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027921988987708958, "mae_raw": 0.11233368324414876, "nmse": 0.34303920388999076, "groups": {"body_target": {"mse_raw": 0.034433336151692036, "nmse": 0.523765974400071}, "hands": {"mse_raw": 0.02525825605698862, "nmse": 0.26910552504495794}}, "nmse_by_step": [0.6260129067293493, 0.4198461640381416, 0.24024421242941132, 0.1263219721776887, 0.08919869608839244, 0.10492199730065542, 0.11787206151513244, 0.11142995750520222, 0.1283024080876129, 0.24379372710815633, 0.4740000376400102, 0.7164191519843328, 0.7867145170467766, 0.5942888611429694, 0.3116256056821151, 0.41169594399327664], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012159276329784226, "rms_raw": 0.034870153899551726, "mae_raw": 0.02616446366037222}, "nmse_per_episode": {"0": 0.3352036212534071, "17": 0.32612010690928767, "33": 0.3508268273328132, "50": 0.3628581365566101, "66": 0.3477634925619001, "83": 0.3316211707633255, "99": 0.34607460790585426, "116": 0.3333924126851658, "132": 0.3352768194200984, "149": 0.35915368968406514}, "nmse_episode_sem": 0.003909452634576498}
43
+ {"step": 10750, "utc": "2026-11-30T11:42:42Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.027981662850785405, "mae_raw": 0.1124276611381379, "nmse": 0.3440436630778166, "groups": {"body_target": {"mse_raw": 0.034457987603563216, "nmse": 0.5250131554710858}, "hands": {"mse_raw": 0.025332257270103582, "nmse": 0.27001068891693364}}, "nmse_by_step": [0.6270179415595553, 0.4205087617201126, 0.24048920364175277, 0.12628407260306548, 0.08914497839143021, 0.10504343957900694, 0.1181514964750226, 0.1116989883740193, 0.1286000629488344, 0.24459649670358727, 0.47575684926481354, 0.7190762945187651, 0.7895300414957392, 0.5962598998231614, 0.3129383811604329, 0.4137667235790796], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012105072343471998, "rms_raw": 0.03479234447902584, "mae_raw": 0.026126440405937465}, "nmse_per_episode": {"0": 0.3364024069928164, "17": 0.3274035395174748, "33": 0.3519185361140355, "50": 0.363758702718571, "66": 0.34885238703658067, "83": 0.33256554813473954, "99": 0.3471759367502582, "116": 0.3342056710808384, "132": 0.33639285228677746, "149": 0.3597809948883462}, "nmse_episode_sem": 0.0038776475544321986}
44
+ {"step": 11000, "utc": "2026-11-30T11:45:49Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028054530413567914, "mae_raw": 0.11254414586366321, "nmse": 0.3453252831411598, "groups": {"body_target": {"mse_raw": 0.03449106129122713, "nmse": 0.5266546420325867}, "hands": {"mse_raw": 0.02542140414543461, "nmse": 0.27114509086739425}}, "nmse_by_step": [0.6282317550766664, 0.4214075698410025, 0.2409266664585864, 0.1263996357120265, 0.0892300311296502, 0.10528367541045616, 0.11850697600118798, 0.11202918672057814, 0.1290645184327437, 0.245788402954291, 0.4781894252047038, 0.7225810603107935, 0.7931026505893192, 0.5986692009132915, 0.3143372776861392, 0.4157350451562807], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012058320057833178, "rms_raw": 0.03472509187580816, "mae_raw": 0.026084542413477175}, "nmse_per_episode": {"0": 0.33784462229591145, "17": 0.3288789388322109, "33": 0.3533434045827776, "50": 0.365069932650735, "66": 0.3501830233185268, "83": 0.33374995777306077, "99": 0.34854820691571126, "116": 0.33536248336482877, "132": 0.3376778443677547, "149": 0.36071889750497554}, "nmse_episode_sem": 0.003862798817046088}
45
+ {"step": 11250, "utc": "2026-11-30T11:48:32Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02814597742600767, "mae_raw": 0.1126988210305535, "nmse": 0.34647866899179175, "groups": {"body_target": {"mse_raw": 0.03454118149970916, "nmse": 0.5281348676249009}, "hands": {"mse_raw": 0.025529757577675248, "nmse": 0.2721647695509743}}, "nmse_by_step": [0.6293492500261568, 0.42230477364308855, 0.24140986563044028, 0.12657434282521837, 0.08933883790553006, 0.10549068564253457, 0.11878095352012324, 0.11223790787719572, 0.12934871530597383, 0.24665036035027701, 0.48006801281918915, 0.7253996198006267, 0.7961228115963549, 0.600970553672761, 0.3160224916839875, 0.41797624246510934], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0012007326912556397, "rms_raw": 0.03465159002492728, "mae_raw": 0.02603890013031405}, "nmse_per_episode": {"0": 0.33898938811843904, "17": 0.33019438970270537, "33": 0.35452149793272447, "50": 0.3661790313419034, "66": 0.3513652930952437, "83": 0.33502381726921143, "99": 0.34975630086371906, "116": 0.3363798078412111, "132": 0.3390619734857017, "149": 0.36153791890009596}, "nmse_episode_sem": 0.0038345701701533487}
46
+ {"step": 11500, "utc": "2026-11-30T11:51:41Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.7, "infer_s_per_query": 0.0045, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.02822713569368579, "mae_raw": 0.11283348572325133, "nmse": 0.3473874105387895, "groups": {"body_target": {"mse_raw": 0.03461455933347752, "nmse": 0.5295365389393363}, "hands": {"mse_raw": 0.025614098750134626, "nmse": 0.27287185801129316}}, "nmse_by_step": [0.6299826421176314, 0.42284080642107247, 0.24173203492367631, 0.12672703517965478, 0.08946055946175324, 0.1056597133195128, 0.1189783052458727, 0.11240891295650315, 0.12962706759946557, 0.24742331580992727, 0.4816049973366916, 0.7275530027950399, 0.798330447246312, 0.6026738697910422, 0.31754087576092643, 0.4201378127969855], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0011981183639613354, "rms_raw": 0.03461384641962426, "mae_raw": 0.02601827997199026}, "nmse_per_episode": {"0": 0.33999525903362526, "17": 0.33117463110146794, "33": 0.3553151017232283, "50": 0.36714663221782956, "66": 0.3524308704649403, "83": 0.335983341394693, "99": 0.3507431712023246, "116": 0.33709039501442617, "132": 0.3399936761837109, "149": 0.36229356596790463}, "nmse_episode_sem": 0.003829884570788733}
47
+ {"step": 11750, "utc": "2026-11-30T11:54:17Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0031, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028278311873598264, "mae_raw": 0.11291771347355593, "nmse": 0.348044709189695, "groups": {"body_target": {"mse_raw": 0.03465469208651784, "nmse": 0.530525522290145}, "hands": {"mse_raw": 0.025669792695585707, "nmse": 0.2733934674667836}}, "nmse_by_step": [0.6304306314495393, 0.42327885711787655, 0.2420037424696421, 0.12681995864952525, 0.08948805212386658, 0.10570852725560091, 0.11908409432232463, 0.11254145620854518, 0.12985428148890274, 0.24796929946796564, 0.48262690869561936, 0.7289607290153775, 0.7997938850328772, 0.6038958744747598, 0.31880595937124434, 0.42200996158258336], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001195940462385051, "rms_raw": 0.034582372133574804, "mae_raw": 0.025994589429079396}, "nmse_per_episode": {"0": 0.3407061790952842, "17": 0.33191781727466707, "33": 0.3560087361421082, "50": 0.36784988051050144, "66": 0.35323012657323666, "83": 0.33676512324090885, "99": 0.35146127508332997, "116": 0.3376013781951642, "132": 0.34050328166621596, "149": 0.3627673672491614}, "nmse_episode_sem": 0.003826540451274983}
48
+ {"step": 12000, "utc": "2026-11-30T11:57:27Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028343192062714684, "mae_raw": 0.11302693272992793, "nmse": 0.34882655658276607, "groups": {"body_target": {"mse_raw": 0.03470652200141484, "nmse": 0.5316055039924426}, "hands": {"mse_raw": 0.02574001163324644, "nmse": 0.274053350824262}}, "nmse_by_step": [0.6310588654496875, 0.42380886252442385, 0.24233149465553672, 0.12697494289785424, 0.0896041546717448, 0.10589183975813363, 0.11934978598363333, 0.11283412304016796, 0.13025276724196172, 0.24874896806856367, 0.4840302737756212, 0.7309150870786671, 0.8018112454642813, 0.6053630166628393, 0.31973615572620484, 0.4231352732304246], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0011931260521212711, "rms_raw": 0.034541656765726673, "mae_raw": 0.02597127821065899}, "nmse_per_episode": {"0": 0.3415085752304027, "17": 0.33269640639507203, "33": 0.3569270667819645, "50": 0.3686044286288249, "66": 0.35402205576283147, "83": 0.3376343874873602, "99": 0.3523344325060831, "116": 0.3382709087065363, "132": 0.3412271911171586, "149": 0.36344684740361705}, "nmse_episode_sem": 0.003826444898120841}
49
+ {"step": 12250, "utc": "2026-11-30T12:00:09Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0032, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028386500232774323, "mae_raw": 0.11310658612429521, "nmse": 0.34928573749434516, "groups": {"body_target": {"mse_raw": 0.03472732683419279, "nmse": 0.5320682437859882}, "hands": {"mse_raw": 0.025792525714012218, "nmse": 0.274511075829582}}, "nmse_by_step": [0.6313466241357246, 0.42404410388014785, 0.24251687290713533, 0.12711538713285234, 0.08975027106460436, 0.10608058352020355, 0.11959479901763638, 0.11309677078510412, 0.1305212433043272, 0.24909808062239602, 0.4845667527345257, 0.7316720130229178, 0.8027270283695155, 0.6063396523751851, 0.3207544700436193, 0.42401244580971076], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0011919963200653872, "rms_raw": 0.03452529971000089, "mae_raw": 0.025961800333942686}, "nmse_per_episode": {"0": 0.34201522370538884, "17": 0.33319088981913153, "33": 0.3575411366219056, "50": 0.3690374441009791, "66": 0.35449115380301394, "83": 0.3381162829205146, "99": 0.3528837887119055, "116": 0.3386859479542953, "132": 0.34163666990050845, "149": 0.3637186054245707}, "nmse_episode_sem": 0.0038208772794933667}
50
+ {"step": 12500, "utc": "2026-11-30T12:03:25Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028425407536540312, "mae_raw": 0.11316616166274289, "nmse": 0.3497610150898384, "groups": {"body_target": {"mse_raw": 0.03475498794660843, "nmse": 0.5327573895256235}, "hands": {"mse_raw": 0.025836033732421534, "nmse": 0.2748988619115627}}, "nmse_by_step": [0.6316710421663482, 0.42432574065329626, 0.24269038450904765, 0.12719412243124917, 0.08981431310726139, 0.1061890609597669, 0.11975001076830659, 0.11324922424116972, 0.13069546076180788, 0.24944020335552455, 0.485239526003452, 0.7326886258095037, 0.8039025177287364, 0.6074112461286433, 0.3216872875390797, 0.42494282147623885], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0011910236105303295, "rms_raw": 0.0345112099256217, "mae_raw": 0.025958443700033394}, "nmse_per_episode": {"0": 0.3425630917823773, "17": 0.3336911669790159, "33": 0.35808847183716397, "50": 0.36952373469880706, "66": 0.3549344631502931, "83": 0.33855058217504924, "99": 0.3534192563431235, "116": 0.33901760544033804, "132": 0.3420838331926384, "149": 0.3642150411442556}, "nmse_episode_sem": 0.0038280104475062813}
51
+ {"step": 12750, "utc": "2026-11-30T12:06:19Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 1.2, "infer_s_per_query": 0.0034, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028452549033682908, "mae_raw": 0.11321334246224767, "nmse": 0.35011177007397065, "groups": {"body_target": {"mse_raw": 0.034771947136323075, "nmse": 0.5332769235824717}, "hands": {"mse_raw": 0.025867340718966472, "nmse": 0.2751805709114021}}, "nmse_by_step": [0.6318942008845679, 0.4244579619577823, 0.24275609362962008, 0.1272332639767715, 0.08987429974780838, 0.1062883500319937, 0.11988105377547537, 0.11338715720463084, 0.130864845363123, 0.24973946435385916, 0.4857584423267043, 0.7334178424583429, 0.8047311157794511, 0.6081942075124066, 0.3224212219266125, 0.42564331805075334], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.001189600984533445, "rms_raw": 0.03449059269617507, "mae_raw": 0.025940710219326184}, "nmse_per_episode": {"0": 0.34293620650670453, "17": 0.3341494466026759, "33": 0.358446413962877, "50": 0.3698233077778404, "66": 0.3553134812362806, "83": 0.33899039989967783, "99": 0.35376104573009803, "116": 0.3393352354190485, "132": 0.34245331477222773, "149": 0.3644250244002797}, "nmse_episode_sem": 0.00381195500963435}
52
+ {"step": 13000, "utc": "2026-11-30T12:09:33Z", "model": "flash", "task": "a15v3", "split": "train10", "queries": 362, "ranks": 1, "wall_s": 2.5, "infer_s_per_query": 0.0068, "seed": 1234, "weights": "ema", "policy": "flash", "cache_checked_episodes": [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], "inloop_code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse", "cache": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse/cache/a15v3/train10", "rows": 5723, "metric": "nmse-v2: dims constant over training excluded", "dims_scored": 31, "mse_raw": 0.028480791549380866, "mae_raw": 0.11326364411310358, "nmse": 0.35045526059470944, "groups": {"body_target": {"mse_raw": 0.034787624499693845, "nmse": 0.5337969669454532}, "hands": {"mse_raw": 0.025900723524252833, "nmse": 0.2754518352694051}}, "nmse_by_step": [0.6321376240953686, 0.42463789381645684, 0.2428515870136183, 0.12726451754979523, 0.08988827408433626, 0.10631203608376778, 0.11992133730847312, 0.11343567547773192, 0.13097990157671915, 0.2500665676386483, 0.4864008684073119, 0.7343198477977616, 0.8056691457307754, 0.6089184615028838, 0.3229716628114005, 0.42630100772556767], "const_dims": {"n": 44, "idx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52], "mse_raw": 0.0011889012028799132, "rms_raw": 0.034480446674599693, "mae_raw": 0.025935964903534506}, "nmse_per_episode": {"0": 0.3432788522674771, "17": 0.33455762613077367, "33": 0.35879203563801204, "50": 0.37017608456367546, "66": 0.3556722948551106, "83": 0.33935877083134053, "99": 0.35416633401584335, "116": 0.3395593854302147, "132": 0.3427790366354237, "149": 0.364751226267028}, "nmse_episode_sem": 0.0038130996953655984}
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/pip_freeze_hb-baselines.txt ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ anyio==4.14.1
2
+ av==15.1.0
3
+ certifi==2026.6.17
4
+ charset-normalizer==3.4.7
5
+ click==8.4.2
6
+ diffusers==0.35.1
7
+ filelock==3.29.4
8
+ fsspec==2026.6.0
9
+ h11==0.16.0
10
+ hf-xet==1.8.0
11
+ httpcore==1.0.9
12
+ httpx==0.28.1
13
+ huggingface_hub==1.33.0
14
+ idna==3.18
15
+ importlib_metadata==9.0.0
16
+ iniconfig==2.3.0
17
+ Jinja2==3.1.6
18
+ MarkupSafe==3.0.3
19
+ mpmath==1.3.0
20
+ networkx==3.7
21
+ numpy==2.2.6
22
+ nvidia-cublas-cu12==12.8.4.1
23
+ nvidia-cuda-cupti-cu12==12.8.90
24
+ nvidia-cuda-nvrtc-cu12==12.8.93
25
+ nvidia-cuda-runtime-cu12==12.8.90
26
+ nvidia-cudnn-cu12==9.10.2.21
27
+ nvidia-cufft-cu12==11.3.3.83
28
+ nvidia-cufile-cu12==1.13.1.3
29
+ nvidia-curand-cu12==10.3.9.90
30
+ nvidia-cusolver-cu12==11.7.3.90
31
+ nvidia-cusparse-cu12==12.5.8.93
32
+ nvidia-cusparselt-cu12==0.7.1
33
+ nvidia-nccl-cu12==2.27.5
34
+ nvidia-nvjitlink-cu12==12.8.93
35
+ nvidia-nvshmem-cu12==3.3.20
36
+ nvidia-nvtx-cu12==12.8.90
37
+ opencv-python-headless==4.11.0.86
38
+ packaging==26.2
39
+ pillow==12.3.0
40
+ pluggy==1.6.0
41
+ pyarrow==23.0.1
42
+ Pygments==2.20.0
43
+ pytest==8.4.2
44
+ PyYAML==6.0.3
45
+ regex==2026.5.9
46
+ requests==2.34.2
47
+ safetensors==0.8.0
48
+ setuptools==82.0.1
49
+ sympy==1.14.0
50
+ torch==2.9.0+cu128
51
+ torchvision==0.24.0+cu128
52
+ tqdm==4.67.1
53
+ triton==3.5.0
54
+ typing_extensions==4.16.0
55
+ urllib3==2.5.0
56
+ zipp==3.23.0
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/run.json ADDED
@@ -0,0 +1,1373 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "argv": [
3
+ "evaluation/baselines/train.py",
4
+ "--policy",
5
+ "flash",
6
+ "--contract",
7
+ "h2_sharpa",
8
+ "--steps",
9
+ "13000",
10
+ "--seed",
11
+ "42",
12
+ "--lr",
13
+ "1e-4",
14
+ "--warmup",
15
+ "500",
16
+ "--batch-size",
17
+ "512",
18
+ "--workers",
19
+ "40",
20
+ "--log-every",
21
+ "50",
22
+ "--protocol-exception",
23
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
24
+ "--protocol-exception",
25
+ "owner 2026-11-30 (\u300cteam01 \u8fd9\u4e24\u5f20\u5361\u5148\u88c5\u597d\u73af\u5883\uff0c\u7136\u540e\u5206\u62c5\u6211\u4eec\u8fd9\u8fb9\u5176\u4ed6\u7684\u4efb\u52a1\uff0c\u8bad\u7ec3\u3001\u8bc4\u4f30\u90fd\u53ef\u4ee5\u300d): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)",
26
+ "--dataset",
27
+ "/mnt/vepfs/baijiaqi/hb_team01_20261130/a15-hitting-nail-v3-139187e/data",
28
+ "--dataset-id",
29
+ "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d",
30
+ "--cache-dir",
31
+ "/dev/shm/hb_team01_cache",
32
+ "--inloop-task",
33
+ "a15v3",
34
+ "--inloop-code",
35
+ "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse",
36
+ "--out",
37
+ "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000"
38
+ ],
39
+ "started": "2026-11-30T09:37:52",
40
+ "host": "di-20261105175253-4b79v",
41
+ "torch": "2.9.0+cu128",
42
+ "policy": {
43
+ "policy": "flash",
44
+ "n_cameras": 2,
45
+ "state_dim": 78,
46
+ "action_dim": 75,
47
+ "horizon": 16,
48
+ "backbone": "resnet18",
49
+ "backbone_weights": null,
50
+ "backbone_norm": "group",
51
+ "hidden_dim": 512,
52
+ "num_layers": 4,
53
+ "num_heads": 8,
54
+ "mlp_ratio": 4.0,
55
+ "dropout": 0.0,
56
+ "time_embed_dim": 256,
57
+ "num_inference_steps": 1,
58
+ "num_train_timesteps": 100,
59
+ "beta_schedule": "squaredcos_cap_v2",
60
+ "prediction_type": "epsilon",
61
+ "clip_sample": true,
62
+ "act_hidden_dim": 512,
63
+ "dim_feedforward": 3200,
64
+ "enc_layers": 4,
65
+ "dec_layers": 7,
66
+ "nheads": 8,
67
+ "latent_dim": 32,
68
+ "kl_weight": 10.0,
69
+ "ode_body_dim": null,
70
+ "ode_width": 512,
71
+ "ode_layers": 4,
72
+ "ode_cond_dim": 512,
73
+ "ode_field_scale": 1.0,
74
+ "ode_dit_hidden": 512,
75
+ "ode_dit_layers": 4,
76
+ "ode_dit_heads": 8,
77
+ "ode_dit_tokens": 4,
78
+ "extra": {
79
+ "flash": {
80
+ "stride": 2,
81
+ "n_history": 8,
82
+ "n_action": 8,
83
+ "rows": 16,
84
+ "poly_order": 6,
85
+ "fit_pad": 1,
86
+ "boundary_constraint": true,
87
+ "poly_prefix": 1,
88
+ "poly_suffix": 1,
89
+ "history_noise_std": 0.5,
90
+ "history_reg_lambda": 0.1,
91
+ "consistency_weight": 1.0,
92
+ "solver": "euler",
93
+ "first_history": "frame0",
94
+ "first_history_state": [
95
+ 0,
96
+ 1,
97
+ 2,
98
+ 3,
99
+ 4,
100
+ 5,
101
+ 6,
102
+ 7,
103
+ 8,
104
+ 9,
105
+ 10,
106
+ 11,
107
+ 12,
108
+ 13,
109
+ 14,
110
+ 15,
111
+ 16,
112
+ 17,
113
+ 18,
114
+ 19,
115
+ 20,
116
+ 21,
117
+ 22,
118
+ 23,
119
+ 24,
120
+ 25,
121
+ 26,
122
+ 27,
123
+ 28,
124
+ 29,
125
+ 30,
126
+ 31,
127
+ 32,
128
+ 33,
129
+ 34,
130
+ 35,
131
+ 36,
132
+ 37,
133
+ 38,
134
+ 39,
135
+ 40,
136
+ 41,
137
+ 42,
138
+ 43,
139
+ 44,
140
+ 45,
141
+ 46,
142
+ 47,
143
+ 48,
144
+ 49,
145
+ 50,
146
+ 51,
147
+ 52,
148
+ 53,
149
+ 54,
150
+ 55,
151
+ 56,
152
+ 57,
153
+ 58,
154
+ 59,
155
+ 60,
156
+ 61,
157
+ 62,
158
+ 63,
159
+ 64,
160
+ 65,
161
+ 66,
162
+ 67,
163
+ 68,
164
+ 69,
165
+ 70,
166
+ 71,
167
+ 72,
168
+ 73,
169
+ 74
170
+ ],
171
+ "first_history_value": [
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 0.0,
198
+ 0.0,
199
+ 0.0,
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 0.0,
204
+ 0.0,
205
+ 0.0,
206
+ 0.0,
207
+ 0.0,
208
+ 0.0,
209
+ 0.0,
210
+ 0.0,
211
+ 0.0,
212
+ 0.0,
213
+ 0.0,
214
+ 0.0,
215
+ 0.0,
216
+ 0.0,
217
+ 0.0,
218
+ 0.0,
219
+ 0.0,
220
+ 0.0,
221
+ 0.0,
222
+ 0.0,
223
+ 0.0,
224
+ 0.0,
225
+ 0.0,
226
+ 0.0,
227
+ 0.0,
228
+ 0.0,
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 0.0,
233
+ 0.0,
234
+ 0.0,
235
+ 0.0,
236
+ 0.0,
237
+ 0.0,
238
+ 0.0,
239
+ 0.0,
240
+ 0.0,
241
+ 0.0,
242
+ 0.0,
243
+ 0.0,
244
+ 0.0,
245
+ 0.0,
246
+ 0.0
247
+ ]
248
+ }
249
+ }
250
+ },
251
+ "contract": {
252
+ "name": "h2_sharpa",
253
+ "robot": "h2_sharpa",
254
+ "cameras": [
255
+ "head",
256
+ "chest"
257
+ ],
258
+ "state": [
259
+ [
260
+ "observation.state",
261
+ 0,
262
+ 75
263
+ ],
264
+ [
265
+ "observation.projected_gravity",
266
+ 0,
267
+ 3
268
+ ]
269
+ ],
270
+ "action": [
271
+ [
272
+ "action.body_target",
273
+ 0,
274
+ 31
275
+ ],
276
+ [
277
+ "action.hands",
278
+ 0,
279
+ 44
280
+ ]
281
+ ],
282
+ "state_dim": 78,
283
+ "action_dim": 75,
284
+ "action_space": null,
285
+ "body_dims": 31
286
+ },
287
+ "image_hw": [
288
+ 168,
289
+ 224
290
+ ],
291
+ "task_text": "Facing the workbench, pick up the hammer lying on its stand with the right hand, roll it in the palm until the face points down, then hammer the nail into the wooden block and hold the hammer up.",
292
+ "dataset": {
293
+ "name": "data",
294
+ "root": "/mnt/vepfs/baijiaqi/hb_team01_20261130/a15-hitting-nail-v3-139187e/data",
295
+ "robot_type": "h2_sharpa",
296
+ "fps": 30.0,
297
+ "episodes": [
298
+ 0,
299
+ 1,
300
+ 2,
301
+ 3,
302
+ 4,
303
+ 5,
304
+ 6,
305
+ 7,
306
+ 8,
307
+ 9,
308
+ 10,
309
+ 11,
310
+ 12,
311
+ 13,
312
+ 14,
313
+ 15,
314
+ 16,
315
+ 17,
316
+ 18,
317
+ 19,
318
+ 20,
319
+ 21,
320
+ 22,
321
+ 23,
322
+ 24,
323
+ 25,
324
+ 26,
325
+ 27,
326
+ 28,
327
+ 29,
328
+ 30,
329
+ 31,
330
+ 32,
331
+ 33,
332
+ 34,
333
+ 35,
334
+ 36,
335
+ 37,
336
+ 38,
337
+ 39,
338
+ 40,
339
+ 41,
340
+ 42,
341
+ 43,
342
+ 44,
343
+ 45,
344
+ 46,
345
+ 47,
346
+ 48,
347
+ 49,
348
+ 50,
349
+ 51,
350
+ 52,
351
+ 53,
352
+ 54,
353
+ 55,
354
+ 56,
355
+ 57,
356
+ 58,
357
+ 59,
358
+ 60,
359
+ 61,
360
+ 62,
361
+ 63,
362
+ 64,
363
+ 65,
364
+ 66,
365
+ 67,
366
+ 68,
367
+ 69,
368
+ 70,
369
+ 71,
370
+ 72,
371
+ 73,
372
+ 74,
373
+ 75,
374
+ 76,
375
+ 77,
376
+ 78,
377
+ 79,
378
+ 80,
379
+ 81,
380
+ 82,
381
+ 83,
382
+ 84,
383
+ 85,
384
+ 86,
385
+ 87,
386
+ 88,
387
+ 89,
388
+ 90,
389
+ 91,
390
+ 92,
391
+ 93,
392
+ 94,
393
+ 95,
394
+ 96,
395
+ 97,
396
+ 98,
397
+ 99,
398
+ 100,
399
+ 101,
400
+ 102,
401
+ 103,
402
+ 104,
403
+ 105,
404
+ 106,
405
+ 107,
406
+ 108,
407
+ 109,
408
+ 110,
409
+ 111,
410
+ 112,
411
+ 113,
412
+ 114,
413
+ 115,
414
+ 116,
415
+ 117,
416
+ 118,
417
+ 119,
418
+ 120,
419
+ 121,
420
+ 122,
421
+ 123,
422
+ 124,
423
+ 125,
424
+ 126,
425
+ 127,
426
+ 128,
427
+ 129,
428
+ 130,
429
+ 131,
430
+ 132,
431
+ 133,
432
+ 134,
433
+ 135,
434
+ 136,
435
+ 137,
436
+ 138,
437
+ 139,
438
+ 140,
439
+ 141,
440
+ 142,
441
+ 143,
442
+ 144,
443
+ 145,
444
+ 146,
445
+ 147,
446
+ 148,
447
+ 149
448
+ ],
449
+ "train_episodes": [
450
+ 0,
451
+ 1,
452
+ 2,
453
+ 3,
454
+ 4,
455
+ 5,
456
+ 6,
457
+ 7,
458
+ 8,
459
+ 9,
460
+ 10,
461
+ 11,
462
+ 12,
463
+ 13,
464
+ 14,
465
+ 15,
466
+ 16,
467
+ 17,
468
+ 18,
469
+ 19,
470
+ 20,
471
+ 21,
472
+ 22,
473
+ 23,
474
+ 24,
475
+ 25,
476
+ 26,
477
+ 27,
478
+ 28,
479
+ 29,
480
+ 30,
481
+ 31,
482
+ 32,
483
+ 33,
484
+ 34,
485
+ 35,
486
+ 36,
487
+ 37,
488
+ 38,
489
+ 39,
490
+ 40,
491
+ 41,
492
+ 42,
493
+ 43,
494
+ 44,
495
+ 45,
496
+ 46,
497
+ 47,
498
+ 48,
499
+ 49,
500
+ 50,
501
+ 51,
502
+ 52,
503
+ 53,
504
+ 54,
505
+ 55,
506
+ 56,
507
+ 57,
508
+ 58,
509
+ 59,
510
+ 60,
511
+ 61,
512
+ 62,
513
+ 63,
514
+ 64,
515
+ 65,
516
+ 66,
517
+ 67,
518
+ 68,
519
+ 69,
520
+ 70,
521
+ 71,
522
+ 72,
523
+ 73,
524
+ 74,
525
+ 75,
526
+ 76,
527
+ 77,
528
+ 78,
529
+ 79,
530
+ 80,
531
+ 81,
532
+ 82,
533
+ 83,
534
+ 84,
535
+ 85,
536
+ 86,
537
+ 87,
538
+ 88,
539
+ 89,
540
+ 90,
541
+ 91,
542
+ 92,
543
+ 93,
544
+ 94,
545
+ 95,
546
+ 96,
547
+ 97,
548
+ 98,
549
+ 99,
550
+ 100,
551
+ 101,
552
+ 102,
553
+ 103,
554
+ 104,
555
+ 105,
556
+ 106,
557
+ 107,
558
+ 108,
559
+ 109,
560
+ 110,
561
+ 111,
562
+ 112,
563
+ 113,
564
+ 114,
565
+ 115,
566
+ 116,
567
+ 117,
568
+ 118,
569
+ 119,
570
+ 120,
571
+ 121,
572
+ 122,
573
+ 123,
574
+ 124,
575
+ 125,
576
+ 126,
577
+ 127,
578
+ 128,
579
+ 129,
580
+ 130,
581
+ 131,
582
+ 132,
583
+ 133,
584
+ 134,
585
+ 135,
586
+ 136,
587
+ 137,
588
+ 138,
589
+ 139,
590
+ 140,
591
+ 141,
592
+ 142,
593
+ 143,
594
+ 144,
595
+ 145,
596
+ 146,
597
+ 147,
598
+ 148,
599
+ 149
600
+ ],
601
+ "val_episodes": [],
602
+ "train_frames": 86267,
603
+ "git_commit": "6ce120cceb6bbe5dda177208dc99f48a8820699a"
604
+ },
605
+ "training": {
606
+ "steps": 13000,
607
+ "batch_size": 512,
608
+ "lr": 0.0001,
609
+ "betas": [
610
+ 0.95,
611
+ 0.999
612
+ ],
613
+ "weight_decay": 1e-06,
614
+ "warmup": 500,
615
+ "schedule": "diffusers_cosine",
616
+ "backbone_lr_scale": 1.0,
617
+ "ema": 0.9999,
618
+ "shift_px": 0,
619
+ "amp": true,
620
+ "seed": 42,
621
+ "augmentation": {
622
+ "spec": "docs/augmentation_v2.md",
623
+ "version": "hb-aug-v2-20261109",
624
+ "implementation": "evaluation/augmentation/hb_aug_v2.py",
625
+ "visual": {
626
+ "effects": [
627
+ "exposure",
628
+ "contrast",
629
+ "saturation",
630
+ "hue",
631
+ "gamma",
632
+ "temperature",
633
+ "rotation_crop",
634
+ "noise",
635
+ "gaussian_blur",
636
+ "jpeg",
637
+ "motion_blur",
638
+ "sharpen",
639
+ "defocus",
640
+ "light_shadow",
641
+ "wb_channel"
642
+ ],
643
+ "boosted_per_sample": 1,
644
+ "boost": 1.5,
645
+ "pixel_scale": "H / 224",
646
+ "future_targets": "none (one observation frame)"
647
+ },
648
+ "proprio": {
649
+ "robot": "h2_sharpa",
650
+ "body_dims": 31,
651
+ "bias_deg": 2.0,
652
+ "bias_scope": "per_sample",
653
+ "noise_deg": 0.25,
654
+ "noise_clip_sigma": 3,
655
+ "delay_probability": 0.0,
656
+ "history_drop_probability": 0.0,
657
+ "velocity": false
658
+ },
659
+ "native_image_augmentation": "off",
660
+ "evaluation": "off"
661
+ },
662
+ "preflight": {
663
+ "samples": 64,
664
+ "state_dim": 78,
665
+ "body_dims": 31,
666
+ "images_changed": 64,
667
+ "body_values_moved": 1.0,
668
+ "max_body_offset_deg": 2.5455,
669
+ "actions_bit_identical": true,
670
+ "non_body_state_bit_identical": true,
671
+ "eval_items_deterministic": 8
672
+ },
673
+ "aug_seed": 42,
674
+ "layout": {
675
+ "nodes": 1,
676
+ "gpus": 1,
677
+ "per_gpu_batch": 512,
678
+ "global_batch": 512,
679
+ "gradient_accumulation": 1,
680
+ "num_workers": 40,
681
+ "prefetch": 2
682
+ },
683
+ "continuation": null,
684
+ "total_steps": 13000,
685
+ "save_steps": [
686
+ 2250,
687
+ 4250,
688
+ 6500,
689
+ 8750,
690
+ 10750,
691
+ 13000
692
+ ],
693
+ "save_rule": "6 checkpoints spread evenly over the steps on the 250-step grid (owner 2026-11-27)",
694
+ "protocol_exceptions": [
695
+ "owner 2026-11-29: tail on 3-factor trimmed data; step rule (HumanWAM main dfa3a26); small models before big models; FLASH base 12000",
696
+ "owner 2026-11-30 (\u300cteam01 \u8fd9\u4e24\u5f20\u5361\u5148\u88c5\u597d\u73af\u5883\uff0c\u7136\u540e\u5206\u62c5\u6211\u4eec\u8fd9\u8fb9\u5176\u4ed6\u7684\u4efb\u52a1\uff0c\u8bad\u7ec3\u3001\u8bc4\u4f30\u90fd\u53ef\u4ee5\u300d): trained on Volcengine team01, one RTX 4090D 24 GB (driver 550), batch 512 unchanged, no gradient accumulation; environment /root/.venvs/hb-baselines (Python 3.12.1, torch 2.9.0+cu128, Pillow 12.3.0; the A800 runs: Python 3.12.12, Pillow 13.0.0)"
697
+ ],
698
+ "ema_schedule": "diffusion_policy_emamodel",
699
+ "inloop": {
700
+ "task": "a15v3",
701
+ "code": "/mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse",
702
+ "every": 250,
703
+ "exception": null,
704
+ "code_sha256": {
705
+ "hb_inloop_core.py": "154fa6d905e32d61c0def546caf6979c3a148b7bef0c1284e773b9051dddce97",
706
+ "hb_eval_common.py": "d89b1bfc1ac03d489b6ba2ac7c61eab3f318023ec37677dd5ee02b93d851d6ac"
707
+ }
708
+ },
709
+ "protocol_recipe": {
710
+ "batch_size": 512,
711
+ "steps": 12000,
712
+ "warmup": 500,
713
+ "workers": 40,
714
+ "long_task_factor": 1
715
+ },
716
+ "protocol_deviations": [
717
+ "steps 13000 (protocol 12000)"
718
+ ],
719
+ "environment": {
720
+ "python": "3.12.1",
721
+ "torch": "2.9.0+cu128",
722
+ "numpy": "2.2.6",
723
+ "cuda": "12.8",
724
+ "cudnn": 91002,
725
+ "torchvision": "0.24.0+cu128",
726
+ "pillow": "12.3.0",
727
+ "gpu": "NVIDIA GeForce RTX 4090 D",
728
+ "driver": "550.127.05"
729
+ },
730
+ "code_dirty": null,
731
+ "allow_dirty_tree": false,
732
+ "augmentation_sha256": "9f7713cea4f846efcfc924234267ced48210357f419d67915c10b504316bedde",
733
+ "order": "EpochSampler: default_rng([seed, 1, epoch]) permutation; augmentation default_rng([aug_seed, draw])",
734
+ "upstream": "NTUMARS/FLASH-Policy@f47e490"
735
+ },
736
+ "stats": {
737
+ "state": {
738
+ "min": [
739
+ -0.09997769445180893,
740
+ -0.00021537415159400553,
741
+ -0.0018031895160675049,
742
+ 0.23896919190883636,
743
+ -0.0032215823885053396,
744
+ -0.16552682220935822,
745
+ -0.10010066628456116,
746
+ -0.005005246959626675,
747
+ -0.0010331370867788792,
748
+ 0.2388608306646347,
749
+ -0.0007713548839092255,
750
+ -0.16637399792671204,
751
+ -0.0036116293631494045,
752
+ -0.0005855314084328711,
753
+ -0.012959281913936138,
754
+ 0.2377660870552063,
755
+ 0.10000789910554886,
756
+ 0.0028428281657397747,
757
+ 0.993225634098053,
758
+ -0.002429646672680974,
759
+ -0.005298535339534283,
760
+ 0.005146781913936138,
761
+ -0.7949823141098022,
762
+ -1.1849690675735474,
763
+ -0.764089822769165,
764
+ -0.20890109241008759,
765
+ 0.0010743907187134027,
766
+ -0.4016851782798767,
767
+ -1.223796010017395,
768
+ 0.003484983928501606,
769
+ -0.5965985059738159,
770
+ 8.041491128096823e-06,
771
+ 7.787263712089043e-06,
772
+ -2.0799054709641496e-06,
773
+ 7.4421236604393926e-06,
774
+ 0.001140148495323956,
775
+ -0.0007875783485360444,
776
+ -0.0007883345242589712,
777
+ 7.089955033734441e-06,
778
+ -0.0007868656539358199,
779
+ -0.08961887657642365,
780
+ 1.387537508890091e-06,
781
+ 1.3565856988861924e-06,
782
+ -0.0007850074907764792,
783
+ 1.3112578471918823e-06,
784
+ 0.0007804867927916348,
785
+ 2.1667759142474097e-07,
786
+ 2.1437449504446704e-07,
787
+ 1.2650284588744398e-06,
788
+ 2.100367879620535e-07,
789
+ 0.0004996865172870457,
790
+ 2.0562282543323818e-07,
791
+ 1.8338482732360717e-07,
792
+ 3.5120523534715176e-05,
793
+ 2.6369834813522175e-05,
794
+ -0.0008715128060430288,
795
+ 1.6693044017301872e-05,
796
+ -0.0002734147710725665,
797
+ -0.06660658866167068,
798
+ -0.1113005056977272,
799
+ 1.06078668977716e-05,
800
+ -0.09395170956850052,
801
+ -0.19489309191703796,
802
+ 2.1877663129998837e-06,
803
+ 2.11020801543782e-06,
804
+ -0.03943561017513275,
805
+ 1.9952312868554145e-06,
806
+ 0.001209239475429058,
807
+ 3.277772577803262e-07,
808
+ 3.2084344070426596e-07,
809
+ 1.877936597338703e-06,
810
+ 3.0860724109516013e-07,
811
+ 0.0008695685537531972,
812
+ 2.961393192890682e-07,
813
+ 4.9229495147073976e-08,
814
+ 0.0008595046238042414,
815
+ -0.0009253888856619596,
816
+ -0.9999996423721313
817
+ ],
818
+ "max": [
819
+ -0.09415019303560257,
820
+ 0.004828622564673424,
821
+ 0.0008512705680914223,
822
+ 0.2468973845243454,
823
+ 0.0011205088812857866,
824
+ -0.14899034798145294,
825
+ -0.09456837922334671,
826
+ -0.00035856530303135514,
827
+ 0.001164556248113513,
828
+ 0.24686793982982635,
829
+ 0.002884133020415902,
830
+ -0.14915470778942108,
831
+ 0.003393669379875064,
832
+ 0.011874571442604065,
833
+ 0.004470391198992729,
834
+ 0.25079748034477234,
835
+ 0.11245691776275635,
836
+ 0.005373213440179825,
837
+ 0.9999775290489197,
838
+ -0.0004550613812170923,
839
+ -0.0006144921062514186,
840
+ 0.017257247120141983,
841
+ 0.6067484021186829,
842
+ -0.03932846337556839,
843
+ 0.8707330822944641,
844
+ 1.1787530183792114,
845
+ 2.6213066577911377,
846
+ 0.4448302388191223,
847
+ 0.17772707343101501,
848
+ 0.6958374381065369,
849
+ 1.7674472474027425e-05,
850
+ 0.0021774214692413807,
851
+ 0.002177412388846278,
852
+ 0.000286454422166571,
853
+ 0.0021773858461529016,
854
+ 0.048038650304079056,
855
+ -1.918966336234007e-05,
856
+ -2.0099716493859887e-05,
857
+ 0.0021775541827082634,
858
+ -1.8466966139385477e-05,
859
+ -0.004215856548398733,
860
+ 0.0004085846012458205,
861
+ 0.00040858410648070276,
862
+ -1.7040652892319486e-05,
863
+ 0.00040858116699382663,
864
+ 0.004995528608560562,
865
+ 7.248025212902576e-05,
866
+ 7.248033944051713e-05,
867
+ 0.000408606487326324,
868
+ 7.248002657433972e-05,
869
+ 0.005003098398447037,
870
+ 7.248362089740112e-05,
871
+ 0.0001694808161118999,
872
+ 1.4606938362121582,
873
+ 1.3873600959777832,
874
+ 0.24172371625900269,
875
+ 1.5354737043380737,
876
+ 1.282624363899231,
877
+ 0.21544072031974792,
878
+ 0.1536547690629959,
879
+ 1.5726174116134644,
880
+ 0.08847889304161072,
881
+ -0.002909993752837181,
882
+ 1.6941105127334595,
883
+ 1.7474862337112427,
884
+ 0.12235886603593826,
885
+ 1.7342374324798584,
886
+ 1.1012191772460938,
887
+ 1.3934080600738525,
888
+ 1.3533018827438354,
889
+ 1.7458083629608154,
890
+ 1.0872085094451904,
891
+ 0.34997692704200745,
892
+ 1.0156328678131104,
893
+ 0.386565238237381,
894
+ 0.011892342939972878,
895
+ 0.00036274068406783044,
896
+ -0.9999292492866516
897
+ ],
898
+ "mean": [
899
+ -0.09785526093611452,
900
+ 0.0029796540751150223,
901
+ -0.00011749093636783019,
902
+ 0.24078336613300713,
903
+ -0.001483745781117172,
904
+ -0.16094673989096656,
905
+ -0.09784785629628794,
906
+ -0.003286792622055945,
907
+ 6.359669603595921e-05,
908
+ 0.24135650970587674,
909
+ 0.0014481086974793924,
910
+ -0.16157293961249933,
911
+ -0.00055516285977429,
912
+ 0.004176521286819223,
913
+ 0.001051175742497642,
914
+ 0.2395181341710026,
915
+ 0.10792622612743608,
916
+ 0.004581044781537889,
917
+ 0.9944883175184331,
918
+ -0.0011651024131686418,
919
+ -0.004377417567246881,
920
+ 0.006125923884388435,
921
+ -0.35644952192305274,
922
+ -0.46418886003898757,
923
+ -0.013048485006977669,
924
+ 0.17741333217133373,
925
+ 1.905103833607418,
926
+ 0.30614702442260283,
927
+ -0.7054572112394577,
928
+ 0.5088922210153903,
929
+ -0.32759722949323195,
930
+ 0.00155383075415595,
931
+ 0.0015537752436624434,
932
+ 0.00020132537563169773,
933
+ 0.0015537100449893638,
934
+ 0.033465170018071755,
935
+ -0.0005566219677073042,
936
+ -0.0005569153729970776,
937
+ 0.0015537284846230618,
938
+ -0.0005563826282825237,
939
+ -0.0861267614232954,
940
+ 0.00029127273341124105,
941
+ 0.00029126452302906614,
942
+ -0.0005556223184502122,
943
+ 0.00029125536324850346,
944
+ 0.0043675904196599285,
945
+ 5.153174948852545e-05,
946
+ 5.1530702786641114e-05,
947
+ 0.00029125860617560865,
948
+ 5.1529519222620906e-05,
949
+ 0.00420368666799645,
950
+ 5.153006054694349e-05,
951
+ 0.00011943137353283142,
952
+ 0.8160156590570241,
953
+ 0.9389792287318086,
954
+ 0.1490323148686384,
955
+ 1.2093103380214947,
956
+ 0.7972762943083992,
957
+ -0.0029631480957493486,
958
+ -0.055737382939839715,
959
+ 1.2004745719955285,
960
+ -0.044283933876475896,
961
+ -0.08029388535325555,
962
+ 1.2305006590593395,
963
+ 1.2743632885109408,
964
+ 0.03205499904873027,
965
+ 1.3778912931374658,
966
+ 0.4899848887858702,
967
+ 0.9868204909239197,
968
+ 0.780929127787715,
969
+ 1.1804992306569957,
970
+ 0.8426924277583776,
971
+ 0.20458252311803743,
972
+ 0.7181666232938461,
973
+ 0.15684561085752854,
974
+ 0.007212025231518785,
975
+ -0.00018580798599419722,
976
+ -0.9999714100548942
977
+ ],
978
+ "std": [
979
+ 0.0009067670789237834,
980
+ 0.0008727894346167395,
981
+ 0.0002777191972242325,
982
+ 0.0006466220604173187,
983
+ 0.0007346710346997718,
984
+ 0.0017976988752153227,
985
+ 0.0007769208980955679,
986
+ 0.0006779111896897012,
987
+ 0.00020889763962404415,
988
+ 0.0005150219641825996,
989
+ 0.0006882885320503921,
990
+ 0.0017855112589450538,
991
+ 0.0007098681864201253,
992
+ 0.0024662644695297446,
993
+ 0.0033463154916504646,
994
+ 0.0009304211235617237,
995
+ 0.0008408055498402711,
996
+ 0.00019948119403078555,
997
+ 0.0008665865887054094,
998
+ 0.0001838611778494026,
999
+ 0.0007190760615107812,
1000
+ 0.001141946161740247,
1001
+ 0.2633559095218504,
1002
+ 0.1844559478015024,
1003
+ 0.23941128485327795,
1004
+ 0.28156390062770453,
1005
+ 0.5549049949709923,
1006
+ 0.14039245872370573,
1007
+ 0.2860102014074455,
1008
+ 0.14344760466848627,
1009
+ 0.18510505690932832,
1010
+ 0.0005225765840522694,
1011
+ 0.0005225690372026028,
1012
+ 6.575214921290484e-05,
1013
+ 0.0005225621051523737,
1014
+ 0.0029143773124083,
1015
+ 0.0001843525411469115,
1016
+ 0.0001841359459697739,
1017
+ 0.0005226020795211893,
1018
+ 0.0001845250039153968,
1019
+ 0.0047760096669896114,
1020
+ 9.812322688642312e-05,
1021
+ 9.812203457502503e-05,
1022
+ 0.00018469305540414234,
1023
+ 9.812084743566436e-05,
1024
+ 0.0002908526544858428,
1025
+ 1.742548075238556e-05,
1026
+ 1.7425327866510986e-05,
1027
+ 9.812715294628039e-05,
1028
+ 1.7425186916470698e-05,
1029
+ 0.0004960553666509786,
1030
+ 1.7426072624276864e-05,
1031
+ 4.089342148594891e-05,
1032
+ 0.3662403907404729,
1033
+ 0.3885310127888585,
1034
+ 0.08083219424718499,
1035
+ 0.4977664762172315,
1036
+ 0.4876249899076184,
1037
+ 0.04674606850641643,
1038
+ 0.049665436463866286,
1039
+ 0.4795121047941493,
1040
+ 0.02788045856296372,
1041
+ 0.024717666341607568,
1042
+ 0.5321873529292879,
1043
+ 0.5013715940954119,
1044
+ 0.021384402536122157,
1045
+ 0.5500727925731698,
1046
+ 0.3764727797613653,
1047
+ 0.40516620301013545,
1048
+ 0.32029078359450514,
1049
+ 0.5812045384233172,
1050
+ 0.35930818560330374,
1051
+ 0.13998244790577968,
1052
+ 0.3201486052619058,
1053
+ 0.10190235433527584,
1054
+ 0.0022605747284818113,
1055
+ 0.00014482477039994416,
1056
+ 1.420976945599524e-05
1057
+ ]
1058
+ },
1059
+ "action": {
1060
+ "min": [
1061
+ -0.10000000149011612,
1062
+ 0.0,
1063
+ 0.0,
1064
+ 0.25,
1065
+ 0.0,
1066
+ -0.15000000596046448,
1067
+ -0.10000000149011612,
1068
+ 0.0,
1069
+ 0.0,
1070
+ 0.25,
1071
+ 0.0,
1072
+ -0.15000000596046448,
1073
+ 0.0,
1074
+ 0.0,
1075
+ 0.0,
1076
+ 0.25,
1077
+ 0.10000000149011612,
1078
+ 0.0,
1079
+ 1.0,
1080
+ 0.0,
1081
+ 0.0,
1082
+ 0.0,
1083
+ -0.7830644845962524,
1084
+ -1.15714693069458,
1085
+ -0.7234516739845276,
1086
+ -0.2137162834405899,
1087
+ 0.0,
1088
+ -0.4363322854042053,
1089
+ -1.2217304706573486,
1090
+ 0.0,
1091
+ -0.6005052924156189,
1092
+ 0.0,
1093
+ 0.0,
1094
+ 0.0,
1095
+ 0.0,
1096
+ 0.0,
1097
+ 0.0,
1098
+ 0.0,
1099
+ 0.0,
1100
+ 0.0,
1101
+ 0.0,
1102
+ 0.0,
1103
+ 0.0,
1104
+ 0.0,
1105
+ 0.0,
1106
+ 0.0,
1107
+ 0.0,
1108
+ 0.0,
1109
+ 0.0,
1110
+ 0.0,
1111
+ 0.0,
1112
+ 0.0,
1113
+ 0.0,
1114
+ 0.0,
1115
+ 0.0,
1116
+ 0.0,
1117
+ 0.0,
1118
+ 0.0,
1119
+ -0.033399999141693115,
1120
+ -0.10440000146627426,
1121
+ 0.0,
1122
+ -0.05559999868273735,
1123
+ -0.029100000858306885,
1124
+ 0.0,
1125
+ 0.0,
1126
+ 0.0,
1127
+ 0.0,
1128
+ 0.0,
1129
+ 0.0,
1130
+ 0.0,
1131
+ 0.0,
1132
+ 0.0,
1133
+ 0.0,
1134
+ 0.0,
1135
+ 0.0
1136
+ ],
1137
+ "max": [
1138
+ -0.10000000149011612,
1139
+ 0.0,
1140
+ 0.0,
1141
+ 0.25,
1142
+ 0.0,
1143
+ -0.15000000596046448,
1144
+ -0.10000000149011612,
1145
+ 0.0,
1146
+ 0.0,
1147
+ 0.25,
1148
+ 0.0,
1149
+ -0.15000000596046448,
1150
+ 0.0,
1151
+ 0.0,
1152
+ 0.0,
1153
+ 0.25,
1154
+ 0.10000000149011612,
1155
+ 0.0,
1156
+ 1.0,
1157
+ 0.0,
1158
+ 0.0,
1159
+ 0.0,
1160
+ 0.5866223573684692,
1161
+ -0.06458767503499985,
1162
+ 0.8743140697479248,
1163
+ 1.1923998594284058,
1164
+ 2.6179938316345215,
1165
+ 0.4363322854042053,
1166
+ 0.18158245086669922,
1167
+ 0.6523595452308655,
1168
+ 0.0,
1169
+ 0.0,
1170
+ 0.0,
1171
+ 0.0,
1172
+ 0.0,
1173
+ 0.0,
1174
+ 0.0,
1175
+ 0.0,
1176
+ 0.0,
1177
+ 0.0,
1178
+ 0.0,
1179
+ 0.0,
1180
+ 0.0,
1181
+ 0.0,
1182
+ 0.0,
1183
+ 0.0,
1184
+ 0.0,
1185
+ 0.0,
1186
+ 0.0,
1187
+ 0.0,
1188
+ 0.0,
1189
+ 0.0,
1190
+ 0.0,
1191
+ 1.5707999467849731,
1192
+ 1.4276299476623535,
1193
+ 0.251800000667572,
1194
+ 1.5707999467849731,
1195
+ 1.4098104238510132,
1196
+ 0.2409999966621399,
1197
+ 0.16740000247955322,
1198
+ 1.5707999467849731,
1199
+ 0.0,
1200
+ 0.3490999937057495,
1201
+ 1.7408000230789185,
1202
+ 1.745300054550171,
1203
+ 0.04050000011920929,
1204
+ 1.745300054550171,
1205
+ 1.233299970626831,
1206
+ 1.396299958229065,
1207
+ 1.3615000247955322,
1208
+ 1.745300054550171,
1209
+ 1.0814000368118286,
1210
+ 0.3490999937057495,
1211
+ 0.9969000220298767,
1212
+ 0.4447999894618988
1213
+ ],
1214
+ "mean": [
1215
+ -0.10000000149011612,
1216
+ 0.0,
1217
+ 0.0,
1218
+ 0.25,
1219
+ 0.0,
1220
+ -0.15000000596046448,
1221
+ -0.10000000149011612,
1222
+ 0.0,
1223
+ 0.0,
1224
+ 0.25,
1225
+ 0.0,
1226
+ -0.15000000596046448,
1227
+ 0.0,
1228
+ 0.0,
1229
+ 0.0,
1230
+ 0.25,
1231
+ 0.10000000149011612,
1232
+ 0.0,
1233
+ 1.0,
1234
+ 0.0,
1235
+ 0.0,
1236
+ 0.0,
1237
+ -0.3844676993563776,
1238
+ -0.4635392729059665,
1239
+ -0.025321531695698816,
1240
+ 0.1565658989158264,
1241
+ 1.9096198221052831,
1242
+ 0.3027108377102684,
1243
+ -0.6802851635135142,
1244
+ 0.4717552163889123,
1245
+ -0.3293787508809817,
1246
+ 0.0,
1247
+ 0.0,
1248
+ 0.0,
1249
+ 0.0,
1250
+ 0.0,
1251
+ 0.0,
1252
+ 0.0,
1253
+ 0.0,
1254
+ 0.0,
1255
+ 0.0,
1256
+ 0.0,
1257
+ 0.0,
1258
+ 0.0,
1259
+ 0.0,
1260
+ 0.0,
1261
+ 0.0,
1262
+ 0.0,
1263
+ 0.0,
1264
+ 0.0,
1265
+ 0.0,
1266
+ 0.0,
1267
+ 0.0,
1268
+ 0.9163668700463455,
1269
+ 1.0774307526623856,
1270
+ 0.18450656518916894,
1271
+ 1.2577362062853386,
1272
+ 0.8662071389505672,
1273
+ 0.014139693930753192,
1274
+ -0.0783472468063956,
1275
+ 1.3026880926927225,
1276
+ -0.049635624906086466,
1277
+ 0.16960392906218702,
1278
+ 1.350968706312699,
1279
+ 1.4543478794042892,
1280
+ 0.004224006560807533,
1281
+ 1.4160855530328746,
1282
+ 0.50399988500309,
1283
+ 1.0411720162838662,
1284
+ 0.8450646923517636,
1285
+ 1.3060351313492584,
1286
+ 0.8567824521623536,
1287
+ 0.21634492012668474,
1288
+ 0.7710784049796209,
1289
+ 0.1639630493265118
1290
+ ],
1291
+ "std": [
1292
+ 0.0,
1293
+ 0.0,
1294
+ 0.0,
1295
+ 0.0,
1296
+ 0.0,
1297
+ 0.0,
1298
+ 0.0,
1299
+ 0.0,
1300
+ 0.0,
1301
+ 0.0,
1302
+ 0.0,
1303
+ 0.0,
1304
+ 0.0,
1305
+ 0.0,
1306
+ 0.0,
1307
+ 0.0,
1308
+ 0.0,
1309
+ 0.0,
1310
+ 0.0,
1311
+ 0.0,
1312
+ 0.0,
1313
+ 0.0,
1314
+ 0.27101139510542965,
1315
+ 0.18306758167232656,
1316
+ 0.2321427862317003,
1317
+ 0.2921806368614239,
1318
+ 0.5575150219880946,
1319
+ 0.14082600312771132,
1320
+ 0.2889364190439442,
1321
+ 0.13317078744611063,
1322
+ 0.1862851560996197,
1323
+ 0.0,
1324
+ 0.0,
1325
+ 0.0,
1326
+ 0.0,
1327
+ 0.0,
1328
+ 0.0,
1329
+ 0.0,
1330
+ 0.0,
1331
+ 0.0,
1332
+ 0.0,
1333
+ 0.0,
1334
+ 0.0,
1335
+ 0.0,
1336
+ 0.0,
1337
+ 0.0,
1338
+ 0.0,
1339
+ 0.0,
1340
+ 0.0,
1341
+ 0.0,
1342
+ 0.0,
1343
+ 0.0,
1344
+ 0.0,
1345
+ 0.41432510347711093,
1346
+ 0.4441289438708921,
1347
+ 0.10036169364443552,
1348
+ 0.5129014869126945,
1349
+ 0.5543047289959324,
1350
+ 0.051528101258709685,
1351
+ 0.05980456667607573,
1352
+ 0.5129086732788993,
1353
+ 0.014518427034505595,
1354
+ 0.18576907372151935,
1355
+ 0.5885033266135186,
1356
+ 0.5690668726302637,
1357
+ 0.012073895925927702,
1358
+ 0.5545709581524755,
1359
+ 0.39820855145902984,
1360
+ 0.41600444476329074,
1361
+ 0.34343361130221534,
1362
+ 0.6451957528324598,
1363
+ 0.3560204635861576,
1364
+ 0.13912312189696266,
1365
+ 0.3411755546820009,
1366
+ 0.10772567046676199
1367
+ ]
1368
+ }
1369
+ },
1370
+ "code_commit": "bf40b9df05f60870ac9e4ab3acef11a871925a40",
1371
+ "task": "a15v3",
1372
+ "dataset_id": "humanoid-benchmark/a15-hitting-nail@139187e6d5e4547aae01629bca39fc4b2045153d"
1373
+ }
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/train.log ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ HB_AUG_SEED=42
2
+ {"event": "preflight", "augmentation": "hb-aug-v2-20261109", "samples": 64, "state_dim": 78, "body_dims": 31, "images_changed": 64, "body_values_moved": 1.0, "max_body_offset_deg": 2.5455, "actions_bit_identical": true, "non_body_state_bit_identical": true, "eval_items_deterministic": 8}
3
+ {"event": "save_points", "steps": [2250, 4250, 6500, 8750, 10750, 13000]}
4
+ HB_INLOOP flash installed: task a15v3 split train10, every 250 steps, cache checked on episodes [0, 17, 33, 50, 66, 83, 99, 116, 132, 149], code /mnt/vepfs/baijiaqi/hb_team01_20261130/policies/eval-action-mse, G=/mnt/vepfs/baijiaqi/hb_team01_20261130/policies
5
+ {"event": "start", "policy": "flash", "params": 42690251, "backbone_params": 22353024, "backbone_weights": null, "backbone_norm": "group", "train_frames": 86267, "steps": 13000, "from_step": 0, "total_steps": 13000, "cameras": ["head", "chest"], "hw": [168, 224], "seed": 42}
6
+ {"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.8, "data_frac": 0.584, "fm": 1.4045343565940858, "consistency": 1.4181381559371948, "loss": 2.8226724886894226}
7
+ {"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.64, "data_frac": 0.297, "fm": 0.380472794175148, "consistency": 0.38244552552700045, "loss": 0.7629183220863343}
8
+ {"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.89, "data_frac": 0.292, "fm": 0.3022507405281067, "consistency": 0.30228362560272215, "loss": 0.6045343685150146}
9
+ {"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.1, "data_frac": 0.572, "fm": 0.2939749044179916, "consistency": 0.29373229324817657, "loss": 0.5877072024345398}
10
+ {"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 1.27, "data_frac": 0.486, "fm": 0.2911659163236618, "consistency": 0.2906891793012619, "loss": 0.5818550968170166}
11
+ HB_INLOOP flash ready: task a15v3 split train10 queries 362 (rank 0/1: 362), every 250 steps, batch 8, cams ['head', 'chest']
12
+ HB_INLOOP flash step 250: a15v3/train10 nMSE 0.1964 (body_target 0.2539 hands 0.1728) on 362 queries, 9.3 s
13
+ {"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.72, "data_frac": 0.002, "fm": 0.2874288809299469, "consistency": 0.28653676390647886, "loss": 0.5739656472206116}
14
+ {"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.16, "data_frac": 0.553, "fm": 0.27886093854904176, "consistency": 0.2766989713907242, "loss": 0.5555599093437195}
15
+ {"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 1.66, "data_frac": 0.299, "fm": 0.2507617703080177, "consistency": 0.24280118077993393, "loss": 0.49356294751167296}
16
+ {"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.72, "data_frac": 0.314, "fm": 0.180871761739254, "consistency": 0.16075094401836396, "loss": 0.34162270605564116}
17
+ {"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 1.87, "data_frac": 0.326, "fm": 0.1133886794745922, "consistency": 0.08445648729801178, "loss": 0.19784516602754593}
18
+ HB_INLOOP flash step 500: a15v3/train10 nMSE 0.2047 (body_target 0.3153 hands 0.1594) on 362 queries, 1.2 s
19
+ {"event": "train", "step": 550, "lr": 9.999605221019081e-05, "backbone_lr": 9.999605221019081e-05, "ema_decay": 0.991183, "it_s": 0.99, "data_frac": 0.582, "fm": 0.08420490592718125, "consistency": 0.05270832039415836, "loss": 0.13691322550177573}
20
+ {"event": "train", "step": 600, "lr": 9.9984209464165e-05, "backbone_lr": 9.9984209464165e-05, "ema_decay": 0.991741, "it_s": 1.65, "data_frac": 0.315, "fm": 0.07192657589912414, "consistency": 0.04143932186067104, "loss": 0.113365897834301}
21
+ {"event": "train", "step": 650, "lr": 9.996447363202946e-05, "backbone_lr": 9.996447363202946e-05, "ema_decay": 0.992223, "it_s": 1.87, "data_frac": 0.267, "fm": 0.06611485198140145, "consistency": 0.036166691556572914, "loss": 0.10228154420852661}
22
+ {"event": "train", "step": 700, "lr": 9.993684783030088e-05, "backbone_lr": 9.993684783030088e-05, "ema_decay": 0.992644, "it_s": 1.14, "data_frac": 0.561, "fm": 0.06064069002866745, "consistency": 0.03193710409104824, "loss": 0.09257779434323311}
23
+ {"event": "train", "step": 750, "lr": 9.990133642141359e-05, "backbone_lr": 9.990133642141359e-05, "ema_decay": 0.993015, "it_s": 1.93, "data_frac": 0.222, "fm": 0.057037649005651475, "consistency": 0.029513743855059147, "loss": 0.0865513926744461}
24
+ HB_INLOOP flash step 750: a15v3/train10 nMSE 0.2588 (body_target 0.4585 hands 0.1772) on 362 queries, 2.5 s
25
+ {"event": "train", "step": 800, "lr": 9.98579450130307e-05, "backbone_lr": 9.98579450130307e-05, "ema_decay": 0.993346, "it_s": 1.28, "data_frac": 0.433, "fm": 0.05415491387248039, "consistency": 0.027781886123120783, "loss": 0.08193679958581924}
26
+ {"event": "train", "step": 850, "lr": 9.980668045715864e-05, "backbone_lr": 9.980668045715864e-05, "ema_decay": 0.993642, "it_s": 1.08, "data_frac": 0.602, "fm": 0.05155654601752758, "consistency": 0.026218370869755744, "loss": 0.07777491748332978}
27
+ {"event": "train", "step": 900, "lr": 9.974755084906502e-05, "backbone_lr": 9.974755084906502e-05, "ema_decay": 0.993909, "it_s": 2.07, "data_frac": 0.12, "fm": 0.04952120594680309, "consistency": 0.024745186306536198, "loss": 0.07426639214158058}
28
+ {"event": "train", "step": 950, "lr": 9.968056552600043e-05, "backbone_lr": 9.968056552600043e-05, "ema_decay": 0.994151, "it_s": 1.7, "data_frac": 0.292, "fm": 0.047668300569057465, "consistency": 0.02338965594768524, "loss": 0.0710579563677311}
29
+ {"event": "train", "step": 1000, "lr": 9.96057350657239e-05, "backbone_lr": 9.96057350657239e-05, "ema_decay": 0.994372, "it_s": 1.88, "data_frac": 0.298, "fm": 0.045648361295461654, "consistency": 0.022270198985934256, "loss": 0.06791856050491334}
30
+ HB_INLOOP flash step 1000: a15v3/train10 nMSE 0.3207 (body_target 0.4449 hands 0.2699) on 362 queries, 1.2 s
31
+ {"event": "train", "step": 1050, "lr": 9.952307128483256e-05, "backbone_lr": 9.952307128483256e-05, "ema_decay": 0.994575, "it_s": 0.95, "data_frac": 0.605, "fm": 0.04401235818862915, "consistency": 0.02170380551367998, "loss": 0.06571616336703301}
32
+ {"event": "train", "step": 1100, "lr": 9.94325872368957e-05, "backbone_lr": 9.94325872368957e-05, "ema_decay": 0.994761, "it_s": 1.72, "data_frac": 0.31, "fm": 0.04221164271235466, "consistency": 0.020686086378991605, "loss": 0.06289772845804692}
33
+ {"event": "train", "step": 1150, "lr": 9.93342972103934e-05, "backbone_lr": 9.93342972103934e-05, "ema_decay": 0.994933, "it_s": 1.81, "data_frac": 0.309, "fm": 0.04124541774392128, "consistency": 0.020078003779053687, "loss": 0.061323422193527224}
34
+ {"event": "train", "step": 1200, "lr": 9.922821672646027e-05, "backbone_lr": 9.922821672646027e-05, "ema_decay": 0.995092, "it_s": 1.02, "data_frac": 0.616, "fm": 0.04007752679288387, "consistency": 0.01956342753022909, "loss": 0.05964095398783684}
35
+ {"event": "train", "step": 1250, "lr": 9.911436253643445e-05, "backbone_lr": 9.911436253643445e-05, "ema_decay": 0.99524, "it_s": 1.96, "data_frac": 0.247, "fm": 0.03825567312538624, "consistency": 0.01880317222326994, "loss": 0.057058845311403275}
36
+ HB_INLOOP flash step 1250: a15v3/train10 nMSE 0.3675 (body_target 0.4580 hands 0.3305) on 362 queries, 2.4 s
37
+ {"event": "train", "step": 1300, "lr": 9.899275261921234e-05, "backbone_lr": 9.899275261921234e-05, "ema_decay": 0.995378, "it_s": 1.44, "data_frac": 0.354, "fm": 0.03765014290809631, "consistency": 0.01834570210427046, "loss": 0.05599584482610226}
38
+ {"event": "train", "step": 1350, "lr": 9.886340617840968e-05, "backbone_lr": 9.886340617840968e-05, "ema_decay": 0.995507, "it_s": 1.07, "data_frac": 0.603, "fm": 0.03632387652993202, "consistency": 0.017680249996483325, "loss": 0.054004126638174055}
39
+ {"event": "train", "step": 1400, "lr": 9.872634363932887e-05, "backbone_lr": 9.872634363932887e-05, "ema_decay": 0.995628, "it_s": 1.65, "data_frac": 0.329, "fm": 0.035869796276092526, "consistency": 0.017427545189857483, "loss": 0.05329734154045582}
40
+ {"event": "train", "step": 1450, "lr": 9.85815866457337e-05, "backbone_lr": 9.85815866457337e-05, "ema_decay": 0.995742, "it_s": 2.25, "data_frac": 0.129, "fm": 0.035275962203741074, "consistency": 0.016885716244578363, "loss": 0.05216167844831943}
41
+ {"event": "train", "step": 1500, "lr": 9.842915805643155e-05, "backbone_lr": 9.842915805643155e-05, "ema_decay": 0.995849, "it_s": 1.84, "data_frac": 0.322, "fm": 0.03378477048128843, "consistency": 0.016546660922467708, "loss": 0.05033143140375614}
42
+ HB_INLOOP flash step 1500: a15v3/train10 nMSE 0.3947 (body_target 0.4907 hands 0.3553) on 362 queries, 1.2 s
43
+ {"event": "train", "step": 1550, "lr": 9.82690819416637e-05, "backbone_lr": 9.82690819416637e-05, "ema_decay": 0.99595, "it_s": 0.99, "data_frac": 0.592, "fm": 0.03323357418179512, "consistency": 0.016303563509136438, "loss": 0.04953713782131672}
44
+ {"event": "train", "step": 1600, "lr": 9.81013835793043e-05, "backbone_lr": 9.81013835793043e-05, "ema_decay": 0.996045, "it_s": 1.51, "data_frac": 0.399, "fm": 0.03300262819975615, "consistency": 0.015867578499019146, "loss": 0.04887020662426948}
45
+ {"event": "train", "step": 1650, "lr": 9.79260894508688e-05, "backbone_lr": 9.79260894508688e-05, "ema_decay": 0.996136, "it_s": 1.98, "data_frac": 0.235, "fm": 0.03143055193126201, "consistency": 0.01519532673060894, "loss": 0.04662587895989418}
46
+ {"event": "train", "step": 1700, "lr": 9.774322723733216e-05, "backbone_lr": 9.774322723733216e-05, "ema_decay": 0.996221, "it_s": 1.05, "data_frac": 0.599, "fm": 0.03077555201947689, "consistency": 0.014808716662228107, "loss": 0.04558426856994629}
47
+ {"event": "train", "step": 1750, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996303, "it_s": 1.66, "data_frac": 0.329, "fm": 0.030004241280257703, "consistency": 0.0144853575527668, "loss": 0.04448959901928902}
48
+ HB_INLOOP flash step 1750: a15v3/train10 nMSE 0.4230 (body_target 0.5284 hands 0.3799) on 362 queries, 2.9 s
49
+ {"event": "train", "step": 1800, "lr": 9.735491524973722e-05, "backbone_lr": 9.735491524973722e-05, "ema_decay": 0.99638, "it_s": 1.87, "data_frac": 0.171, "fm": 0.029645826779305936, "consistency": 0.014299343321472407, "loss": 0.043945170044898986}
50
+ {"event": "train", "step": 1850, "lr": 9.714952679464323e-05, "backbone_lr": 9.714952679464323e-05, "ema_decay": 0.996454, "it_s": 0.98, "data_frac": 0.647, "fm": 0.02906195368617773, "consistency": 0.013858232665807008, "loss": 0.04292018629610538}
51
+ {"event": "train", "step": 1900, "lr": 9.693669288269372e-05, "backbone_lr": 9.693669288269372e-05, "ema_decay": 0.996524, "it_s": 1.63, "data_frac": 0.284, "fm": 0.028237135000526905, "consistency": 0.013736977390944958, "loss": 0.04197411194443703}
52
+ {"event": "train", "step": 1950, "lr": 9.671644712283061e-05, "backbone_lr": 9.671644712283061e-05, "ema_decay": 0.996591, "it_s": 1.72, "data_frac": 0.285, "fm": 0.028064942099153996, "consistency": 0.013412029836326838, "loss": 0.04147697180509567}
53
+ {"event": "train", "step": 2000, "lr": 9.648882429441257e-05, "backbone_lr": 9.648882429441257e-05, "ema_decay": 0.996655, "it_s": 2.42, "data_frac": 0.129, "fm": 0.0278887003287673, "consistency": 0.01301099855452776, "loss": 0.040899698734283445}
54
+ HB_INLOOP flash step 2000: a15v3/train10 nMSE 0.4492 (body_target 0.5692 hands 0.4001) on 362 queries, 1.2 s
55
+ {"event": "train", "step": 2050, "lr": 9.62538603417229e-05, "backbone_lr": 9.62538603417229e-05, "ema_decay": 0.996716, "it_s": 1.01, "data_frac": 0.577, "fm": 0.02709456380456686, "consistency": 0.012908003013581037, "loss": 0.04000256665050984}
56
+ {"event": "train", "step": 2100, "lr": 9.601159236829352e-05, "backbone_lr": 9.601159236829352e-05, "ema_decay": 0.996775, "it_s": 1.24, "data_frac": 0.448, "fm": 0.026839908063411713, "consistency": 0.012744352277368308, "loss": 0.03958426035940647}
57
+ {"event": "train", "step": 2150, "lr": 9.576205863104588e-05, "backbone_lr": 9.576205863104588e-05, "ema_decay": 0.996832, "it_s": 2.07, "data_frac": 0.208, "fm": 0.02590492743998766, "consistency": 0.01241051722317934, "loss": 0.038315444663167}
58
+ {"event": "train", "step": 2200, "lr": 9.550529853424979e-05, "backbone_lr": 9.550529853424979e-05, "ema_decay": 0.996886, "it_s": 1.04, "data_frac": 0.6, "fm": 0.025691642016172408, "consistency": 0.012210584841668606, "loss": 0.03790222682058811}
59
+ {"event": "train", "step": 2250, "lr": 9.524135262330098e-05, "backbone_lr": 9.524135262330098e-05, "ema_decay": 0.996938, "it_s": 1.7, "data_frac": 0.305, "fm": 0.02509343285113573, "consistency": 0.011974803283810615, "loss": 0.03706823602318764}
60
+ HB_INLOOP flash step 2250: a15v3/train10 nMSE 0.4628 (body_target 0.6008 hands 0.4064) on 362 queries, 2.6 s
61
+ {"event": "save", "step": 2250, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-002250", "mse": 0.0561232827603817, "mse_row0": 0.07109543681144714, "mse_body_target": 0.029942577704787254, "mse_hands": 0.07456879317760468}
62
+ {"event": "train", "step": 2300, "lr": 9.497026257831855e-05, "backbone_lr": 9.497026257831855e-05, "ema_decay": 0.996988, "it_s": 1.45, "data_frac": 0.001, "fm": 0.02477634284645319, "consistency": 0.011935446131974458, "loss": 0.036711788848042486}
63
+ {"event": "train", "step": 2350, "lr": 9.46920712075632e-05, "backbone_lr": 9.46920712075632e-05, "ema_decay": 0.997036, "it_s": 1.91, "data_frac": 0.31, "fm": 0.02475857950747013, "consistency": 0.011628342550247908, "loss": 0.036386922001838684}
64
+ {"event": "train", "step": 2400, "lr": 9.440682244067724e-05, "backbone_lr": 9.440682244067724e-05, "ema_decay": 0.997083, "it_s": 0.83, "data_frac": 0.667, "fm": 0.024213390462100505, "consistency": 0.011391492206603288, "loss": 0.035604882687330246}
65
+ {"event": "train", "step": 2450, "lr": 9.411456132174767e-05, "backbone_lr": 9.411456132174767e-05, "ema_decay": 0.997128, "it_s": 1.58, "data_frac": 0.369, "fm": 0.023950029388070105, "consistency": 0.011171950809657574, "loss": 0.03512198023498058}
66
+ {"event": "train", "step": 2500, "lr": 9.381533400219318e-05, "backbone_lr": 9.381533400219318e-05, "ema_decay": 0.997171, "it_s": 1.96, "data_frac": 0.224, "fm": 0.02333369553089142, "consistency": 0.010785680543631316, "loss": 0.03411937609314918}
67
+ HB_INLOOP flash step 2500: a15v3/train10 nMSE 0.4572 (body_target 0.6090 hands 0.3951) on 362 queries, 1.2 s
68
+ {"event": "train", "step": 2550, "lr": 9.35091877334763e-05, "backbone_lr": 9.35091877334763e-05, "ema_decay": 0.997212, "it_s": 1.06, "data_frac": 0.561, "fm": 0.02333252727985382, "consistency": 0.010535535365343095, "loss": 0.03386806279420853}
69
+ {"event": "train", "step": 2600, "lr": 9.319617085964176e-05, "backbone_lr": 9.319617085964176e-05, "ema_decay": 0.997253, "it_s": 1.66, "data_frac": 0.336, "fm": 0.022957849614322186, "consistency": 0.01007568359375, "loss": 0.03303353305906057}
70
+ {"event": "train", "step": 2650, "lr": 9.287633280968261e-05, "backbone_lr": 9.287633280968261e-05, "ema_decay": 0.997292, "it_s": 1.26, "data_frac": 0.502, "fm": 0.022663911916315557, "consistency": 0.009742633104324341, "loss": 0.0324065450578928}
71
+ {"event": "train", "step": 2700, "lr": 9.254972408973461e-05, "backbone_lr": 9.254972408973461e-05, "ema_decay": 0.997329, "it_s": 1.2, "data_frac": 0.56, "fm": 0.022155253067612648, "consistency": 0.009679982122033835, "loss": 0.031835235357284546}
72
+ {"event": "train", "step": 2750, "lr": 9.221639627510076e-05, "backbone_lr": 9.221639627510076e-05, "ema_decay": 0.997366, "it_s": 1.64, "data_frac": 0.345, "fm": 0.021475336328148843, "consistency": 0.009383170083165169, "loss": 0.03085850637406111}
73
+ HB_INLOOP flash step 2750: a15v3/train10 nMSE 0.4387 (body_target 0.5963 hands 0.3742) on 362 queries, 2.5 s
74
+ {"event": "train", "step": 2800, "lr": 9.18764020021071e-05, "backbone_lr": 9.18764020021071e-05, "ema_decay": 0.997401, "it_s": 1.63, "data_frac": 0.258, "fm": 0.021436816528439522, "consistency": 0.009150214288383722, "loss": 0.0305870308727026}
75
+ {"event": "train", "step": 2850, "lr": 9.152979495979063e-05, "backbone_lr": 9.152979495979063e-05, "ema_decay": 0.997436, "it_s": 1.9, "data_frac": 0.312, "fm": 0.020990780740976333, "consistency": 0.008839521966874599, "loss": 0.029830302707850934}
76
+ {"event": "train", "step": 2900, "lr": 9.117662988142138e-05, "backbone_lr": 9.117662988142138e-05, "ema_decay": 0.997469, "it_s": 0.98, "data_frac": 0.596, "fm": 0.020772498585283756, "consistency": 0.008690270483493806, "loss": 0.029462768957018853}
77
+ {"event": "train", "step": 2950, "lr": 9.081696253585921e-05, "backbone_lr": 9.081696253585921e-05, "ema_decay": 0.997501, "it_s": 1.68, "data_frac": 0.316, "fm": 0.02027932904660702, "consistency": 0.008435484003275633, "loss": 0.028714812882244586}
78
+ {"event": "train", "step": 3000, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997532, "it_s": 1.8, "data_frac": 0.313, "fm": 0.020032922625541686, "consistency": 0.00842636415734887, "loss": 0.028459286727011205}
79
+ HB_INLOOP flash step 3000: a15v3/train10 nMSE 0.4166 (body_target 0.5834 hands 0.3483) on 362 queries, 1.3 s
80
+ {"event": "train", "step": 3050, "lr": 9.007834924354383e-05, "backbone_lr": 9.007834924354383e-05, "ema_decay": 0.997563, "it_s": 1.19, "data_frac": 0.516, "fm": 0.019523705206811428, "consistency": 0.008117884155362845, "loss": 0.02764158934354782}
81
+ {"event": "train", "step": 3100, "lr": 8.969951993239177e-05, "backbone_lr": 8.969951993239177e-05, "ema_decay": 0.997592, "it_s": 1.78, "data_frac": 0.241, "fm": 0.019606641307473183, "consistency": 0.008025615951046347, "loss": 0.02763225734233856}
82
+ {"event": "train", "step": 3150, "lr": 8.931442160683094e-05, "backbone_lr": 8.931442160683094e-05, "ema_decay": 0.997621, "it_s": 1.32, "data_frac": 0.421, "fm": 0.0189486363902688, "consistency": 0.007878263918682933, "loss": 0.026826900243759156}
83
+ {"event": "train", "step": 3200, "lr": 8.892311507835119e-05, "backbone_lr": 8.892311507835119e-05, "ema_decay": 0.997649, "it_s": 1.13, "data_frac": 0.594, "fm": 0.01884758234024048, "consistency": 0.007771072806790471, "loss": 0.026618655174970626}
84
+ {"event": "train", "step": 3250, "lr": 8.852566213878947e-05, "backbone_lr": 8.852566213878947e-05, "ema_decay": 0.997676, "it_s": 2.03, "data_frac": 0.219, "fm": 0.018815939500927924, "consistency": 0.007602266194298863, "loss": 0.026418205797672272}
85
+ HB_INLOOP flash step 3250: a15v3/train10 nMSE 0.3964 (body_target 0.5737 hands 0.3239) on 362 queries, 2.6 s
86
+ {"event": "train", "step": 3300, "lr": 8.81221255505724e-05, "backbone_lr": 8.81221255505724e-05, "ema_decay": 0.997703, "it_s": 1.67, "data_frac": 0.246, "fm": 0.018478350602090358, "consistency": 0.0074580124206840995, "loss": 0.025936363078653813}
87
+ {"event": "train", "step": 3350, "lr": 8.771256903680519e-05, "backbone_lr": 8.771256903680519e-05, "ema_decay": 0.997728, "it_s": 1.87, "data_frac": 0.298, "fm": 0.01836075000464916, "consistency": 0.007598238540813327, "loss": 0.025958988554775714}
88
+ {"event": "train", "step": 3400, "lr": 8.729705727120911e-05, "backbone_lr": 8.729705727120911e-05, "ema_decay": 0.997754, "it_s": 1.03, "data_frac": 0.604, "fm": 0.018244464062154294, "consistency": 0.0073327666427940134, "loss": 0.02557723071426153}
89
+ {"event": "train", "step": 3450, "lr": 8.68756558679087e-05, "backbone_lr": 8.68756558679087e-05, "ema_decay": 0.997778, "it_s": 1.6, "data_frac": 0.345, "fm": 0.017801435384899377, "consistency": 0.007217159634456039, "loss": 0.02501859501004219}
90
+ {"event": "train", "step": 3500, "lr": 8.644843137107059e-05, "backbone_lr": 8.644843137107059e-05, "ema_decay": 0.997802, "it_s": 1.78, "data_frac": 0.297, "fm": 0.01800879243761301, "consistency": 0.0073161301575601105, "loss": 0.025324922651052476}
91
+ HB_INLOOP flash step 3500: a15v3/train10 nMSE 0.3786 (body_target 0.5646 hands 0.3025) on 362 queries, 1.3 s
92
+ {"event": "train", "step": 3550, "lr": 8.601545124439535e-05, "backbone_lr": 8.601545124439535e-05, "ema_decay": 0.997825, "it_s": 0.98, "data_frac": 0.584, "fm": 0.01775493074208498, "consistency": 0.007051331456750631, "loss": 0.024806262142956257}
93
+ {"event": "train", "step": 3600, "lr": 8.557678386046428e-05, "backbone_lr": 8.557678386046428e-05, "ema_decay": 0.997848, "it_s": 2.05, "data_frac": 0.164, "fm": 0.01714523484930396, "consistency": 0.0069977269414812325, "loss": 0.02414296168833971}
94
+ {"event": "train", "step": 3650, "lr": 8.513249848994246e-05, "backbone_lr": 8.513249848994246e-05, "ema_decay": 0.99787, "it_s": 1.49, "data_frac": 0.402, "fm": 0.017330606263130904, "consistency": 0.006964093334972859, "loss": 0.024294699542224407}
95
+ {"event": "train", "step": 3700, "lr": 8.468266529064025e-05, "backbone_lr": 8.468266529064025e-05, "ema_decay": 0.997892, "it_s": 1.07, "data_frac": 0.611, "fm": 0.017006768211722374, "consistency": 0.006878872634842992, "loss": 0.023885640725493432}
96
+ {"event": "train", "step": 3750, "lr": 8.422735529643444e-05, "backbone_lr": 8.422735529643444e-05, "ema_decay": 0.997913, "it_s": 1.77, "data_frac": 0.258, "fm": 0.016895389333367348, "consistency": 0.006736034750938416, "loss": 0.023631424084305762}
97
+ HB_INLOOP flash step 3750: a15v3/train10 nMSE 0.3662 (body_target 0.5611 hands 0.2865) on 362 queries, 1.7 s
98
+ {"event": "train", "step": 3800, "lr": 8.376664040605122e-05, "backbone_lr": 8.376664040605122e-05, "ema_decay": 0.997933, "it_s": 2.14, "data_frac": 0.108, "fm": 0.01662426732480526, "consistency": 0.006702738674357533, "loss": 0.02332700591534376}
99
+ {"event": "train", "step": 3850, "lr": 8.330059337171258e-05, "backbone_lr": 8.330059337171258e-05, "ema_decay": 0.997954, "it_s": 1.81, "data_frac": 0.327, "fm": 0.016501213870942593, "consistency": 0.006650340678170323, "loss": 0.023151554614305497}
100
+ {"event": "train", "step": 3900, "lr": 8.282928778764783e-05, "backbone_lr": 8.282928778764783e-05, "ema_decay": 0.997973, "it_s": 1.0, "data_frac": 0.606, "fm": 0.016522262562066316, "consistency": 0.00651439405977726, "loss": 0.02303665652871132}
101
+ {"event": "train", "step": 3950, "lr": 8.235279807847223e-05, "backbone_lr": 8.235279807847223e-05, "ema_decay": 0.997993, "it_s": 1.53, "data_frac": 0.407, "fm": 0.016152735874056814, "consistency": 0.006390741653740406, "loss": 0.022543477639555932}
102
+ {"event": "train", "step": 4000, "lr": 8.18711994874345e-05, "backbone_lr": 8.18711994874345e-05, "ema_decay": 0.998011, "it_s": 1.96, "data_frac": 0.24, "fm": 0.01575359096750617, "consistency": 0.006233001528307795, "loss": 0.02198659248650074}
103
+ HB_INLOOP flash step 4000: a15v3/train10 nMSE 0.3564 (body_target 0.5596 hands 0.2732) on 362 queries, 1.3 s
104
+ {"event": "train", "step": 4050, "lr": 8.138456806453503e-05, "backbone_lr": 8.138456806453503e-05, "ema_decay": 0.99803, "it_s": 1.02, "data_frac": 0.576, "fm": 0.015968194846063852, "consistency": 0.006238019447773695, "loss": 0.022206214405596256}
105
+ {"event": "train", "step": 4100, "lr": 8.089298065451672e-05, "backbone_lr": 8.089298065451672e-05, "ema_decay": 0.998048, "it_s": 1.76, "data_frac": 0.297, "fm": 0.015637709517031907, "consistency": 0.006090425243601203, "loss": 0.021728134714066982}
106
+ {"event": "train", "step": 4150, "lr": 8.039651488473028e-05, "backbone_lr": 8.039651488473028e-05, "ema_decay": 0.998066, "it_s": 1.82, "data_frac": 0.304, "fm": 0.015488232523202895, "consistency": 0.006050225691869855, "loss": 0.02153845828026533}
107
+ {"event": "train", "step": 4200, "lr": 7.989524915287595e-05, "backbone_lr": 7.989524915287595e-05, "ema_decay": 0.998083, "it_s": 2.23, "data_frac": 0.188, "fm": 0.01521305613219738, "consistency": 0.005985008599236607, "loss": 0.021198064759373664}
108
+ {"event": "train", "step": 4250, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.9981, "it_s": 0.85, "data_frac": 0.655, "fm": 0.015138197652995587, "consistency": 0.005949734328314662, "loss": 0.021087931990623473}
109
+ HB_INLOOP flash step 4250: a15v3/train10 nMSE 0.3485 (body_target 0.5576 hands 0.2629) on 362 queries, 2.5 s
110
+ {"event": "save", "step": 4250, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-004250", "mse": 0.038092948496341705, "mse_row0": 0.06099572405219078, "mse_body_target": 0.024966474622488022, "mse_hands": 0.047341156750917435}
111
+ {"event": "train", "step": 4300, "lr": 7.887863517111338e-05, "backbone_lr": 7.887863517111338e-05, "ema_decay": 0.998116, "it_s": 1.43, "data_frac": 0.005, "fm": 0.015033750850707293, "consistency": 0.005920477602630854, "loss": 0.020954228267073632}
112
+ {"event": "train", "step": 4350, "lr": 7.836344745633783e-05, "backbone_lr": 7.836344745633783e-05, "ema_decay": 0.998133, "it_s": 2.46, "data_frac": 0.113, "fm": 0.015203844085335731, "consistency": 0.0059540980681777, "loss": 0.021157942228019238}
113
+ {"event": "train", "step": 4400, "lr": 7.784378082440941e-05, "backbone_lr": 7.784378082440941e-05, "ema_decay": 0.998149, "it_s": 1.0, "data_frac": 0.601, "fm": 0.015117624178528785, "consistency": 0.005932116210460663, "loss": 0.02104974038898945}
114
+ {"event": "train", "step": 4450, "lr": 7.731971733671346e-05, "backbone_lr": 7.731971733671346e-05, "ema_decay": 0.998164, "it_s": 1.24, "data_frac": 0.491, "fm": 0.014921934902667999, "consistency": 0.005767050236463547, "loss": 0.020688985139131547}
115
+ {"event": "train", "step": 4500, "lr": 7.679133974894983e-05, "backbone_lr": 7.679133974894983e-05, "ema_decay": 0.99818, "it_s": 2.04, "data_frac": 0.201, "fm": 0.014443308729678393, "consistency": 0.005620986158028245, "loss": 0.020064294897019865}
116
+ HB_INLOOP flash step 4500: a15v3/train10 nMSE 0.3406 (body_target 0.5536 hands 0.2535) on 362 queries, 1.2 s
117
+ {"event": "train", "step": 4550, "lr": 7.62587314980648e-05, "backbone_lr": 7.62587314980648e-05, "ema_decay": 0.998195, "it_s": 1.01, "data_frac": 0.589, "fm": 0.014505211375653743, "consistency": 0.0056450052931904795, "loss": 0.020150216706097127}
118
+ {"event": "train", "step": 4600, "lr": 7.572197668907532e-05, "backbone_lr": 7.572197668907532e-05, "ema_decay": 0.998209, "it_s": 1.69, "data_frac": 0.309, "fm": 0.014420034270733595, "consistency": 0.005560947563499213, "loss": 0.019980981759727002}
119
+ {"event": "train", "step": 4650, "lr": 7.518116008178805e-05, "backbone_lr": 7.518116008178805e-05, "ema_decay": 0.998224, "it_s": 1.66, "data_frac": 0.329, "fm": 0.01440247928723693, "consistency": 0.00562364200130105, "loss": 0.020026121214032175}
120
+ {"event": "train", "step": 4700, "lr": 7.463636707741458e-05, "backbone_lr": 7.463636707741458e-05, "ema_decay": 0.998238, "it_s": 1.93, "data_frac": 0.305, "fm": 0.014134363122284412, "consistency": 0.0054661040846258405, "loss": 0.019600467197597025}
121
+ {"event": "train", "step": 4750, "lr": 7.408768370508576e-05, "backbone_lr": 7.408768370508576e-05, "ema_decay": 0.998252, "it_s": 0.84, "data_frac": 0.657, "fm": 0.01401788430288434, "consistency": 0.005478109130635857, "loss": 0.019495993331074716}
122
+ HB_INLOOP flash step 4750: a15v3/train10 nMSE 0.3337 (body_target 0.5503 hands 0.2451) on 362 queries, 2.6 s
123
+ {"event": "train", "step": 4800, "lr": 7.353519660826665e-05, "backbone_lr": 7.353519660826665e-05, "ema_decay": 0.998266, "it_s": 1.66, "data_frac": 0.233, "fm": 0.014035457838326692, "consistency": 0.00547563754953444, "loss": 0.019511095359921456}
124
+ {"event": "train", "step": 4850, "lr": 7.297899303107441e-05, "backbone_lr": 7.297899303107441e-05, "ema_decay": 0.998279, "it_s": 1.78, "data_frac": 0.307, "fm": 0.014083767868578434, "consistency": 0.005392699176445604, "loss": 0.019476466998457908}
125
+ {"event": "train", "step": 4900, "lr": 7.241916080450163e-05, "backbone_lr": 7.241916080450163e-05, "ema_decay": 0.998292, "it_s": 1.08, "data_frac": 0.572, "fm": 0.013664364665746689, "consistency": 0.0053301980532705785, "loss": 0.018994562663137912}
126
+ {"event": "train", "step": 4950, "lr": 7.185578833254664e-05, "backbone_lr": 7.185578833254664e-05, "ema_decay": 0.998305, "it_s": 1.61, "data_frac": 0.324, "fm": 0.013913126345723868, "consistency": 0.0053382364846766, "loss": 0.019251362830400468}
127
+ {"event": "train", "step": 5000, "lr": 7.128896457825364e-05, "backbone_lr": 7.128896457825364e-05, "ema_decay": 0.998318, "it_s": 1.34, "data_frac": 0.462, "fm": 0.013480818588286638, "consistency": 0.005174460364505648, "loss": 0.01865527894347906}
128
+ HB_INLOOP flash step 5000: a15v3/train10 nMSE 0.3274 (body_target 0.5451 hands 0.2384) on 362 queries, 1.3 s
129
+ {"event": "train", "step": 5050, "lr": 7.071877904966423e-05, "backbone_lr": 7.071877904966423e-05, "ema_decay": 0.99833, "it_s": 1.12, "data_frac": 0.552, "fm": 0.013462545219808816, "consistency": 0.005157893169671297, "loss": 0.01862043846398592}
130
+ {"event": "train", "step": 5100, "lr": 7.014532178568314e-05, "backbone_lr": 7.014532178568314e-05, "ema_decay": 0.998343, "it_s": 1.68, "data_frac": 0.325, "fm": 0.013413503635674714, "consistency": 0.005179981468245387, "loss": 0.018593485094606878}
131
+ {"event": "train", "step": 5150, "lr": 6.956868334186013e-05, "backbone_lr": 6.956868334186013e-05, "ema_decay": 0.998355, "it_s": 1.66, "data_frac": 0.335, "fm": 0.013518099747598171, "consistency": 0.00512555823661387, "loss": 0.01864365804940462}
132
+ {"event": "train", "step": 5200, "lr": 6.898895477609007e-05, "backbone_lr": 6.898895477609007e-05, "ema_decay": 0.998367, "it_s": 1.76, "data_frac": 0.342, "fm": 0.01318148173391819, "consistency": 0.0050274819042533635, "loss": 0.01820896375924349}
133
+ {"event": "train", "step": 5250, "lr": 6.840622763423391e-05, "backbone_lr": 6.840622763423391e-05, "ema_decay": 0.998378, "it_s": 0.99, "data_frac": 0.592, "fm": 0.013254475481808185, "consistency": 0.005054243952035904, "loss": 0.01830871932208538}
134
+ HB_INLOOP flash step 5250: a15v3/train10 nMSE 0.3218 (body_target 0.5369 hands 0.2338) on 362 queries, 2.7 s
135
+ {"event": "train", "step": 5300, "lr": 6.782059393566253e-05, "backbone_lr": 6.782059393566253e-05, "ema_decay": 0.99839, "it_s": 1.61, "data_frac": 0.271, "fm": 0.013313662465661765, "consistency": 0.005127714099362492, "loss": 0.01844137653708458}
136
+ {"event": "train", "step": 5350, "lr": 6.723214615872585e-05, "backbone_lr": 6.723214615872585e-05, "ema_decay": 0.998401, "it_s": 1.8, "data_frac": 0.304, "fm": 0.013019434344023466, "consistency": 0.004950850792229175, "loss": 0.017970285154879095}
137
+ {"event": "train", "step": 5400, "lr": 6.664097722614934e-05, "backbone_lr": 6.664097722614934e-05, "ema_decay": 0.998412, "it_s": 1.13, "data_frac": 0.555, "fm": 0.012822845205664634, "consistency": 0.00506268079392612, "loss": 0.01788552597165108}
138
+ {"event": "train", "step": 5450, "lr": 6.604718049036048e-05, "backbone_lr": 6.604718049036048e-05, "ema_decay": 0.998423, "it_s": 1.67, "data_frac": 0.254, "fm": 0.013131323847919702, "consistency": 0.00495770875364542, "loss": 0.01808903265744448}
139
+ {"event": "train", "step": 5500, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998434, "it_s": 1.35, "data_frac": 0.465, "fm": 0.012553489897400141, "consistency": 0.004855875801295042, "loss": 0.01740936569869518}
140
+ HB_INLOOP flash step 5500: a15v3/train10 nMSE 0.3182 (body_target 0.5309 hands 0.2312) on 362 queries, 1.3 s
141
+ {"event": "train", "step": 5550, "lr": 6.485207907885175e-05, "backbone_lr": 6.485207907885175e-05, "ema_decay": 0.998445, "it_s": 1.16, "data_frac": 0.549, "fm": 0.012526869364082814, "consistency": 0.004834210593253374, "loss": 0.01736107997596264}
142
+ {"event": "train", "step": 5600, "lr": 6.42509631234988e-05, "backbone_lr": 6.42509631234988e-05, "ema_decay": 0.998455, "it_s": 1.87, "data_frac": 0.21, "fm": 0.012930282969027757, "consistency": 0.004843950774520636, "loss": 0.017774233780801296}
143
+ {"event": "train", "step": 5650, "lr": 6.364759677586627e-05, "backbone_lr": 6.364759677586627e-05, "ema_decay": 0.998465, "it_s": 1.69, "data_frac": 0.268, "fm": 0.012736266944557428, "consistency": 0.004826493458822369, "loss": 0.01756276059895754}
144
+ {"event": "train", "step": 5700, "lr": 6.304207531449486e-05, "backbone_lr": 6.304207531449486e-05, "ema_decay": 0.998475, "it_s": 1.79, "data_frac": 0.339, "fm": 0.012359720282256603, "consistency": 0.004788641463965178, "loss": 0.017148361559957265}
145
+ {"event": "train", "step": 5750, "lr": 6.243449435824276e-05, "backbone_lr": 6.243449435824276e-05, "ema_decay": 0.998485, "it_s": 1.11, "data_frac": 0.592, "fm": 0.0126029391027987, "consistency": 0.004796980693936348, "loss": 0.017399919889867305}
146
+ HB_INLOOP flash step 5750: a15v3/train10 nMSE 0.3176 (body_target 0.5280 hands 0.2315) on 362 queries, 2.4 s
147
+ {"event": "train", "step": 5800, "lr": 6.182494985118624e-05, "backbone_lr": 6.182494985118624e-05, "ema_decay": 0.998495, "it_s": 1.53, "data_frac": 0.311, "fm": 0.0120783269405365, "consistency": 0.004741819724440575, "loss": 0.016820146683603526}
148
+ {"event": "train", "step": 5850, "lr": 6.121353804746907e-05, "backbone_lr": 6.121353804746907e-05, "ema_decay": 0.998505, "it_s": 1.62, "data_frac": 0.365, "fm": 0.01207740481942892, "consistency": 0.0046625352278351784, "loss": 0.016739940140396356}
149
+ {"event": "train", "step": 5900, "lr": 6.0600355496102745e-05, "backbone_lr": 6.0600355496102745e-05, "ema_decay": 0.998514, "it_s": 1.08, "data_frac": 0.589, "fm": 0.011817757189273834, "consistency": 0.004653873471543193, "loss": 0.01647163074463606}
150
+ {"event": "train", "step": 5950, "lr": 5.9985499025720346e-05, "backbone_lr": 5.9985499025720346e-05, "ema_decay": 0.998524, "it_s": 1.95, "data_frac": 0.237, "fm": 0.012007745709270238, "consistency": 0.004631519643589854, "loss": 0.016639265455305575}
151
+ {"event": "train", "step": 6000, "lr": 5.9369065729286245e-05, "backbone_lr": 5.9369065729286245e-05, "ema_decay": 0.998533, "it_s": 1.81, "data_frac": 0.278, "fm": 0.012169806212186813, "consistency": 0.004681989075616002, "loss": 0.016851795241236686}
152
+ HB_INLOOP flash step 6000: a15v3/train10 nMSE 0.3182 (body_target 0.5247 hands 0.2336) on 362 queries, 2.5 s
153
+ {"event": "train", "step": 6050, "lr": 5.875115294876381e-05, "backbone_lr": 5.875115294876381e-05, "ema_decay": 0.998542, "it_s": 0.88, "data_frac": 0.64, "fm": 0.012301217410713433, "consistency": 0.004742915416136384, "loss": 0.017044132743030786}
154
+ {"event": "train", "step": 6100, "lr": 5.813185825974419e-05, "backbone_lr": 5.813185825974419e-05, "ema_decay": 0.998551, "it_s": 1.84, "data_frac": 0.275, "fm": 0.012111115828156471, "consistency": 0.004556474490091205, "loss": 0.01666759021580219}
155
+ {"event": "train", "step": 6150, "lr": 5.751127945603786e-05, "backbone_lr": 5.751127945603786e-05, "ema_decay": 0.99856, "it_s": 2.0, "data_frac": 0.179, "fm": 0.011676647178828716, "consistency": 0.004543815385550261, "loss": 0.01622046247124672}
156
+ {"event": "train", "step": 6200, "lr": 5.68895145342319e-05, "backbone_lr": 5.68895145342319e-05, "ema_decay": 0.998569, "it_s": 1.88, "data_frac": 0.302, "fm": 0.011448204293847084, "consistency": 0.004543275246396661, "loss": 0.015991479586809874}
157
+ {"event": "train", "step": 6250, "lr": 5.6266661678215216e-05, "backbone_lr": 5.6266661678215216e-05, "ema_decay": 0.998577, "it_s": 1.03, "data_frac": 0.593, "fm": 0.011585517916828394, "consistency": 0.00451591988094151, "loss": 0.01610143769532442}
158
+ HB_INLOOP flash step 6250: a15v3/train10 nMSE 0.3181 (body_target 0.5207 hands 0.2352) on 362 queries, 2.5 s
159
+ {"event": "train", "step": 6300, "lr": 5.564281924367408e-05, "backbone_lr": 5.564281924367408e-05, "ema_decay": 0.998586, "it_s": 1.58, "data_frac": 0.306, "fm": 0.01147446345537901, "consistency": 0.004475174900144339, "loss": 0.015949638448655604}
160
+ {"event": "train", "step": 6350, "lr": 5.5018085742560744e-05, "backbone_lr": 5.5018085742560744e-05, "ema_decay": 0.998594, "it_s": 1.82, "data_frac": 0.286, "fm": 0.011600907426327467, "consistency": 0.004488416165113449, "loss": 0.016089323591440916}
161
+ {"event": "train", "step": 6400, "lr": 5.439255982753717e-05, "backbone_lr": 5.439255982753717e-05, "ema_decay": 0.998602, "it_s": 1.01, "data_frac": 0.613, "fm": 0.011642392780631781, "consistency": 0.0044941279944032434, "loss": 0.01613652067258954}
162
+ {"event": "train", "step": 6450, "lr": 5.3766340276396646e-05, "backbone_lr": 5.3766340276396646e-05, "ema_decay": 0.99861, "it_s": 1.65, "data_frac": 0.291, "fm": 0.011303584203124046, "consistency": 0.004489528797566891, "loss": 0.01579311305657029}
163
+ {"event": "train", "step": 6500, "lr": 5.313952597646568e-05, "backbone_lr": 5.313952597646568e-05, "ema_decay": 0.998618, "it_s": 1.91, "data_frac": 0.282, "fm": 0.011508077457547188, "consistency": 0.004462703326717019, "loss": 0.01597078088670969}
164
+ HB_INLOOP flash step 6500: a15v3/train10 nMSE 0.3182 (body_target 0.5162 hands 0.2372) on 362 queries, 1.3 s
165
+ {"event": "save", "step": 6500, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-006500", "mse": 0.03619362413883209, "mse_row0": 0.06213373690843582, "mse_body_target": 0.025502370670437813, "mse_hands": 0.04372609406709671}
166
+ {"event": "train", "step": 6550, "lr": 5.2512215908988484e-05, "backbone_lr": 5.2512215908988484e-05, "ema_decay": 0.998626, "it_s": 2.47, "data_frac": 0.0, "fm": 0.011503940392285585, "consistency": 0.004386871755123138, "loss": 0.015890812166035176}
167
+ {"event": "train", "step": 6600, "lr": 5.188450913349674e-05, "backbone_lr": 5.188450913349674e-05, "ema_decay": 0.998634, "it_s": 1.45, "data_frac": 0.476, "fm": 0.01122551191598177, "consistency": 0.004357435395941138, "loss": 0.015582947358489037}
168
+ {"event": "train", "step": 6650, "lr": 5.125650477216688e-05, "backbone_lr": 5.125650477216688e-05, "ema_decay": 0.998642, "it_s": 2.49, "data_frac": 0.096, "fm": 0.010945365279912949, "consistency": 0.004320055106654763, "loss": 0.015265420395880937}
169
+ {"event": "train", "step": 6700, "lr": 5.062830199416764e-05, "backbone_lr": 5.062830199416764e-05, "ema_decay": 0.99865, "it_s": 2.78, "data_frac": 0.001, "fm": 0.011359141655266285, "consistency": 0.004339463151991367, "loss": 0.015698604751378298}
170
+ {"event": "train", "step": 6750, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998657, "it_s": 1.08, "data_frac": 0.59, "fm": 0.011136784739792347, "consistency": 0.004322463376447558, "loss": 0.015459248013794422}
171
+ HB_INLOOP flash step 6750: a15v3/train10 nMSE 0.3192 (body_target 0.5139 hands 0.2395) on 362 queries, 2.5 s
172
+ {"event": "train", "step": 6800, "lr": 4.9371698005832365e-05, "backbone_lr": 4.9371698005832365e-05, "ema_decay": 0.998664, "it_s": 1.6, "data_frac": 0.269, "fm": 0.011099996622651815, "consistency": 0.004310928899794817, "loss": 0.015410925578325987}
173
+ {"event": "train", "step": 6850, "lr": 4.874349522783313e-05, "backbone_lr": 4.874349522783313e-05, "ema_decay": 0.998672, "it_s": 1.3, "data_frac": 0.492, "fm": 0.010876274686306715, "consistency": 0.004250062750652432, "loss": 0.015126337427645922}
174
+ {"event": "train", "step": 6900, "lr": 4.811549086650327e-05, "backbone_lr": 4.811549086650327e-05, "ema_decay": 0.998679, "it_s": 1.04, "data_frac": 0.613, "fm": 0.011083136014640331, "consistency": 0.00432194815017283, "loss": 0.015405084248632192}
175
+ {"event": "train", "step": 6950, "lr": 4.748778409101153e-05, "backbone_lr": 4.748778409101153e-05, "ema_decay": 0.998686, "it_s": 1.67, "data_frac": 0.319, "fm": 0.010770855080336332, "consistency": 0.004264025520533323, "loss": 0.015034880600869655}
176
+ {"event": "train", "step": 7000, "lr": 4.6860474023534335e-05, "backbone_lr": 4.6860474023534335e-05, "ema_decay": 0.998693, "it_s": 1.68, "data_frac": 0.314, "fm": 0.010838929377496243, "consistency": 0.004218145739287138, "loss": 0.015057075060904026}
177
+ HB_INLOOP flash step 7000: a15v3/train10 nMSE 0.3204 (body_target 0.5116 hands 0.2422) on 362 queries, 2.6 s
178
+ {"event": "train", "step": 7050, "lr": 4.623365972360337e-05, "backbone_lr": 4.623365972360337e-05, "ema_decay": 0.9987, "it_s": 1.9, "data_frac": 0.208, "fm": 0.010842827409505843, "consistency": 0.0042220322974026205, "loss": 0.015064859800040721}
179
+ {"event": "train", "step": 7100, "lr": 4.560744017246284e-05, "backbone_lr": 4.560744017246284e-05, "ema_decay": 0.998707, "it_s": 0.92, "data_frac": 0.635, "fm": 0.010747075211256743, "consistency": 0.004198473272845149, "loss": 0.01494554840028286}
180
+ {"event": "train", "step": 7150, "lr": 4.498191425743925e-05, "backbone_lr": 4.498191425743925e-05, "ema_decay": 0.998714, "it_s": 1.53, "data_frac": 0.377, "fm": 0.010917620174586773, "consistency": 0.004233524361625314, "loss": 0.015151144601404667}
181
+ {"event": "train", "step": 7200, "lr": 4.435718075632592e-05, "backbone_lr": 4.435718075632592e-05, "ema_decay": 0.99872, "it_s": 1.8, "data_frac": 0.318, "fm": 0.010662097968161106, "consistency": 0.004197817295789719, "loss": 0.014859915189445018}
182
+ {"event": "train", "step": 7250, "lr": 4.373333832178478e-05, "backbone_lr": 4.373333832178478e-05, "ema_decay": 0.998727, "it_s": 1.22, "data_frac": 0.526, "fm": 0.010473183132708072, "consistency": 0.004129965696483851, "loss": 0.014603148847818374}
183
+ HB_INLOOP flash step 7250: a15v3/train10 nMSE 0.3221 (body_target 0.5110 hands 0.2449) on 362 queries, 2.5 s
184
+ {"event": "train", "step": 7300, "lr": 4.31104854657681e-05, "backbone_lr": 4.31104854657681e-05, "ema_decay": 0.998734, "it_s": 1.68, "data_frac": 0.235, "fm": 0.01044535668566823, "consistency": 0.004198011197149754, "loss": 0.014643367975950242}
185
+ {"event": "train", "step": 7350, "lr": 4.2488720543962146e-05, "backbone_lr": 4.2488720543962146e-05, "ema_decay": 0.99874, "it_s": 1.3, "data_frac": 0.466, "fm": 0.010376368965953588, "consistency": 0.0041315841302275655, "loss": 0.014507953133434058}
186
+ {"event": "train", "step": 7400, "lr": 4.1868141740255823e-05, "backbone_lr": 4.1868141740255823e-05, "ema_decay": 0.998747, "it_s": 1.29, "data_frac": 0.521, "fm": 0.010410563442856074, "consistency": 0.004155807443894446, "loss": 0.014566370919346809}
187
+ {"event": "train", "step": 7450, "lr": 4.1248847051236195e-05, "backbone_lr": 4.1248847051236195e-05, "ema_decay": 0.998753, "it_s": 1.69, "data_frac": 0.275, "fm": 0.01054233767092228, "consistency": 0.004142841352149844, "loss": 0.014685179013758898}
188
+ {"event": "train", "step": 7500, "lr": 4.063093427071376e-05, "backbone_lr": 4.063093427071376e-05, "ema_decay": 0.998759, "it_s": 1.67, "data_frac": 0.332, "fm": 0.010552179794758558, "consistency": 0.00409800395835191, "loss": 0.014650183785706759}
189
+ HB_INLOOP flash step 7500: a15v3/train10 nMSE 0.3242 (body_target 0.5107 hands 0.2479) on 362 queries, 2.5 s
190
+ {"event": "train", "step": 7550, "lr": 4.001450097427966e-05, "backbone_lr": 4.001450097427966e-05, "ema_decay": 0.998765, "it_s": 1.83, "data_frac": 0.236, "fm": 0.010447286535054445, "consistency": 0.004074387056753039, "loss": 0.014521673545241356}
191
+ {"event": "train", "step": 7600, "lr": 3.939964450389728e-05, "backbone_lr": 3.939964450389728e-05, "ema_decay": 0.998771, "it_s": 1.16, "data_frac": 0.544, "fm": 0.010457922201603652, "consistency": 0.004086093730293215, "loss": 0.014544016029685736}
192
+ {"event": "train", "step": 7650, "lr": 3.878646195253095e-05, "backbone_lr": 3.878646195253095e-05, "ema_decay": 0.998777, "it_s": 1.35, "data_frac": 0.456, "fm": 0.010166529305279256, "consistency": 0.004056766685098409, "loss": 0.014223296046257019}
193
+ {"event": "train", "step": 7700, "lr": 3.817505014881378e-05, "backbone_lr": 3.817505014881378e-05, "ema_decay": 0.998783, "it_s": 1.79, "data_frac": 0.312, "fm": 0.01044277498498559, "consistency": 0.004070057268254459, "loss": 0.014512832183390856}
194
+ {"event": "train", "step": 7750, "lr": 3.756550564175727e-05, "backbone_lr": 3.756550564175727e-05, "ema_decay": 0.998789, "it_s": 1.1, "data_frac": 0.598, "fm": 0.010280543677508832, "consistency": 0.003997817835770547, "loss": 0.014278361592441797}
195
+ HB_INLOOP flash step 7750: a15v3/train10 nMSE 0.3259 (body_target 0.5100 hands 0.2506) on 362 queries, 1.5 s
196
+ {"event": "train", "step": 7800, "lr": 3.6957924685505167e-05, "backbone_lr": 3.6957924685505167e-05, "ema_decay": 0.998795, "it_s": 2.04, "data_frac": 0.133, "fm": 0.01019124649465084, "consistency": 0.004038320775143802, "loss": 0.014229567274451255}
197
+ {"event": "train", "step": 7850, "lr": 3.635240322413374e-05, "backbone_lr": 3.635240322413374e-05, "ema_decay": 0.998801, "it_s": 1.29, "data_frac": 0.48, "fm": 0.01009311132133007, "consistency": 0.003990376004949212, "loss": 0.014083487261086703}
198
+ {"event": "train", "step": 7900, "lr": 3.5749036876501194e-05, "backbone_lr": 3.5749036876501194e-05, "ema_decay": 0.998807, "it_s": 1.06, "data_frac": 0.617, "fm": 0.010215326771140098, "consistency": 0.004009308675304055, "loss": 0.014224635511636734}
199
+ {"event": "train", "step": 7950, "lr": 3.5147920921148267e-05, "backbone_lr": 3.5147920921148267e-05, "ema_decay": 0.998812, "it_s": 2.27, "data_frac": 0.134, "fm": 0.010049565434455872, "consistency": 0.00399588234256953, "loss": 0.014045447800308466}
200
+ {"event": "train", "step": 8000, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998818, "it_s": 1.66, "data_frac": 0.323, "fm": 0.009917020555585623, "consistency": 0.003970483113080263, "loss": 0.01388750370591879}
201
+ HB_INLOOP flash step 8000: a15v3/train10 nMSE 0.3283 (body_target 0.5121 hands 0.2532) on 362 queries, 2.8 s
202
+ {"event": "train", "step": 8050, "lr": 3.3952819509639534e-05, "backbone_lr": 3.3952819509639534e-05, "ema_decay": 0.998823, "it_s": 1.89, "data_frac": 0.185, "fm": 0.009919929038733243, "consistency": 0.003971521547064185, "loss": 0.013891450501978398}
203
+ {"event": "train", "step": 8100, "lr": 3.335902277385067e-05, "backbone_lr": 3.335902277385067e-05, "ema_decay": 0.998829, "it_s": 1.03, "data_frac": 0.6, "fm": 0.009899026043713092, "consistency": 0.003940110648982227, "loss": 0.01383913666009903}
204
+ {"event": "train", "step": 8150, "lr": 3.276785384127415e-05, "backbone_lr": 3.276785384127415e-05, "ema_decay": 0.998834, "it_s": 1.63, "data_frac": 0.318, "fm": 0.009822935573756695, "consistency": 0.003942125770263374, "loss": 0.013765061274170876}
205
+ {"event": "train", "step": 8200, "lr": 3.217940606433747e-05, "backbone_lr": 3.217940606433747e-05, "ema_decay": 0.998839, "it_s": 1.79, "data_frac": 0.306, "fm": 0.009961620215326547, "consistency": 0.003960176017135382, "loss": 0.013921796213835477}
206
+ {"event": "train", "step": 8250, "lr": 3.1593772365766105e-05, "backbone_lr": 3.1593772365766105e-05, "ema_decay": 0.998845, "it_s": 1.07, "data_frac": 0.603, "fm": 0.00992880379781127, "consistency": 0.003949453351087868, "loss": 0.013878257162868977}
207
+ HB_INLOOP flash step 8250: a15v3/train10 nMSE 0.3305 (body_target 0.5143 hands 0.2554) on 362 queries, 2.5 s
208
+ {"event": "train", "step": 8300, "lr": 3.101104522390995e-05, "backbone_lr": 3.101104522390995e-05, "ema_decay": 0.99885, "it_s": 1.79, "data_frac": 0.199, "fm": 0.009774790052324534, "consistency": 0.0039015680784359576, "loss": 0.01367635814473033}
209
+ {"event": "train", "step": 8350, "lr": 3.043131665813988e-05, "backbone_lr": 3.043131665813988e-05, "ema_decay": 0.998855, "it_s": 2.06, "data_frac": 0.179, "fm": 0.009911047760397196, "consistency": 0.0039051110530272126, "loss": 0.013816158808767796}
210
+ {"event": "train", "step": 8400, "lr": 2.9854678214316873e-05, "backbone_lr": 2.9854678214316873e-05, "ema_decay": 0.99886, "it_s": 1.9, "data_frac": 0.316, "fm": 0.009918823512271047, "consistency": 0.00389564769808203, "loss": 0.013814471252262593}
211
+ {"event": "train", "step": 8450, "lr": 2.9281220950335796e-05, "backbone_lr": 2.9281220950335796e-05, "ema_decay": 0.998865, "it_s": 0.84, "data_frac": 0.663, "fm": 0.009595510736107826, "consistency": 0.003862413070164621, "loss": 0.013457923773676156}
212
+ {"event": "train", "step": 8500, "lr": 2.8711035421746367e-05, "backbone_lr": 2.8711035421746367e-05, "ema_decay": 0.99887, "it_s": 2.16, "data_frac": 0.171, "fm": 0.009735569953918458, "consistency": 0.0038868846697732804, "loss": 0.013622454702854156}
213
+ HB_INLOOP flash step 8500: a15v3/train10 nMSE 0.3320 (body_target 0.5144 hands 0.2573) on 362 queries, 2.5 s
214
+ {"event": "train", "step": 8550, "lr": 2.8144211667453368e-05, "backbone_lr": 2.8144211667453368e-05, "ema_decay": 0.998875, "it_s": 1.88, "data_frac": 0.206, "fm": 0.009504859931766987, "consistency": 0.003874084260314703, "loss": 0.013378944229334593}
215
+ {"event": "train", "step": 8600, "lr": 2.7580839195498398e-05, "backbone_lr": 2.7580839195498398e-05, "ema_decay": 0.99888, "it_s": 1.03, "data_frac": 0.605, "fm": 0.009642775617539883, "consistency": 0.00390643862541765, "loss": 0.013549214247614145}
216
+ {"event": "train", "step": 8650, "lr": 2.702100696892561e-05, "backbone_lr": 2.702100696892561e-05, "ema_decay": 0.998885, "it_s": 1.44, "data_frac": 0.421, "fm": 0.009632602613419295, "consistency": 0.003889092723838985, "loss": 0.013521695304661989}
217
+ {"event": "train", "step": 8700, "lr": 2.6464803391733374e-05, "backbone_lr": 2.6464803391733374e-05, "ema_decay": 0.99889, "it_s": 1.95, "data_frac": 0.252, "fm": 0.00968717023730278, "consistency": 0.0038432651339098812, "loss": 0.013530435375869274}
218
+ {"event": "train", "step": 8750, "lr": 2.591231629491423e-05, "backbone_lr": 2.591231629491423e-05, "ema_decay": 0.998895, "it_s": 1.02, "data_frac": 0.609, "fm": 0.009564724117517472, "consistency": 0.0038074604095891117, "loss": 0.013372184466570616}
219
+ HB_INLOOP flash step 8750: a15v3/train10 nMSE 0.3337 (body_target 0.5157 hands 0.2593) on 362 queries, 2.5 s
220
+ {"event": "save", "step": 8750, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-008750", "mse": 0.03962617740035057, "mse_row0": 0.06637893617153168, "mse_body_target": 0.02717229723930359, "mse_hands": 0.048400502651929855}
221
+ {"event": "train", "step": 8800, "lr": 2.536363292258543e-05, "backbone_lr": 2.536363292258543e-05, "ema_decay": 0.998899, "it_s": 1.44, "data_frac": 0.001, "fm": 0.009442711006850004, "consistency": 0.003808657256886363, "loss": 0.013251368310302497}
222
+ {"event": "train", "step": 8850, "lr": 2.4818839918211962e-05, "backbone_lr": 2.4818839918211962e-05, "ema_decay": 0.998904, "it_s": 2.06, "data_frac": 0.208, "fm": 0.009580911584198475, "consistency": 0.0038064220687374474, "loss": 0.013387333657592536}
223
+ {"event": "train", "step": 8900, "lr": 2.4278023310924673e-05, "backbone_lr": 2.4278023310924673e-05, "ema_decay": 0.998909, "it_s": 2.22, "data_frac": 0.196, "fm": 0.009409009423106908, "consistency": 0.0038135944632813334, "loss": 0.01322260381653905}
224
+ {"event": "train", "step": 8950, "lr": 2.374126850193521e-05, "backbone_lr": 2.374126850193521e-05, "ema_decay": 0.998913, "it_s": 0.84, "data_frac": 0.657, "fm": 0.009539660923182964, "consistency": 0.003785641985014081, "loss": 0.013325302917510272}
225
+ {"event": "train", "step": 9000, "lr": 2.3208660251050158e-05, "backbone_lr": 2.3208660251050158e-05, "ema_decay": 0.998918, "it_s": 1.71, "data_frac": 0.317, "fm": 0.00943497072905302, "consistency": 0.0037921610847115516, "loss": 0.01322713179513812}
226
+ HB_INLOOP flash step 9000: a15v3/train10 nMSE 0.3357 (body_target 0.5177 hands 0.2613) on 362 queries, 1.6 s
227
+ {"event": "train", "step": 9050, "lr": 2.2680282663286552e-05, "backbone_lr": 2.2680282663286552e-05, "ema_decay": 0.998922, "it_s": 2.54, "data_frac": 0.001, "fm": 0.009451798181980848, "consistency": 0.00375607396941632, "loss": 0.01320787213742733}
228
+ {"event": "train", "step": 9100, "lr": 2.215621917559062e-05, "backbone_lr": 2.215621917559062e-05, "ema_decay": 0.998927, "it_s": 1.02, "data_frac": 0.606, "fm": 0.009483791776001454, "consistency": 0.003753636586479843, "loss": 0.01323742838576436}
229
+ {"event": "train", "step": 9150, "lr": 2.1636552543662186e-05, "backbone_lr": 2.1636552543662186e-05, "ema_decay": 0.998931, "it_s": 1.72, "data_frac": 0.313, "fm": 0.009156031254678964, "consistency": 0.0037651148904114962, "loss": 0.012921146079897881}
230
+ {"event": "train", "step": 9200, "lr": 2.112136482888663e-05, "backbone_lr": 2.112136482888663e-05, "ema_decay": 0.998935, "it_s": 1.51, "data_frac": 0.419, "fm": 0.009297279175370932, "consistency": 0.0037337267957627774, "loss": 0.013031005989760161}
231
+ {"event": "train", "step": 9250, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.99894, "it_s": 1.06, "data_frac": 0.61, "fm": 0.009225772339850663, "consistency": 0.0037172656506299973, "loss": 0.01294303797185421}
232
+ HB_INLOOP flash step 9250: a15v3/train10 nMSE 0.3371 (body_target 0.5188 hands 0.2628) on 362 queries, 2.5 s
233
+ {"event": "train", "step": 9300, "lr": 2.0104750847124075e-05, "backbone_lr": 2.0104750847124075e-05, "ema_decay": 0.998944, "it_s": 1.64, "data_frac": 0.26, "fm": 0.009098704224452376, "consistency": 0.0037147766072303055, "loss": 0.012813480831682681}
234
+ {"event": "train", "step": 9350, "lr": 1.9603485115269744e-05, "backbone_lr": 1.9603485115269744e-05, "ema_decay": 0.998948, "it_s": 1.64, "data_frac": 0.34, "fm": 0.009512188378721476, "consistency": 0.003757659811526537, "loss": 0.013269848208874464}
235
+ {"event": "train", "step": 9400, "lr": 1.910701934548329e-05, "backbone_lr": 1.910701934548329e-05, "ema_decay": 0.998952, "it_s": 1.99, "data_frac": 0.274, "fm": 0.009343270603567362, "consistency": 0.0037437142664566636, "loss": 0.013086984809488058}
236
+ {"event": "train", "step": 9450, "lr": 1.8615431935464982e-05, "backbone_lr": 1.8615431935464982e-05, "ema_decay": 0.998957, "it_s": 0.85, "data_frac": 0.645, "fm": 0.009153386494144797, "consistency": 0.003729000180028379, "loss": 0.01288238661363721}
237
+ {"event": "train", "step": 9500, "lr": 1.8128800512565513e-05, "backbone_lr": 1.8128800512565513e-05, "ema_decay": 0.998961, "it_s": 1.62, "data_frac": 0.304, "fm": 0.009151695054024458, "consistency": 0.0037024170206859707, "loss": 0.012854112051427365}
238
+ HB_INLOOP flash step 9500: a15v3/train10 nMSE 0.3387 (body_target 0.5208 hands 0.2642) on 362 queries, 2.6 s
239
+ {"event": "train", "step": 9550, "lr": 1.76472019215278e-05, "backbone_lr": 1.76472019215278e-05, "ema_decay": 0.998965, "it_s": 1.74, "data_frac": 0.24, "fm": 0.009204994179308415, "consistency": 0.00369086139369756, "loss": 0.012895855568349362}
240
+ {"event": "train", "step": 9600, "lr": 1.7170712212352187e-05, "backbone_lr": 1.7170712212352187e-05, "ema_decay": 0.998969, "it_s": 1.04, "data_frac": 0.608, "fm": 0.009092554161325097, "consistency": 0.003698094068095088, "loss": 0.012790648248046637}
241
+ {"event": "train", "step": 9650, "lr": 1.669940662828742e-05, "backbone_lr": 1.669940662828742e-05, "ema_decay": 0.998973, "it_s": 1.67, "data_frac": 0.333, "fm": 0.009144834177568555, "consistency": 0.003705907859839499, "loss": 0.012850742023438215}
242
+ {"event": "train", "step": 9700, "lr": 1.6233359593948777e-05, "backbone_lr": 1.6233359593948777e-05, "ema_decay": 0.998977, "it_s": 1.26, "data_frac": 0.497, "fm": 0.009104213947430252, "consistency": 0.00365060823969543, "loss": 0.01275482214987278}
243
+ {"event": "train", "step": 9750, "lr": 1.5772644703565565e-05, "backbone_lr": 1.5772644703565565e-05, "ema_decay": 0.998981, "it_s": 1.08, "data_frac": 0.602, "fm": 0.009211867675185203, "consistency": 0.0036623363988474013, "loss": 0.012874204088002444}
244
+ HB_INLOOP flash step 9750: a15v3/train10 nMSE 0.3399 (body_target 0.5214 hands 0.2656) on 362 queries, 2.8 s
245
+ {"event": "train", "step": 9800, "lr": 1.531733470935976e-05, "backbone_lr": 1.531733470935976e-05, "ema_decay": 0.998985, "it_s": 1.7, "data_frac": 0.222, "fm": 0.008889032965525985, "consistency": 0.0036519408738240598, "loss": 0.012540973834693431}
246
+ {"event": "train", "step": 9850, "lr": 1.4867501510057546e-05, "backbone_lr": 1.4867501510057546e-05, "ema_decay": 0.998989, "it_s": 1.61, "data_frac": 0.356, "fm": 0.009104458456858993, "consistency": 0.003683703849092126, "loss": 0.012788162250071764}
247
+ {"event": "train", "step": 9900, "lr": 1.4423216139535734e-05, "backbone_lr": 1.4423216139535734e-05, "ema_decay": 0.998992, "it_s": 1.84, "data_frac": 0.318, "fm": 0.008921068627387285, "consistency": 0.0036910546058788896, "loss": 0.012612123265862465}
248
+ {"event": "train", "step": 9950, "lr": 1.3984548755604654e-05, "backbone_lr": 1.3984548755604654e-05, "ema_decay": 0.998996, "it_s": 1.19, "data_frac": 0.535, "fm": 0.008885713126510382, "consistency": 0.003645374560728669, "loss": 0.012531087640672922}
249
+ {"event": "train", "step": 10000, "lr": 1.3551568628929434e-05, "backbone_lr": 1.3551568628929434e-05, "ema_decay": 0.999, "it_s": 1.2, "data_frac": 0.498, "fm": 0.008974658055230976, "consistency": 0.0036602454259991647, "loss": 0.012634903490543366}
250
+ HB_INLOOP flash step 10000: a15v3/train10 nMSE 0.3410 (body_target 0.5219 hands 0.2670) on 362 queries, 2.5 s
251
+ {"event": "train", "step": 10050, "lr": 1.312434413209131e-05, "backbone_lr": 1.312434413209131e-05, "ema_decay": 0.999004, "it_s": 1.78, "data_frac": 0.219, "fm": 0.009050496714189648, "consistency": 0.0036513040121644736, "loss": 0.012701800763607026}
252
+ {"event": "train", "step": 10100, "lr": 1.2702942728790895e-05, "backbone_lr": 1.2702942728790895e-05, "ema_decay": 0.999007, "it_s": 1.25, "data_frac": 0.517, "fm": 0.008748694099485874, "consistency": 0.0036344390409067274, "loss": 0.01238313313573599}
253
+ {"event": "train", "step": 10150, "lr": 1.2287430963194807e-05, "backbone_lr": 1.2287430963194807e-05, "ema_decay": 0.999011, "it_s": 1.68, "data_frac": 0.317, "fm": 0.008966757925227284, "consistency": 0.0036311845248565076, "loss": 0.012597942482680083}
254
+ {"event": "train", "step": 10200, "lr": 1.18778744494276e-05, "backbone_lr": 1.18778744494276e-05, "ema_decay": 0.999015, "it_s": 1.49, "data_frac": 0.346, "fm": 0.008900452088564634, "consistency": 0.0036142714926972984, "loss": 0.012514723520725966}
255
+ {"event": "train", "step": 10250, "lr": 1.1474337861210543e-05, "backbone_lr": 1.1474337861210543e-05, "ema_decay": 0.999018, "it_s": 1.08, "data_frac": 0.614, "fm": 0.008777056867256761, "consistency": 0.0036310580000281333, "loss": 0.01240811487659812}
256
+ HB_INLOOP flash step 10250: a15v3/train10 nMSE 0.3419 (body_target 0.5223 hands 0.2681) on 362 queries, 1.4 s
257
+ {"event": "train", "step": 10300, "lr": 1.1076884921648834e-05, "backbone_lr": 1.1076884921648834e-05, "ema_decay": 0.999022, "it_s": 1.75, "data_frac": 0.228, "fm": 0.008768941769376397, "consistency": 0.003625351246446371, "loss": 0.012394293006509542}
258
+ {"event": "train", "step": 10350, "lr": 1.0685578393169055e-05, "backbone_lr": 1.0685578393169055e-05, "ema_decay": 0.999025, "it_s": 1.64, "data_frac": 0.346, "fm": 0.008794879633933305, "consistency": 0.003605772187002003, "loss": 0.012400651834905147}
259
+ {"event": "train", "step": 10400, "lr": 1.0300480067608231e-05, "backbone_lr": 1.0300480067608231e-05, "ema_decay": 0.999029, "it_s": 1.86, "data_frac": 0.308, "fm": 0.008828445421531796, "consistency": 0.0035969378240406514, "loss": 0.012425383236259222}
260
+ {"event": "train", "step": 10450, "lr": 9.921650756456164e-06, "backbone_lr": 9.921650756456164e-06, "ema_decay": 0.999032, "it_s": 1.12, "data_frac": 0.572, "fm": 0.00877395928837359, "consistency": 0.0036036815121769906, "loss": 0.012377640772610903}
261
+ {"event": "train", "step": 10500, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.999036, "it_s": 1.36, "data_frac": 0.441, "fm": 0.008846126860007644, "consistency": 0.003585483361966908, "loss": 0.012431610226631164}
262
+ HB_INLOOP flash step 10500: a15v3/train10 nMSE 0.3430 (body_target 0.5238 hands 0.2691) on 362 queries, 3.2 s
263
+ {"event": "train", "step": 10550, "lr": 9.183037464140804e-06, "backbone_lr": 9.183037464140804e-06, "ema_decay": 0.999039, "it_s": 1.77, "data_frac": 0.164, "fm": 0.00869794875383377, "consistency": 0.0035874143755063414, "loss": 0.01228536307811737}
264
+ {"event": "train", "step": 10600, "lr": 8.823370118578628e-06, "backbone_lr": 8.823370118578628e-06, "ema_decay": 0.999043, "it_s": 1.07, "data_frac": 0.613, "fm": 0.008451054813340306, "consistency": 0.0035670244647189975, "loss": 0.012018079329282045}
265
+ {"event": "train", "step": 10650, "lr": 8.470205040209361e-06, "backbone_lr": 8.470205040209361e-06, "ema_decay": 0.999046, "it_s": 2.16, "data_frac": 0.163, "fm": 0.00868803490884602, "consistency": 0.003567670099437237, "loss": 0.012255705036222935}
266
+ {"event": "train", "step": 10700, "lr": 8.123597997892918e-06, "backbone_lr": 8.123597997892918e-06, "ema_decay": 0.999049, "it_s": 1.63, "data_frac": 0.334, "fm": 0.008648949386551976, "consistency": 0.0035369368037208916, "loss": 0.012185886204242706}
267
+ {"event": "train", "step": 10750, "lr": 7.783603724899257e-06, "backbone_lr": 7.783603724899257e-06, "ema_decay": 0.999053, "it_s": 1.9, "data_frac": 0.317, "fm": 0.008541924450546502, "consistency": 0.0035786914313212037, "loss": 0.012120615895837546}
268
+ HB_INLOOP flash step 10750: a15v3/train10 nMSE 0.3440 (body_target 0.5250 hands 0.2700) on 362 queries, 1.2 s
269
+ {"event": "save", "step": 10750, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-010750", "mse": 0.04126323387026787, "mse_row0": 0.0678560808300972, "mse_body_target": 0.028143523260951042, "mse_hands": 0.05050665885210037}
270
+ {"event": "train", "step": 10800, "lr": 7.450275910265414e-06, "backbone_lr": 7.450275910265414e-06, "ema_decay": 0.999056, "it_s": 0.91, "data_frac": 0.605, "fm": 0.008500883635133506, "consistency": 0.003561234287917614, "loss": 0.012062117978930474}
271
+ {"event": "train", "step": 10850, "lr": 7.123667190317396e-06, "backbone_lr": 7.123667190317396e-06, "ema_decay": 0.999059, "it_s": 1.69, "data_frac": 0.308, "fm": 0.008513545971363784, "consistency": 0.003561866865493357, "loss": 0.012075412776321173}
272
+ {"event": "train", "step": 10900, "lr": 6.803829140358237e-06, "backbone_lr": 6.803829140358237e-06, "ema_decay": 0.999063, "it_s": 1.81, "data_frac": 0.318, "fm": 0.008673803759738802, "consistency": 0.003560114004649222, "loss": 0.012233917862176895}
273
+ {"event": "train", "step": 10950, "lr": 6.490812266523716e-06, "backbone_lr": 6.490812266523716e-06, "ema_decay": 0.999066, "it_s": 1.03, "data_frac": 0.607, "fm": 0.00845331335440278, "consistency": 0.0035508623952046035, "loss": 0.012004175726324319}
274
+ {"event": "train", "step": 11000, "lr": 6.184665997806832e-06, "backbone_lr": 6.184665997806832e-06, "ema_decay": 0.999069, "it_s": 1.92, "data_frac": 0.258, "fm": 0.008531320141628385, "consistency": 0.0035509053757414224, "loss": 0.012082225531339646}
275
+ HB_INLOOP flash step 11000: a15v3/train10 nMSE 0.3453 (body_target 0.5267 hands 0.2711) on 362 queries, 2.5 s
276
+ {"event": "train", "step": 11050, "lr": 5.885438678252342e-06, "backbone_lr": 5.885438678252342e-06, "ema_decay": 0.999072, "it_s": 1.39, "data_frac": 0.388, "fm": 0.008668097406625748, "consistency": 0.003546244413591921, "loss": 0.012214341815561056}
277
+ {"event": "train", "step": 11100, "lr": 5.593177559322777e-06, "backbone_lr": 5.593177559322777e-06, "ema_decay": 0.999075, "it_s": 1.06, "data_frac": 0.6, "fm": 0.008635149691253901, "consistency": 0.0035296457540243864, "loss": 0.012164795473217964}
278
+ {"event": "train", "step": 11150, "lr": 5.307928792436811e-06, "backbone_lr": 5.307928792436811e-06, "ema_decay": 0.999078, "it_s": 1.81, "data_frac": 0.25, "fm": 0.008628664324060082, "consistency": 0.003550106650218368, "loss": 0.012178770937025548}
279
+ {"event": "train", "step": 11200, "lr": 5.029737421681446e-06, "backbone_lr": 5.029737421681446e-06, "ema_decay": 0.999081, "it_s": 1.97, "data_frac": 0.218, "fm": 0.00849317160435021, "consistency": 0.0035196176869794725, "loss": 0.012012789361178874}
280
+ {"event": "train", "step": 11250, "lr": 4.758647376699032e-06, "backbone_lr": 4.758647376699032e-06, "ema_decay": 0.999084, "it_s": 1.82, "data_frac": 0.34, "fm": 0.008538448587059974, "consistency": 0.0035380746610462668, "loss": 0.01207652322947979}
281
+ HB_INLOOP flash step 11250: a15v3/train10 nMSE 0.3465 (body_target 0.5281 hands 0.2722) on 362 queries, 1.2 s
282
+ {"event": "train", "step": 11300, "lr": 4.494701465750217e-06, "backbone_lr": 4.494701465750217e-06, "ema_decay": 0.999088, "it_s": 0.85, "data_frac": 0.644, "fm": 0.008545673619955778, "consistency": 0.0035385510511696337, "loss": 0.012084224708378315}
283
+ {"event": "train", "step": 11350, "lr": 4.237941368954124e-06, "backbone_lr": 4.237941368954124e-06, "ema_decay": 0.999091, "it_s": 2.21, "data_frac": 0.161, "fm": 0.00853232546709478, "consistency": 0.0035252064559608697, "loss": 0.012057531960308551}
284
+ {"event": "train", "step": 11400, "lr": 3.9884076317064814e-06, "backbone_lr": 3.9884076317064814e-06, "ema_decay": 0.999094, "it_s": 1.73, "data_frac": 0.341, "fm": 0.00870632030069828, "consistency": 0.00354332122951746, "loss": 0.012249641492962838}
285
+ {"event": "train", "step": 11450, "lr": 3.7461396582771035e-06, "backbone_lr": 3.7461396582771035e-06, "ema_decay": 0.999097, "it_s": 1.05, "data_frac": 0.591, "fm": 0.008420224757865072, "consistency": 0.003502016356214881, "loss": 0.011922241132706403}
286
+ {"event": "train", "step": 11500, "lr": 3.511175705587433e-06, "backbone_lr": 3.511175705587433e-06, "ema_decay": 0.999099, "it_s": 1.64, "data_frac": 0.363, "fm": 0.008654458345845342, "consistency": 0.00352534637786448, "loss": 0.012179804686456918}
287
+ HB_INLOOP flash step 11500: a15v3/train10 nMSE 0.3474 (body_target 0.5295 hands 0.2729) on 362 queries, 1.7 s
288
+ {"event": "train", "step": 11550, "lr": 3.2835528771693992e-06, "backbone_lr": 3.2835528771693992e-06, "ema_decay": 0.999102, "it_s": 1.66, "data_frac": 0.301, "fm": 0.008506109025329351, "consistency": 0.0035218541929498315, "loss": 0.012027963194996119}
289
+ {"event": "train", "step": 11600, "lr": 3.0633071173062967e-06, "backbone_lr": 3.0633071173062967e-06, "ema_decay": 0.999105, "it_s": 1.06, "data_frac": 0.606, "fm": 0.00855411590076983, "consistency": 0.003510766443796456, "loss": 0.012064882311969996}
290
+ {"event": "train", "step": 11650, "lr": 2.850473205356774e-06, "backbone_lr": 2.850473205356774e-06, "ema_decay": 0.999108, "it_s": 1.63, "data_frac": 0.336, "fm": 0.008339229812845588, "consistency": 0.0035014153365045785, "loss": 0.011840645130723715}
291
+ {"event": "train", "step": 11700, "lr": 2.6450847502627884e-06, "backbone_lr": 2.6450847502627884e-06, "ema_decay": 0.999111, "it_s": 1.92, "data_frac": 0.243, "fm": 0.008552833311259746, "consistency": 0.003506447817198932, "loss": 0.012059281133115291}
292
+ {"event": "train", "step": 11750, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999114, "it_s": 2.21, "data_frac": 0.19, "fm": 0.008392753908410669, "consistency": 0.0035239504929631947, "loss": 0.011916704401373863}
293
+ HB_INLOOP flash step 11750: a15v3/train10 nMSE 0.3480 (body_target 0.5305 hands 0.2734) on 362 queries, 1.2 s
294
+ {"event": "train", "step": 11800, "lr": 2.2567727626678527e-06, "backbone_lr": 2.2567727626678527e-06, "ema_decay": 0.999117, "it_s": 0.94, "data_frac": 0.586, "fm": 0.008408340495079755, "consistency": 0.003495509880594909, "loss": 0.011903850343078375}
295
+ {"event": "train", "step": 11850, "lr": 2.0739105491312027e-06, "backbone_lr": 2.0739105491312027e-06, "ema_decay": 0.999119, "it_s": 1.31, "data_frac": 0.471, "fm": 0.008397403163835407, "consistency": 0.003502218741923571, "loss": 0.011899621896445752}
296
+ {"event": "train", "step": 11900, "lr": 1.8986164206957035e-06, "backbone_lr": 1.8986164206957035e-06, "ema_decay": 0.999122, "it_s": 2.51, "data_frac": 0.072, "fm": 0.008382920967414975, "consistency": 0.003506900919601321, "loss": 0.011889821831136942}
297
+ {"event": "train", "step": 11950, "lr": 1.730918058336306e-06, "backbone_lr": 1.730918058336306e-06, "ema_decay": 0.999125, "it_s": 1.05, "data_frac": 0.606, "fm": 0.008385321348905564, "consistency": 0.0035062769846990706, "loss": 0.011891598347574472}
298
+ {"event": "train", "step": 12000, "lr": 1.5708419435684462e-06, "backbone_lr": 1.5708419435684462e-06, "ema_decay": 0.999128, "it_s": 1.67, "data_frac": 0.326, "fm": 0.008337232749909163, "consistency": 0.0034978345036506655, "loss": 0.011835067253559827}
299
+ HB_INLOOP flash step 12000: a15v3/train10 nMSE 0.3488 (body_target 0.5316 hands 0.2741) on 362 queries, 2.5 s
300
+ {"event": "train", "step": 12050, "lr": 1.4184133542663014e-06, "backbone_lr": 1.4184133542663014e-06, "ema_decay": 0.99913, "it_s": 1.52, "data_frac": 0.332, "fm": 0.008336802329868078, "consistency": 0.003475881312042475, "loss": 0.011812683586031198}
301
+ {"event": "train", "step": 12100, "lr": 1.2736563606711382e-06, "backbone_lr": 1.2736563606711382e-06, "ema_decay": 0.999133, "it_s": 1.08, "data_frac": 0.608, "fm": 0.008359269900247455, "consistency": 0.003503544367849827, "loss": 0.011862814277410507}
302
+ {"event": "train", "step": 12150, "lr": 1.136593821590326e-06, "backbone_lr": 1.136593821590326e-06, "ema_decay": 0.999136, "it_s": 1.66, "data_frac": 0.332, "fm": 0.00851551908068359, "consistency": 0.0034736790461465717, "loss": 0.011989198122173549}
303
+ {"event": "train", "step": 12200, "lr": 1.007247380787657e-06, "backbone_lr": 1.007247380787657e-06, "ema_decay": 0.999138, "it_s": 1.59, "data_frac": 0.359, "fm": 0.008524132603779435, "consistency": 0.0034885490126907825, "loss": 0.012012681551277637}
304
+ {"event": "train", "step": 12250, "lr": 8.856374635655695e-07, "backbone_lr": 8.856374635655695e-07, "ema_decay": 0.999141, "it_s": 2.2, "data_frac": 0.195, "fm": 0.008501904038712382, "consistency": 0.003491388885304332, "loss": 0.01199329286813736}
305
+ HB_INLOOP flash step 12250: a15v3/train10 nMSE 0.3493 (body_target 0.5321 hands 0.2745) on 362 queries, 1.2 s
306
+ {"event": "train", "step": 12300, "lr": 7.717832735397335e-07, "backbone_lr": 7.717832735397335e-07, "ema_decay": 0.999144, "it_s": 1.03, "data_frac": 0.573, "fm": 0.008494330197572708, "consistency": 0.003484567725099623, "loss": 0.011978897880762816}
307
+ {"event": "train", "step": 12350, "lr": 6.657027896065982e-07, "backbone_lr": 6.657027896065982e-07, "ema_decay": 0.999146, "it_s": 1.24, "data_frac": 0.478, "fm": 0.00829380989074707, "consistency": 0.003476458853110671, "loss": 0.01177026879042387}
308
+ {"event": "train", "step": 12400, "lr": 5.674127631043025e-07, "backbone_lr": 5.674127631043025e-07, "ema_decay": 0.999149, "it_s": 1.83, "data_frac": 0.282, "fm": 0.008185143359005451, "consistency": 0.0035009400779381396, "loss": 0.011686083432286977}
309
+ {"event": "train", "step": 12450, "lr": 4.769287151674406e-07, "backbone_lr": 4.769287151674406e-07, "ema_decay": 0.999152, "it_s": 1.05, "data_frac": 0.602, "fm": 0.008291670009493829, "consistency": 0.0034790657181292773, "loss": 0.01177073571830988}
310
+ {"event": "train", "step": 12500, "lr": 3.9426493427611177e-07, "backbone_lr": 3.9426493427611177e-07, "ema_decay": 0.999154, "it_s": 1.64, "data_frac": 0.316, "fm": 0.008323982367292046, "consistency": 0.003478873404674232, "loss": 0.011802855767309666}
311
+ HB_INLOOP flash step 12500: a15v3/train10 nMSE 0.3498 (body_target 0.5328 hands 0.2749) on 362 queries, 2.5 s
312
+ {"event": "train", "step": 12550, "lr": 3.1943447399958027e-07, "backbone_lr": 3.1943447399958027e-07, "ema_decay": 0.999157, "it_s": 1.55, "data_frac": 0.298, "fm": 0.008384109754115344, "consistency": 0.003484131428413093, "loss": 0.011868241187185049}
313
+ {"event": "train", "step": 12600, "lr": 2.5244915093499134e-07, "backbone_lr": 2.5244915093499134e-07, "ema_decay": 0.999159, "it_s": 1.96, "data_frac": 0.297, "fm": 0.008379750857129694, "consistency": 0.003488477445207536, "loss": 0.011868228297680616}
314
+ {"event": "train", "step": 12650, "lr": 1.9331954284137476e-07, "backbone_lr": 1.9331954284137476e-07, "ema_decay": 0.999162, "it_s": 0.83, "data_frac": 0.662, "fm": 0.008414854174479841, "consistency": 0.0034655677666887643, "loss": 0.011880421899259091}
315
+ {"event": "train", "step": 12700, "lr": 1.420549869693033e-07, "backbone_lr": 1.420549869693033e-07, "ema_decay": 0.999164, "it_s": 1.57, "data_frac": 0.374, "fm": 0.008322510458528996, "consistency": 0.003460870264098048, "loss": 0.011783380713313817}
316
+ {"event": "train", "step": 12750, "lr": 9.866357858642205e-08, "backbone_lr": 9.866357858642205e-08, "ema_decay": 0.999167, "it_s": 1.95, "data_frac": 0.262, "fm": 0.008382398951798677, "consistency": 0.0034950364008545873, "loss": 0.01187743540853262}
317
+ HB_INLOOP flash step 12750: a15v3/train10 nMSE 0.3501 (body_target 0.5333 hands 0.2752) on 362 queries, 1.2 s
318
+ {"event": "train", "step": 12800, "lr": 6.315216969912663e-08, "backbone_lr": 6.315216969912663e-08, "ema_decay": 0.999169, "it_s": 1.02, "data_frac": 0.582, "fm": 0.00834270941093564, "consistency": 0.003505850029177964, "loss": 0.01184855941683054}
319
+ {"event": "train", "step": 12850, "lr": 3.5526367970539765e-08, "backbone_lr": 3.5526367970539765e-08, "ema_decay": 0.999171, "it_s": 1.25, "data_frac": 0.497, "fm": 0.008168719531968236, "consistency": 0.0034658385533839465, "loss": 0.01163455804809928}
320
+ {"event": "train", "step": 12900, "lr": 1.5790535835003008e-08, "backbone_lr": 1.5790535835003008e-08, "ema_decay": 0.999174, "it_s": 1.73, "data_frac": 0.317, "fm": 0.008420335771515965, "consistency": 0.0034929935820400713, "loss": 0.011913329474627971}
321
+ {"event": "train", "step": 12950, "lr": 3.947789809194414e-09, "backbone_lr": 3.947789809194414e-09, "ema_decay": 0.999176, "it_s": 1.13, "data_frac": 0.58, "fm": 0.008181246658787132, "consistency": 0.003463854594156146, "loss": 0.011645101252943277}
322
+ {"event": "train", "step": 13000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999179, "it_s": 1.62, "data_frac": 0.332, "fm": 0.008250977415591478, "consistency": 0.003488825005479157, "loss": 0.011739802341908216}
323
+ HB_INLOOP flash step 13000: a15v3/train10 nMSE 0.3505 (body_target 0.5338 hands 0.2755) on 362 queries, 2.5 s
324
+ {"event": "save", "step": 13000, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-013000", "mse": 0.042158715426921844, "mse_row0": 0.06858505308628082, "mse_body_target": 0.02875266782939434, "mse_hands": 0.051603883504867554}
325
+ {"event": "done", "step": 13000, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/final"}
326
+ [W1130 12:09:52.664785428 AllocatorConfig.cpp:28] Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator())
a15-hitting-nail/b512-f0-s13000/step-013000/training_records/train_log.jsonl ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"event": "train", "step": 50, "lr": 1e-05, "backbone_lr": 1e-05, "ema_decay": 0.946005, "it_s": 0.8, "data_frac": 0.584, "fm": 1.4045343565940858, "consistency": 1.4181381559371948, "loss": 2.8226724886894226}
2
+ {"event": "train", "step": 100, "lr": 2e-05, "backbone_lr": 2e-05, "ema_decay": 0.968138, "it_s": 1.64, "data_frac": 0.297, "fm": 0.380472794175148, "consistency": 0.38244552552700045, "loss": 0.7629183220863343}
3
+ {"event": "train", "step": 150, "lr": 3e-05, "backbone_lr": 3e-05, "ema_decay": 0.976552, "it_s": 1.89, "data_frac": 0.292, "fm": 0.3022507405281067, "consistency": 0.30228362560272215, "loss": 0.6045343685150146}
4
+ {"event": "train", "step": 200, "lr": 4e-05, "backbone_lr": 4e-05, "ema_decay": 0.981126, "it_s": 1.1, "data_frac": 0.572, "fm": 0.2939749044179916, "consistency": 0.29373229324817657, "loss": 0.5877072024345398}
5
+ {"event": "train", "step": 250, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.984047, "it_s": 1.27, "data_frac": 0.486, "fm": 0.2911659163236618, "consistency": 0.2906891793012619, "loss": 0.5818550968170166}
6
+ {"event": "train", "step": 300, "lr": 6e-05, "backbone_lr": 6e-05, "ema_decay": 0.986093, "it_s": 1.72, "data_frac": 0.002, "fm": 0.2874288809299469, "consistency": 0.28653676390647886, "loss": 0.5739656472206116}
7
+ {"event": "train", "step": 350, "lr": 7e-05, "backbone_lr": 7e-05, "ema_decay": 0.987615, "it_s": 1.16, "data_frac": 0.553, "fm": 0.27886093854904176, "consistency": 0.2766989713907242, "loss": 0.5555599093437195}
8
+ {"event": "train", "step": 400, "lr": 8e-05, "backbone_lr": 8e-05, "ema_decay": 0.988799, "it_s": 1.66, "data_frac": 0.299, "fm": 0.2507617703080177, "consistency": 0.24280118077993393, "loss": 0.49356294751167296}
9
+ {"event": "train", "step": 450, "lr": 9e-05, "backbone_lr": 9e-05, "ema_decay": 0.989748, "it_s": 1.72, "data_frac": 0.314, "fm": 0.180871761739254, "consistency": 0.16075094401836396, "loss": 0.34162270605564116}
10
+ {"event": "train", "step": 500, "lr": 0.0001, "backbone_lr": 0.0001, "ema_decay": 0.990528, "it_s": 1.87, "data_frac": 0.326, "fm": 0.1133886794745922, "consistency": 0.08445648729801178, "loss": 0.19784516602754593}
11
+ {"event": "train", "step": 550, "lr": 9.999605221019081e-05, "backbone_lr": 9.999605221019081e-05, "ema_decay": 0.991183, "it_s": 0.99, "data_frac": 0.582, "fm": 0.08420490592718125, "consistency": 0.05270832039415836, "loss": 0.13691322550177573}
12
+ {"event": "train", "step": 600, "lr": 9.9984209464165e-05, "backbone_lr": 9.9984209464165e-05, "ema_decay": 0.991741, "it_s": 1.65, "data_frac": 0.315, "fm": 0.07192657589912414, "consistency": 0.04143932186067104, "loss": 0.113365897834301}
13
+ {"event": "train", "step": 650, "lr": 9.996447363202946e-05, "backbone_lr": 9.996447363202946e-05, "ema_decay": 0.992223, "it_s": 1.87, "data_frac": 0.267, "fm": 0.06611485198140145, "consistency": 0.036166691556572914, "loss": 0.10228154420852661}
14
+ {"event": "train", "step": 700, "lr": 9.993684783030088e-05, "backbone_lr": 9.993684783030088e-05, "ema_decay": 0.992644, "it_s": 1.14, "data_frac": 0.561, "fm": 0.06064069002866745, "consistency": 0.03193710409104824, "loss": 0.09257779434323311}
15
+ {"event": "train", "step": 750, "lr": 9.990133642141359e-05, "backbone_lr": 9.990133642141359e-05, "ema_decay": 0.993015, "it_s": 1.93, "data_frac": 0.222, "fm": 0.057037649005651475, "consistency": 0.029513743855059147, "loss": 0.0865513926744461}
16
+ {"event": "train", "step": 800, "lr": 9.98579450130307e-05, "backbone_lr": 9.98579450130307e-05, "ema_decay": 0.993346, "it_s": 1.28, "data_frac": 0.433, "fm": 0.05415491387248039, "consistency": 0.027781886123120783, "loss": 0.08193679958581924}
17
+ {"event": "train", "step": 850, "lr": 9.980668045715864e-05, "backbone_lr": 9.980668045715864e-05, "ema_decay": 0.993642, "it_s": 1.08, "data_frac": 0.602, "fm": 0.05155654601752758, "consistency": 0.026218370869755744, "loss": 0.07777491748332978}
18
+ {"event": "train", "step": 900, "lr": 9.974755084906502e-05, "backbone_lr": 9.974755084906502e-05, "ema_decay": 0.993909, "it_s": 2.07, "data_frac": 0.12, "fm": 0.04952120594680309, "consistency": 0.024745186306536198, "loss": 0.07426639214158058}
19
+ {"event": "train", "step": 950, "lr": 9.968056552600043e-05, "backbone_lr": 9.968056552600043e-05, "ema_decay": 0.994151, "it_s": 1.7, "data_frac": 0.292, "fm": 0.047668300569057465, "consistency": 0.02338965594768524, "loss": 0.0710579563677311}
20
+ {"event": "train", "step": 1000, "lr": 9.96057350657239e-05, "backbone_lr": 9.96057350657239e-05, "ema_decay": 0.994372, "it_s": 1.88, "data_frac": 0.298, "fm": 0.045648361295461654, "consistency": 0.022270198985934256, "loss": 0.06791856050491334}
21
+ {"event": "train", "step": 1050, "lr": 9.952307128483256e-05, "backbone_lr": 9.952307128483256e-05, "ema_decay": 0.994575, "it_s": 0.95, "data_frac": 0.605, "fm": 0.04401235818862915, "consistency": 0.02170380551367998, "loss": 0.06571616336703301}
22
+ {"event": "train", "step": 1100, "lr": 9.94325872368957e-05, "backbone_lr": 9.94325872368957e-05, "ema_decay": 0.994761, "it_s": 1.72, "data_frac": 0.31, "fm": 0.04221164271235466, "consistency": 0.020686086378991605, "loss": 0.06289772845804692}
23
+ {"event": "train", "step": 1150, "lr": 9.93342972103934e-05, "backbone_lr": 9.93342972103934e-05, "ema_decay": 0.994933, "it_s": 1.81, "data_frac": 0.309, "fm": 0.04124541774392128, "consistency": 0.020078003779053687, "loss": 0.061323422193527224}
24
+ {"event": "train", "step": 1200, "lr": 9.922821672646027e-05, "backbone_lr": 9.922821672646027e-05, "ema_decay": 0.995092, "it_s": 1.02, "data_frac": 0.616, "fm": 0.04007752679288387, "consistency": 0.01956342753022909, "loss": 0.05964095398783684}
25
+ {"event": "train", "step": 1250, "lr": 9.911436253643445e-05, "backbone_lr": 9.911436253643445e-05, "ema_decay": 0.99524, "it_s": 1.96, "data_frac": 0.247, "fm": 0.03825567312538624, "consistency": 0.01880317222326994, "loss": 0.057058845311403275}
26
+ {"event": "train", "step": 1300, "lr": 9.899275261921234e-05, "backbone_lr": 9.899275261921234e-05, "ema_decay": 0.995378, "it_s": 1.44, "data_frac": 0.354, "fm": 0.03765014290809631, "consistency": 0.01834570210427046, "loss": 0.05599584482610226}
27
+ {"event": "train", "step": 1350, "lr": 9.886340617840968e-05, "backbone_lr": 9.886340617840968e-05, "ema_decay": 0.995507, "it_s": 1.07, "data_frac": 0.603, "fm": 0.03632387652993202, "consistency": 0.017680249996483325, "loss": 0.054004126638174055}
28
+ {"event": "train", "step": 1400, "lr": 9.872634363932887e-05, "backbone_lr": 9.872634363932887e-05, "ema_decay": 0.995628, "it_s": 1.65, "data_frac": 0.329, "fm": 0.035869796276092526, "consistency": 0.017427545189857483, "loss": 0.05329734154045582}
29
+ {"event": "train", "step": 1450, "lr": 9.85815866457337e-05, "backbone_lr": 9.85815866457337e-05, "ema_decay": 0.995742, "it_s": 2.25, "data_frac": 0.129, "fm": 0.035275962203741074, "consistency": 0.016885716244578363, "loss": 0.05216167844831943}
30
+ {"event": "train", "step": 1500, "lr": 9.842915805643155e-05, "backbone_lr": 9.842915805643155e-05, "ema_decay": 0.995849, "it_s": 1.84, "data_frac": 0.322, "fm": 0.03378477048128843, "consistency": 0.016546660922467708, "loss": 0.05033143140375614}
31
+ {"event": "train", "step": 1550, "lr": 9.82690819416637e-05, "backbone_lr": 9.82690819416637e-05, "ema_decay": 0.99595, "it_s": 0.99, "data_frac": 0.592, "fm": 0.03323357418179512, "consistency": 0.016303563509136438, "loss": 0.04953713782131672}
32
+ {"event": "train", "step": 1600, "lr": 9.81013835793043e-05, "backbone_lr": 9.81013835793043e-05, "ema_decay": 0.996045, "it_s": 1.51, "data_frac": 0.399, "fm": 0.03300262819975615, "consistency": 0.015867578499019146, "loss": 0.04887020662426948}
33
+ {"event": "train", "step": 1650, "lr": 9.79260894508688e-05, "backbone_lr": 9.79260894508688e-05, "ema_decay": 0.996136, "it_s": 1.98, "data_frac": 0.235, "fm": 0.03143055193126201, "consistency": 0.01519532673060894, "loss": 0.04662587895989418}
34
+ {"event": "train", "step": 1700, "lr": 9.774322723733216e-05, "backbone_lr": 9.774322723733216e-05, "ema_decay": 0.996221, "it_s": 1.05, "data_frac": 0.599, "fm": 0.03077555201947689, "consistency": 0.014808716662228107, "loss": 0.04558426856994629}
35
+ {"event": "train", "step": 1750, "lr": 9.755282581475769e-05, "backbone_lr": 9.755282581475769e-05, "ema_decay": 0.996303, "it_s": 1.66, "data_frac": 0.329, "fm": 0.030004241280257703, "consistency": 0.0144853575527668, "loss": 0.04448959901928902}
36
+ {"event": "train", "step": 1800, "lr": 9.735491524973722e-05, "backbone_lr": 9.735491524973722e-05, "ema_decay": 0.99638, "it_s": 1.87, "data_frac": 0.171, "fm": 0.029645826779305936, "consistency": 0.014299343321472407, "loss": 0.043945170044898986}
37
+ {"event": "train", "step": 1850, "lr": 9.714952679464323e-05, "backbone_lr": 9.714952679464323e-05, "ema_decay": 0.996454, "it_s": 0.98, "data_frac": 0.647, "fm": 0.02906195368617773, "consistency": 0.013858232665807008, "loss": 0.04292018629610538}
38
+ {"event": "train", "step": 1900, "lr": 9.693669288269372e-05, "backbone_lr": 9.693669288269372e-05, "ema_decay": 0.996524, "it_s": 1.63, "data_frac": 0.284, "fm": 0.028237135000526905, "consistency": 0.013736977390944958, "loss": 0.04197411194443703}
39
+ {"event": "train", "step": 1950, "lr": 9.671644712283061e-05, "backbone_lr": 9.671644712283061e-05, "ema_decay": 0.996591, "it_s": 1.72, "data_frac": 0.285, "fm": 0.028064942099153996, "consistency": 0.013412029836326838, "loss": 0.04147697180509567}
40
+ {"event": "train", "step": 2000, "lr": 9.648882429441257e-05, "backbone_lr": 9.648882429441257e-05, "ema_decay": 0.996655, "it_s": 2.42, "data_frac": 0.129, "fm": 0.0278887003287673, "consistency": 0.01301099855452776, "loss": 0.040899698734283445}
41
+ {"event": "train", "step": 2050, "lr": 9.62538603417229e-05, "backbone_lr": 9.62538603417229e-05, "ema_decay": 0.996716, "it_s": 1.01, "data_frac": 0.577, "fm": 0.02709456380456686, "consistency": 0.012908003013581037, "loss": 0.04000256665050984}
42
+ {"event": "train", "step": 2100, "lr": 9.601159236829352e-05, "backbone_lr": 9.601159236829352e-05, "ema_decay": 0.996775, "it_s": 1.24, "data_frac": 0.448, "fm": 0.026839908063411713, "consistency": 0.012744352277368308, "loss": 0.03958426035940647}
43
+ {"event": "train", "step": 2150, "lr": 9.576205863104588e-05, "backbone_lr": 9.576205863104588e-05, "ema_decay": 0.996832, "it_s": 2.07, "data_frac": 0.208, "fm": 0.02590492743998766, "consistency": 0.01241051722317934, "loss": 0.038315444663167}
44
+ {"event": "train", "step": 2200, "lr": 9.550529853424979e-05, "backbone_lr": 9.550529853424979e-05, "ema_decay": 0.996886, "it_s": 1.04, "data_frac": 0.6, "fm": 0.025691642016172408, "consistency": 0.012210584841668606, "loss": 0.03790222682058811}
45
+ {"event": "train", "step": 2250, "lr": 9.524135262330098e-05, "backbone_lr": 9.524135262330098e-05, "ema_decay": 0.996938, "it_s": 1.7, "data_frac": 0.305, "fm": 0.02509343285113573, "consistency": 0.011974803283810615, "loss": 0.03706823602318764}
46
+ {"event": "save", "step": 2250, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-002250", "mse": 0.0561232827603817, "mse_row0": 0.07109543681144714, "mse_body_target": 0.029942577704787254, "mse_hands": 0.07456879317760468}
47
+ {"event": "train", "step": 2300, "lr": 9.497026257831855e-05, "backbone_lr": 9.497026257831855e-05, "ema_decay": 0.996988, "it_s": 1.45, "data_frac": 0.001, "fm": 0.02477634284645319, "consistency": 0.011935446131974458, "loss": 0.036711788848042486}
48
+ {"event": "train", "step": 2350, "lr": 9.46920712075632e-05, "backbone_lr": 9.46920712075632e-05, "ema_decay": 0.997036, "it_s": 1.91, "data_frac": 0.31, "fm": 0.02475857950747013, "consistency": 0.011628342550247908, "loss": 0.036386922001838684}
49
+ {"event": "train", "step": 2400, "lr": 9.440682244067724e-05, "backbone_lr": 9.440682244067724e-05, "ema_decay": 0.997083, "it_s": 0.83, "data_frac": 0.667, "fm": 0.024213390462100505, "consistency": 0.011391492206603288, "loss": 0.035604882687330246}
50
+ {"event": "train", "step": 2450, "lr": 9.411456132174767e-05, "backbone_lr": 9.411456132174767e-05, "ema_decay": 0.997128, "it_s": 1.58, "data_frac": 0.369, "fm": 0.023950029388070105, "consistency": 0.011171950809657574, "loss": 0.03512198023498058}
51
+ {"event": "train", "step": 2500, "lr": 9.381533400219318e-05, "backbone_lr": 9.381533400219318e-05, "ema_decay": 0.997171, "it_s": 1.96, "data_frac": 0.224, "fm": 0.02333369553089142, "consistency": 0.010785680543631316, "loss": 0.03411937609314918}
52
+ {"event": "train", "step": 2550, "lr": 9.35091877334763e-05, "backbone_lr": 9.35091877334763e-05, "ema_decay": 0.997212, "it_s": 1.06, "data_frac": 0.561, "fm": 0.02333252727985382, "consistency": 0.010535535365343095, "loss": 0.03386806279420853}
53
+ {"event": "train", "step": 2600, "lr": 9.319617085964176e-05, "backbone_lr": 9.319617085964176e-05, "ema_decay": 0.997253, "it_s": 1.66, "data_frac": 0.336, "fm": 0.022957849614322186, "consistency": 0.01007568359375, "loss": 0.03303353305906057}
54
+ {"event": "train", "step": 2650, "lr": 9.287633280968261e-05, "backbone_lr": 9.287633280968261e-05, "ema_decay": 0.997292, "it_s": 1.26, "data_frac": 0.502, "fm": 0.022663911916315557, "consistency": 0.009742633104324341, "loss": 0.0324065450578928}
55
+ {"event": "train", "step": 2700, "lr": 9.254972408973461e-05, "backbone_lr": 9.254972408973461e-05, "ema_decay": 0.997329, "it_s": 1.2, "data_frac": 0.56, "fm": 0.022155253067612648, "consistency": 0.009679982122033835, "loss": 0.031835235357284546}
56
+ {"event": "train", "step": 2750, "lr": 9.221639627510076e-05, "backbone_lr": 9.221639627510076e-05, "ema_decay": 0.997366, "it_s": 1.64, "data_frac": 0.345, "fm": 0.021475336328148843, "consistency": 0.009383170083165169, "loss": 0.03085850637406111}
57
+ {"event": "train", "step": 2800, "lr": 9.18764020021071e-05, "backbone_lr": 9.18764020021071e-05, "ema_decay": 0.997401, "it_s": 1.63, "data_frac": 0.258, "fm": 0.021436816528439522, "consistency": 0.009150214288383722, "loss": 0.0305870308727026}
58
+ {"event": "train", "step": 2850, "lr": 9.152979495979063e-05, "backbone_lr": 9.152979495979063e-05, "ema_decay": 0.997436, "it_s": 1.9, "data_frac": 0.312, "fm": 0.020990780740976333, "consistency": 0.008839521966874599, "loss": 0.029830302707850934}
59
+ {"event": "train", "step": 2900, "lr": 9.117662988142138e-05, "backbone_lr": 9.117662988142138e-05, "ema_decay": 0.997469, "it_s": 0.98, "data_frac": 0.596, "fm": 0.020772498585283756, "consistency": 0.008690270483493806, "loss": 0.029462768957018853}
60
+ {"event": "train", "step": 2950, "lr": 9.081696253585921e-05, "backbone_lr": 9.081696253585921e-05, "ema_decay": 0.997501, "it_s": 1.68, "data_frac": 0.316, "fm": 0.02027932904660702, "consistency": 0.008435484003275633, "loss": 0.028714812882244586}
61
+ {"event": "train", "step": 3000, "lr": 9.045084971874738e-05, "backbone_lr": 9.045084971874738e-05, "ema_decay": 0.997532, "it_s": 1.8, "data_frac": 0.313, "fm": 0.020032922625541686, "consistency": 0.00842636415734887, "loss": 0.028459286727011205}
62
+ {"event": "train", "step": 3050, "lr": 9.007834924354383e-05, "backbone_lr": 9.007834924354383e-05, "ema_decay": 0.997563, "it_s": 1.19, "data_frac": 0.516, "fm": 0.019523705206811428, "consistency": 0.008117884155362845, "loss": 0.02764158934354782}
63
+ {"event": "train", "step": 3100, "lr": 8.969951993239177e-05, "backbone_lr": 8.969951993239177e-05, "ema_decay": 0.997592, "it_s": 1.78, "data_frac": 0.241, "fm": 0.019606641307473183, "consistency": 0.008025615951046347, "loss": 0.02763225734233856}
64
+ {"event": "train", "step": 3150, "lr": 8.931442160683094e-05, "backbone_lr": 8.931442160683094e-05, "ema_decay": 0.997621, "it_s": 1.32, "data_frac": 0.421, "fm": 0.0189486363902688, "consistency": 0.007878263918682933, "loss": 0.026826900243759156}
65
+ {"event": "train", "step": 3200, "lr": 8.892311507835119e-05, "backbone_lr": 8.892311507835119e-05, "ema_decay": 0.997649, "it_s": 1.13, "data_frac": 0.594, "fm": 0.01884758234024048, "consistency": 0.007771072806790471, "loss": 0.026618655174970626}
66
+ {"event": "train", "step": 3250, "lr": 8.852566213878947e-05, "backbone_lr": 8.852566213878947e-05, "ema_decay": 0.997676, "it_s": 2.03, "data_frac": 0.219, "fm": 0.018815939500927924, "consistency": 0.007602266194298863, "loss": 0.026418205797672272}
67
+ {"event": "train", "step": 3300, "lr": 8.81221255505724e-05, "backbone_lr": 8.81221255505724e-05, "ema_decay": 0.997703, "it_s": 1.67, "data_frac": 0.246, "fm": 0.018478350602090358, "consistency": 0.0074580124206840995, "loss": 0.025936363078653813}
68
+ {"event": "train", "step": 3350, "lr": 8.771256903680519e-05, "backbone_lr": 8.771256903680519e-05, "ema_decay": 0.997728, "it_s": 1.87, "data_frac": 0.298, "fm": 0.01836075000464916, "consistency": 0.007598238540813327, "loss": 0.025958988554775714}
69
+ {"event": "train", "step": 3400, "lr": 8.729705727120911e-05, "backbone_lr": 8.729705727120911e-05, "ema_decay": 0.997754, "it_s": 1.03, "data_frac": 0.604, "fm": 0.018244464062154294, "consistency": 0.0073327666427940134, "loss": 0.02557723071426153}
70
+ {"event": "train", "step": 3450, "lr": 8.68756558679087e-05, "backbone_lr": 8.68756558679087e-05, "ema_decay": 0.997778, "it_s": 1.6, "data_frac": 0.345, "fm": 0.017801435384899377, "consistency": 0.007217159634456039, "loss": 0.02501859501004219}
71
+ {"event": "train", "step": 3500, "lr": 8.644843137107059e-05, "backbone_lr": 8.644843137107059e-05, "ema_decay": 0.997802, "it_s": 1.78, "data_frac": 0.297, "fm": 0.01800879243761301, "consistency": 0.0073161301575601105, "loss": 0.025324922651052476}
72
+ {"event": "train", "step": 3550, "lr": 8.601545124439535e-05, "backbone_lr": 8.601545124439535e-05, "ema_decay": 0.997825, "it_s": 0.98, "data_frac": 0.584, "fm": 0.01775493074208498, "consistency": 0.007051331456750631, "loss": 0.024806262142956257}
73
+ {"event": "train", "step": 3600, "lr": 8.557678386046428e-05, "backbone_lr": 8.557678386046428e-05, "ema_decay": 0.997848, "it_s": 2.05, "data_frac": 0.164, "fm": 0.01714523484930396, "consistency": 0.0069977269414812325, "loss": 0.02414296168833971}
74
+ {"event": "train", "step": 3650, "lr": 8.513249848994246e-05, "backbone_lr": 8.513249848994246e-05, "ema_decay": 0.99787, "it_s": 1.49, "data_frac": 0.402, "fm": 0.017330606263130904, "consistency": 0.006964093334972859, "loss": 0.024294699542224407}
75
+ {"event": "train", "step": 3700, "lr": 8.468266529064025e-05, "backbone_lr": 8.468266529064025e-05, "ema_decay": 0.997892, "it_s": 1.07, "data_frac": 0.611, "fm": 0.017006768211722374, "consistency": 0.006878872634842992, "loss": 0.023885640725493432}
76
+ {"event": "train", "step": 3750, "lr": 8.422735529643444e-05, "backbone_lr": 8.422735529643444e-05, "ema_decay": 0.997913, "it_s": 1.77, "data_frac": 0.258, "fm": 0.016895389333367348, "consistency": 0.006736034750938416, "loss": 0.023631424084305762}
77
+ {"event": "train", "step": 3800, "lr": 8.376664040605122e-05, "backbone_lr": 8.376664040605122e-05, "ema_decay": 0.997933, "it_s": 2.14, "data_frac": 0.108, "fm": 0.01662426732480526, "consistency": 0.006702738674357533, "loss": 0.02332700591534376}
78
+ {"event": "train", "step": 3850, "lr": 8.330059337171258e-05, "backbone_lr": 8.330059337171258e-05, "ema_decay": 0.997954, "it_s": 1.81, "data_frac": 0.327, "fm": 0.016501213870942593, "consistency": 0.006650340678170323, "loss": 0.023151554614305497}
79
+ {"event": "train", "step": 3900, "lr": 8.282928778764783e-05, "backbone_lr": 8.282928778764783e-05, "ema_decay": 0.997973, "it_s": 1.0, "data_frac": 0.606, "fm": 0.016522262562066316, "consistency": 0.00651439405977726, "loss": 0.02303665652871132}
80
+ {"event": "train", "step": 3950, "lr": 8.235279807847223e-05, "backbone_lr": 8.235279807847223e-05, "ema_decay": 0.997993, "it_s": 1.53, "data_frac": 0.407, "fm": 0.016152735874056814, "consistency": 0.006390741653740406, "loss": 0.022543477639555932}
81
+ {"event": "train", "step": 4000, "lr": 8.18711994874345e-05, "backbone_lr": 8.18711994874345e-05, "ema_decay": 0.998011, "it_s": 1.96, "data_frac": 0.24, "fm": 0.01575359096750617, "consistency": 0.006233001528307795, "loss": 0.02198659248650074}
82
+ {"event": "train", "step": 4050, "lr": 8.138456806453503e-05, "backbone_lr": 8.138456806453503e-05, "ema_decay": 0.99803, "it_s": 1.02, "data_frac": 0.576, "fm": 0.015968194846063852, "consistency": 0.006238019447773695, "loss": 0.022206214405596256}
83
+ {"event": "train", "step": 4100, "lr": 8.089298065451672e-05, "backbone_lr": 8.089298065451672e-05, "ema_decay": 0.998048, "it_s": 1.76, "data_frac": 0.297, "fm": 0.015637709517031907, "consistency": 0.006090425243601203, "loss": 0.021728134714066982}
84
+ {"event": "train", "step": 4150, "lr": 8.039651488473028e-05, "backbone_lr": 8.039651488473028e-05, "ema_decay": 0.998066, "it_s": 1.82, "data_frac": 0.304, "fm": 0.015488232523202895, "consistency": 0.006050225691869855, "loss": 0.02153845828026533}
85
+ {"event": "train", "step": 4200, "lr": 7.989524915287595e-05, "backbone_lr": 7.989524915287595e-05, "ema_decay": 0.998083, "it_s": 2.23, "data_frac": 0.188, "fm": 0.01521305613219738, "consistency": 0.005985008599236607, "loss": 0.021198064759373664}
86
+ {"event": "train", "step": 4250, "lr": 7.938926261462366e-05, "backbone_lr": 7.938926261462366e-05, "ema_decay": 0.9981, "it_s": 0.85, "data_frac": 0.655, "fm": 0.015138197652995587, "consistency": 0.005949734328314662, "loss": 0.021087931990623473}
87
+ {"event": "save", "step": 4250, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-004250", "mse": 0.038092948496341705, "mse_row0": 0.06099572405219078, "mse_body_target": 0.024966474622488022, "mse_hands": 0.047341156750917435}
88
+ {"event": "train", "step": 4300, "lr": 7.887863517111338e-05, "backbone_lr": 7.887863517111338e-05, "ema_decay": 0.998116, "it_s": 1.43, "data_frac": 0.005, "fm": 0.015033750850707293, "consistency": 0.005920477602630854, "loss": 0.020954228267073632}
89
+ {"event": "train", "step": 4350, "lr": 7.836344745633783e-05, "backbone_lr": 7.836344745633783e-05, "ema_decay": 0.998133, "it_s": 2.46, "data_frac": 0.113, "fm": 0.015203844085335731, "consistency": 0.0059540980681777, "loss": 0.021157942228019238}
90
+ {"event": "train", "step": 4400, "lr": 7.784378082440941e-05, "backbone_lr": 7.784378082440941e-05, "ema_decay": 0.998149, "it_s": 1.0, "data_frac": 0.601, "fm": 0.015117624178528785, "consistency": 0.005932116210460663, "loss": 0.02104974038898945}
91
+ {"event": "train", "step": 4450, "lr": 7.731971733671346e-05, "backbone_lr": 7.731971733671346e-05, "ema_decay": 0.998164, "it_s": 1.24, "data_frac": 0.491, "fm": 0.014921934902667999, "consistency": 0.005767050236463547, "loss": 0.020688985139131547}
92
+ {"event": "train", "step": 4500, "lr": 7.679133974894983e-05, "backbone_lr": 7.679133974894983e-05, "ema_decay": 0.99818, "it_s": 2.04, "data_frac": 0.201, "fm": 0.014443308729678393, "consistency": 0.005620986158028245, "loss": 0.020064294897019865}
93
+ {"event": "train", "step": 4550, "lr": 7.62587314980648e-05, "backbone_lr": 7.62587314980648e-05, "ema_decay": 0.998195, "it_s": 1.01, "data_frac": 0.589, "fm": 0.014505211375653743, "consistency": 0.0056450052931904795, "loss": 0.020150216706097127}
94
+ {"event": "train", "step": 4600, "lr": 7.572197668907532e-05, "backbone_lr": 7.572197668907532e-05, "ema_decay": 0.998209, "it_s": 1.69, "data_frac": 0.309, "fm": 0.014420034270733595, "consistency": 0.005560947563499213, "loss": 0.019980981759727002}
95
+ {"event": "train", "step": 4650, "lr": 7.518116008178805e-05, "backbone_lr": 7.518116008178805e-05, "ema_decay": 0.998224, "it_s": 1.66, "data_frac": 0.329, "fm": 0.01440247928723693, "consistency": 0.00562364200130105, "loss": 0.020026121214032175}
96
+ {"event": "train", "step": 4700, "lr": 7.463636707741458e-05, "backbone_lr": 7.463636707741458e-05, "ema_decay": 0.998238, "it_s": 1.93, "data_frac": 0.305, "fm": 0.014134363122284412, "consistency": 0.0054661040846258405, "loss": 0.019600467197597025}
97
+ {"event": "train", "step": 4750, "lr": 7.408768370508576e-05, "backbone_lr": 7.408768370508576e-05, "ema_decay": 0.998252, "it_s": 0.84, "data_frac": 0.657, "fm": 0.01401788430288434, "consistency": 0.005478109130635857, "loss": 0.019495993331074716}
98
+ {"event": "train", "step": 4800, "lr": 7.353519660826665e-05, "backbone_lr": 7.353519660826665e-05, "ema_decay": 0.998266, "it_s": 1.66, "data_frac": 0.233, "fm": 0.014035457838326692, "consistency": 0.00547563754953444, "loss": 0.019511095359921456}
99
+ {"event": "train", "step": 4850, "lr": 7.297899303107441e-05, "backbone_lr": 7.297899303107441e-05, "ema_decay": 0.998279, "it_s": 1.78, "data_frac": 0.307, "fm": 0.014083767868578434, "consistency": 0.005392699176445604, "loss": 0.019476466998457908}
100
+ {"event": "train", "step": 4900, "lr": 7.241916080450163e-05, "backbone_lr": 7.241916080450163e-05, "ema_decay": 0.998292, "it_s": 1.08, "data_frac": 0.572, "fm": 0.013664364665746689, "consistency": 0.0053301980532705785, "loss": 0.018994562663137912}
101
+ {"event": "train", "step": 4950, "lr": 7.185578833254664e-05, "backbone_lr": 7.185578833254664e-05, "ema_decay": 0.998305, "it_s": 1.61, "data_frac": 0.324, "fm": 0.013913126345723868, "consistency": 0.0053382364846766, "loss": 0.019251362830400468}
102
+ {"event": "train", "step": 5000, "lr": 7.128896457825364e-05, "backbone_lr": 7.128896457825364e-05, "ema_decay": 0.998318, "it_s": 1.34, "data_frac": 0.462, "fm": 0.013480818588286638, "consistency": 0.005174460364505648, "loss": 0.01865527894347906}
103
+ {"event": "train", "step": 5050, "lr": 7.071877904966423e-05, "backbone_lr": 7.071877904966423e-05, "ema_decay": 0.99833, "it_s": 1.12, "data_frac": 0.552, "fm": 0.013462545219808816, "consistency": 0.005157893169671297, "loss": 0.01862043846398592}
104
+ {"event": "train", "step": 5100, "lr": 7.014532178568314e-05, "backbone_lr": 7.014532178568314e-05, "ema_decay": 0.998343, "it_s": 1.68, "data_frac": 0.325, "fm": 0.013413503635674714, "consistency": 0.005179981468245387, "loss": 0.018593485094606878}
105
+ {"event": "train", "step": 5150, "lr": 6.956868334186013e-05, "backbone_lr": 6.956868334186013e-05, "ema_decay": 0.998355, "it_s": 1.66, "data_frac": 0.335, "fm": 0.013518099747598171, "consistency": 0.00512555823661387, "loss": 0.01864365804940462}
106
+ {"event": "train", "step": 5200, "lr": 6.898895477609007e-05, "backbone_lr": 6.898895477609007e-05, "ema_decay": 0.998367, "it_s": 1.76, "data_frac": 0.342, "fm": 0.01318148173391819, "consistency": 0.0050274819042533635, "loss": 0.01820896375924349}
107
+ {"event": "train", "step": 5250, "lr": 6.840622763423391e-05, "backbone_lr": 6.840622763423391e-05, "ema_decay": 0.998378, "it_s": 0.99, "data_frac": 0.592, "fm": 0.013254475481808185, "consistency": 0.005054243952035904, "loss": 0.01830871932208538}
108
+ {"event": "train", "step": 5300, "lr": 6.782059393566253e-05, "backbone_lr": 6.782059393566253e-05, "ema_decay": 0.99839, "it_s": 1.61, "data_frac": 0.271, "fm": 0.013313662465661765, "consistency": 0.005127714099362492, "loss": 0.01844137653708458}
109
+ {"event": "train", "step": 5350, "lr": 6.723214615872585e-05, "backbone_lr": 6.723214615872585e-05, "ema_decay": 0.998401, "it_s": 1.8, "data_frac": 0.304, "fm": 0.013019434344023466, "consistency": 0.004950850792229175, "loss": 0.017970285154879095}
110
+ {"event": "train", "step": 5400, "lr": 6.664097722614934e-05, "backbone_lr": 6.664097722614934e-05, "ema_decay": 0.998412, "it_s": 1.13, "data_frac": 0.555, "fm": 0.012822845205664634, "consistency": 0.00506268079392612, "loss": 0.01788552597165108}
111
+ {"event": "train", "step": 5450, "lr": 6.604718049036048e-05, "backbone_lr": 6.604718049036048e-05, "ema_decay": 0.998423, "it_s": 1.67, "data_frac": 0.254, "fm": 0.013131323847919702, "consistency": 0.00495770875364542, "loss": 0.01808903265744448}
112
+ {"event": "train", "step": 5500, "lr": 6.545084971874738e-05, "backbone_lr": 6.545084971874738e-05, "ema_decay": 0.998434, "it_s": 1.35, "data_frac": 0.465, "fm": 0.012553489897400141, "consistency": 0.004855875801295042, "loss": 0.01740936569869518}
113
+ {"event": "train", "step": 5550, "lr": 6.485207907885175e-05, "backbone_lr": 6.485207907885175e-05, "ema_decay": 0.998445, "it_s": 1.16, "data_frac": 0.549, "fm": 0.012526869364082814, "consistency": 0.004834210593253374, "loss": 0.01736107997596264}
114
+ {"event": "train", "step": 5600, "lr": 6.42509631234988e-05, "backbone_lr": 6.42509631234988e-05, "ema_decay": 0.998455, "it_s": 1.87, "data_frac": 0.21, "fm": 0.012930282969027757, "consistency": 0.004843950774520636, "loss": 0.017774233780801296}
115
+ {"event": "train", "step": 5650, "lr": 6.364759677586627e-05, "backbone_lr": 6.364759677586627e-05, "ema_decay": 0.998465, "it_s": 1.69, "data_frac": 0.268, "fm": 0.012736266944557428, "consistency": 0.004826493458822369, "loss": 0.01756276059895754}
116
+ {"event": "train", "step": 5700, "lr": 6.304207531449486e-05, "backbone_lr": 6.304207531449486e-05, "ema_decay": 0.998475, "it_s": 1.79, "data_frac": 0.339, "fm": 0.012359720282256603, "consistency": 0.004788641463965178, "loss": 0.017148361559957265}
117
+ {"event": "train", "step": 5750, "lr": 6.243449435824276e-05, "backbone_lr": 6.243449435824276e-05, "ema_decay": 0.998485, "it_s": 1.11, "data_frac": 0.592, "fm": 0.0126029391027987, "consistency": 0.004796980693936348, "loss": 0.017399919889867305}
118
+ {"event": "train", "step": 5800, "lr": 6.182494985118624e-05, "backbone_lr": 6.182494985118624e-05, "ema_decay": 0.998495, "it_s": 1.53, "data_frac": 0.311, "fm": 0.0120783269405365, "consistency": 0.004741819724440575, "loss": 0.016820146683603526}
119
+ {"event": "train", "step": 5850, "lr": 6.121353804746907e-05, "backbone_lr": 6.121353804746907e-05, "ema_decay": 0.998505, "it_s": 1.62, "data_frac": 0.365, "fm": 0.01207740481942892, "consistency": 0.0046625352278351784, "loss": 0.016739940140396356}
120
+ {"event": "train", "step": 5900, "lr": 6.0600355496102745e-05, "backbone_lr": 6.0600355496102745e-05, "ema_decay": 0.998514, "it_s": 1.08, "data_frac": 0.589, "fm": 0.011817757189273834, "consistency": 0.004653873471543193, "loss": 0.01647163074463606}
121
+ {"event": "train", "step": 5950, "lr": 5.9985499025720346e-05, "backbone_lr": 5.9985499025720346e-05, "ema_decay": 0.998524, "it_s": 1.95, "data_frac": 0.237, "fm": 0.012007745709270238, "consistency": 0.004631519643589854, "loss": 0.016639265455305575}
122
+ {"event": "train", "step": 6000, "lr": 5.9369065729286245e-05, "backbone_lr": 5.9369065729286245e-05, "ema_decay": 0.998533, "it_s": 1.81, "data_frac": 0.278, "fm": 0.012169806212186813, "consistency": 0.004681989075616002, "loss": 0.016851795241236686}
123
+ {"event": "train", "step": 6050, "lr": 5.875115294876381e-05, "backbone_lr": 5.875115294876381e-05, "ema_decay": 0.998542, "it_s": 0.88, "data_frac": 0.64, "fm": 0.012301217410713433, "consistency": 0.004742915416136384, "loss": 0.017044132743030786}
124
+ {"event": "train", "step": 6100, "lr": 5.813185825974419e-05, "backbone_lr": 5.813185825974419e-05, "ema_decay": 0.998551, "it_s": 1.84, "data_frac": 0.275, "fm": 0.012111115828156471, "consistency": 0.004556474490091205, "loss": 0.01666759021580219}
125
+ {"event": "train", "step": 6150, "lr": 5.751127945603786e-05, "backbone_lr": 5.751127945603786e-05, "ema_decay": 0.99856, "it_s": 2.0, "data_frac": 0.179, "fm": 0.011676647178828716, "consistency": 0.004543815385550261, "loss": 0.01622046247124672}
126
+ {"event": "train", "step": 6200, "lr": 5.68895145342319e-05, "backbone_lr": 5.68895145342319e-05, "ema_decay": 0.998569, "it_s": 1.88, "data_frac": 0.302, "fm": 0.011448204293847084, "consistency": 0.004543275246396661, "loss": 0.015991479586809874}
127
+ {"event": "train", "step": 6250, "lr": 5.6266661678215216e-05, "backbone_lr": 5.6266661678215216e-05, "ema_decay": 0.998577, "it_s": 1.03, "data_frac": 0.593, "fm": 0.011585517916828394, "consistency": 0.00451591988094151, "loss": 0.01610143769532442}
128
+ {"event": "train", "step": 6300, "lr": 5.564281924367408e-05, "backbone_lr": 5.564281924367408e-05, "ema_decay": 0.998586, "it_s": 1.58, "data_frac": 0.306, "fm": 0.01147446345537901, "consistency": 0.004475174900144339, "loss": 0.015949638448655604}
129
+ {"event": "train", "step": 6350, "lr": 5.5018085742560744e-05, "backbone_lr": 5.5018085742560744e-05, "ema_decay": 0.998594, "it_s": 1.82, "data_frac": 0.286, "fm": 0.011600907426327467, "consistency": 0.004488416165113449, "loss": 0.016089323591440916}
130
+ {"event": "train", "step": 6400, "lr": 5.439255982753717e-05, "backbone_lr": 5.439255982753717e-05, "ema_decay": 0.998602, "it_s": 1.01, "data_frac": 0.613, "fm": 0.011642392780631781, "consistency": 0.0044941279944032434, "loss": 0.01613652067258954}
131
+ {"event": "train", "step": 6450, "lr": 5.3766340276396646e-05, "backbone_lr": 5.3766340276396646e-05, "ema_decay": 0.99861, "it_s": 1.65, "data_frac": 0.291, "fm": 0.011303584203124046, "consistency": 0.004489528797566891, "loss": 0.01579311305657029}
132
+ {"event": "train", "step": 6500, "lr": 5.313952597646568e-05, "backbone_lr": 5.313952597646568e-05, "ema_decay": 0.998618, "it_s": 1.91, "data_frac": 0.282, "fm": 0.011508077457547188, "consistency": 0.004462703326717019, "loss": 0.01597078088670969}
133
+ {"event": "save", "step": 6500, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-006500", "mse": 0.03619362413883209, "mse_row0": 0.06213373690843582, "mse_body_target": 0.025502370670437813, "mse_hands": 0.04372609406709671}
134
+ {"event": "train", "step": 6550, "lr": 5.2512215908988484e-05, "backbone_lr": 5.2512215908988484e-05, "ema_decay": 0.998626, "it_s": 2.47, "data_frac": 0.0, "fm": 0.011503940392285585, "consistency": 0.004386871755123138, "loss": 0.015890812166035176}
135
+ {"event": "train", "step": 6600, "lr": 5.188450913349674e-05, "backbone_lr": 5.188450913349674e-05, "ema_decay": 0.998634, "it_s": 1.45, "data_frac": 0.476, "fm": 0.01122551191598177, "consistency": 0.004357435395941138, "loss": 0.015582947358489037}
136
+ {"event": "train", "step": 6650, "lr": 5.125650477216688e-05, "backbone_lr": 5.125650477216688e-05, "ema_decay": 0.998642, "it_s": 2.49, "data_frac": 0.096, "fm": 0.010945365279912949, "consistency": 0.004320055106654763, "loss": 0.015265420395880937}
137
+ {"event": "train", "step": 6700, "lr": 5.062830199416764e-05, "backbone_lr": 5.062830199416764e-05, "ema_decay": 0.99865, "it_s": 2.78, "data_frac": 0.001, "fm": 0.011359141655266285, "consistency": 0.004339463151991367, "loss": 0.015698604751378298}
138
+ {"event": "train", "step": 6750, "lr": 5e-05, "backbone_lr": 5e-05, "ema_decay": 0.998657, "it_s": 1.08, "data_frac": 0.59, "fm": 0.011136784739792347, "consistency": 0.004322463376447558, "loss": 0.015459248013794422}
139
+ {"event": "train", "step": 6800, "lr": 4.9371698005832365e-05, "backbone_lr": 4.9371698005832365e-05, "ema_decay": 0.998664, "it_s": 1.6, "data_frac": 0.269, "fm": 0.011099996622651815, "consistency": 0.004310928899794817, "loss": 0.015410925578325987}
140
+ {"event": "train", "step": 6850, "lr": 4.874349522783313e-05, "backbone_lr": 4.874349522783313e-05, "ema_decay": 0.998672, "it_s": 1.3, "data_frac": 0.492, "fm": 0.010876274686306715, "consistency": 0.004250062750652432, "loss": 0.015126337427645922}
141
+ {"event": "train", "step": 6900, "lr": 4.811549086650327e-05, "backbone_lr": 4.811549086650327e-05, "ema_decay": 0.998679, "it_s": 1.04, "data_frac": 0.613, "fm": 0.011083136014640331, "consistency": 0.00432194815017283, "loss": 0.015405084248632192}
142
+ {"event": "train", "step": 6950, "lr": 4.748778409101153e-05, "backbone_lr": 4.748778409101153e-05, "ema_decay": 0.998686, "it_s": 1.67, "data_frac": 0.319, "fm": 0.010770855080336332, "consistency": 0.004264025520533323, "loss": 0.015034880600869655}
143
+ {"event": "train", "step": 7000, "lr": 4.6860474023534335e-05, "backbone_lr": 4.6860474023534335e-05, "ema_decay": 0.998693, "it_s": 1.68, "data_frac": 0.314, "fm": 0.010838929377496243, "consistency": 0.004218145739287138, "loss": 0.015057075060904026}
144
+ {"event": "train", "step": 7050, "lr": 4.623365972360337e-05, "backbone_lr": 4.623365972360337e-05, "ema_decay": 0.9987, "it_s": 1.9, "data_frac": 0.208, "fm": 0.010842827409505843, "consistency": 0.0042220322974026205, "loss": 0.015064859800040721}
145
+ {"event": "train", "step": 7100, "lr": 4.560744017246284e-05, "backbone_lr": 4.560744017246284e-05, "ema_decay": 0.998707, "it_s": 0.92, "data_frac": 0.635, "fm": 0.010747075211256743, "consistency": 0.004198473272845149, "loss": 0.01494554840028286}
146
+ {"event": "train", "step": 7150, "lr": 4.498191425743925e-05, "backbone_lr": 4.498191425743925e-05, "ema_decay": 0.998714, "it_s": 1.53, "data_frac": 0.377, "fm": 0.010917620174586773, "consistency": 0.004233524361625314, "loss": 0.015151144601404667}
147
+ {"event": "train", "step": 7200, "lr": 4.435718075632592e-05, "backbone_lr": 4.435718075632592e-05, "ema_decay": 0.99872, "it_s": 1.8, "data_frac": 0.318, "fm": 0.010662097968161106, "consistency": 0.004197817295789719, "loss": 0.014859915189445018}
148
+ {"event": "train", "step": 7250, "lr": 4.373333832178478e-05, "backbone_lr": 4.373333832178478e-05, "ema_decay": 0.998727, "it_s": 1.22, "data_frac": 0.526, "fm": 0.010473183132708072, "consistency": 0.004129965696483851, "loss": 0.014603148847818374}
149
+ {"event": "train", "step": 7300, "lr": 4.31104854657681e-05, "backbone_lr": 4.31104854657681e-05, "ema_decay": 0.998734, "it_s": 1.68, "data_frac": 0.235, "fm": 0.01044535668566823, "consistency": 0.004198011197149754, "loss": 0.014643367975950242}
150
+ {"event": "train", "step": 7350, "lr": 4.2488720543962146e-05, "backbone_lr": 4.2488720543962146e-05, "ema_decay": 0.99874, "it_s": 1.3, "data_frac": 0.466, "fm": 0.010376368965953588, "consistency": 0.0041315841302275655, "loss": 0.014507953133434058}
151
+ {"event": "train", "step": 7400, "lr": 4.1868141740255823e-05, "backbone_lr": 4.1868141740255823e-05, "ema_decay": 0.998747, "it_s": 1.29, "data_frac": 0.521, "fm": 0.010410563442856074, "consistency": 0.004155807443894446, "loss": 0.014566370919346809}
152
+ {"event": "train", "step": 7450, "lr": 4.1248847051236195e-05, "backbone_lr": 4.1248847051236195e-05, "ema_decay": 0.998753, "it_s": 1.69, "data_frac": 0.275, "fm": 0.01054233767092228, "consistency": 0.004142841352149844, "loss": 0.014685179013758898}
153
+ {"event": "train", "step": 7500, "lr": 4.063093427071376e-05, "backbone_lr": 4.063093427071376e-05, "ema_decay": 0.998759, "it_s": 1.67, "data_frac": 0.332, "fm": 0.010552179794758558, "consistency": 0.00409800395835191, "loss": 0.014650183785706759}
154
+ {"event": "train", "step": 7550, "lr": 4.001450097427966e-05, "backbone_lr": 4.001450097427966e-05, "ema_decay": 0.998765, "it_s": 1.83, "data_frac": 0.236, "fm": 0.010447286535054445, "consistency": 0.004074387056753039, "loss": 0.014521673545241356}
155
+ {"event": "train", "step": 7600, "lr": 3.939964450389728e-05, "backbone_lr": 3.939964450389728e-05, "ema_decay": 0.998771, "it_s": 1.16, "data_frac": 0.544, "fm": 0.010457922201603652, "consistency": 0.004086093730293215, "loss": 0.014544016029685736}
156
+ {"event": "train", "step": 7650, "lr": 3.878646195253095e-05, "backbone_lr": 3.878646195253095e-05, "ema_decay": 0.998777, "it_s": 1.35, "data_frac": 0.456, "fm": 0.010166529305279256, "consistency": 0.004056766685098409, "loss": 0.014223296046257019}
157
+ {"event": "train", "step": 7700, "lr": 3.817505014881378e-05, "backbone_lr": 3.817505014881378e-05, "ema_decay": 0.998783, "it_s": 1.79, "data_frac": 0.312, "fm": 0.01044277498498559, "consistency": 0.004070057268254459, "loss": 0.014512832183390856}
158
+ {"event": "train", "step": 7750, "lr": 3.756550564175727e-05, "backbone_lr": 3.756550564175727e-05, "ema_decay": 0.998789, "it_s": 1.1, "data_frac": 0.598, "fm": 0.010280543677508832, "consistency": 0.003997817835770547, "loss": 0.014278361592441797}
159
+ {"event": "train", "step": 7800, "lr": 3.6957924685505167e-05, "backbone_lr": 3.6957924685505167e-05, "ema_decay": 0.998795, "it_s": 2.04, "data_frac": 0.133, "fm": 0.01019124649465084, "consistency": 0.004038320775143802, "loss": 0.014229567274451255}
160
+ {"event": "train", "step": 7850, "lr": 3.635240322413374e-05, "backbone_lr": 3.635240322413374e-05, "ema_decay": 0.998801, "it_s": 1.29, "data_frac": 0.48, "fm": 0.01009311132133007, "consistency": 0.003990376004949212, "loss": 0.014083487261086703}
161
+ {"event": "train", "step": 7900, "lr": 3.5749036876501194e-05, "backbone_lr": 3.5749036876501194e-05, "ema_decay": 0.998807, "it_s": 1.06, "data_frac": 0.617, "fm": 0.010215326771140098, "consistency": 0.004009308675304055, "loss": 0.014224635511636734}
162
+ {"event": "train", "step": 7950, "lr": 3.5147920921148267e-05, "backbone_lr": 3.5147920921148267e-05, "ema_decay": 0.998812, "it_s": 2.27, "data_frac": 0.134, "fm": 0.010049565434455872, "consistency": 0.00399588234256953, "loss": 0.014045447800308466}
163
+ {"event": "train", "step": 8000, "lr": 3.4549150281252636e-05, "backbone_lr": 3.4549150281252636e-05, "ema_decay": 0.998818, "it_s": 1.66, "data_frac": 0.323, "fm": 0.009917020555585623, "consistency": 0.003970483113080263, "loss": 0.01388750370591879}
164
+ {"event": "train", "step": 8050, "lr": 3.3952819509639534e-05, "backbone_lr": 3.3952819509639534e-05, "ema_decay": 0.998823, "it_s": 1.89, "data_frac": 0.185, "fm": 0.009919929038733243, "consistency": 0.003971521547064185, "loss": 0.013891450501978398}
165
+ {"event": "train", "step": 8100, "lr": 3.335902277385067e-05, "backbone_lr": 3.335902277385067e-05, "ema_decay": 0.998829, "it_s": 1.03, "data_frac": 0.6, "fm": 0.009899026043713092, "consistency": 0.003940110648982227, "loss": 0.01383913666009903}
166
+ {"event": "train", "step": 8150, "lr": 3.276785384127415e-05, "backbone_lr": 3.276785384127415e-05, "ema_decay": 0.998834, "it_s": 1.63, "data_frac": 0.318, "fm": 0.009822935573756695, "consistency": 0.003942125770263374, "loss": 0.013765061274170876}
167
+ {"event": "train", "step": 8200, "lr": 3.217940606433747e-05, "backbone_lr": 3.217940606433747e-05, "ema_decay": 0.998839, "it_s": 1.79, "data_frac": 0.306, "fm": 0.009961620215326547, "consistency": 0.003960176017135382, "loss": 0.013921796213835477}
168
+ {"event": "train", "step": 8250, "lr": 3.1593772365766105e-05, "backbone_lr": 3.1593772365766105e-05, "ema_decay": 0.998845, "it_s": 1.07, "data_frac": 0.603, "fm": 0.00992880379781127, "consistency": 0.003949453351087868, "loss": 0.013878257162868977}
169
+ {"event": "train", "step": 8300, "lr": 3.101104522390995e-05, "backbone_lr": 3.101104522390995e-05, "ema_decay": 0.99885, "it_s": 1.79, "data_frac": 0.199, "fm": 0.009774790052324534, "consistency": 0.0039015680784359576, "loss": 0.01367635814473033}
170
+ {"event": "train", "step": 8350, "lr": 3.043131665813988e-05, "backbone_lr": 3.043131665813988e-05, "ema_decay": 0.998855, "it_s": 2.06, "data_frac": 0.179, "fm": 0.009911047760397196, "consistency": 0.0039051110530272126, "loss": 0.013816158808767796}
171
+ {"event": "train", "step": 8400, "lr": 2.9854678214316873e-05, "backbone_lr": 2.9854678214316873e-05, "ema_decay": 0.99886, "it_s": 1.9, "data_frac": 0.316, "fm": 0.009918823512271047, "consistency": 0.00389564769808203, "loss": 0.013814471252262593}
172
+ {"event": "train", "step": 8450, "lr": 2.9281220950335796e-05, "backbone_lr": 2.9281220950335796e-05, "ema_decay": 0.998865, "it_s": 0.84, "data_frac": 0.663, "fm": 0.009595510736107826, "consistency": 0.003862413070164621, "loss": 0.013457923773676156}
173
+ {"event": "train", "step": 8500, "lr": 2.8711035421746367e-05, "backbone_lr": 2.8711035421746367e-05, "ema_decay": 0.99887, "it_s": 2.16, "data_frac": 0.171, "fm": 0.009735569953918458, "consistency": 0.0038868846697732804, "loss": 0.013622454702854156}
174
+ {"event": "train", "step": 8550, "lr": 2.8144211667453368e-05, "backbone_lr": 2.8144211667453368e-05, "ema_decay": 0.998875, "it_s": 1.88, "data_frac": 0.206, "fm": 0.009504859931766987, "consistency": 0.003874084260314703, "loss": 0.013378944229334593}
175
+ {"event": "train", "step": 8600, "lr": 2.7580839195498398e-05, "backbone_lr": 2.7580839195498398e-05, "ema_decay": 0.99888, "it_s": 1.03, "data_frac": 0.605, "fm": 0.009642775617539883, "consistency": 0.00390643862541765, "loss": 0.013549214247614145}
176
+ {"event": "train", "step": 8650, "lr": 2.702100696892561e-05, "backbone_lr": 2.702100696892561e-05, "ema_decay": 0.998885, "it_s": 1.44, "data_frac": 0.421, "fm": 0.009632602613419295, "consistency": 0.003889092723838985, "loss": 0.013521695304661989}
177
+ {"event": "train", "step": 8700, "lr": 2.6464803391733374e-05, "backbone_lr": 2.6464803391733374e-05, "ema_decay": 0.99889, "it_s": 1.95, "data_frac": 0.252, "fm": 0.00968717023730278, "consistency": 0.0038432651339098812, "loss": 0.013530435375869274}
178
+ {"event": "train", "step": 8750, "lr": 2.591231629491423e-05, "backbone_lr": 2.591231629491423e-05, "ema_decay": 0.998895, "it_s": 1.02, "data_frac": 0.609, "fm": 0.009564724117517472, "consistency": 0.0038074604095891117, "loss": 0.013372184466570616}
179
+ {"event": "save", "step": 8750, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-008750", "mse": 0.03962617740035057, "mse_row0": 0.06637893617153168, "mse_body_target": 0.02717229723930359, "mse_hands": 0.048400502651929855}
180
+ {"event": "train", "step": 8800, "lr": 2.536363292258543e-05, "backbone_lr": 2.536363292258543e-05, "ema_decay": 0.998899, "it_s": 1.44, "data_frac": 0.001, "fm": 0.009442711006850004, "consistency": 0.003808657256886363, "loss": 0.013251368310302497}
181
+ {"event": "train", "step": 8850, "lr": 2.4818839918211962e-05, "backbone_lr": 2.4818839918211962e-05, "ema_decay": 0.998904, "it_s": 2.06, "data_frac": 0.208, "fm": 0.009580911584198475, "consistency": 0.0038064220687374474, "loss": 0.013387333657592536}
182
+ {"event": "train", "step": 8900, "lr": 2.4278023310924673e-05, "backbone_lr": 2.4278023310924673e-05, "ema_decay": 0.998909, "it_s": 2.22, "data_frac": 0.196, "fm": 0.009409009423106908, "consistency": 0.0038135944632813334, "loss": 0.01322260381653905}
183
+ {"event": "train", "step": 8950, "lr": 2.374126850193521e-05, "backbone_lr": 2.374126850193521e-05, "ema_decay": 0.998913, "it_s": 0.84, "data_frac": 0.657, "fm": 0.009539660923182964, "consistency": 0.003785641985014081, "loss": 0.013325302917510272}
184
+ {"event": "train", "step": 9000, "lr": 2.3208660251050158e-05, "backbone_lr": 2.3208660251050158e-05, "ema_decay": 0.998918, "it_s": 1.71, "data_frac": 0.317, "fm": 0.00943497072905302, "consistency": 0.0037921610847115516, "loss": 0.01322713179513812}
185
+ {"event": "train", "step": 9050, "lr": 2.2680282663286552e-05, "backbone_lr": 2.2680282663286552e-05, "ema_decay": 0.998922, "it_s": 2.54, "data_frac": 0.001, "fm": 0.009451798181980848, "consistency": 0.00375607396941632, "loss": 0.01320787213742733}
186
+ {"event": "train", "step": 9100, "lr": 2.215621917559062e-05, "backbone_lr": 2.215621917559062e-05, "ema_decay": 0.998927, "it_s": 1.02, "data_frac": 0.606, "fm": 0.009483791776001454, "consistency": 0.003753636586479843, "loss": 0.01323742838576436}
187
+ {"event": "train", "step": 9150, "lr": 2.1636552543662186e-05, "backbone_lr": 2.1636552543662186e-05, "ema_decay": 0.998931, "it_s": 1.72, "data_frac": 0.313, "fm": 0.009156031254678964, "consistency": 0.0037651148904114962, "loss": 0.012921146079897881}
188
+ {"event": "train", "step": 9200, "lr": 2.112136482888663e-05, "backbone_lr": 2.112136482888663e-05, "ema_decay": 0.998935, "it_s": 1.51, "data_frac": 0.419, "fm": 0.009297279175370932, "consistency": 0.0037337267957627774, "loss": 0.013031005989760161}
189
+ {"event": "train", "step": 9250, "lr": 2.061073738537635e-05, "backbone_lr": 2.061073738537635e-05, "ema_decay": 0.99894, "it_s": 1.06, "data_frac": 0.61, "fm": 0.009225772339850663, "consistency": 0.0037172656506299973, "loss": 0.01294303797185421}
190
+ {"event": "train", "step": 9300, "lr": 2.0104750847124075e-05, "backbone_lr": 2.0104750847124075e-05, "ema_decay": 0.998944, "it_s": 1.64, "data_frac": 0.26, "fm": 0.009098704224452376, "consistency": 0.0037147766072303055, "loss": 0.012813480831682681}
191
+ {"event": "train", "step": 9350, "lr": 1.9603485115269744e-05, "backbone_lr": 1.9603485115269744e-05, "ema_decay": 0.998948, "it_s": 1.64, "data_frac": 0.34, "fm": 0.009512188378721476, "consistency": 0.003757659811526537, "loss": 0.013269848208874464}
192
+ {"event": "train", "step": 9400, "lr": 1.910701934548329e-05, "backbone_lr": 1.910701934548329e-05, "ema_decay": 0.998952, "it_s": 1.99, "data_frac": 0.274, "fm": 0.009343270603567362, "consistency": 0.0037437142664566636, "loss": 0.013086984809488058}
193
+ {"event": "train", "step": 9450, "lr": 1.8615431935464982e-05, "backbone_lr": 1.8615431935464982e-05, "ema_decay": 0.998957, "it_s": 0.85, "data_frac": 0.645, "fm": 0.009153386494144797, "consistency": 0.003729000180028379, "loss": 0.01288238661363721}
194
+ {"event": "train", "step": 9500, "lr": 1.8128800512565513e-05, "backbone_lr": 1.8128800512565513e-05, "ema_decay": 0.998961, "it_s": 1.62, "data_frac": 0.304, "fm": 0.009151695054024458, "consistency": 0.0037024170206859707, "loss": 0.012854112051427365}
195
+ {"event": "train", "step": 9550, "lr": 1.76472019215278e-05, "backbone_lr": 1.76472019215278e-05, "ema_decay": 0.998965, "it_s": 1.74, "data_frac": 0.24, "fm": 0.009204994179308415, "consistency": 0.00369086139369756, "loss": 0.012895855568349362}
196
+ {"event": "train", "step": 9600, "lr": 1.7170712212352187e-05, "backbone_lr": 1.7170712212352187e-05, "ema_decay": 0.998969, "it_s": 1.04, "data_frac": 0.608, "fm": 0.009092554161325097, "consistency": 0.003698094068095088, "loss": 0.012790648248046637}
197
+ {"event": "train", "step": 9650, "lr": 1.669940662828742e-05, "backbone_lr": 1.669940662828742e-05, "ema_decay": 0.998973, "it_s": 1.67, "data_frac": 0.333, "fm": 0.009144834177568555, "consistency": 0.003705907859839499, "loss": 0.012850742023438215}
198
+ {"event": "train", "step": 9700, "lr": 1.6233359593948777e-05, "backbone_lr": 1.6233359593948777e-05, "ema_decay": 0.998977, "it_s": 1.26, "data_frac": 0.497, "fm": 0.009104213947430252, "consistency": 0.00365060823969543, "loss": 0.01275482214987278}
199
+ {"event": "train", "step": 9750, "lr": 1.5772644703565565e-05, "backbone_lr": 1.5772644703565565e-05, "ema_decay": 0.998981, "it_s": 1.08, "data_frac": 0.602, "fm": 0.009211867675185203, "consistency": 0.0036623363988474013, "loss": 0.012874204088002444}
200
+ {"event": "train", "step": 9800, "lr": 1.531733470935976e-05, "backbone_lr": 1.531733470935976e-05, "ema_decay": 0.998985, "it_s": 1.7, "data_frac": 0.222, "fm": 0.008889032965525985, "consistency": 0.0036519408738240598, "loss": 0.012540973834693431}
201
+ {"event": "train", "step": 9850, "lr": 1.4867501510057546e-05, "backbone_lr": 1.4867501510057546e-05, "ema_decay": 0.998989, "it_s": 1.61, "data_frac": 0.356, "fm": 0.009104458456858993, "consistency": 0.003683703849092126, "loss": 0.012788162250071764}
202
+ {"event": "train", "step": 9900, "lr": 1.4423216139535734e-05, "backbone_lr": 1.4423216139535734e-05, "ema_decay": 0.998992, "it_s": 1.84, "data_frac": 0.318, "fm": 0.008921068627387285, "consistency": 0.0036910546058788896, "loss": 0.012612123265862465}
203
+ {"event": "train", "step": 9950, "lr": 1.3984548755604654e-05, "backbone_lr": 1.3984548755604654e-05, "ema_decay": 0.998996, "it_s": 1.19, "data_frac": 0.535, "fm": 0.008885713126510382, "consistency": 0.003645374560728669, "loss": 0.012531087640672922}
204
+ {"event": "train", "step": 10000, "lr": 1.3551568628929434e-05, "backbone_lr": 1.3551568628929434e-05, "ema_decay": 0.999, "it_s": 1.2, "data_frac": 0.498, "fm": 0.008974658055230976, "consistency": 0.0036602454259991647, "loss": 0.012634903490543366}
205
+ {"event": "train", "step": 10050, "lr": 1.312434413209131e-05, "backbone_lr": 1.312434413209131e-05, "ema_decay": 0.999004, "it_s": 1.78, "data_frac": 0.219, "fm": 0.009050496714189648, "consistency": 0.0036513040121644736, "loss": 0.012701800763607026}
206
+ {"event": "train", "step": 10100, "lr": 1.2702942728790895e-05, "backbone_lr": 1.2702942728790895e-05, "ema_decay": 0.999007, "it_s": 1.25, "data_frac": 0.517, "fm": 0.008748694099485874, "consistency": 0.0036344390409067274, "loss": 0.01238313313573599}
207
+ {"event": "train", "step": 10150, "lr": 1.2287430963194807e-05, "backbone_lr": 1.2287430963194807e-05, "ema_decay": 0.999011, "it_s": 1.68, "data_frac": 0.317, "fm": 0.008966757925227284, "consistency": 0.0036311845248565076, "loss": 0.012597942482680083}
208
+ {"event": "train", "step": 10200, "lr": 1.18778744494276e-05, "backbone_lr": 1.18778744494276e-05, "ema_decay": 0.999015, "it_s": 1.49, "data_frac": 0.346, "fm": 0.008900452088564634, "consistency": 0.0036142714926972984, "loss": 0.012514723520725966}
209
+ {"event": "train", "step": 10250, "lr": 1.1474337861210543e-05, "backbone_lr": 1.1474337861210543e-05, "ema_decay": 0.999018, "it_s": 1.08, "data_frac": 0.614, "fm": 0.008777056867256761, "consistency": 0.0036310580000281333, "loss": 0.01240811487659812}
210
+ {"event": "train", "step": 10300, "lr": 1.1076884921648834e-05, "backbone_lr": 1.1076884921648834e-05, "ema_decay": 0.999022, "it_s": 1.75, "data_frac": 0.228, "fm": 0.008768941769376397, "consistency": 0.003625351246446371, "loss": 0.012394293006509542}
211
+ {"event": "train", "step": 10350, "lr": 1.0685578393169055e-05, "backbone_lr": 1.0685578393169055e-05, "ema_decay": 0.999025, "it_s": 1.64, "data_frac": 0.346, "fm": 0.008794879633933305, "consistency": 0.003605772187002003, "loss": 0.012400651834905147}
212
+ {"event": "train", "step": 10400, "lr": 1.0300480067608231e-05, "backbone_lr": 1.0300480067608231e-05, "ema_decay": 0.999029, "it_s": 1.86, "data_frac": 0.308, "fm": 0.008828445421531796, "consistency": 0.0035969378240406514, "loss": 0.012425383236259222}
213
+ {"event": "train", "step": 10450, "lr": 9.921650756456164e-06, "backbone_lr": 9.921650756456164e-06, "ema_decay": 0.999032, "it_s": 1.12, "data_frac": 0.572, "fm": 0.00877395928837359, "consistency": 0.0036036815121769906, "loss": 0.012377640772610903}
214
+ {"event": "train", "step": 10500, "lr": 9.549150281252633e-06, "backbone_lr": 9.549150281252633e-06, "ema_decay": 0.999036, "it_s": 1.36, "data_frac": 0.441, "fm": 0.008846126860007644, "consistency": 0.003585483361966908, "loss": 0.012431610226631164}
215
+ {"event": "train", "step": 10550, "lr": 9.183037464140804e-06, "backbone_lr": 9.183037464140804e-06, "ema_decay": 0.999039, "it_s": 1.77, "data_frac": 0.164, "fm": 0.00869794875383377, "consistency": 0.0035874143755063414, "loss": 0.01228536307811737}
216
+ {"event": "train", "step": 10600, "lr": 8.823370118578628e-06, "backbone_lr": 8.823370118578628e-06, "ema_decay": 0.999043, "it_s": 1.07, "data_frac": 0.613, "fm": 0.008451054813340306, "consistency": 0.0035670244647189975, "loss": 0.012018079329282045}
217
+ {"event": "train", "step": 10650, "lr": 8.470205040209361e-06, "backbone_lr": 8.470205040209361e-06, "ema_decay": 0.999046, "it_s": 2.16, "data_frac": 0.163, "fm": 0.00868803490884602, "consistency": 0.003567670099437237, "loss": 0.012255705036222935}
218
+ {"event": "train", "step": 10700, "lr": 8.123597997892918e-06, "backbone_lr": 8.123597997892918e-06, "ema_decay": 0.999049, "it_s": 1.63, "data_frac": 0.334, "fm": 0.008648949386551976, "consistency": 0.0035369368037208916, "loss": 0.012185886204242706}
219
+ {"event": "train", "step": 10750, "lr": 7.783603724899257e-06, "backbone_lr": 7.783603724899257e-06, "ema_decay": 0.999053, "it_s": 1.9, "data_frac": 0.317, "fm": 0.008541924450546502, "consistency": 0.0035786914313212037, "loss": 0.012120615895837546}
220
+ {"event": "save", "step": 10750, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-010750", "mse": 0.04126323387026787, "mse_row0": 0.0678560808300972, "mse_body_target": 0.028143523260951042, "mse_hands": 0.05050665885210037}
221
+ {"event": "train", "step": 10800, "lr": 7.450275910265414e-06, "backbone_lr": 7.450275910265414e-06, "ema_decay": 0.999056, "it_s": 0.91, "data_frac": 0.605, "fm": 0.008500883635133506, "consistency": 0.003561234287917614, "loss": 0.012062117978930474}
222
+ {"event": "train", "step": 10850, "lr": 7.123667190317396e-06, "backbone_lr": 7.123667190317396e-06, "ema_decay": 0.999059, "it_s": 1.69, "data_frac": 0.308, "fm": 0.008513545971363784, "consistency": 0.003561866865493357, "loss": 0.012075412776321173}
223
+ {"event": "train", "step": 10900, "lr": 6.803829140358237e-06, "backbone_lr": 6.803829140358237e-06, "ema_decay": 0.999063, "it_s": 1.81, "data_frac": 0.318, "fm": 0.008673803759738802, "consistency": 0.003560114004649222, "loss": 0.012233917862176895}
224
+ {"event": "train", "step": 10950, "lr": 6.490812266523716e-06, "backbone_lr": 6.490812266523716e-06, "ema_decay": 0.999066, "it_s": 1.03, "data_frac": 0.607, "fm": 0.00845331335440278, "consistency": 0.0035508623952046035, "loss": 0.012004175726324319}
225
+ {"event": "train", "step": 11000, "lr": 6.184665997806832e-06, "backbone_lr": 6.184665997806832e-06, "ema_decay": 0.999069, "it_s": 1.92, "data_frac": 0.258, "fm": 0.008531320141628385, "consistency": 0.0035509053757414224, "loss": 0.012082225531339646}
226
+ {"event": "train", "step": 11050, "lr": 5.885438678252342e-06, "backbone_lr": 5.885438678252342e-06, "ema_decay": 0.999072, "it_s": 1.39, "data_frac": 0.388, "fm": 0.008668097406625748, "consistency": 0.003546244413591921, "loss": 0.012214341815561056}
227
+ {"event": "train", "step": 11100, "lr": 5.593177559322777e-06, "backbone_lr": 5.593177559322777e-06, "ema_decay": 0.999075, "it_s": 1.06, "data_frac": 0.6, "fm": 0.008635149691253901, "consistency": 0.0035296457540243864, "loss": 0.012164795473217964}
228
+ {"event": "train", "step": 11150, "lr": 5.307928792436811e-06, "backbone_lr": 5.307928792436811e-06, "ema_decay": 0.999078, "it_s": 1.81, "data_frac": 0.25, "fm": 0.008628664324060082, "consistency": 0.003550106650218368, "loss": 0.012178770937025548}
229
+ {"event": "train", "step": 11200, "lr": 5.029737421681446e-06, "backbone_lr": 5.029737421681446e-06, "ema_decay": 0.999081, "it_s": 1.97, "data_frac": 0.218, "fm": 0.00849317160435021, "consistency": 0.0035196176869794725, "loss": 0.012012789361178874}
230
+ {"event": "train", "step": 11250, "lr": 4.758647376699032e-06, "backbone_lr": 4.758647376699032e-06, "ema_decay": 0.999084, "it_s": 1.82, "data_frac": 0.34, "fm": 0.008538448587059974, "consistency": 0.0035380746610462668, "loss": 0.01207652322947979}
231
+ {"event": "train", "step": 11300, "lr": 4.494701465750217e-06, "backbone_lr": 4.494701465750217e-06, "ema_decay": 0.999088, "it_s": 0.85, "data_frac": 0.644, "fm": 0.008545673619955778, "consistency": 0.0035385510511696337, "loss": 0.012084224708378315}
232
+ {"event": "train", "step": 11350, "lr": 4.237941368954124e-06, "backbone_lr": 4.237941368954124e-06, "ema_decay": 0.999091, "it_s": 2.21, "data_frac": 0.161, "fm": 0.00853232546709478, "consistency": 0.0035252064559608697, "loss": 0.012057531960308551}
233
+ {"event": "train", "step": 11400, "lr": 3.9884076317064814e-06, "backbone_lr": 3.9884076317064814e-06, "ema_decay": 0.999094, "it_s": 1.73, "data_frac": 0.341, "fm": 0.00870632030069828, "consistency": 0.00354332122951746, "loss": 0.012249641492962838}
234
+ {"event": "train", "step": 11450, "lr": 3.7461396582771035e-06, "backbone_lr": 3.7461396582771035e-06, "ema_decay": 0.999097, "it_s": 1.05, "data_frac": 0.591, "fm": 0.008420224757865072, "consistency": 0.003502016356214881, "loss": 0.011922241132706403}
235
+ {"event": "train", "step": 11500, "lr": 3.511175705587433e-06, "backbone_lr": 3.511175705587433e-06, "ema_decay": 0.999099, "it_s": 1.64, "data_frac": 0.363, "fm": 0.008654458345845342, "consistency": 0.00352534637786448, "loss": 0.012179804686456918}
236
+ {"event": "train", "step": 11550, "lr": 3.2835528771693992e-06, "backbone_lr": 3.2835528771693992e-06, "ema_decay": 0.999102, "it_s": 1.66, "data_frac": 0.301, "fm": 0.008506109025329351, "consistency": 0.0035218541929498315, "loss": 0.012027963194996119}
237
+ {"event": "train", "step": 11600, "lr": 3.0633071173062967e-06, "backbone_lr": 3.0633071173062967e-06, "ema_decay": 0.999105, "it_s": 1.06, "data_frac": 0.606, "fm": 0.00855411590076983, "consistency": 0.003510766443796456, "loss": 0.012064882311969996}
238
+ {"event": "train", "step": 11650, "lr": 2.850473205356774e-06, "backbone_lr": 2.850473205356774e-06, "ema_decay": 0.999108, "it_s": 1.63, "data_frac": 0.336, "fm": 0.008339229812845588, "consistency": 0.0035014153365045785, "loss": 0.011840645130723715}
239
+ {"event": "train", "step": 11700, "lr": 2.6450847502627884e-06, "backbone_lr": 2.6450847502627884e-06, "ema_decay": 0.999111, "it_s": 1.92, "data_frac": 0.243, "fm": 0.008552833311259746, "consistency": 0.003506447817198932, "loss": 0.012059281133115291}
240
+ {"event": "train", "step": 11750, "lr": 2.4471741852423237e-06, "backbone_lr": 2.4471741852423237e-06, "ema_decay": 0.999114, "it_s": 2.21, "data_frac": 0.19, "fm": 0.008392753908410669, "consistency": 0.0035239504929631947, "loss": 0.011916704401373863}
241
+ {"event": "train", "step": 11800, "lr": 2.2567727626678527e-06, "backbone_lr": 2.2567727626678527e-06, "ema_decay": 0.999117, "it_s": 0.94, "data_frac": 0.586, "fm": 0.008408340495079755, "consistency": 0.003495509880594909, "loss": 0.011903850343078375}
242
+ {"event": "train", "step": 11850, "lr": 2.0739105491312027e-06, "backbone_lr": 2.0739105491312027e-06, "ema_decay": 0.999119, "it_s": 1.31, "data_frac": 0.471, "fm": 0.008397403163835407, "consistency": 0.003502218741923571, "loss": 0.011899621896445752}
243
+ {"event": "train", "step": 11900, "lr": 1.8986164206957035e-06, "backbone_lr": 1.8986164206957035e-06, "ema_decay": 0.999122, "it_s": 2.51, "data_frac": 0.072, "fm": 0.008382920967414975, "consistency": 0.003506900919601321, "loss": 0.011889821831136942}
244
+ {"event": "train", "step": 11950, "lr": 1.730918058336306e-06, "backbone_lr": 1.730918058336306e-06, "ema_decay": 0.999125, "it_s": 1.05, "data_frac": 0.606, "fm": 0.008385321348905564, "consistency": 0.0035062769846990706, "loss": 0.011891598347574472}
245
+ {"event": "train", "step": 12000, "lr": 1.5708419435684462e-06, "backbone_lr": 1.5708419435684462e-06, "ema_decay": 0.999128, "it_s": 1.67, "data_frac": 0.326, "fm": 0.008337232749909163, "consistency": 0.0034978345036506655, "loss": 0.011835067253559827}
246
+ {"event": "train", "step": 12050, "lr": 1.4184133542663014e-06, "backbone_lr": 1.4184133542663014e-06, "ema_decay": 0.99913, "it_s": 1.52, "data_frac": 0.332, "fm": 0.008336802329868078, "consistency": 0.003475881312042475, "loss": 0.011812683586031198}
247
+ {"event": "train", "step": 12100, "lr": 1.2736563606711382e-06, "backbone_lr": 1.2736563606711382e-06, "ema_decay": 0.999133, "it_s": 1.08, "data_frac": 0.608, "fm": 0.008359269900247455, "consistency": 0.003503544367849827, "loss": 0.011862814277410507}
248
+ {"event": "train", "step": 12150, "lr": 1.136593821590326e-06, "backbone_lr": 1.136593821590326e-06, "ema_decay": 0.999136, "it_s": 1.66, "data_frac": 0.332, "fm": 0.00851551908068359, "consistency": 0.0034736790461465717, "loss": 0.011989198122173549}
249
+ {"event": "train", "step": 12200, "lr": 1.007247380787657e-06, "backbone_lr": 1.007247380787657e-06, "ema_decay": 0.999138, "it_s": 1.59, "data_frac": 0.359, "fm": 0.008524132603779435, "consistency": 0.0034885490126907825, "loss": 0.012012681551277637}
250
+ {"event": "train", "step": 12250, "lr": 8.856374635655695e-07, "backbone_lr": 8.856374635655695e-07, "ema_decay": 0.999141, "it_s": 2.2, "data_frac": 0.195, "fm": 0.008501904038712382, "consistency": 0.003491388885304332, "loss": 0.01199329286813736}
251
+ {"event": "train", "step": 12300, "lr": 7.717832735397335e-07, "backbone_lr": 7.717832735397335e-07, "ema_decay": 0.999144, "it_s": 1.03, "data_frac": 0.573, "fm": 0.008494330197572708, "consistency": 0.003484567725099623, "loss": 0.011978897880762816}
252
+ {"event": "train", "step": 12350, "lr": 6.657027896065982e-07, "backbone_lr": 6.657027896065982e-07, "ema_decay": 0.999146, "it_s": 1.24, "data_frac": 0.478, "fm": 0.00829380989074707, "consistency": 0.003476458853110671, "loss": 0.01177026879042387}
253
+ {"event": "train", "step": 12400, "lr": 5.674127631043025e-07, "backbone_lr": 5.674127631043025e-07, "ema_decay": 0.999149, "it_s": 1.83, "data_frac": 0.282, "fm": 0.008185143359005451, "consistency": 0.0035009400779381396, "loss": 0.011686083432286977}
254
+ {"event": "train", "step": 12450, "lr": 4.769287151674406e-07, "backbone_lr": 4.769287151674406e-07, "ema_decay": 0.999152, "it_s": 1.05, "data_frac": 0.602, "fm": 0.008291670009493829, "consistency": 0.0034790657181292773, "loss": 0.01177073571830988}
255
+ {"event": "train", "step": 12500, "lr": 3.9426493427611177e-07, "backbone_lr": 3.9426493427611177e-07, "ema_decay": 0.999154, "it_s": 1.64, "data_frac": 0.316, "fm": 0.008323982367292046, "consistency": 0.003478873404674232, "loss": 0.011802855767309666}
256
+ {"event": "train", "step": 12550, "lr": 3.1943447399958027e-07, "backbone_lr": 3.1943447399958027e-07, "ema_decay": 0.999157, "it_s": 1.55, "data_frac": 0.298, "fm": 0.008384109754115344, "consistency": 0.003484131428413093, "loss": 0.011868241187185049}
257
+ {"event": "train", "step": 12600, "lr": 2.5244915093499134e-07, "backbone_lr": 2.5244915093499134e-07, "ema_decay": 0.999159, "it_s": 1.96, "data_frac": 0.297, "fm": 0.008379750857129694, "consistency": 0.003488477445207536, "loss": 0.011868228297680616}
258
+ {"event": "train", "step": 12650, "lr": 1.9331954284137476e-07, "backbone_lr": 1.9331954284137476e-07, "ema_decay": 0.999162, "it_s": 0.83, "data_frac": 0.662, "fm": 0.008414854174479841, "consistency": 0.0034655677666887643, "loss": 0.011880421899259091}
259
+ {"event": "train", "step": 12700, "lr": 1.420549869693033e-07, "backbone_lr": 1.420549869693033e-07, "ema_decay": 0.999164, "it_s": 1.57, "data_frac": 0.374, "fm": 0.008322510458528996, "consistency": 0.003460870264098048, "loss": 0.011783380713313817}
260
+ {"event": "train", "step": 12750, "lr": 9.866357858642205e-08, "backbone_lr": 9.866357858642205e-08, "ema_decay": 0.999167, "it_s": 1.95, "data_frac": 0.262, "fm": 0.008382398951798677, "consistency": 0.0034950364008545873, "loss": 0.01187743540853262}
261
+ {"event": "train", "step": 12800, "lr": 6.315216969912663e-08, "backbone_lr": 6.315216969912663e-08, "ema_decay": 0.999169, "it_s": 1.02, "data_frac": 0.582, "fm": 0.00834270941093564, "consistency": 0.003505850029177964, "loss": 0.01184855941683054}
262
+ {"event": "train", "step": 12850, "lr": 3.5526367970539765e-08, "backbone_lr": 3.5526367970539765e-08, "ema_decay": 0.999171, "it_s": 1.25, "data_frac": 0.497, "fm": 0.008168719531968236, "consistency": 0.0034658385533839465, "loss": 0.01163455804809928}
263
+ {"event": "train", "step": 12900, "lr": 1.5790535835003008e-08, "backbone_lr": 1.5790535835003008e-08, "ema_decay": 0.999174, "it_s": 1.73, "data_frac": 0.317, "fm": 0.008420335771515965, "consistency": 0.0034929935820400713, "loss": 0.011913329474627971}
264
+ {"event": "train", "step": 12950, "lr": 3.947789809194414e-09, "backbone_lr": 3.947789809194414e-09, "ema_decay": 0.999176, "it_s": 1.13, "data_frac": 0.58, "fm": 0.008181246658787132, "consistency": 0.003463854594156146, "loss": 0.011645101252943277}
265
+ {"event": "train", "step": 13000, "lr": 0.0, "backbone_lr": 0.0, "ema_decay": 0.999179, "it_s": 1.62, "data_frac": 0.332, "fm": 0.008250977415591478, "consistency": 0.003488825005479157, "loss": 0.011739802341908216}
266
+ {"event": "save", "step": 13000, "checkpoint": "/mnt/vepfs/baijiaqi/hb_team01_20261130/runs/a15v3-flash-b512-f0-s13000/checkpoints/step-013000", "mse": 0.042158715426921844, "mse_row0": 0.06858505308628082, "mse_body_target": 0.02875266782939434, "mse_hands": 0.051603883504867554}