reza-alipour
commited on
Commit
·
fdc47b1
1
Parent(s):
69d26f7
Upload folder using huggingface_hub
Browse files- config.json +11 -27
- diffusion_pytorch_model.safetensors +2 -2
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.25.0.dev0",
|
4 |
-
"_name_or_path": "output/
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
@@ -12,20 +12,22 @@
|
|
12 |
20,
|
13 |
20
|
14 |
],
|
15 |
-
"attention_type": "default",
|
16 |
"block_out_channels": [
|
17 |
320,
|
18 |
640,
|
19 |
1280,
|
20 |
1280
|
21 |
],
|
22 |
-
"center_input_sample": false,
|
23 |
"class_embed_type": null,
|
24 |
-
"
|
25 |
-
"
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
27 |
"cross_attention_dim": 1024,
|
28 |
-
"cross_attention_norm": null,
|
29 |
"down_block_types": [
|
30 |
"CrossAttnDownBlock2D",
|
31 |
"CrossAttnDownBlock2D",
|
@@ -33,15 +35,13 @@
|
|
33 |
"DownBlock2D"
|
34 |
],
|
35 |
"downsample_padding": 1,
|
36 |
-
"dropout": 0.0,
|
37 |
-
"dual_cross_attention": false,
|
38 |
"encoder_hid_dim": null,
|
39 |
"encoder_hid_dim_type": null,
|
40 |
"flip_sin_to_cos": true,
|
41 |
"freq_shift": 0,
|
|
|
42 |
"in_channels": 4,
|
43 |
"layers_per_block": 2,
|
44 |
-
"mid_block_only_cross_attention": null,
|
45 |
"mid_block_scale_factor": 1,
|
46 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
47 |
"norm_eps": 1e-05,
|
@@ -49,25 +49,9 @@
|
|
49 |
"num_attention_heads": null,
|
50 |
"num_class_embeds": null,
|
51 |
"only_cross_attention": false,
|
52 |
-
"out_channels": 4,
|
53 |
"projection_class_embeddings_input_dim": null,
|
54 |
-
"resnet_out_scale_factor": 1.0,
|
55 |
-
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
57 |
-
"reverse_transformer_layers_per_block": null,
|
58 |
-
"sample_size": 96,
|
59 |
-
"time_cond_proj_dim": null,
|
60 |
-
"time_embedding_act_fn": null,
|
61 |
-
"time_embedding_dim": null,
|
62 |
-
"time_embedding_type": "positional",
|
63 |
-
"timestep_post_act": null,
|
64 |
"transformer_layers_per_block": 1,
|
65 |
-
"up_block_types": [
|
66 |
-
"UpBlock2D",
|
67 |
-
"CrossAttnUpBlock2D",
|
68 |
-
"CrossAttnUpBlock2D",
|
69 |
-
"CrossAttnUpBlock2D"
|
70 |
-
],
|
71 |
"upcast_attention": false,
|
72 |
"use_linear_projection": true
|
73 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "ControlNetModel",
|
3 |
"_diffusers_version": "0.25.0.dev0",
|
4 |
+
"_name_or_path": "output/controlnet",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
|
|
12 |
20,
|
13 |
20
|
14 |
],
|
|
|
15 |
"block_out_channels": [
|
16 |
320,
|
17 |
640,
|
18 |
1280,
|
19 |
1280
|
20 |
],
|
|
|
21 |
"class_embed_type": null,
|
22 |
+
"conditioning_channels": 3,
|
23 |
+
"conditioning_embedding_out_channels": [
|
24 |
+
16,
|
25 |
+
32,
|
26 |
+
96,
|
27 |
+
256
|
28 |
+
],
|
29 |
+
"controlnet_conditioning_channel_order": "rgb",
|
30 |
"cross_attention_dim": 1024,
|
|
|
31 |
"down_block_types": [
|
32 |
"CrossAttnDownBlock2D",
|
33 |
"CrossAttnDownBlock2D",
|
|
|
35 |
"DownBlock2D"
|
36 |
],
|
37 |
"downsample_padding": 1,
|
|
|
|
|
38 |
"encoder_hid_dim": null,
|
39 |
"encoder_hid_dim_type": null,
|
40 |
"flip_sin_to_cos": true,
|
41 |
"freq_shift": 0,
|
42 |
+
"global_pool_conditions": false,
|
43 |
"in_channels": 4,
|
44 |
"layers_per_block": 2,
|
|
|
45 |
"mid_block_scale_factor": 1,
|
46 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
47 |
"norm_eps": 1e-05,
|
|
|
49 |
"num_attention_heads": null,
|
50 |
"num_class_embeds": null,
|
51 |
"only_cross_attention": false,
|
|
|
52 |
"projection_class_embeddings_input_dim": null,
|
|
|
|
|
53 |
"resnet_time_scale_shift": "default",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
"transformer_layers_per_block": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
"upcast_attention": false,
|
56 |
"use_linear_projection": true
|
57 |
}
|
diffusion_pytorch_model.safetensors
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:71d746d539fbff9a8b0961cc580a2c35c0305a7c535e64fbe220fa5cb6c6a31a
|
3 |
+
size 1456953560
|