Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ryanwebster90/4375eac4b2bfa68e38441fbc5704ca84 to your computer and use it in GitHub Desktop.
Save ryanwebster90/4375eac4b2bfa68e38441fbc5704ca84 to your computer and use it in GitHub Desktop.
kdiffusion ffhq 64
{
"model": {
"type": "image_v1",
"input_channels": 3,
"input_size": [64, 64],
"mapping_out": 256,
"depths": [2, 2, 4, 4],
"channels": [128, 256, 256, 512],
"self_attn_depths": [false, false, true, true],
"dropout_rate": 0.05,
"augment_prob": 0.12,
"sigma_data": 0.5,
"sigma_min": 1e-2,
"sigma_max": 80,
"sigma_sample_density": {
"type": "lognormal",
"mean": -1.2,
"std": 1.2
}
},
"optimizer": {
"type": "adamw",
"lr": 1e-4,
"betas": [0.95, 0.999],
"eps": 1e-6,
"weight_decay": 1e-3
},
"lr_sched": {
"type": "inverse",
"inv_gamma": 20000.0,
"power": 1.0,
"warmup": 0.99
},
"ema_sched": {
"type": "inverse",
"power": 0.6667,
"max_value": 0.9999
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment