DifFace / config.json
Zongsheng
upload diffusion model
4f580fd
raw
history blame
975 Bytes
{
"_class_name": "UNet2DModel",
"_diffusers_version": "0.12.0.dev0",
"act_fn": "silu",
"add_attention": "true",
"attention_head_dim": 64,
"block_out_channels": [
32,
64,
128,
256,
256,
512,
512
],
"center_input_sample": false,
"down_block_types": [
"DownBlock2D",
"DownBlock2D",
"DownBlock2D",
"DownBlock2D",
"AttnDownBlock2D",
"AttnDownBlock2D",
"AttnDownBlock2D"
],
"downsample_padding": 1,
"flip_sin_to_cos": true,
"freq_shift": 0,
"in_channels": 3,
"layers_per_block": [
1,
2,
2,
2,
2,
3,
4
],
"mid_block_scale_factor": 1,
"norm_eps": 1e-05,
"norm_num_groups": 32,
"out_channels": 6,
"resnet_time_scale_shift": "scale_shift",
"sample_size": 512,
"time_embedding_type": "positional",
"up_block_types": [
"AttnUpBlock2D",
"AttnUpBlock2D",
"AttnUpBlock2D",
"UpBlock2D",
"UpBlock2D",
"UpBlock2D",
"UpBlock2D"
]
}