mah-asd commited on
Commit
820a74f
·
verified ·
1 Parent(s): ae85cff

5-task joint config

Browse files
Files changed (1) hide show
  1. spatial_grafting_5task_p2/config.yaml +420 -0
spatial_grafting_5task_p2/config.yaml ADDED
@@ -0,0 +1,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_dir: /shared_work/maya/fastwam/runs/spatial_grafting_5task_p2_2026-08-23_21-48-59
2
+ batch_size: 2
3
+ num_workers: 8
4
+ lr_scheduler_type: cosine
5
+ learning_rate: 0.0001
6
+ num_epochs: 5
7
+ max_steps: 10869
8
+ log_every: 10
9
+ save_every: 500
10
+ eval_every: 0
11
+ eval_num_inference_steps: 10
12
+ gradient_accumulation_steps: 8
13
+ mixed_precision: bf16
14
+ distributed_timeout_minutes: 60
15
+ seed: 42
16
+ max_grad_norm: 1.0
17
+ weight_decay: 0.01
18
+ resume: /shared_work/maya/fastwam/runs/spatial_grafting_5task_p1_2026-08-23_21-48-59/checkpoints/weights/step_002718.pt
19
+ allow_unverified_full_state_resume: false
20
+ freeze_video_backbone: false
21
+ spatial_warmup_steps: 0
22
+ spatial_warmup_epochs: 0
23
+ freeze_fastwam_during_spatial_warmup: false
24
+ fastwam_inference_only: false
25
+ spatial_lr: 0.0001
26
+ fastwam_lr: 1.0e-05
27
+ node_ram_guard:
28
+ enabled: true
29
+ min_available_percent: 20.0
30
+ hf_upload:
31
+ enabled: false
32
+ dry_run: false
33
+ fail_on_error: false
34
+ script_path: huggingface/upload_to_hf.sh
35
+ bucket_run_name: null
36
+ wandb:
37
+ enabled: false
38
+ workspace: Faster-WAM
39
+ project: fast-wam
40
+ name: spatial_grafting_5task_p2_2026-08-23_21-48-59
41
+ group: null
42
+ mode: online
43
+ data:
44
+ train:
45
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
46
+ dataset_dirs:
47
+ - /shared_work/datasets/robotwin2.0_spatial_full
48
+ shape_meta:
49
+ images:
50
+ - key: cam_high
51
+ raw_shape:
52
+ - 3
53
+ - 480
54
+ - 640
55
+ shape:
56
+ - 3
57
+ - 240
58
+ - 320
59
+ - key: cam_left_wrist
60
+ raw_shape:
61
+ - 3
62
+ - 480
63
+ - 640
64
+ shape:
65
+ - 3
66
+ - 240
67
+ - 320
68
+ - key: cam_right_wrist
69
+ raw_shape:
70
+ - 3
71
+ - 480
72
+ - 640
73
+ shape:
74
+ - 3
75
+ - 240
76
+ - 320
77
+ action:
78
+ - key: default
79
+ raw_shape: 14
80
+ shape: 14
81
+ state:
82
+ - key: default
83
+ raw_shape: 14
84
+ shape: 14
85
+ num_frames: 33
86
+ global_sample_stride: 1
87
+ action_video_freq_ratio: 4
88
+ video_size:
89
+ - 384
90
+ - 320
91
+ camera_key: null
92
+ val_set_proportion: 0.01
93
+ is_training_set: true
94
+ episode_indices_path: /shared_work/maya/fastwam/splits/first5_tasks_episodes.json
95
+ pretrained_norm_stats: ./data/robotwin2.0/dataset_stats.json
96
+ skip_padding_as_possible: false
97
+ concat_multi_camera: robotwin
98
+ spatial_field_map:
99
+ spatial_depth:
100
+ key: observation.spatial_depth
101
+ shape:
102
+ - 3
103
+ - 1
104
+ - 18
105
+ - 24
106
+ spatial_intrinsics:
107
+ key: observation.spatial_intrinsics
108
+ shape:
109
+ - 3
110
+ - 3
111
+ - 3
112
+ spatial_extrinsics_w2c:
113
+ key: observation.spatial_extrinsics_w2c
114
+ shape:
115
+ - 3
116
+ - 4
117
+ - 4
118
+ processor:
119
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
120
+ shape_meta:
121
+ images:
122
+ - key: cam_high
123
+ raw_shape:
124
+ - 3
125
+ - 480
126
+ - 640
127
+ shape:
128
+ - 3
129
+ - 240
130
+ - 320
131
+ - key: cam_left_wrist
132
+ raw_shape:
133
+ - 3
134
+ - 480
135
+ - 640
136
+ shape:
137
+ - 3
138
+ - 240
139
+ - 320
140
+ - key: cam_right_wrist
141
+ raw_shape:
142
+ - 3
143
+ - 480
144
+ - 640
145
+ shape:
146
+ - 3
147
+ - 240
148
+ - 320
149
+ action:
150
+ - key: default
151
+ raw_shape: 14
152
+ shape: 14
153
+ state:
154
+ - key: default
155
+ raw_shape: 14
156
+ shape: 14
157
+ num_obs_steps: 33
158
+ num_output_cameras: 3
159
+ action_output_dim: 14
160
+ proprio_output_dim: 14
161
+ action_state_transforms: null
162
+ use_stepwise_action_norm: false
163
+ norm_default_mode: z-score
164
+ norm_exception_mode: null
165
+ action_state_merger:
166
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
167
+ train_transforms:
168
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
169
+ - _target_: torchvision.transforms.Resize
170
+ size:
171
+ - 240
172
+ - 320
173
+ val_transforms:
174
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
175
+ - _target_: torchvision.transforms.Resize
176
+ size:
177
+ - 240
178
+ - 320
179
+ text_embedding_cache_dir: /shared_work/datasets/text_embeds_cache/robotwin
180
+ context_len: 128
181
+ video_latent_cache_dir: null
182
+ val:
183
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
184
+ dataset_dirs:
185
+ - /shared_work/datasets/robotwin2.0_spatial_full
186
+ shape_meta:
187
+ images:
188
+ - key: cam_high
189
+ raw_shape:
190
+ - 3
191
+ - 480
192
+ - 640
193
+ shape:
194
+ - 3
195
+ - 240
196
+ - 320
197
+ - key: cam_left_wrist
198
+ raw_shape:
199
+ - 3
200
+ - 480
201
+ - 640
202
+ shape:
203
+ - 3
204
+ - 240
205
+ - 320
206
+ - key: cam_right_wrist
207
+ raw_shape:
208
+ - 3
209
+ - 480
210
+ - 640
211
+ shape:
212
+ - 3
213
+ - 240
214
+ - 320
215
+ action:
216
+ - key: default
217
+ raw_shape: 14
218
+ shape: 14
219
+ state:
220
+ - key: default
221
+ raw_shape: 14
222
+ shape: 14
223
+ num_frames: 33
224
+ global_sample_stride: 1
225
+ action_video_freq_ratio: 4
226
+ video_size:
227
+ - 384
228
+ - 320
229
+ camera_key: null
230
+ val_set_proportion: 0.01
231
+ is_training_set: false
232
+ episode_indices_path: /shared_work/maya/fastwam/splits/first5_tasks_episodes.json
233
+ pretrained_norm_stats: ./data/robotwin2.0/dataset_stats.json
234
+ skip_padding_as_possible: false
235
+ concat_multi_camera: robotwin
236
+ spatial_field_map:
237
+ spatial_depth:
238
+ key: observation.spatial_depth
239
+ shape:
240
+ - 3
241
+ - 1
242
+ - 18
243
+ - 24
244
+ spatial_intrinsics:
245
+ key: observation.spatial_intrinsics
246
+ shape:
247
+ - 3
248
+ - 3
249
+ - 3
250
+ spatial_extrinsics_w2c:
251
+ key: observation.spatial_extrinsics_w2c
252
+ shape:
253
+ - 3
254
+ - 4
255
+ - 4
256
+ processor:
257
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
258
+ shape_meta:
259
+ images:
260
+ - key: cam_high
261
+ raw_shape:
262
+ - 3
263
+ - 480
264
+ - 640
265
+ shape:
266
+ - 3
267
+ - 240
268
+ - 320
269
+ - key: cam_left_wrist
270
+ raw_shape:
271
+ - 3
272
+ - 480
273
+ - 640
274
+ shape:
275
+ - 3
276
+ - 240
277
+ - 320
278
+ - key: cam_right_wrist
279
+ raw_shape:
280
+ - 3
281
+ - 480
282
+ - 640
283
+ shape:
284
+ - 3
285
+ - 240
286
+ - 320
287
+ action:
288
+ - key: default
289
+ raw_shape: 14
290
+ shape: 14
291
+ state:
292
+ - key: default
293
+ raw_shape: 14
294
+ shape: 14
295
+ num_obs_steps: 33
296
+ num_output_cameras: 3
297
+ action_output_dim: 14
298
+ proprio_output_dim: 14
299
+ action_state_transforms: null
300
+ use_stepwise_action_norm: false
301
+ norm_default_mode: z-score
302
+ norm_exception_mode: null
303
+ action_state_merger:
304
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
305
+ train_transforms:
306
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
307
+ - _target_: torchvision.transforms.Resize
308
+ size:
309
+ - 240
310
+ - 320
311
+ val_transforms:
312
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
313
+ - _target_: torchvision.transforms.Resize
314
+ size:
315
+ - 240
316
+ - 320
317
+ text_embedding_cache_dir: /shared_work/datasets/text_embeds_cache/robotwin
318
+ context_len: 128
319
+ video_latent_cache_dir: null
320
+ model:
321
+ _target_: fastwam.runtime.create_fastwam
322
+ model_id: Wan-AI/Wan2.2-TI2V-5B
323
+ tokenizer_model_id: Wan-AI/Wan2.1-T2V-1.3B
324
+ tokenizer_max_len: 128
325
+ load_text_encoder: false
326
+ proprio_dim: 14
327
+ redirect_common_files: true
328
+ mot_checkpoint_mixed_attn: false
329
+ action_dit_pretrained_path: null
330
+ skip_dit_load_from_pretrain: true
331
+ freeze_video_backbone: false
332
+ use_spatial_grafting: true
333
+ spatial_grafting:
334
+ da3_model_id: depth-anything/DA3-GIANT-1.1
335
+ da3_feature_layers:
336
+ - 19
337
+ - 27
338
+ - 33
339
+ - 39
340
+ da3_channels: 1536
341
+ da3_input_hw:
342
+ - 252
343
+ - 336
344
+ da3_patch_size: 14
345
+ inject_last_n: 10
346
+ num_heads: 8
347
+ spatial_scale: 1.0
348
+ init_std: 0.01
349
+ logit_gain_init: 3.0
350
+ logit_gain_max: 8.0
351
+ fourier_bands: 10
352
+ point_centre:
353
+ - -0.0222
354
+ - 0.0967
355
+ - 0.7403
356
+ point_centre_ee_l:
357
+ - 0.811
358
+ - 0.278
359
+ - 0.332
360
+ point_centre_ee_r:
361
+ - 0.268
362
+ - 0.895
363
+ - 0.154
364
+ point_scale: 0.5198
365
+ point_max_depth: 5.0
366
+ s1: true
367
+ no_bias: true
368
+ sample_token_center: true
369
+ tap_token_center: true
370
+ center_fused: true
371
+ tap_gain: true
372
+ film_init_std: 0.01
373
+ inject_dropout: 0.1
374
+ video_dit_config:
375
+ has_image_input: false
376
+ patch_size:
377
+ - 1
378
+ - 2
379
+ - 2
380
+ in_dim: 48
381
+ hidden_dim: 3072
382
+ ffn_dim: 14336
383
+ freq_dim: 256
384
+ text_dim: 4096
385
+ out_dim: 48
386
+ num_heads: 24
387
+ attn_head_dim: 128
388
+ num_layers: 30
389
+ eps: 1.0e-06
390
+ seperated_timestep: true
391
+ require_clip_embedding: false
392
+ require_vae_embedding: false
393
+ fuse_vae_embedding_in_latents: true
394
+ use_gradient_checkpointing: false
395
+ video_attention_mask_mode: first_frame_causal
396
+ action_conditioned: false
397
+ action_dim: 14
398
+ action_group_causal_mask_mode: group_diagonal
399
+ action_dit_config:
400
+ action_dim: 14
401
+ hidden_dim: 1024
402
+ ffn_dim: 4096
403
+ num_heads: 24
404
+ attn_head_dim: 128
405
+ num_layers: 30
406
+ text_dim: 4096
407
+ freq_dim: 256
408
+ eps: 1.0e-06
409
+ use_gradient_checkpointing: false
410
+ action_text_cross_attn: true
411
+ video_scheduler:
412
+ train_shift: 5.0
413
+ infer_shift: 5.0
414
+ num_train_timesteps: 1000
415
+ action_scheduler:
416
+ train_shift: 5.0
417
+ infer_shift: 5.0
418
+ num_train_timesteps: 1000
419
+ loss:
420
+ lambda_action: 1.0