Jinstudio lllyasviel commited on
Commit
8deab5b
·
0 Parent(s):

Duplicate from lllyasviel/ControlNet

Browse files

Co-authored-by: Lvmin Zhang <lllyasviel@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar 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
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: openrail
3
+ ---
4
+
5
+ This is the pretrained weights and some other detector weights of ControlNet.
6
+
7
+ See also: https://github.com/lllyasviel/ControlNet
8
+
9
+ # Description of Files
10
+
11
+ ControlNet/models/control_sd15_canny.pth
12
+
13
+ - The ControlNet+SD1.5 model to control SD using canny edge detection.
14
+
15
+ ControlNet/models/control_sd15_depth.pth
16
+
17
+ - The ControlNet+SD1.5 model to control SD using Midas depth estimation.
18
+
19
+ ControlNet/models/control_sd15_hed.pth
20
+
21
+ - The ControlNet+SD1.5 model to control SD using HED edge detection (soft edge).
22
+
23
+ ControlNet/models/control_sd15_mlsd.pth
24
+
25
+ - The ControlNet+SD1.5 model to control SD using M-LSD line detection (will also work with traditional Hough transform).
26
+
27
+ ControlNet/models/control_sd15_normal.pth
28
+
29
+ - The ControlNet+SD1.5 model to control SD using normal map. Best to use the normal map generated by that Gradio app. Other normal maps may also work as long as the direction is correct (left looks red, right looks blue, up looks green, down looks purple).
30
+
31
+ ControlNet/models/control_sd15_openpose.pth
32
+
33
+ - The ControlNet+SD1.5 model to control SD using OpenPose pose detection. Directly manipulating pose skeleton should also work.
34
+
35
+ ControlNet/models/control_sd15_scribble.pth
36
+
37
+ - The ControlNet+SD1.5 model to control SD using human scribbles. The model is trained with boundary edges with very strong data augmentation to simulate boundary lines similar to that drawn by human.
38
+
39
+ ControlNet/models/control_sd15_seg.pth
40
+
41
+ - The ControlNet+SD1.5 model to control SD using semantic segmentation. The protocol is ADE20k.
42
+
43
+ ControlNet/annotator/ckpts/body_pose_model.pth
44
+
45
+ - Third-party model: Openpose’s pose detection model.
46
+
47
+ ControlNet/annotator/ckpts/hand_pose_model.pth
48
+
49
+ - Third-party model: Openpose’s hand detection model.
50
+
51
+ ControlNet/annotator/ckpts/dpt_hybrid-midas-501f0c75.pt
52
+
53
+ - Third-party model: Midas depth estimation model.
54
+
55
+ ControlNet/annotator/ckpts/mlsd_large_512_fp32.pth
56
+
57
+ - Third-party model: M-LSD detection model.
58
+
59
+ ControlNet/annotator/ckpts/mlsd_tiny_512_fp32.pth
60
+
61
+ - Third-party model: M-LSD’s another smaller detection model (we do not use this one).
62
+
63
+ ControlNet/annotator/ckpts/network-bsds500.pth
64
+
65
+ - Third-party model: HED boundary detection.
66
+
67
+ ControlNet/annotator/ckpts/upernet_global_small.pth
68
+
69
+ - Third-party model: Uniformer semantic segmentation.
70
+
71
+ ControlNet/training/fill50k.zip
72
+
73
+ - The data for our training tutorial.
74
+
75
+ # Related Resources
76
+
77
+ Special Thank to the great project - [Mikubill' A1111 Webui Plugin](https://github.com/Mikubill/sd-webui-controlnet) !
78
+
79
+ We also thank Hysts for making [Gradio](https://github.com/gradio-app/gradio) demo in [Hugging Face Space](https://huggingface.co/spaces/hysts/ControlNet) as well as more than 65 models in that amazing [Colab list](https://github.com/camenduru/controlnet-colab)!
80
+
81
+ Thank haofanwang for making [ControlNet-for-Diffusers](https://github.com/haofanwang/ControlNet-for-Diffusers)!
82
+
83
+ We also thank all authors for making Controlnet DEMOs, including but not limited to [fffiloni](https://huggingface.co/spaces/fffiloni/ControlNet-Video), [other-model](https://huggingface.co/spaces/hysts/ControlNet-with-other-models), [ThereforeGames](https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/7784), [RamAnanth1](https://huggingface.co/spaces/RamAnanth1/ControlNet), etc!
84
+
85
+ # Misuse, Malicious Use, and Out-of-Scope Use
86
+
87
+ 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.
88
+
annotator/ckpts/body_pose_model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25a948c16078b0f08e236bda51a385d855ef4c153598947c28c0d47ed94bb746
3
+ size 209267595
annotator/ckpts/dpt_hybrid-midas-501f0c75.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:501f0c75b3bca7daec6b3682c5054c09b366765aef6fa3a09d03a5cb4b230853
3
+ size 492757791
annotator/ckpts/hand_pose_model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b76b00d1750901abd07b9f9d8c98cc3385b8fe834a26d4b4f0aad439e75fc600
3
+ size 147341049
annotator/ckpts/mlsd_large_512_fp32.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5696f168eb2c30d4374bbfd45436f7415bb4d88da29bea97eea0101520fba082
3
+ size 6341481
annotator/ckpts/mlsd_tiny_512_fp32.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f2323cfb9faec5a0ef2454c4f68998da21a9f1b7918ce89b85886628b750b94
3
+ size 2613835
annotator/ckpts/network-bsds500.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58a858782f5fa3e0ca3dc92e7a1a609add93987d77be3dfa54f8f8419d881a94
3
+ size 58871680
annotator/ckpts/upernet_global_small.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bebfa1264c10381e389d8065056baaadbdadee8ddc6e36770d1ec339dc84d970
3
+ size 206313115
models/control_sd15_canny.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4de384b16bc2d7a1fb258ca0cbd941d7dd0a721ae996aff89f905299d6923f45
3
+ size 5710753329
models/control_sd15_depth.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:726cd0b472c4b5c0341b01afcb7fdc4a7b4ab7c37fe797fd394c9805cbef60bf
3
+ size 5710753329
models/control_sd15_hed.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00ad5ff2c3ce279332650d79f24a912ef8aa411382fcbde2a20e6239cce65d9c
3
+ size 5710750165
models/control_sd15_mlsd.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4520b22400756ac96be61f900a59ab648ec487127beb7a095a708a4d3472b6eb
3
+ size 5710751843
models/control_sd15_normal.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1188b9ac6754c9c846536f51bc5128fef8188ab287fc2c3d5768c3a05e31a0d0
3
+ size 5710754879
models/control_sd15_openpose.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d19ffffeeaff6d9feb2204b234c3e1b9aec039ab3e63fca07f4fe5646f2ef591
3
+ size 5710751843
models/control_sd15_scribble.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:591bc5a70a167821634fc3d4870217d7501bd839615540d1cc158579390e9ad3
3
+ size 5710757851
models/control_sd15_seg.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c772486812fdd5331a86ee7135f5146dab91f78e6676fab3ec94420708f3a37
3
+ size 5710750165
training/fill50k.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d87956c454581c921fab2127bf0f89add40add3fc63933a1a4b6473366cfd52
3
+ size 228789807