kmpartner commited on
Commit
26cd8b6
1 Parent(s): 5fdb5b8

Update controlnet/config.json

Browse files
Files changed (1) hide show
  1. controlnet/config.json +12 -17
controlnet/config.json CHANGED
@@ -1,21 +1,14 @@
1
  {
2
  "_class_name": "ControlNetModel",
3
- "_diffusers_version": "0.29.2",
4
- "_name_or_path": "thibaud/controlnet-sd21-canny-diffusers",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
8
  "addition_time_embed_dim": null,
9
- "attention_head_dim": [
10
- 5,
11
- 10,
12
- 20,
13
- 20
14
- ],
15
  "block_out_channels": [
16
  320,
17
  640,
18
- 1280,
19
  1280
20
  ],
21
  "class_embed_type": null,
@@ -29,10 +22,9 @@
29
  "controlnet_conditioning_channel_order": "rgb",
30
  "cross_attention_dim": 1024,
31
  "down_block_types": [
 
32
  "CrossAttnDownBlock2D",
33
- "CrossAttnDownBlock2D",
34
- "CrossAttnDownBlock2D",
35
- "DownBlock2D"
36
  ],
37
  "downsample_padding": 1,
38
  "encoder_hid_dim": null,
@@ -41,17 +33,20 @@
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,
48
  "norm_num_groups": 32,
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": true,
56
- "use_linear_projection": true
57
  }
 
1
  {
2
  "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.23.1",
 
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": 8,
 
 
 
 
 
9
  "block_out_channels": [
10
  320,
11
  640,
 
12
  1280
13
  ],
14
  "class_embed_type": null,
 
22
  "controlnet_conditioning_channel_order": "rgb",
23
  "cross_attention_dim": 1024,
24
  "down_block_types": [
25
+ "DownBlock2D",
26
  "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D"
 
 
28
  ],
29
  "downsample_padding": 1,
30
  "encoder_hid_dim": null,
 
33
  "freq_shift": 0,
34
  "global_pool_conditions": false,
35
  "in_channels": 4,
36
+ "layers_per_block": 1,
37
  "mid_block_scale_factor": 1,
 
38
  "norm_eps": 1e-05,
39
  "norm_num_groups": 32,
40
  "num_attention_heads": null,
41
  "num_class_embeds": null,
42
+ "only_cross_attention": [
43
+ true,
44
+ false,
45
+ false
46
+ ],
47
  "projection_class_embeddings_input_dim": null,
48
  "resnet_time_scale_shift": "default",
49
  "transformer_layers_per_block": 1,
50
+ "upcast_attention": false,
51
+ "use_linear_projection": false
52
  }