Upload unet/config.json with huggingface_hub
Browse files- unet/config.json +57 -0
unet/config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.15.1",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"attention_head_dim": 8,
|
6 |
+
"block_out_channels": [
|
7 |
+
320,
|
8 |
+
640,
|
9 |
+
1280,
|
10 |
+
1280
|
11 |
+
],
|
12 |
+
"center_input_sample": false,
|
13 |
+
"class_embed_type": null,
|
14 |
+
"class_embeddings_concat": false,
|
15 |
+
"conv_in_kernel": 3,
|
16 |
+
"conv_out_kernel": 3,
|
17 |
+
"cross_attention_dim": 768,
|
18 |
+
"cross_attention_norm": null,
|
19 |
+
"down_block_types": [
|
20 |
+
"CrossAttnDownBlock2D",
|
21 |
+
"CrossAttnDownBlock2D",
|
22 |
+
"CrossAttnDownBlock2D",
|
23 |
+
"DownBlock2D"
|
24 |
+
],
|
25 |
+
"downsample_padding": 1,
|
26 |
+
"dual_cross_attention": false,
|
27 |
+
"encoder_hid_dim": null,
|
28 |
+
"flip_sin_to_cos": true,
|
29 |
+
"freq_shift": 0,
|
30 |
+
"in_channels": 4,
|
31 |
+
"layers_per_block": 2,
|
32 |
+
"mid_block_only_cross_attention": null,
|
33 |
+
"mid_block_scale_factor": 1,
|
34 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
35 |
+
"norm_eps": 1e-05,
|
36 |
+
"norm_num_groups": 32,
|
37 |
+
"num_class_embeds": null,
|
38 |
+
"only_cross_attention": false,
|
39 |
+
"out_channels": 4,
|
40 |
+
"projection_class_embeddings_input_dim": null,
|
41 |
+
"resnet_out_scale_factor": 1.0,
|
42 |
+
"resnet_skip_time_act": false,
|
43 |
+
"resnet_time_scale_shift": "default",
|
44 |
+
"sample_size": 64,
|
45 |
+
"time_cond_proj_dim": null,
|
46 |
+
"time_embedding_act_fn": null,
|
47 |
+
"time_embedding_type": "positional",
|
48 |
+
"timestep_post_act": null,
|
49 |
+
"up_block_types": [
|
50 |
+
"UpBlock2D",
|
51 |
+
"CrossAttnUpBlock2D",
|
52 |
+
"CrossAttnUpBlock2D",
|
53 |
+
"CrossAttnUpBlock2D"
|
54 |
+
],
|
55 |
+
"upcast_attention": false,
|
56 |
+
"use_linear_projection": false
|
57 |
+
}
|