Upload config.json
Browse files- unet/config.json +9 -9
unet/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.6.0",
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
@@ -12,10 +12,10 @@
|
|
12 |
"center_input_sample": false,
|
13 |
"cross_attention_dim": 768,
|
14 |
"down_block_types": [
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
],
|
20 |
"downsample_padding": 1,
|
21 |
"flip_sin_to_cos": true,
|
@@ -28,9 +28,9 @@
|
|
28 |
"out_channels": 4,
|
29 |
"sample_size": 64,
|
30 |
"up_block_types": [
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
]
|
36 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.6.0",
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
|
|
12 |
"center_input_sample": false,
|
13 |
"cross_attention_dim": 768,
|
14 |
"down_block_types": [
|
15 |
+
"CrossAttnDownBlock2D",
|
16 |
+
"CrossAttnDownBlock2D",
|
17 |
+
"CrossAttnDownBlock2D",
|
18 |
+
"DownBlock2D"
|
19 |
],
|
20 |
"downsample_padding": 1,
|
21 |
"flip_sin_to_cos": true,
|
|
|
28 |
"out_channels": 4,
|
29 |
"sample_size": 64,
|
30 |
"up_block_types": [
|
31 |
+
"UpBlock2D",
|
32 |
+
"CrossAttnUpBlock2D",
|
33 |
+
"CrossAttnUpBlock2D",
|
34 |
+
"CrossAttnUpBlock2D"
|
35 |
]
|
36 |
}
|