m1ku2 commited on
Commit
1479675
·
verified ·
1 Parent(s): 7f3e728

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +343 -0
config.yaml ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_dir: ./runs/pack_3_objects_plus_base/2026-06-08_23-08-07
2
+ batch_size: 8
3
+ num_workers: 2
4
+ lr_scheduler_type: cosine
5
+ learning_rate: 0.0001
6
+ num_epochs: 100
7
+ max_steps: 20000
8
+ log_every: 10
9
+ save_every: 2000
10
+ eval_every: 500
11
+ eval_num_inference_steps: 10
12
+ gradient_accumulation_steps: 1
13
+ mixed_precision: bf16
14
+ seed: 42
15
+ max_grad_norm: 1.0
16
+ weight_decay: 0.01
17
+ resume: null
18
+ partial_resume: null
19
+ wandb:
20
+ enabled: true
21
+ workspace: null
22
+ project: fast-wam-real
23
+ name: pack_3_objects_plus_base
24
+ group: null
25
+ mode: online
26
+ data:
27
+ train:
28
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
29
+ dataset_dirs:
30
+ - ./data/pack_3_objects_plus/perfect_lerobot
31
+ shape_meta:
32
+ images:
33
+ - key: cam_high
34
+ raw_shape:
35
+ - 3
36
+ - 480
37
+ - 640
38
+ shape:
39
+ - 3
40
+ - 240
41
+ - 320
42
+ - key: cam_left_wrist
43
+ raw_shape:
44
+ - 3
45
+ - 480
46
+ - 640
47
+ shape:
48
+ - 3
49
+ - 240
50
+ - 320
51
+ - key: cam_right_wrist
52
+ raw_shape:
53
+ - 3
54
+ - 480
55
+ - 640
56
+ shape:
57
+ - 3
58
+ - 240
59
+ - 320
60
+ action:
61
+ - key: default
62
+ raw_shape: 14
63
+ shape: 14
64
+ state:
65
+ - key: default
66
+ raw_shape: 14
67
+ shape: 14
68
+ num_frames: 33
69
+ global_sample_stride: 1
70
+ action_video_freq_ratio: 4
71
+ video_size:
72
+ - 384
73
+ - 320
74
+ camera_key: null
75
+ val_set_proportion: 0.01
76
+ is_training_set: true
77
+ pretrained_norm_stats: null
78
+ skip_padding_as_possible: false
79
+ concat_multi_camera: robotwin
80
+ processor:
81
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
82
+ shape_meta:
83
+ images:
84
+ - key: cam_high
85
+ raw_shape:
86
+ - 3
87
+ - 480
88
+ - 640
89
+ shape:
90
+ - 3
91
+ - 240
92
+ - 320
93
+ - key: cam_left_wrist
94
+ raw_shape:
95
+ - 3
96
+ - 480
97
+ - 640
98
+ shape:
99
+ - 3
100
+ - 240
101
+ - 320
102
+ - key: cam_right_wrist
103
+ raw_shape:
104
+ - 3
105
+ - 480
106
+ - 640
107
+ shape:
108
+ - 3
109
+ - 240
110
+ - 320
111
+ action:
112
+ - key: default
113
+ raw_shape: 14
114
+ shape: 14
115
+ state:
116
+ - key: default
117
+ raw_shape: 14
118
+ shape: 14
119
+ num_obs_steps: 33
120
+ num_output_cameras: 3
121
+ action_output_dim: 14
122
+ proprio_output_dim: 14
123
+ action_state_transforms: null
124
+ use_stepwise_action_norm: false
125
+ norm_default_mode: z-score
126
+ norm_exception_mode: null
127
+ action_state_merger:
128
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
129
+ train_transforms:
130
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
131
+ - _target_: torchvision.transforms.Resize
132
+ size:
133
+ - 240
134
+ - 320
135
+ val_transforms:
136
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
137
+ - _target_: torchvision.transforms.Resize
138
+ size:
139
+ - 240
140
+ - 320
141
+ image_augmentation: true
142
+ train_aug_transforms:
143
+ cam_high:
144
+ - _target_: torchvision.transforms.RandomCrop
145
+ size:
146
+ - 228
147
+ - 304
148
+ - _target_: torchvision.transforms.Resize
149
+ size:
150
+ - 240
151
+ - 320
152
+ - _target_: torchvision.transforms.RandomRotation
153
+ degrees: 5
154
+ - _target_: torchvision.transforms.ColorJitter
155
+ brightness: 0.3
156
+ contrast: 0.4
157
+ saturation: 0.5
158
+ cam_left_wrist:
159
+ - _target_: torchvision.transforms.ColorJitter
160
+ brightness: 0.3
161
+ contrast: 0.4
162
+ saturation: 0.5
163
+ cam_right_wrist:
164
+ - _target_: torchvision.transforms.ColorJitter
165
+ brightness: 0.3
166
+ contrast: 0.4
167
+ saturation: 0.5
168
+ text_embedding_cache_dir: ./data/text_embeds_cache/pack_3_objects_plus
169
+ context_len: 128
170
+ val:
171
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
172
+ dataset_dirs:
173
+ - ./data/pack_3_objects_plus/perfect_lerobot
174
+ shape_meta:
175
+ images:
176
+ - key: cam_high
177
+ raw_shape:
178
+ - 3
179
+ - 480
180
+ - 640
181
+ shape:
182
+ - 3
183
+ - 240
184
+ - 320
185
+ - key: cam_left_wrist
186
+ raw_shape:
187
+ - 3
188
+ - 480
189
+ - 640
190
+ shape:
191
+ - 3
192
+ - 240
193
+ - 320
194
+ - key: cam_right_wrist
195
+ raw_shape:
196
+ - 3
197
+ - 480
198
+ - 640
199
+ shape:
200
+ - 3
201
+ - 240
202
+ - 320
203
+ action:
204
+ - key: default
205
+ raw_shape: 14
206
+ shape: 14
207
+ state:
208
+ - key: default
209
+ raw_shape: 14
210
+ shape: 14
211
+ num_frames: 33
212
+ global_sample_stride: 1
213
+ action_video_freq_ratio: 4
214
+ video_size:
215
+ - 384
216
+ - 320
217
+ camera_key: null
218
+ val_set_proportion: 0.01
219
+ is_training_set: false
220
+ pretrained_norm_stats: null
221
+ skip_padding_as_possible: false
222
+ concat_multi_camera: robotwin
223
+ processor:
224
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
225
+ shape_meta:
226
+ images:
227
+ - key: cam_high
228
+ raw_shape:
229
+ - 3
230
+ - 480
231
+ - 640
232
+ shape:
233
+ - 3
234
+ - 240
235
+ - 320
236
+ - key: cam_left_wrist
237
+ raw_shape:
238
+ - 3
239
+ - 480
240
+ - 640
241
+ shape:
242
+ - 3
243
+ - 240
244
+ - 320
245
+ - key: cam_right_wrist
246
+ raw_shape:
247
+ - 3
248
+ - 480
249
+ - 640
250
+ shape:
251
+ - 3
252
+ - 240
253
+ - 320
254
+ action:
255
+ - key: default
256
+ raw_shape: 14
257
+ shape: 14
258
+ state:
259
+ - key: default
260
+ raw_shape: 14
261
+ shape: 14
262
+ num_obs_steps: 33
263
+ num_output_cameras: 3
264
+ action_output_dim: 14
265
+ proprio_output_dim: 14
266
+ action_state_transforms: null
267
+ use_stepwise_action_norm: false
268
+ norm_default_mode: z-score
269
+ norm_exception_mode: null
270
+ action_state_merger:
271
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
272
+ train_transforms:
273
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
274
+ - _target_: torchvision.transforms.Resize
275
+ size:
276
+ - 240
277
+ - 320
278
+ val_transforms:
279
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
280
+ - _target_: torchvision.transforms.Resize
281
+ size:
282
+ - 240
283
+ - 320
284
+ text_embedding_cache_dir: ./data/text_embeds_cache/pack_3_objects_plus
285
+ context_len: 128
286
+ model:
287
+ _target_: fastwam.runtime.create_fastwam
288
+ model_id: Wan-AI/Wan2.2-TI2V-5B
289
+ tokenizer_model_id: Wan-AI/Wan2.2-TI2V-5B
290
+ dit_checkpoint_path: null
291
+ tokenizer_max_len: 128
292
+ load_text_encoder: false
293
+ proprio_dim: 14
294
+ redirect_common_files: false
295
+ mot_checkpoint_mixed_attn: false
296
+ action_dit_pretrained_path: checkpoints/ActionDiT_linear_interp_Wan22_alphascale_1024hdim.pt
297
+ skip_dit_load_from_pretrain: false
298
+ video_dit_config:
299
+ has_image_input: false
300
+ patch_size:
301
+ - 1
302
+ - 2
303
+ - 2
304
+ in_dim: 48
305
+ hidden_dim: 3072
306
+ ffn_dim: 14336
307
+ freq_dim: 256
308
+ text_dim: 4096
309
+ out_dim: 48
310
+ num_heads: 24
311
+ attn_head_dim: 128
312
+ num_layers: 30
313
+ eps: 1.0e-06
314
+ seperated_timestep: true
315
+ require_clip_embedding: false
316
+ require_vae_embedding: false
317
+ fuse_vae_embedding_in_latents: true
318
+ use_gradient_checkpointing: false
319
+ video_attention_mask_mode: first_frame_causal
320
+ action_conditioned: false
321
+ action_dim: 14
322
+ action_group_causal_mask_mode: group_diagonal
323
+ action_dit_config:
324
+ action_dim: 14
325
+ hidden_dim: 1024
326
+ ffn_dim: 4096
327
+ num_heads: 24
328
+ attn_head_dim: 128
329
+ num_layers: 30
330
+ text_dim: 4096
331
+ freq_dim: 256
332
+ eps: 1.0e-06
333
+ use_gradient_checkpointing: false
334
+ video_scheduler:
335
+ train_shift: 5.0
336
+ infer_shift: 5.0
337
+ num_train_timesteps: 1000
338
+ action_scheduler:
339
+ train_shift: 5.0
340
+ infer_shift: 5.0
341
+ num_train_timesteps: 1000
342
+ loss:
343
+ lambda_action: 1.0