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