fanzh03 commited on
Commit
73e846a
·
verified ·
1 Parent(s): e281b1e

Upload idm/config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. idm/config.yaml +363 -0
idm/config.yaml ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_dir: ./runs/robotwin_idm_3cam_384_1e-4_ep10_clean_only_fewshot/2026-08-10_10-43-33
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_idm_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_idm
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
+ action_dit_pretrained_path: checkpoints/ActionDiT_linear_interp_Wan22_alphascale_1024hdim.pt
315
+ skip_dit_load_from_pretrain: false
316
+ keep_dit_layers: null
317
+ keep_dit_layer_indices: null
318
+ video_dit_config:
319
+ has_image_input: false
320
+ patch_size:
321
+ - 1
322
+ - 2
323
+ - 2
324
+ in_dim: 48
325
+ hidden_dim: 3072
326
+ ffn_dim: 14336
327
+ freq_dim: 256
328
+ text_dim: 4096
329
+ out_dim: 48
330
+ num_heads: 24
331
+ attn_head_dim: 128
332
+ num_layers: 30
333
+ eps: 1.0e-06
334
+ seperated_timestep: true
335
+ require_clip_embedding: false
336
+ require_vae_embedding: false
337
+ fuse_vae_embedding_in_latents: true
338
+ use_gradient_checkpointing: false
339
+ video_attention_mask_mode: first_frame_causal
340
+ action_conditioned: false
341
+ action_dim: 14
342
+ action_group_causal_mask_mode: group_diagonal
343
+ action_dit_config:
344
+ action_dim: 14
345
+ hidden_dim: 1024
346
+ ffn_dim: 4096
347
+ num_heads: 24
348
+ attn_head_dim: 128
349
+ num_layers: 30
350
+ text_dim: 4096
351
+ freq_dim: 256
352
+ eps: 1.0e-06
353
+ use_gradient_checkpointing: false
354
+ video_scheduler:
355
+ train_shift: 5.0
356
+ infer_shift: 5.0
357
+ num_train_timesteps: 1000
358
+ action_scheduler:
359
+ train_shift: 5.0
360
+ infer_shift: 5.0
361
+ num_train_timesteps: 1000
362
+ loss:
363
+ lambda_action: 1.0