patrickvonplaten
commited on
Commit
•
a4d5f5f
1
Parent(s):
9324968
Update config.json
Browse files- config.json +49 -2
config.json
CHANGED
@@ -1,12 +1,14 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.23.0.dev0",
|
|
|
4 |
"block_out_channels": [
|
5 |
128,
|
6 |
256,
|
7 |
512,
|
8 |
512
|
9 |
],
|
|
|
10 |
"decoder_args": {
|
11 |
"_use_default_values": [
|
12 |
"downsample_type",
|
@@ -66,6 +68,34 @@
|
|
66 |
],
|
67 |
"upsample_type": "conv"
|
68 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
"encoder_args": {
|
70 |
"act_fn": "silu",
|
71 |
"block_out_channels": [
|
@@ -86,6 +116,23 @@
|
|
86 |
"norm_num_groups": 32,
|
87 |
"out_channels": 4
|
88 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
"latent_channels": 4,
|
90 |
"scaling_factor": 0.18215
|
91 |
-
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "ConsistencyDecoderVAE",
|
3 |
"_diffusers_version": "0.23.0.dev0",
|
4 |
+
"_name_or_path": "openai/consistency-decoder",
|
5 |
"block_out_channels": [
|
6 |
128,
|
7 |
256,
|
8 |
512,
|
9 |
512
|
10 |
],
|
11 |
+
"decoder_add_attention": false,
|
12 |
"decoder_args": {
|
13 |
"_use_default_values": [
|
14 |
"downsample_type",
|
|
|
68 |
],
|
69 |
"upsample_type": "conv"
|
70 |
},
|
71 |
+
"decoder_block_out_channels": [
|
72 |
+
320,
|
73 |
+
640,
|
74 |
+
1024,
|
75 |
+
1024
|
76 |
+
],
|
77 |
+
"decoder_down_block_types": [
|
78 |
+
"ResnetDownsampleBlock2D",
|
79 |
+
"ResnetDownsampleBlock2D",
|
80 |
+
"ResnetDownsampleBlock2D",
|
81 |
+
"ResnetDownsampleBlock2D"
|
82 |
+
],
|
83 |
+
"decoder_downsample_padding": 1,
|
84 |
+
"decoder_in_channels": 7,
|
85 |
+
"decoder_layers_per_block": 3,
|
86 |
+
"decoder_norm_eps": 1e-05,
|
87 |
+
"decoder_norm_num_groups": 32,
|
88 |
+
"decoder_num_train_timesteps": 1024,
|
89 |
+
"decoder_out_channels": 6,
|
90 |
+
"decoder_resnet_time_scale_shift": "scale_shift",
|
91 |
+
"decoder_time_embedding_type": "learned",
|
92 |
+
"decoder_up_block_types": [
|
93 |
+
"ResnetUpsampleBlock2D",
|
94 |
+
"ResnetUpsampleBlock2D",
|
95 |
+
"ResnetUpsampleBlock2D",
|
96 |
+
"ResnetUpsampleBlock2D"
|
97 |
+
],
|
98 |
+
"encoder_act_fn": "silu",
|
99 |
"encoder_args": {
|
100 |
"act_fn": "silu",
|
101 |
"block_out_channels": [
|
|
|
116 |
"norm_num_groups": 32,
|
117 |
"out_channels": 4
|
118 |
},
|
119 |
+
"encoder_block_out_channels": [
|
120 |
+
128,
|
121 |
+
256,
|
122 |
+
512,
|
123 |
+
512
|
124 |
+
],
|
125 |
+
"encoder_double_z": true,
|
126 |
+
"encoder_down_block_types": [
|
127 |
+
"DownEncoderBlock2D",
|
128 |
+
"DownEncoderBlock2D",
|
129 |
+
"DownEncoderBlock2D",
|
130 |
+
"DownEncoderBlock2D"
|
131 |
+
],
|
132 |
+
"encoder_in_channels": 3,
|
133 |
+
"encoder_layers_per_block": 2,
|
134 |
+
"encoder_norm_num_groups": 32,
|
135 |
+
"encoder_out_channels": 4,
|
136 |
"latent_channels": 4,
|
137 |
"scaling_factor": 0.18215
|
138 |
+
}
|