Update unet/config.json
Browse files- unet/config.json +2 -20
unet/config.json
CHANGED
@@ -15,12 +15,7 @@
|
|
15 |
1280
|
16 |
],
|
17 |
"center_input_sample": false,
|
18 |
-
"class_embed_type": null,
|
19 |
-
"class_embeddings_concat": false,
|
20 |
-
"conv_in_kernel": 3,
|
21 |
-
"conv_out_kernel": 3,
|
22 |
"cross_attention_dim": 1024,
|
23 |
-
"cross_attention_norm": null,
|
24 |
"down_block_types": [
|
25 |
"CrossAttnDownBlock2D",
|
26 |
"CrossAttnDownBlock2D",
|
@@ -28,37 +23,24 @@
|
|
28 |
"DownBlock2D"
|
29 |
],
|
30 |
"downsample_padding": 1,
|
31 |
-
"dropout": 0.0,
|
32 |
"dual_cross_attention": false,
|
33 |
-
"encoder_hid_dim": null,
|
34 |
"flip_sin_to_cos": true,
|
35 |
"freq_shift": 0,
|
36 |
"in_channels": 4,
|
37 |
"layers_per_block": 2,
|
38 |
-
"mid_block_only_cross_attention": null,
|
39 |
"mid_block_scale_factor": 1,
|
40 |
-
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
41 |
"norm_eps": 1e-05,
|
42 |
"norm_num_groups": 32,
|
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_type": "positional",
|
54 |
-
"timestep_post_act": null,
|
55 |
"up_block_types": [
|
56 |
"UpBlock2D",
|
57 |
"CrossAttnUpBlock2D",
|
58 |
"CrossAttnUpBlock2D",
|
59 |
"CrossAttnUpBlock2D"
|
60 |
],
|
61 |
-
"
|
62 |
-
"use_linear_projection": true,
|
63 |
-
"use_memory_efficient_attention": false
|
64 |
}
|
|
|
|
15 |
1280
|
16 |
],
|
17 |
"center_input_sample": false,
|
|
|
|
|
|
|
|
|
18 |
"cross_attention_dim": 1024,
|
|
|
19 |
"down_block_types": [
|
20 |
"CrossAttnDownBlock2D",
|
21 |
"CrossAttnDownBlock2D",
|
|
|
23 |
"DownBlock2D"
|
24 |
],
|
25 |
"downsample_padding": 1,
|
|
|
26 |
"dual_cross_attention": false,
|
|
|
27 |
"flip_sin_to_cos": true,
|
28 |
"freq_shift": 0,
|
29 |
"in_channels": 4,
|
30 |
"layers_per_block": 2,
|
|
|
31 |
"mid_block_scale_factor": 1,
|
|
|
32 |
"norm_eps": 1e-05,
|
33 |
"norm_num_groups": 32,
|
34 |
"num_class_embeds": null,
|
35 |
"only_cross_attention": false,
|
36 |
"out_channels": 4,
|
|
|
|
|
|
|
|
|
37 |
"sample_size": 64,
|
|
|
|
|
|
|
|
|
38 |
"up_block_types": [
|
39 |
"UpBlock2D",
|
40 |
"CrossAttnUpBlock2D",
|
41 |
"CrossAttnUpBlock2D",
|
42 |
"CrossAttnUpBlock2D"
|
43 |
],
|
44 |
+
"use_linear_projection": true
|
|
|
|
|
45 |
}
|
46 |
+
|