Карачёв Денис Константинович commited on
Commit
cd90667
1 Parent(s): 8aea969

base version

Browse files
README.md CHANGED
@@ -1,3 +1,54 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # InstantID for StableDiffusion 1.5
2
+ This is unofficial implementation InstantID for StableDiffusion 1.5.
3
+ SD15 has a lot of finetuned models. So you can use all of this models with combination of instantid components to get awesome results.
4
+
5
+ <a href="https://instantid.github.io">Official InstantID</a> works only with SDXL and contains code only for inference.
6
+ But this repository contains Training and Inference code.
7
+ Training process was used only 10M images from <a href="https://github.com/FacePerceiver/LAION-Face">LAION-FACE 50M</a> dataset (Original InstantID used 50M Laion-face + 10M custom images).
8
+ Feel free to adapt it for your personal purposes. I will be glad if somebody find it usefull.
9
+
10
+ ## How to use:
11
+ See <a href="https://github.com/TheDenk/InstantID-SD1.5.git">Github instruction</a>.
12
+
13
+ ## Examples
14
+ Examples with <a href="https://civitai.com/models/132632/epicphotogasm">epiCPhotoGasm model</a> + styles from original InstantID.
15
+ <p>
16
+ <img src="./examples/demo/epicphoto.png" width="600" height="480" title="epicphoto"/>
17
+ </p>
18
+ Examples with <a href="https://civitai.com/models/65203/disney-pixar-cartoon-type-a">Disney Pixar Cartoon Type A model</a> + styles from original InstantID.
19
+ <p>
20
+ <img src="./examples/demo/disneypixart.png" width="600" height="480" title="disneypixart"/>
21
+ </p>
22
+
23
+ InstantID SD1.5 components are not compatible with InstantID SDXL. In this work model has been trained with additional facial keypoints information.
24
+ Keypoints visualization:
25
+ <p>
26
+ <img src="./examples/demo/kp_example.png" width="480" height="360" title="kp_example"/>
27
+ </p>
28
+ It is also possible transfer different keypoints from other images.
29
+ <p>
30
+ <img src="./examples/demo/pose_example.png" width="960" height="360" title="pose_example"/>
31
+ </p>
32
+
33
+ Links:
34
+ - <a href="https://github.com/TheDenk/InstantID-SD1.5">Code training/inference (gradio, jupyter notebooks, .py files)</a>
35
+ - <a href="https://huggingface.co/TheDenk/InstantID-SD1.5">Checkpoints (Controlnet, resampler, ip-adapter)</a>
36
+ - <a href="https://github.com/deepinsight/insightface/issues/1896#issuecomment-1023867304">Insightface models for keypoints (antilopev2 and others)</a>
37
+
38
+ ## More examples
39
+ Using only models without special style prompts.
40
+ <p>
41
+ <img src="./examples/demo/rock.png" width="600" height="420" title="rock_example"/>
42
+ </p>
43
+ <p>
44
+ <img src="./examples/demo/mj.png" width="600" height="480" title="mj_example"/>
45
+ </p>
46
+ Examples with <a href="https://civitai.com/models/24387/aniflatmix-anime-flat-color-style-mix">Aniflatmix model</a> + styles from original InstantID.
47
+ <p>
48
+ <img src="./examples/demo/aniflat.png" width="600" height="480" title="disneypixart"/>
49
+ </p>
50
+
51
+ ## Acknowledgements
52
+ - [InstantID](https://github.com/InstantID/InstantID) and InstantX Team.
53
+ - [IP-Adapter](https://github.com/tencent-ailab/IP-Adapter) and [ControlNet](https://github.com/lllyasviel/ControlNet).
54
+
controlnet.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9411f9a17b83f758b299cc5fb794a70cfdbb9ff8e98858ddd8cd9ccb22a874a6
3
+ size 1445257717
examples/demo/aniflat.png ADDED
examples/demo/disneypixart.png ADDED
examples/demo/epicphoto.png ADDED
examples/demo/kp_example.png ADDED
examples/demo/mj.png ADDED
examples/demo/pose_example.png ADDED
examples/demo/rock.png ADDED
image_proj.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0617508c6464810878ea14d4d2e79ff0d1f7845771ac6335829a4970f38edc07
3
+ size 321363614
ip-state.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd0b005abd905358d416ca02cd1b0378af7dcb7c335c8ce5d97cd0b75a95140b
3
+ size 38351509