DazMashaly commited on
Commit
04ff9fb
·
1 Parent(s): e20daf4

Upload model

Browse files
Files changed (2) hide show
  1. config.json +11 -4
  2. diffusion_pytorch_model.safetensors +2 -2
config.json CHANGED
@@ -1,11 +1,17 @@
1
  {
2
  "_class_name": "ControlNetModel",
3
- "_diffusers_version": "0.21.0.dev0",
 
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,
@@ -21,7 +27,7 @@
21
  256
22
  ],
23
  "controlnet_conditioning_channel_order": "rgb",
24
- "cross_attention_dim": 768,
25
  "down_block_types": [
26
  "CrossAttnDownBlock2D",
27
  "CrossAttnDownBlock2D",
@@ -37,6 +43,7 @@
37
  "in_channels": 4,
38
  "layers_per_block": 2,
39
  "mid_block_scale_factor": 1,
 
40
  "norm_eps": 1e-05,
41
  "norm_num_groups": 32,
42
  "num_attention_heads": null,
@@ -46,5 +53,5 @@
46
  "resnet_time_scale_shift": "default",
47
  "transformer_layers_per_block": 1,
48
  "upcast_attention": false,
49
- "use_linear_projection": false
50
  }
 
1
  {
2
  "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.25.0.dev0",
4
+ "_name_or_path": "/content/sample_data/checkpoint-16000/controlnet",
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,
 
27
  256
28
  ],
29
  "controlnet_conditioning_channel_order": "rgb",
30
+ "cross_attention_dim": 1024,
31
  "down_block_types": [
32
  "CrossAttnDownBlock2D",
33
  "CrossAttnDownBlock2D",
 
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,
 
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:b18275f07271083b8477241be972186a813468d46c4fe0dc33494003b5311810
3
- size 1445157120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:532a659919de665ba4c07837e8f7f82a6162253f997f002ba4afaf6ffc514d12
3
+ size 728496840