|
{
|
|
"_class_name": "UNet2DModel",
|
|
"_diffusers_version": "0.29.2",
|
|
"act_fn": "silu",
|
|
"add_attention": true,
|
|
"attention_head_dim": 8,
|
|
"attn_norm_num_groups": null,
|
|
"block_out_channels": [
|
|
128,
|
|
128,
|
|
256,
|
|
256,
|
|
512,
|
|
512,
|
|
1024
|
|
],
|
|
"center_input_sample": true,
|
|
"class_embed_type": null,
|
|
"down_block_types": [
|
|
"DownBlock2D",
|
|
"DownBlock2D",
|
|
"DownBlock2D",
|
|
"AttnDownBlock2D",
|
|
"DownBlock2D",
|
|
"AttnDownBlock2D",
|
|
"DownBlock2D"
|
|
],
|
|
"downsample_padding": 1,
|
|
"downsample_type": "resnet",
|
|
"dropout": 0.0,
|
|
"flip_sin_to_cos": true,
|
|
"freq_shift": 0,
|
|
"in_channels": 4,
|
|
"layers_per_block": 2,
|
|
"mid_block_scale_factor": 1,
|
|
"norm_eps": 1e-05,
|
|
"norm_num_groups": 32,
|
|
"num_class_embeds": null,
|
|
"num_train_timesteps": null,
|
|
"out_channels": 3,
|
|
"resnet_time_scale_shift": "default",
|
|
"sample_size": [
|
|
256,
|
|
192
|
|
],
|
|
"time_embedding_type": "positional",
|
|
"up_block_types": [
|
|
"UpBlock2D",
|
|
"AttnUpBlock2D",
|
|
"UpBlock2D",
|
|
"AttnUpBlock2D",
|
|
"UpBlock2D",
|
|
"UpBlock2D",
|
|
"UpBlock2D"
|
|
],
|
|
"upsample_type": "resnet"
|
|
}
|
|
|