kushaaagr commited on
Commit
2bda191
·
verified ·
1 Parent(s): f6c55ab

Copy model + inject SD2.1 metadata

Browse files
Files changed (4) hide show
  1. .gitattributes +0 -1
  2. README.md +28 -0
  3. config.json +52 -0
  4. diffusion_pytorch_model.bin +3 -0
.gitattributes CHANGED
@@ -25,7 +25,6 @@
25
  *.safetensors filter=lfs diff=lfs merge=lfs -text
26
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
  *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
  *.tflite filter=lfs diff=lfs merge=lfs -text
30
  *.tgz filter=lfs diff=lfs merge=lfs -text
31
  *.wasm filter=lfs diff=lfs merge=lfs -text
 
25
  *.safetensors filter=lfs diff=lfs merge=lfs -text
26
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
  *.tar.* filter=lfs diff=lfs merge=lfs -text
 
28
  *.tflite filter=lfs diff=lfs merge=lfs -text
29
  *.tgz filter=lfs diff=lfs merge=lfs -text
30
  *.wasm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ tags:
6
+ - art
7
+ - diffusers
8
+ - stable diffusion
9
+ - controlnet
10
+ ---
11
+ Here's the first version of controlnet for stablediffusion 2.1 for diffusers
12
+ Trained on a subset of laion/laion-art
13
+
14
+ License: refers to the different preprocessor's ones.
15
+
16
+
17
+ ### Color:
18
+ ![<color> 0](https://huggingface.co/thibaud/controlnet-sd21/resolve/main/example_color.png)
19
+
20
+
21
+ ### Misuse, Malicious Use, and Out-of-Scope Use
22
+
23
+ The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
24
+
25
+
26
+ Thanks
27
+ - https://huggingface.co/lllyasviel/ControlNet for the implementation and the release of 1.5 models.
28
+ - https://huggingface.co/thepowefuldeez for the conversion script to diffusers
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.15.0.dev0",
4
+ "_name_or_path": "./color-sd21",
5
+ "act_fn": "silu",
6
+ "attention_head_dim": [
7
+ 5,
8
+ 10,
9
+ 20,
10
+ 20
11
+ ],
12
+ "block_out_channels": [
13
+ 320,
14
+ 640,
15
+ 1280,
16
+ 1280
17
+ ],
18
+ "class_embed_type": null,
19
+ "conditioning_embedding_out_channels": [
20
+ 16,
21
+ 32,
22
+ 96,
23
+ 256
24
+ ],
25
+ "controlnet_conditioning_channel_order": "rgb",
26
+ "cross_attention_dim": 1024,
27
+ "down_block_types": [
28
+ "CrossAttnDownBlock2D",
29
+ "CrossAttnDownBlock2D",
30
+ "CrossAttnDownBlock2D",
31
+ "DownBlock2D"
32
+ ],
33
+ "downsample_padding": 1,
34
+ "flip_sin_to_cos": true,
35
+ "freq_shift": 0,
36
+ "in_channels": 4,
37
+ "layers_per_block": 2,
38
+ "mid_block_scale_factor": 1,
39
+ "norm_eps": 1e-05,
40
+ "norm_num_groups": 32,
41
+ "num_class_embeds": null,
42
+ "only_cross_attention": false,
43
+ "projection_class_embeddings_input_dim": null,
44
+ "resnet_time_scale_shift": "default",
45
+ "upcast_attention": true,
46
+ "use_linear_projection": true,
47
+ "base_model": "Manojb/stable-diffusion-2-1-base",
48
+ "sd_version": "2.1",
49
+ "compatible_sd_versions": [
50
+ "2.1"
51
+ ]
52
+ }
diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ef1437bcf5c90d9cd59439654831db391b33071888ad9e7d591069eb0e76710
3
+ size 728594745