SammyLim commited on
Commit
fb7d5d5
·
verified ·
1 Parent(s): 3559391

Upload refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822 steps 34000, 39000

Browse files
refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822/checkpoints/epoch_43_step_34000.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e0a923dd4adc6a9614863c75a2c71a8b25e5b49c2e54e051330380ade7f7156
3
+ size 5897182226
refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822/checkpoints/epoch_49_step_39000.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6516add748353731b78c9614a193ff259d8a5e9236bed4107f1ac6b6b76bffa
3
+ size 5897182226
refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822/config.yaml ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ data:
2
+ data_dir: []
3
+ caption_proportion:
4
+ prompt: 1
5
+ external_caption_suffixes: []
6
+ external_clipscore_suffixes: []
7
+ clip_thr_temperature: 1.0
8
+ clip_thr: 0.0
9
+ del_img_clip_thr: 0.0
10
+ sort_dataset: false
11
+ load_text_feat: false
12
+ transform: default_train
13
+ type: VideoMattingCompositingDataset
14
+ image_size: 4096
15
+ hq_only: false
16
+ valid_num: 0
17
+ data: null
18
+ extra: null
19
+ s3_bucket: ''
20
+ s3_prefix: ''
21
+ s3_metadata_key: ''
22
+ s3_region: us-west-2
23
+ dataset_repeat: 1
24
+ frame_sampling: random
25
+ mask_augment_method: downsample,polygon
26
+ downsample_scales:
27
+ - 24
28
+ - 32
29
+ - 48
30
+ polygon_tolerances:
31
+ - 0.004
32
+ - 0.003
33
+ - 0.002
34
+ polygon_keep_holes: true
35
+ binarize_threshold: 127
36
+ preserve_prob: 0.0
37
+ preserve_noise_std: 0.0
38
+ guide_mode: binary
39
+ guide_lowres: 512
40
+ guide_lowres_blur_sigma: 0.0
41
+ guide_lowres_noise_std: 0.0
42
+ include_guide_mask: true
43
+ clip_len: 3
44
+ low_res: 256
45
+ sources: null
46
+ polarizer_fgr_prefixes: []
47
+ greenscreen_fgr_prefixes: []
48
+ bg_prefix: ''
49
+ s3_unsigned: false
50
+ fg_fit_range:
51
+ - -0.2
52
+ - 1.2
53
+ fg_flip_prob: 0.5
54
+ bg_fit_range:
55
+ - 1.0
56
+ - 1.0
57
+ bg_flip_prob: 0.5
58
+ foreground_sources:
59
+ - type: video
60
+ fg_path: VideoMatte240K_JPEG_HD/train/fgr
61
+ alpha_path: VideoMatte240K_JPEG_HD/train/pha
62
+ weight: 1.0
63
+ alpha_black_level: 1
64
+ - type: video
65
+ fg_path: CRGNN/fg
66
+ alpha_path: CRGNN/alpha
67
+ weight: 1.0
68
+ - type: image
69
+ fg_path: AM-2k/train/fg
70
+ alpha_path: AM-2k/train/mask
71
+ weight: 1.0
72
+ - type: image
73
+ fg_path: P3M-10k/train/blurred_image
74
+ alpha_path: P3M-10k/train/mask
75
+ weight: 1.0
76
+ - type: image
77
+ fg_path: AIM-500/original
78
+ alpha_path: AIM-500/mask
79
+ weight: 1.0
80
+ - type: image
81
+ fg_path: Distinctions-646/Train/FG
82
+ alpha_path: Distinctions-646/Train/GT
83
+ weight: 1.0
84
+ background_sources:
85
+ - BG-20k/train
86
+ data_root: /home/ubuntu/data1/samuel/data
87
+ s3_root: ''
88
+ fg_instances:
89
+ - 1
90
+ - 2
91
+ matte_target: subject
92
+ occluder_front_prob: 0.5
93
+ min_subject_visible: 0.1
94
+ max_fg_upscale: 1.0
95
+ min_fg_resolution: 768
96
+ datasets: null
97
+ model:
98
+ model: PixDiTRefinerTrainer
99
+ teacher: null
100
+ image_size: 1024
101
+ mixed_precision: bf16
102
+ fp32_attention: true
103
+ load_from: /home/ubuntu/data1/samuel/data/pretrained_models/PixelDiT-1300M-1024px/pixeldit_t2i_v1.pth
104
+ discriminator_model: null
105
+ teacher_model: null
106
+ teacher_model_weight_dtype: null
107
+ resume_from: null
108
+ aspect_ratio_type: ASPECT_RATIO_1024
109
+ multi_scale: false
110
+ pe_interpolation: 1.0
111
+ micro_condition: false
112
+ attn_type: linear
113
+ autocast_linear_attn: false
114
+ ffn_type: glumbconv
115
+ mlp_acts:
116
+ - silu
117
+ - silu
118
+ - null
119
+ mlp_ratio: 2.5
120
+ use_pe: false
121
+ pos_embed_type: sincos
122
+ qk_norm: false
123
+ class_dropout_prob: 0.0
124
+ linear_head_dim: 32
125
+ cross_norm: false
126
+ cross_attn_type: flash
127
+ logvar: false
128
+ cfg_scale: 4
129
+ cfg_embed: false
130
+ cfg_embed_scale: 1.0
131
+ guidance_type: classifier-free
132
+ ladd_multi_scale: true
133
+ head_block_ids: null
134
+ extra:
135
+ patch_size: 16
136
+ num_groups: 24
137
+ hidden_size: 1536
138
+ pixel_hidden_size: 16
139
+ pixel_attn_hidden_size: 1152
140
+ pixel_num_groups: 16
141
+ patch_depth: 14
142
+ pixel_depth: 2
143
+ num_text_blocks: 4
144
+ txt_embed_dim: 2304
145
+ txt_max_length: 300
146
+ use_text_rope: true
147
+ text_rope_theta: 10000.0
148
+ repa_encoder_index: -1
149
+ cond_image_channels: 6
150
+ feature_source: dinov3
151
+ dino_model: facebook/dinov3-vith16plus-pretrain-lvd1689m
152
+ dino_resolution: 1024
153
+ dino_resolution_ratio: 1
154
+ dino_layer: -1
155
+ dino_feature_dim: 1280
156
+ zero_init_lq: true
157
+ pit_lq_inject: false
158
+ use_preserve_embed: true
159
+ lq_gate_type: residual
160
+ lq_inject_blocks:
161
+ - 0
162
+ - 2
163
+ - 4
164
+ guide_source: videomama
165
+ binary_guide_prob: 0.5
166
+ videomama_res: 512
167
+ videomama_res_ratio: 0.25
168
+ videomama_base_model: /home/ubuntu/data1/samuel/data/pretrained_models/stable-video-diffusion-img2vid-xt
169
+ videomama_unet_ckpt: /home/ubuntu/data1/samuel/data/pretrained_models/VideoMaMa
170
+ videomama_svd_root: /home/ubuntu/data1/samuel/data/code/VideoMaMa/samuel_svd
171
+ videomama_mask_cond_mode: vae
172
+ vae:
173
+ vae_type: none
174
+ vae_pretrained: none
175
+ weight_dtype: float32
176
+ scale_factor: 1.0
177
+ vae_latent_dim: 3
178
+ vae_downsample_rate: 1
179
+ sample_posterior: false
180
+ extra: null
181
+ text_encoder:
182
+ text_encoder_name: zero
183
+ caption_channels: 2304
184
+ y_norm: true
185
+ y_norm_scale_factor: 0.01
186
+ model_max_length: 300
187
+ chi_prompt: []
188
+ extra: null
189
+ scheduler:
190
+ train_sampling_steps: 1000
191
+ predict_flow_v: true
192
+ noise_schedule: linear_flow
193
+ pred_sigma: false
194
+ learn_sigma: false
195
+ vis_sampler: flow_dpm-solver
196
+ flow_shift: 4.0
197
+ weighting_scheme: logit_normal
198
+ weighting_scheme_discriminator: logit_normal_trigflow
199
+ add_noise_timesteps:
200
+ - 1.5708
201
+ logit_mean: 0.0
202
+ logit_std: 1.0
203
+ logit_mean_discriminator: 0.0
204
+ logit_std_discriminator: 1.0
205
+ sigma_data: 0.5
206
+ timestep_norm_scale_factor: 1.0
207
+ extra: null
208
+ train:
209
+ num_workers: 4
210
+ seed: 1
211
+ train_batch_size: 1
212
+ num_epochs: 100
213
+ gradient_accumulation_steps: 4
214
+ effective_batch_size: 16
215
+ train_resolutions:
216
+ - - 1536
217
+ - 1536
218
+ - - 2048
219
+ - 2048
220
+ - - 2560
221
+ - 2560
222
+ grad_checkpointing: true
223
+ gradient_clip: 0.1
224
+ gc_step: 1
225
+ optimizer:
226
+ betas:
227
+ - 0.9
228
+ - 0.999
229
+ - 0.9999
230
+ eps:
231
+ - 1.0e-30
232
+ - 1.0e-16
233
+ lr: 0.0001
234
+ type: CAMEWrapper
235
+ weight_decay: 0.0
236
+ optimizer_D:
237
+ eps: 1.0e-10
238
+ lr: 0.0001
239
+ type: AdamW
240
+ weight_decay: 0.03
241
+ load_from_optimizer: false
242
+ load_from_lr_scheduler: false
243
+ resume_lr_scheduler: true
244
+ lr_schedule: constant
245
+ lr_schedule_args:
246
+ num_warmup_steps: 1000
247
+ override_lr_on_resume: false
248
+ auto_lr:
249
+ rule: sqrt
250
+ eval_batch_size: 16
251
+ use_fsdp: false
252
+ use_flash_attn: false
253
+ eval_sampling_steps: 500
254
+ log_interval: 20
255
+ mask_type: 'null'
256
+ mask_loss_coef: 0.0
257
+ load_mask_index: false
258
+ snr_loss: false
259
+ real_prompt_ratio: 1.0
260
+ early_stop_hours: 10000.0
261
+ save_image_epochs: 1
262
+ save_model_epochs: 5
263
+ save_model_steps: 1000
264
+ visualize: true
265
+ null_embed_root: /home/ubuntu/data1/samuel/data/training_models/refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822/pretrained_models
266
+ valid_prompt_embed_root: output/tmp_embed/
267
+ validation_prompts:
268
+ - dog
269
+ - portrait photo of a girl, photograph, highly detailed face, depth of field
270
+ - Self-portrait oil painting, a beautiful cyborg with golden hair, 8k
271
+ - Astronaut in a jungle, cold color palette, muted colors, detailed, 8k
272
+ - A photo of beautiful mountain with realistic sunset and blue lake, highly detailed,
273
+ masterpiece
274
+ local_save_vis: true
275
+ deterministic_validation: true
276
+ online_metric: false
277
+ eval_metric_step: 5000
278
+ online_metric_dir: metric_helper
279
+ work_dir: output/pixeldit_refiner_upsample_lazy_preserve_binary_videomama_dyncanvas_ratio_polyhole_local
280
+ skip_step: 0
281
+ loss_type: huber
282
+ huber_c: 0.001
283
+ num_ddim_timesteps: 50
284
+ ema_decay: 0.95
285
+ ema_update: false
286
+ ema_rate: 0.9999
287
+ repa_loss_weight: 0.0
288
+ repa_encoder_index: 14
289
+ mse_weight: 1.0
290
+ video_shared_noise: false
291
+ matting_alpha_weight: 0.0
292
+ matting_grad_weight: 0.0
293
+ matting_lap_weight: 0.0
294
+ matting_lap_levels: 5
295
+ matting_snr_weight: true
296
+ benchmark_eval: false
297
+ benchmark_data_dir: ''
298
+ benchmark_image_subdir: blurred_image
299
+ benchmark_mask_subdir: mask
300
+ benchmark_trimap_subdir: trimap
301
+ benchmark_step: 4000
302
+ benchmark_max_samples: 30
303
+ benchmark_steps: 20
304
+ benchmark_resize_mode: resize
305
+ val_image_dir: /home/ubuntu/data1/samuel/data/youtube_curated_4k/image
306
+ val_mask_dir: /home/ubuntu/data1/samuel/data/youtube_curated_4k/mask
307
+ val_min_resolution: 1536
308
+ patch_shuffle_unit: 0
309
+ patch_shuffle_prob: 1.0
310
+ pack_fg_train: true
311
+ pack_fg_unit: 128
312
+ pack_fg_thresh: 0.02
313
+ pack_fg_dilate: 1
314
+ pack_fg_slice: random
315
+ pack_fg_canvas_resolutions:
316
+ - 1024
317
+ - 1536
318
+ sync_rank_cost_draws: true
319
+ pack_fg_preserve_enable: true
320
+ pack_fg_refine_prob: 0.7
321
+ validation_num: 4
322
+ refiner_val_pack: ''
323
+ pipeline_val_num: 3
324
+ lora_enable: true
325
+ lora_rank: 64
326
+ lora_alpha: 64.0
327
+ lora_dropout: 0.0
328
+ lora_target_modules:
329
+ - all_linear
330
+ lora_exclude_modules:
331
+ - _repa_projector
332
+ - y_embedder
333
+ lora_full_train_modules:
334
+ - s_embedder
335
+ - pixel_embedder
336
+ - final_layer
337
+ - lq_proj
338
+ - pit_lq_gate
339
+ - refine_embed
340
+ - preserve_embed
341
+ refiner:
342
+ enable: false
343
+ vae_path: /home/colligo/sensei/Neurips26/weights/DiffSynth-Studio/Wan-Series-Converted-Safetensors/Wan2.1_VAE.safetensors
344
+ low_res: 256
345
+ z_dim: 16
346
+ min_detail_ratio: 0.25
347
+ max_blur_sigma: 1.0
348
+ max_noise_std: 0.04
349
+ enable_morph: false
350
+ max_morph_kernel: 7
351
+ min_severity: 0.0
352
+ max_severity: 1.0
353
+ degrade_mode: detail
354
+ cutoff_res:
355
+ - 32
356
+ cutoff_blur_sigma: 0.0
357
+ cutoff_noise_std: 0.0
358
+ use_real_coarse: false
359
+ coarse_num_frames: 3
360
+ lq_gate_type: sigma_aware_per_token_per_dim
361
+ coarse_steps: 1
362
+ coarse_ckpt: ''
363
+ coarse_base_wan: /home/colligo/sensei/Neurips26/weights/Wan-AI/Wan2.1-T2V-1.3B/diffusion_pytorch_model.safetensors
364
+ coarse_text_encoder: /home/colligo/sensei/Neurips26/weights/DiffSynth-Studio/Wan-Series-Converted-Safetensors/models_t5_umt5-xxl-enc-bf16.safetensors
365
+ coarse_tokenizer: /home/colligo/sensei/Neurips26/weights/Wan-AI/Wan2.1-T2V-1.3B/google/umt5-xxl
366
+ coarse_context: /home/colligo/data/pretrained_models/coarse_native/matting_context_umt5.pt
367
+ coarse_lora_alpha: 1.0
368
+ work_dir: /home/ubuntu/data1/samuel/data/training_models/refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822
369
+ resume_from: null
370
+ load_from: /home/ubuntu/data1/samuel/data/pretrained_models/PixelDiT-1300M-1024px/pixeldit_t2i_v1.pth
371
+ debug: false
372
+ caching: false
373
+ report_to: wandb
374
+ tracker_project_name: pixeldit_refiner_local
375
+ name: refiner_local_upsample_lazy_preserve_ratio_rearange_ablation_lora_videomama_binary_mix_ratio_polyhole_rerange_dinoh_rank64_20261101-111822
376
+ loss_report_name: loss