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