Upload config.json with huggingface_hub
Browse files- config.json +14 -2
config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.16.
|
|
|
|
|
4 |
"attention_head_dim": 8,
|
5 |
"block_out_channels": [
|
6 |
320,
|
@@ -8,6 +10,7 @@
|
|
8 |
1280,
|
9 |
1280
|
10 |
],
|
|
|
11 |
"conditioning_embedding_out_channels": [
|
12 |
16,
|
13 |
32,
|
@@ -22,12 +25,21 @@
|
|
22 |
"CrossAttnDownBlock2D",
|
23 |
"DownBlock2D"
|
24 |
],
|
|
|
25 |
"dropout": 0.0,
|
26 |
"flip_sin_to_cos": true,
|
27 |
"freq_shift": 0,
|
|
|
28 |
"in_channels": 4,
|
29 |
"layers_per_block": 2,
|
|
|
|
|
|
|
|
|
30 |
"only_cross_attention": false,
|
|
|
|
|
31 |
"sample_size": 32,
|
|
|
32 |
"use_linear_projection": false
|
33 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "ControlNetModel",
|
3 |
+
"_diffusers_version": "0.16.1",
|
4 |
+
"_name_or_path": "mfidabel/controlnet-segment-anything",
|
5 |
+
"act_fn": "silu",
|
6 |
"attention_head_dim": 8,
|
7 |
"block_out_channels": [
|
8 |
320,
|
|
|
10 |
1280,
|
11 |
1280
|
12 |
],
|
13 |
+
"class_embed_type": null,
|
14 |
"conditioning_embedding_out_channels": [
|
15 |
16,
|
16 |
32,
|
|
|
25 |
"CrossAttnDownBlock2D",
|
26 |
"DownBlock2D"
|
27 |
],
|
28 |
+
"downsample_padding": 1,
|
29 |
"dropout": 0.0,
|
30 |
"flip_sin_to_cos": true,
|
31 |
"freq_shift": 0,
|
32 |
+
"global_pool_conditions": false,
|
33 |
"in_channels": 4,
|
34 |
"layers_per_block": 2,
|
35 |
+
"mid_block_scale_factor": 1,
|
36 |
+
"norm_eps": 1e-05,
|
37 |
+
"norm_num_groups": 32,
|
38 |
+
"num_class_embeds": null,
|
39 |
"only_cross_attention": false,
|
40 |
+
"projection_class_embeddings_input_dim": null,
|
41 |
+
"resnet_time_scale_shift": "default",
|
42 |
"sample_size": 32,
|
43 |
+
"upcast_attention": false,
|
44 |
"use_linear_projection": false
|
45 |
}
|