HDiT-experiment / config_weebshit.json
parsee-mizuhashi's picture
Upload config_weebshit.json
3949553 verified
{
"model": {
"type": "image_transformer_v2",
"input_channels": 3,
"input_size": [256, 256],
"patch_size": [8, 8],
"depths": [4, 4, 8],
"widths": [512, 1024, 2048],
"self_attns": [
{"type": "neighborhood", "d_head": 64, "kernel_size": 9},
{"type": "neighborhood", "d_head": 64, "kernel_size": 9},
{"type": "global", "d_head": 64}
],
"loss_config": "karras",
"loss_weighting": "soft-min-snr",
"dropout_rate": [0.0, 0.0, 0.1],
"mapping_dropout_rate": 0.0,
"augment_prob": 0.0,
"sigma_data": 0.5,
"sigma_min": 1e-2,
"sigma_max": 160,
"sigma_sample_density": {
"type": "cosine-interpolated"
}
},
"dataset": {
"type": "huggingface",
"location": "woctordho/img-256-danbooru",
"image_key": "image"
},
"optimizer": {
"type": "adam8bit",
"lr": 5e-4,
"betas": [0.9, 0.95],
"eps": 1e-8,
"weight_decay": 1e-3
},
"lr_sched": {
"type": "constant",
"warmup": 0.0
},
"ema_sched": {
"type": "inverse",
"power": 0.75,
"max_value": 0.9999
}
}