{ | |
"_class_name": "UNet2DModel", | |
"_diffusers_version": "0.31.0", | |
"_name_or_path": "/home/shihaofeng/.cache/huggingface/hub/models--google--ddpm-celebahq-256/snapshots/cd5c944777ea2668051904ead6cc120739b86c4d", | |
"act_fn": "silu", | |
"add_attention": true, | |
"attention_head_dim": null, | |
"attn_norm_num_groups": null, | |
"block_out_channels": [ | |
128, | |
128, | |
256, | |
256, | |
512, | |
512 | |
], | |
"center_input_sample": false, | |
"class_embed_type": null, | |
"down_block_types": [ | |
"DownBlock2D", | |
"DownBlock2D", | |
"DownBlock2D", | |
"DownBlock2D", | |
"AttnDownBlock2D", | |
"DownBlock2D" | |
], | |
"downsample_padding": 0, | |
"downsample_type": "conv", | |
"dropout": 0.0, | |
"flip_sin_to_cos": false, | |
"freq_shift": 1, | |
"in_channels": 3, | |
"layers_per_block": 2, | |
"mid_block_scale_factor": 1, | |
"norm_eps": 1e-06, | |
"norm_num_groups": 32, | |
"num_class_embeds": null, | |
"num_train_timesteps": null, | |
"out_channels": 3, | |
"resnet_time_scale_shift": "default", | |
"sample_size": 256, | |
"time_embedding_type": "positional", | |
"up_block_types": [ | |
"UpBlock2D", | |
"AttnUpBlock2D", | |
"UpBlock2D", | |
"UpBlock2D", | |
"UpBlock2D", | |
"UpBlock2D" | |
], | |
"upsample_type": "conv" | |
} | |