Update unet/config.json
Browse files- unet/config.json +32 -64
unet/config.json
CHANGED
@@ -1,65 +1,33 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
"freq_shift": 0,
|
35 |
-
"in_channels": 4,
|
36 |
-
"layers_per_block": 2,
|
37 |
-
"mid_block_only_cross_attention": null,
|
38 |
-
"mid_block_scale_factor": 1,
|
39 |
-
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
40 |
-
"norm_eps": 1e-05,
|
41 |
-
"norm_num_groups": 32,
|
42 |
-
"num_attention_heads": null,
|
43 |
-
"num_class_embeds": null,
|
44 |
-
"only_cross_attention": false,
|
45 |
-
"out_channels": 4,
|
46 |
-
"projection_class_embeddings_input_dim": null,
|
47 |
-
"resnet_out_scale_factor": 1.0,
|
48 |
-
"resnet_skip_time_act": false,
|
49 |
-
"resnet_time_scale_shift": "default",
|
50 |
-
"sample_size": 64,
|
51 |
-
"time_cond_proj_dim": null,
|
52 |
-
"time_embedding_act_fn": null,
|
53 |
-
"time_embedding_dim": null,
|
54 |
-
"time_embedding_type": "positional",
|
55 |
-
"timestep_post_act": null,
|
56 |
-
"transformer_layers_per_block": 1,
|
57 |
-
"up_block_types": [
|
58 |
-
"UpBlock2D",
|
59 |
-
"CrossAttnUpBlock2D",
|
60 |
-
"CrossAttnUpBlock2D",
|
61 |
-
"CrossAttnUpBlock2D"
|
62 |
-
],
|
63 |
-
"upcast_attention": false,
|
64 |
-
"use_linear_projection": false
|
65 |
-
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.6.0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"attention_head_dim": 8,
|
6 |
+
"block_out_channels": [
|
7 |
+
320,
|
8 |
+
640,
|
9 |
+
1280
|
10 |
+
],
|
11 |
+
"center_input_sample": false,
|
12 |
+
"cross_attention_dim": 768,
|
13 |
+
"down_block_types": [
|
14 |
+
"CrossAttnDownBlock2D",
|
15 |
+
"CrossAttnDownBlock2D",
|
16 |
+
"CrossAttnDownBlock2D"
|
17 |
+
],
|
18 |
+
"downsample_padding": 1,
|
19 |
+
"flip_sin_to_cos": true,
|
20 |
+
"freq_shift": 0,
|
21 |
+
"in_channels": 4,
|
22 |
+
"layers_per_block": 1,
|
23 |
+
"mid_block_type": null,
|
24 |
+
"norm_eps": 1e-05,
|
25 |
+
"norm_num_groups": 32,
|
26 |
+
"out_channels": 4,
|
27 |
+
"sample_size": 64,
|
28 |
+
"up_block_types": [
|
29 |
+
"CrossAttnUpBlock2D",
|
30 |
+
"CrossAttnUpBlock2D",
|
31 |
+
"CrossAttnUpBlock2D"
|
32 |
+
]
|
33 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|