fanzh03 commited on
Commit
e4a3555
·
verified ·
1 Parent(s): 3891479

Upload fewshot/uncond/config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. fewshot/uncond/config.yaml +418 -0
fewshot/uncond/config.yaml ADDED
@@ -0,0 +1,418 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_dir: ./runs/robotwin_uncond_3cam_384_1e-4_ep10_clean_only_fewshot/2026-08-09_15-41-01
2
+ batch_size: null
3
+ global_batch_size: 128
4
+ num_workers: 8
5
+ lr_scheduler_type: cosine
6
+ learning_rate: 0.0001
7
+ num_epochs: 10
8
+ max_steps: null
9
+ log_every: 10
10
+ save_every: 5000
11
+ save_state_every: 500000
12
+ eval_every: 500
13
+ eval_num_inference_steps: 10
14
+ gradient_accumulation_steps: 1
15
+ split_video_action_loss_backward: false
16
+ split_video_action_loss_mode: alternating_batches
17
+ mixed_precision: bf16
18
+ seed: 42
19
+ max_grad_norm: 1.0
20
+ weight_decay: 0.01
21
+ resume: null
22
+ sampling:
23
+ weighted: false
24
+ default_weight: 1.0
25
+ combine: max
26
+ replacement: true
27
+ num_samples: null
28
+ rules: []
29
+ overwrite_video_latents: false
30
+ video_latent_save_dtype: fp16
31
+ video_latent_batch_size: 8
32
+ video_latent_num_workers: 8
33
+ wandb:
34
+ enabled: true
35
+ workspace: tehaji007
36
+ project: fast-wam
37
+ name: robotwin_uncond_3cam_384_1e-4_ep10_clean_only_fewshot
38
+ group: null
39
+ mode: offline
40
+ data:
41
+ train:
42
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
43
+ dataset_dirs:
44
+ - ./data/robotwin2.0/robotwin2.0
45
+ shape_meta:
46
+ images:
47
+ - key: cam_high
48
+ raw_shape:
49
+ - 3
50
+ - 480
51
+ - 640
52
+ shape:
53
+ - 3
54
+ - 240
55
+ - 320
56
+ - key: cam_left_wrist
57
+ raw_shape:
58
+ - 3
59
+ - 480
60
+ - 640
61
+ shape:
62
+ - 3
63
+ - 240
64
+ - 320
65
+ - key: cam_right_wrist
66
+ raw_shape:
67
+ - 3
68
+ - 480
69
+ - 640
70
+ shape:
71
+ - 3
72
+ - 240
73
+ - 320
74
+ action:
75
+ - key: default
76
+ raw_shape: 14
77
+ shape: 14
78
+ state:
79
+ - key: default
80
+ raw_shape: 14
81
+ shape: 14
82
+ num_frames: 33
83
+ global_sample_stride: 1
84
+ action_video_freq_ratio: 4
85
+ video_size:
86
+ - 384
87
+ - 320
88
+ camera_key: null
89
+ val_set_proportion: 0.01
90
+ is_training_set: true
91
+ pretrained_norm_stats: ./data/robotwin2.0/dataset_stats.json
92
+ skip_padding_as_possible: false
93
+ concat_multi_camera: robotwin
94
+ use_precomputed_video_latents: true
95
+ video_latent_cache_dir: ./data/video_latents/robotwin_uncond_3cam_384_1e-4_all_tasks
96
+ strict_video_latent_loading: true
97
+ video_latent_storage_format: npz_compressed
98
+ video_latent_shard_size: 10000
99
+ use_precomputed_metadata_cache: true
100
+ metadata_cache_dir: ./data/video_latents/robotwin_uncond_3cam_384_1e-4_all_tasks_metadata_cache
101
+ metadata_cache_shard_size: 10000
102
+ subset_sample_indices_file: null
103
+ prompt_subset_file: null
104
+ robotwin_clean_only: true
105
+ robotwin_clean_group_size: 550
106
+ robotwin_clean_episodes_per_group: 55
107
+ robotwin_clean_random_select: true
108
+ robotwin_clean_random_seed: 0
109
+ robotwin_clean_pool_episodes_per_group: 550
110
+ processor:
111
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
112
+ shape_meta:
113
+ images:
114
+ - key: cam_high
115
+ raw_shape:
116
+ - 3
117
+ - 480
118
+ - 640
119
+ shape:
120
+ - 3
121
+ - 240
122
+ - 320
123
+ - key: cam_left_wrist
124
+ raw_shape:
125
+ - 3
126
+ - 480
127
+ - 640
128
+ shape:
129
+ - 3
130
+ - 240
131
+ - 320
132
+ - key: cam_right_wrist
133
+ raw_shape:
134
+ - 3
135
+ - 480
136
+ - 640
137
+ shape:
138
+ - 3
139
+ - 240
140
+ - 320
141
+ action:
142
+ - key: default
143
+ raw_shape: 14
144
+ shape: 14
145
+ state:
146
+ - key: default
147
+ raw_shape: 14
148
+ shape: 14
149
+ num_obs_steps: 33
150
+ num_output_cameras: 3
151
+ action_output_dim: 14
152
+ proprio_output_dim: 14
153
+ action_state_transforms: null
154
+ use_stepwise_action_norm: false
155
+ norm_default_mode: z-score
156
+ norm_exception_mode: null
157
+ action_state_merger:
158
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
159
+ train_transforms:
160
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
161
+ - _target_: torchvision.transforms.Resize
162
+ size:
163
+ - 240
164
+ - 320
165
+ val_transforms:
166
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
167
+ - _target_: torchvision.transforms.Resize
168
+ size:
169
+ - 240
170
+ - 320
171
+ text_embedding_cache_dir: ./data/text_embeds_cache/robotwin
172
+ context_len: 128
173
+ val:
174
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
175
+ dataset_dirs:
176
+ - ./data/robotwin2.0/robotwin2.0/
177
+ shape_meta:
178
+ images:
179
+ - key: cam_high
180
+ raw_shape:
181
+ - 3
182
+ - 480
183
+ - 640
184
+ shape:
185
+ - 3
186
+ - 240
187
+ - 320
188
+ - key: cam_left_wrist
189
+ raw_shape:
190
+ - 3
191
+ - 480
192
+ - 640
193
+ shape:
194
+ - 3
195
+ - 240
196
+ - 320
197
+ - key: cam_right_wrist
198
+ raw_shape:
199
+ - 3
200
+ - 480
201
+ - 640
202
+ shape:
203
+ - 3
204
+ - 240
205
+ - 320
206
+ action:
207
+ - key: default
208
+ raw_shape: 14
209
+ shape: 14
210
+ state:
211
+ - key: default
212
+ raw_shape: 14
213
+ shape: 14
214
+ num_frames: 33
215
+ global_sample_stride: 1
216
+ action_video_freq_ratio: 4
217
+ video_size:
218
+ - 384
219
+ - 320
220
+ camera_key: null
221
+ val_set_proportion: 0.01
222
+ is_training_set: false
223
+ pretrained_norm_stats: ./data/robotwin2.0/dataset_stats.json
224
+ skip_padding_as_possible: false
225
+ concat_multi_camera: robotwin
226
+ use_precomputed_video_latents: false
227
+ video_latent_cache_dir: null
228
+ strict_video_latent_loading: true
229
+ video_latent_storage_format: npz_compressed
230
+ video_latent_shard_size: 10000
231
+ use_precomputed_metadata_cache: false
232
+ metadata_cache_dir: null
233
+ metadata_cache_shard_size: 10000
234
+ subset_sample_indices_file: null
235
+ prompt_subset_file: null
236
+ robotwin_clean_only: true
237
+ robotwin_clean_group_size: 550
238
+ robotwin_clean_episodes_per_group: 50
239
+ robotwin_clean_random_select: false
240
+ robotwin_clean_random_seed: 0
241
+ robotwin_clean_pool_episodes_per_group: 50
242
+ processor:
243
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
244
+ shape_meta:
245
+ images:
246
+ - key: cam_high
247
+ raw_shape:
248
+ - 3
249
+ - 480
250
+ - 640
251
+ shape:
252
+ - 3
253
+ - 240
254
+ - 320
255
+ - key: cam_left_wrist
256
+ raw_shape:
257
+ - 3
258
+ - 480
259
+ - 640
260
+ shape:
261
+ - 3
262
+ - 240
263
+ - 320
264
+ - key: cam_right_wrist
265
+ raw_shape:
266
+ - 3
267
+ - 480
268
+ - 640
269
+ shape:
270
+ - 3
271
+ - 240
272
+ - 320
273
+ action:
274
+ - key: default
275
+ raw_shape: 14
276
+ shape: 14
277
+ state:
278
+ - key: default
279
+ raw_shape: 14
280
+ shape: 14
281
+ num_obs_steps: 33
282
+ num_output_cameras: 3
283
+ action_output_dim: 14
284
+ proprio_output_dim: 14
285
+ action_state_transforms: null
286
+ use_stepwise_action_norm: false
287
+ norm_default_mode: z-score
288
+ norm_exception_mode: null
289
+ action_state_merger:
290
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
291
+ train_transforms:
292
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
293
+ - _target_: torchvision.transforms.Resize
294
+ size:
295
+ - 240
296
+ - 320
297
+ val_transforms:
298
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
299
+ - _target_: torchvision.transforms.Resize
300
+ size:
301
+ - 240
302
+ - 320
303
+ text_embedding_cache_dir: ./data/text_embeds_cache/robotwin
304
+ context_len: 128
305
+ model:
306
+ _target_: fastwam.runtime.create_fastwam
307
+ model_id: Wan-AI/Wan2.2-TI2V-5B
308
+ tokenizer_model_id: Wan-AI/Wan2.1-T2V-1.3B
309
+ tokenizer_max_len: 128
310
+ load_text_encoder: false
311
+ proprio_dim: 14
312
+ redirect_common_files: false
313
+ mot_checkpoint_mixed_attn: false
314
+ global_query_tokens: 0
315
+ finetune_mode: full_dit
316
+ disable_video_dit_training: false
317
+ disable_video_training_target: false
318
+ video_training_target_interval: 1
319
+ video_target_step_disable_action_loss: false
320
+ action_dit_pretrained_path: checkpoints/ActionDiT_linear_interp_Wan22_alphascale_1024hdim.pt
321
+ action_dit_init_mode: precomputed
322
+ action_dit_random_init_std: 0.02
323
+ skip_dit_load_from_pretrain: false
324
+ keep_dit_layers: null
325
+ keep_dit_layer_indices: null
326
+ video_dit_config:
327
+ has_image_input: false
328
+ patch_size:
329
+ - 1
330
+ - 2
331
+ - 2
332
+ in_dim: 48
333
+ hidden_dim: 3072
334
+ ffn_dim: 14336
335
+ freq_dim: 256
336
+ text_dim: 4096
337
+ out_dim: 48
338
+ num_heads: 24
339
+ attn_head_dim: 128
340
+ num_layers: 30
341
+ eps: 1.0e-06
342
+ seperated_timestep: true
343
+ require_clip_embedding: false
344
+ require_vae_embedding: false
345
+ fuse_vae_embedding_in_latents: true
346
+ use_gradient_checkpointing: false
347
+ video_attention_mask_mode: first_frame_causal
348
+ action_conditioned: false
349
+ action_dim: 14
350
+ action_group_causal_mask_mode: group_diagonal
351
+ action_dit_config:
352
+ action_dim: 14
353
+ hidden_dim: 1024
354
+ ffn_dim: 4096
355
+ num_heads: 24
356
+ attn_head_dim: 128
357
+ num_layers: 30
358
+ text_dim: 4096
359
+ freq_dim: 256
360
+ eps: 1.0e-06
361
+ use_gradient_checkpointing: false
362
+ video_scheduler:
363
+ train_shift: 5.0
364
+ infer_shift: 5.0
365
+ num_train_timesteps: 1000
366
+ action_scheduler:
367
+ train_shift: 5.0
368
+ infer_shift: 5.0
369
+ num_train_timesteps: 1000
370
+ loss:
371
+ lambda_action: 1.0
372
+ video_lora:
373
+ enabled: false
374
+ rank: 16
375
+ alpha: 16.0
376
+ dropout: 0.0
377
+ target_modules:
378
+ - q
379
+ - k
380
+ - v
381
+ - o
382
+ lora_layer_indices: null
383
+ freeze_non_lora_layers: true
384
+ lora_optimizer:
385
+ lr: null
386
+ weight_decay: null
387
+ betas: null
388
+ video_action_bridge:
389
+ enabled: false
390
+ selected_video_layers: null
391
+ action_to_video_ratio: 2
392
+ prune_unused_video_layers: false
393
+ action_noise_future_context:
394
+ enabled: false
395
+ detach: false
396
+ first_frame_denoising:
397
+ enabled: false
398
+ lambda: 1.0
399
+ noise_prob: 1.0
400
+ repa:
401
+ enabled: false
402
+ layer: 10
403
+ lambda: 0.01
404
+ teacher_model_id: checkpoints/dinov2-base
405
+ teacher_image_size: 224
406
+ teacher_batch_size: 16
407
+ teacher_dim: 768
408
+ load_teacher: true
409
+ target: future
410
+ target_frame_index: -1
411
+ include_condition_frame: false
412
+ use_future_latents: false
413
+ noise_future_latents: false
414
+ teacher_feature_slice: all
415
+ first_frame_latent_noise_std: 0.0
416
+ first_frame_latent_noise_prob: 1.0
417
+ first_frame_latent_noise_relative: true
418
+ local_files_only: false