Update vae/config.json
Browse files- vae/config.json +18 -25
vae/config.json
CHANGED
@@ -1,36 +1,29 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.2.2",
|
4 |
"act_fn": "silu",
|
5 |
-
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
],
|
12 |
-
"center_input_sample": false,
|
13 |
-
"cross_attention_dim": 768,
|
14 |
"down_block_types": [
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
],
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"freq_shift": 0,
|
23 |
-
"in_channels": 4,
|
24 |
"layers_per_block": 2,
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"out_channels": 4,
|
29 |
-
"sample_size": 64,
|
30 |
"up_block_types": [
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
]
|
36 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.2.2",
|
4 |
"act_fn": "silu",
|
|
|
5 |
"block_out_channels": [
|
6 |
+
128,
|
7 |
+
256,
|
8 |
+
512,
|
9 |
+
512
|
10 |
],
|
|
|
|
|
11 |
"down_block_types": [
|
12 |
+
"DownEncoderBlock2D",
|
13 |
+
"DownEncoderBlock2D",
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D"
|
16 |
],
|
17 |
+
"in_channels": 6,
|
18 |
+
"latent_channels": 4,
|
|
|
|
|
19 |
"layers_per_block": 2,
|
20 |
+
"out_channels": 6,
|
21 |
+
"sample_size": 256,
|
22 |
+
"scaling_factor": 0.18215,
|
|
|
|
|
23 |
"up_block_types": [
|
24 |
+
"UpDecoderBlock2D",
|
25 |
+
"UpDecoderBlock2D",
|
26 |
+
"UpDecoderBlock2D",
|
27 |
+
"UpDecoderBlock2D"
|
28 |
]
|
29 |
}
|