Upload 2 files
Browse files- unet/config.json +21 -1
- unet/diffusion_pytorch_model.bin +2 -2
unet/config.json
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
|
|
|
|
|
|
5 |
"attention_head_dim": [
|
6 |
5,
|
7 |
10,
|
@@ -16,7 +19,11 @@
|
|
16 |
],
|
17 |
"center_input_sample": false,
|
18 |
"class_embed_type": null,
|
|
|
|
|
|
|
19 |
"cross_attention_dim": 1024,
|
|
|
20 |
"down_block_types": [
|
21 |
"CrossAttnDownBlock2D",
|
22 |
"CrossAttnDownBlock2D",
|
@@ -25,19 +32,32 @@
|
|
25 |
],
|
26 |
"downsample_padding": 1,
|
27 |
"dual_cross_attention": false,
|
|
|
|
|
28 |
"flip_sin_to_cos": true,
|
29 |
"freq_shift": 0,
|
30 |
"in_channels": 4,
|
31 |
"layers_per_block": 2,
|
|
|
32 |
"mid_block_scale_factor": 1,
|
33 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
34 |
"norm_eps": 1e-05,
|
35 |
"norm_num_groups": 32,
|
|
|
36 |
"num_class_embeds": null,
|
37 |
"only_cross_attention": false,
|
38 |
"out_channels": 4,
|
|
|
|
|
|
|
39 |
"resnet_time_scale_shift": "default",
|
40 |
"sample_size": 64,
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
"up_block_types": [
|
42 |
"UpBlock2D",
|
43 |
"CrossAttnUpBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.18.2",
|
4 |
"act_fn": "silu",
|
5 |
+
"addition_embed_type": null,
|
6 |
+
"addition_embed_type_num_heads": 64,
|
7 |
+
"addition_time_embed_dim": null,
|
8 |
"attention_head_dim": [
|
9 |
5,
|
10 |
10,
|
|
|
19 |
],
|
20 |
"center_input_sample": false,
|
21 |
"class_embed_type": null,
|
22 |
+
"class_embeddings_concat": false,
|
23 |
+
"conv_in_kernel": 3,
|
24 |
+
"conv_out_kernel": 3,
|
25 |
"cross_attention_dim": 1024,
|
26 |
+
"cross_attention_norm": null,
|
27 |
"down_block_types": [
|
28 |
"CrossAttnDownBlock2D",
|
29 |
"CrossAttnDownBlock2D",
|
|
|
32 |
],
|
33 |
"downsample_padding": 1,
|
34 |
"dual_cross_attention": false,
|
35 |
+
"encoder_hid_dim": null,
|
36 |
+
"encoder_hid_dim_type": null,
|
37 |
"flip_sin_to_cos": true,
|
38 |
"freq_shift": 0,
|
39 |
"in_channels": 4,
|
40 |
"layers_per_block": 2,
|
41 |
+
"mid_block_only_cross_attention": null,
|
42 |
"mid_block_scale_factor": 1,
|
43 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
44 |
"norm_eps": 1e-05,
|
45 |
"norm_num_groups": 32,
|
46 |
+
"num_attention_heads": null,
|
47 |
"num_class_embeds": null,
|
48 |
"only_cross_attention": false,
|
49 |
"out_channels": 4,
|
50 |
+
"projection_class_embeddings_input_dim": null,
|
51 |
+
"resnet_out_scale_factor": 1.0,
|
52 |
+
"resnet_skip_time_act": false,
|
53 |
"resnet_time_scale_shift": "default",
|
54 |
"sample_size": 64,
|
55 |
+
"time_cond_proj_dim": null,
|
56 |
+
"time_embedding_act_fn": null,
|
57 |
+
"time_embedding_dim": null,
|
58 |
+
"time_embedding_type": "positional",
|
59 |
+
"timestep_post_act": null,
|
60 |
+
"transformer_layers_per_block": 1,
|
61 |
"up_block_types": [
|
62 |
"UpBlock2D",
|
63 |
"CrossAttnUpBlock2D",
|
unet/diffusion_pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87d061a1893ad0ce5e4488420e790428d2a7216aac178e88003dc1722eef3053
|
3 |
+
size 1732101605
|