patrickvonplaten
commited on
Commit
•
5bbab78
1
Parent(s):
55197ef
Update config.json
Browse files- config.json +13 -1
config.json
CHANGED
@@ -1,17 +1,29 @@
|
|
1 |
{
|
2 |
"_class_name": "UNetModel",
|
|
|
|
|
3 |
"attn_resolutions": [
|
4 |
16
|
5 |
],
|
|
|
|
|
|
|
6 |
"ch": 32,
|
|
|
7 |
"ch_mult": [
|
8 |
1,
|
9 |
2
|
10 |
],
|
|
|
|
|
|
|
11 |
"dropout": 0.0,
|
12 |
"in_channels": 3,
|
13 |
"num_res_blocks": 2,
|
14 |
"out_ch": 3,
|
|
|
15 |
"resamp_with_conv": true,
|
16 |
-
"resolution": 32
|
|
|
|
|
17 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNetModel",
|
3 |
+
"down_blocks": ["UNetResDownBlock2D", "UNetResAttnDownBlock2D"],
|
4 |
+
"up_blocks": ["UNetResAttnUpBlock2D", "UNetResUpBlock2D"],
|
5 |
"attn_resolutions": [
|
6 |
16
|
7 |
],
|
8 |
+
"conv_resample": true,
|
9 |
+
"downsample_padding": 0,
|
10 |
+
"num_head_channels": 64,
|
11 |
"ch": 32,
|
12 |
+
"block_channels": [32, 64],
|
13 |
"ch_mult": [
|
14 |
1,
|
15 |
2
|
16 |
],
|
17 |
+
"resnet_eps": 1e-6,
|
18 |
+
"flip_sin_to_cos": false,
|
19 |
+
"downscale_freq_shift": 1,
|
20 |
"dropout": 0.0,
|
21 |
"in_channels": 3,
|
22 |
"num_res_blocks": 2,
|
23 |
"out_ch": 3,
|
24 |
+
"out_channels": 3,
|
25 |
"resamp_with_conv": true,
|
26 |
+
"resolution": 32,
|
27 |
+
"image": 32,
|
28 |
+
"ddpm": true
|
29 |
}
|