Upload config.json
Browse files- unet/config.json +2 -10
unet/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
@@ -10,7 +10,6 @@
|
|
10 |
1280
|
11 |
],
|
12 |
"center_input_sample": false,
|
13 |
-
"class_embed_type": null,
|
14 |
"cross_attention_dim": 768,
|
15 |
"down_block_types": [
|
16 |
"CrossAttnDownBlock2D",
|
@@ -19,26 +18,19 @@
|
|
19 |
"DownBlock2D"
|
20 |
],
|
21 |
"downsample_padding": 1,
|
22 |
-
"dual_cross_attention": false,
|
23 |
"flip_sin_to_cos": true,
|
24 |
"freq_shift": 0,
|
25 |
"in_channels": 4,
|
26 |
"layers_per_block": 2,
|
27 |
"mid_block_scale_factor": 1,
|
28 |
-
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
29 |
"norm_eps": 1e-05,
|
30 |
"norm_num_groups": 32,
|
31 |
-
"num_class_embeds": null,
|
32 |
-
"only_cross_attention": false,
|
33 |
"out_channels": 4,
|
34 |
-
"resnet_time_scale_shift": "default",
|
35 |
"sample_size": 64,
|
36 |
"up_block_types": [
|
37 |
"UpBlock2D",
|
38 |
"CrossAttnUpBlock2D",
|
39 |
"CrossAttnUpBlock2D",
|
40 |
"CrossAttnUpBlock2D"
|
41 |
-
]
|
42 |
-
"upcast_attention": false,
|
43 |
-
"use_linear_projection": false
|
44 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.6.0",
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
|
|
10 |
1280
|
11 |
],
|
12 |
"center_input_sample": false,
|
|
|
13 |
"cross_attention_dim": 768,
|
14 |
"down_block_types": [
|
15 |
"CrossAttnDownBlock2D",
|
|
|
18 |
"DownBlock2D"
|
19 |
],
|
20 |
"downsample_padding": 1,
|
|
|
21 |
"flip_sin_to_cos": true,
|
22 |
"freq_shift": 0,
|
23 |
"in_channels": 4,
|
24 |
"layers_per_block": 2,
|
25 |
"mid_block_scale_factor": 1,
|
|
|
26 |
"norm_eps": 1e-05,
|
27 |
"norm_num_groups": 32,
|
|
|
|
|
28 |
"out_channels": 4,
|
|
|
29 |
"sample_size": 64,
|
30 |
"up_block_types": [
|
31 |
"UpBlock2D",
|
32 |
"CrossAttnUpBlock2D",
|
33 |
"CrossAttnUpBlock2D",
|
34 |
"CrossAttnUpBlock2D"
|
35 |
+
]
|
|
|
|
|
36 |
}
|