weihan1's picture
Add shape_flow_image (250k EMA) checkpoint and config
e6db0d8 verified
Raw History Blame Contribute Delete
4.25 kB
{
"models": {
"denoiser": {
"name": "ElasticSLatFlowModel",
"args": {
"resolution": 32,
"in_channels": 32,
"out_channels": 32,
"model_channels": 1536,
"cond_channels": 1024,
"num_blocks": 30,
"num_heads": 12,
"mlp_ratio": 5.3334,
"pe_mode": "rope",
"share_mod": true,
"initialization": "scaled",
"qk_rms_norm": true,
"qk_rms_norm_cross": true
}
}
},
"dataset": {
"name": "ImageConditionedSLatShapePart",
"args": {
"resolution": 512,
"image_size": 512,
"min_aesthetic_score": 4.5,
"max_tokens": 8192,
"part_vis_mode": "kmeans",
"normalization": {
"mean": [
-0.2545861792885026,
-0.0235217341628137,
-0.6217663599243847,
-0.4585245792059365,
0.6336737393112823,
-0.0317205934867976,
1.0456148514875312,
-0.7262615462361359,
-0.316837397801735,
1.3283356879396842,
-0.11400639394982313,
-1.992370366149274,
0.25723104236277267,
-1.8317595013504944,
-1.3642864704582593,
-0.6768925829903841,
0.6494133634507845,
-1.6782728486123573,
0.5071711804826373,
-0.32238156310319,
2.9170368087356744,
0.8388037915914781,
-1.3538619912729837,
-0.9100232961186672,
-0.09362258928996223,
1.2462150473977425,
0.9947762294943934,
0.3474941712909151,
-0.0012750741853434847,
-2.3201629788506493,
-2.464707153995877,
0.8006803628204506
],
"std": [
4.14770437645665,
3.418149774092108,
3.7030297960649974,
3.627242719414208,
4.923659367980674,
3.6663376862809347,
3.7208425730971983,
3.778900802501624,
3.696177074317151,
3.7102468158400463,
3.4620439002686076,
4.012273553989224,
3.7594966988571232,
4.158575815686549,
3.839075628925148,
3.5664808040287324,
3.4769881610957434,
3.6206524905420197,
3.886546750962823,
3.9508266798978915,
3.6272560029889536,
3.7345782351084114,
3.9679411087277585,
3.6733746285397464,
3.9288605883443077,
3.7903295374491157,
4.1561574585327845,
3.926608284957374,
4.08894541903903,
3.620812789475402,
3.6007436075960393,
3.7833010434799075
]
},
"slat_dec_path": "checkpoints/vae_512",
"slat_dec_ckpt": "ema0.9999_step0100000"
}
},
"trainer": {
"name": "ImageConditionedSparseFlowMatchingCFGTrainer",
"args": {
"max_steps": 250000,
"batch_size_per_gpu": 4,
"batch_split": 1,
"optimizer": {
"name": "AdamW",
"args": {
"lr": 5e-05,
"weight_decay": 0.01,
"betas": [
0.9,
0.95
],
"eps": 1e-08
}
},
"ema_rate": [
0.9999
],
"mix_precision_mode": "amp",
"mix_precision_dtype": "bfloat16",
"elastic": {
"name": "LinearMemoryController",
"args": {
"target_ratio": 0.86,
"max_mem_ratio_start": 0.3
}
},
"grad_clip": {
"name": "AdaptiveGradClipper",
"args": {
"max_norm": 1.0,
"clip_percentile": 95
}
},
"i_log": 50,
"i_sample": 9999999999999,
"i_save": 10000,
"p_uncond": 0.1,
"t_schedule": {
"name": "uniform",
"args": {}
},
"sigma_min": 1e-05,
"image_cond_model": {
"name": "DinoV3FeatureExtractor",
"args": {
"model_name": "camenduru/dinov3-vitl16-pretrain-lvd1689m",
"image_size": 512
}
},
"finetune_ckpt": {
"denoiser": "checkpoints/pretrained/slat_flow_img2shape_dit_1_3B_512_bf16.pt"
},
"use_wandb": false,
"num_workers": 8
}
}
}