TheyCallMeHex commited on
Commit
d1e4f9c
1 Parent(s): d760ec1

Updated new reademe

Browse files
Assets/OnnxStack - 640x320.png ADDED
Assets/dgsillustrationstyle_ddim_30_7.5_2092464983.png ADDED
Assets/dgsillustrationstyle_ddpm_30_7.5_2092464983.png ADDED
Assets/dgsillustrationstyle_euler_30_7.5_2092464983.png ADDED
Assets/dgsillustrationstyle_eulerancestral_30_7.5_2092464983.png ADDED
Assets/dgsillustrationstyle_kdpm2_30_7.5_2092464983.png ADDED
Assets/dgsillustrationstyle_lms_30_7.5_2092464983.png ADDED
README.md CHANGED
@@ -1,7 +1,6 @@
1
  ---
2
  language:
3
  - en
4
- thumbnail: "https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/thumbnail.png"
5
  tags:
6
  - cyberpunk
7
  - anime
@@ -11,110 +10,32 @@ tags:
11
  - text-to-image
12
  license: creativeml-openrail-m
13
  ---
14
- <center><img src="https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/5.jpg" width="512" height="512"/></center>
 
 
15
 
16
- ![visitors](https://visitor-badge.glitch.me/badge?page_id=Cyberpunk_Anime_Diffusion)
 
17
 
18
- # Cyberpunk Anime Diffusion
19
 
20
- An AI model that generates cyberpunk anime characters!~
 
21
 
22
- Based of a finetuned Waifu Diffusion V1.3 Model with Stable Diffusion V1.5 New Vae, training in Dreambooth
23
 
24
- by [DGSpitzer](https://www.youtube.com/channel/UCzzsYBF4qwtMwJaPJZ5SuPg)
 
25
 
26
- ### 🧨 Diffusers
 
 
27
 
28
- This repo contains both .ckpt and Diffuser model files. It's compatible to be used as any Stable Diffusion model, using standard [Stable Diffusion Pipelines](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
29
 
30
- You can convert this model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX](https://huggingface.co/blog/stable_diffusion_jax).
31
 
32
- ```python example for loading the Diffuser
33
- #!pip install diffusers transformers scipy torch
34
- from diffusers import StableDiffusionPipeline
35
- import torch
36
 
37
- model_id = "DGSpitzer/Cyberpunk-Anime-Diffusion"
38
- pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
39
- pipe = pipe.to("cuda")
40
-
41
- prompt = "a beautiful perfect face girl in dgs illustration style, Anime fine details portrait of school girl in front of modern tokyo city landscape on the background deep bokeh, anime masterpiece, 8k, sharp high quality anime"
42
- image = pipe(prompt).images[0]
43
-
44
- image.save("./cyberpunk_girl.png")
45
- ```
46
-
47
- # Online Demo
48
-
49
- You can try the Online Web UI demo build with [Gradio](https://github.com/gradio-app/gradio), or use Colab Notebook at here:
50
-
51
- *My Online Space Demo*
52
- [![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/DGSpitzer/DGS-Diffusion-Space)
53
-
54
- *Finetuned Diffusion WebUI Demo by anzorq*
55
- [![Use Finetuned_Diffusion WebUI](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/anzorq/finetuned_diffusion)
56
-
57
- *Colab Notebook*
58
- [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/HelixNGC7293/cyberpunk-anime-diffusion/blob/main/cyberpunk_anime_diffusion.ipynb)[![GitHub](https://badgen.net/badge/icon/Github?icon=github&label)](https://github.com/HelixNGC7293/cyberpunk-anime-diffusion)
59
-
60
- *Buy me a coffee if you like this project ;P ♥*
61
- [![Buy me a coffee](https://badgen.net/badge/icon/Buy%20Me%20A%20Coffee?icon=buymeacoffee&label)](https://www.buymeacoffee.com/dgspitzer)
62
-
63
- <center><img src="https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/1.jpg" width="512" height="512"/></center>
64
-
65
- # **👇Model👇**
66
-
67
- AI Model Weights available at huggingface: https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion
68
-
69
- <center><img src="https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/2.jpg" width="512" height="512"/></center>
70
-
71
- # Usage
72
-
73
- After model loaded, use keyword **dgs** in your prompt, with **illustration style** to get even better results.
74
-
75
- For sampler, use **Euler A** for the best result (**DDIM** kinda works too), CFG Scale 7, steps 20 should be fine
76
-
77
- **Example 1:**
78
-
79
- ```
80
- portrait of a girl in dgs illustration style, Anime girl, female soldier working in a cyberpunk city, cleavage, ((perfect femine face)), intricate, 8k, highly detailed, shy, digital painting, intense, sharp focus
81
- ```
82
-
83
- For cyber robot male character, you can add **muscular male** to improve the output.
84
-
85
- **Example 2:**
86
-
87
- ```
88
- a photo of muscular beard soldier male in dgs illustration style, half-body, holding robot arms, strong chest
89
- ```
90
-
91
- **Example 3 (with Stable Diffusion WebUI):**
92
-
93
- If using [AUTOMATIC1111's Stable Diffusion WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
94
-
95
- You can simply use this as **prompt** with **Euler A** Sampler, CFG Scale 7, steps 20, 704 x 704px output res:
96
-
97
- ```
98
- an anime girl in dgs illustration style
99
- ```
100
-
101
- And set the **negative prompt** as this to get cleaner face:
102
-
103
- ```
104
- out of focus, scary, creepy, evil, disfigured, missing limbs, ugly, gross, missing fingers
105
- ```
106
-
107
- This will give you the exactly same style as the sample images above.
108
-
109
- <center><img src="https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/ReadmeAddon.jpg" width="256" height="353"/></center>
110
-
111
- ---
112
-
113
- **NOTE: usage of this model implies accpetance of stable diffusion's [CreativeML Open RAIL-M license](LICENSE)**
114
-
115
- ---
116
-
117
-
118
- <center><img src="https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/4.jpg" width="700" height="700"/></center>
119
-
120
- <center><img src="https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/img/6.jpg" width="700" height="700"/></center>
 
1
  ---
2
  language:
3
  - en
 
4
  tags:
5
  - cyberpunk
6
  - anime
 
10
  - text-to-image
11
  license: creativeml-openrail-m
12
  ---
13
+ <p align="center" width="100%">
14
+ <img width="80%" src="Assets/OnnxStack - 640x320.png">
15
+ </p>
16
 
17
+ ### OnnxStack
18
+ This model has been converted to ONNX and tested with OnnxStack
19
 
20
+ - [OnnxStack](https://github.com/saddam213/OnnxStack)
21
 
22
+ ### Cyberpunk Anime Diffusion
23
+ This model was converted to ONNX from Cyberpunk Anime Diffusion
24
 
25
+ - [Cyberpunk Anime Diffusion](https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion)
26
 
27
+ ### Sample Images
28
+ *A dgs illustration style battle hardened samurai standing at the ready with their katana drawn*
29
 
30
+ | LMS Scheduler | Euler Scheduler | Euler Ancestral Scheduler | DDPM Scheduler | DDIM Scheduler | KDPM2 Scheduler
31
+ | :--- | :--- | :--- | :--- | :--- | :--- |
32
+ <img src="Assets/dgsillustrationstyle_euler_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/dgsillustrationstyle_euler_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/dgsillustrationstyle_eulerancestral_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/dgsillustrationstyle_ddpm_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/dgsillustrationstyle_ddim_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/dgsillustrationstyle_kdpm2_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> |
33
 
34
+ Seed: 1207582124 GuidanceScale: 7.5 NumInferenceSteps: 30 NegativePrompt: out of focus, scary, creepy, evil, disfigured, missing limbs, ugly, gross, missing fingers
35
 
36
+ __________________________
37
 
 
 
 
 
38
 
39
+ ### Cyberpunk Anime Diffusion Tokens
40
+ The tokens for Cyberpunk Anime Diffusion are:
41
+ - dgs illustration style