Commit
·
0dff2e1
1
Parent(s):
1fc704c
update config
Browse files- config.json +27 -26
- diffusion_model.pt → diffusion_pytorch_model.bin +0 -0
config.json
CHANGED
@@ -1,48 +1,49 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.0.4",
|
4 |
-
"
|
5 |
-
|
6 |
-
4,
|
7 |
-
2
|
8 |
-
],
|
9 |
-
"attn_resolutions": [
|
10 |
-
16
|
11 |
-
],
|
12 |
"block_channels": [
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
32,
|
14 |
64,
|
15 |
64,
|
16 |
64
|
17 |
],
|
18 |
"center_input_sample": false,
|
19 |
-
"conv_resample": true,
|
20 |
-
"ddpm": false,
|
21 |
"down_blocks": [
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
],
|
27 |
"downsample_padding": 1,
|
28 |
"downscale_freq_shift": 0,
|
29 |
-
"dropout": 0.0,
|
30 |
"flip_sin_to_cos": true,
|
31 |
-
"
|
|
|
32 |
"in_channels": 3,
|
33 |
-
"
|
34 |
"mid_block_scale_factor": 1.41421356237,
|
|
|
|
|
35 |
"num_head_channels": 32,
|
36 |
-
"num_res_blocks":
|
37 |
"out_channels": 3,
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
|
|
41 |
"time_embedding_type": "fourier",
|
42 |
"up_blocks": [
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
]
|
48 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
"_diffusers_version": "0.0.4",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"attention_head_dim": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"block_channels": [
|
7 |
+
224,
|
8 |
+
448,
|
9 |
+
672,
|
10 |
+
896
|
11 |
+
],
|
12 |
+
"block_out_channels": [
|
13 |
32,
|
14 |
64,
|
15 |
64,
|
16 |
64
|
17 |
],
|
18 |
"center_input_sample": false,
|
|
|
|
|
19 |
"down_blocks": [
|
20 |
+
"SkipDownBlock2D",
|
21 |
+
"AttnSkipDownBlock2D",
|
22 |
+
"SkipDownBlock2D",
|
23 |
+
"SkipDownBlock2D"
|
24 |
],
|
25 |
"downsample_padding": 1,
|
26 |
"downscale_freq_shift": 0,
|
|
|
27 |
"flip_sin_to_cos": true,
|
28 |
+
"freq_shift": 0,
|
29 |
+
"image_size": null,
|
30 |
"in_channels": 3,
|
31 |
+
"layers_per_block": 1,
|
32 |
"mid_block_scale_factor": 1.41421356237,
|
33 |
+
"norm_eps": 1e-06,
|
34 |
+
"norm_num_groups": null,
|
35 |
"num_head_channels": 32,
|
36 |
+
"num_res_blocks": null,
|
37 |
"out_channels": 3,
|
38 |
+
"resnet_act_fn": "silu",
|
39 |
+
"resnet_eps": 1e-05,
|
40 |
+
"resnet_num_groups": 32,
|
41 |
+
"sample_size": 32,
|
42 |
"time_embedding_type": "fourier",
|
43 |
"up_blocks": [
|
44 |
+
"SkipUpBlock2D",
|
45 |
+
"SkipUpBlock2D",
|
46 |
+
"AttnSkipUpBlock2D",
|
47 |
+
"SkipUpBlock2D"
|
48 |
]
|
49 |
}
|
diffusion_model.pt → diffusion_pytorch_model.bin
RENAMED
File without changes
|