Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,27 @@
|
|
|
|
|
|
|
|
|
|
1 |
I fine-tuned DMD2 StableDiffusion V1.5, based on the Dreamshaper model.
|
2 |
|
3 |
I set the CFG to 7, which significantly improved the generation quality.
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: creativeml-openrail-m
|
3 |
+
pipeline_tag: text-to-image
|
4 |
+
---
|
5 |
I fine-tuned DMD2 StableDiffusion V1.5, based on the Dreamshaper model.
|
6 |
|
7 |
I set the CFG to 7, which significantly improved the generation quality.
|
8 |
|
9 |
+
example:
|
10 |
+
```
|
11 |
+
from diffusers import StableDiffusionPipeline
|
12 |
+
|
13 |
+
pipe = StableDiffusionPipeline.from_pretrained("georgefen/DMD2-dreamshaper-v1-5").to("cuda")
|
14 |
+
prompt = "masterpiece, extremely intricate, realistic, portrait of a girl, medieval armor, metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render unreal engine, volumetrics dtx, film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur, chainmail"
|
15 |
+
image = pipe(prompt=prompt, num_inference_steps=1, guidance_scale=0.0).images[0]
|
16 |
+
image.save("test.png")
|
17 |
+
```
|
18 |
+
|
19 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6339574250b90a25372f6dd3/Pc5aspi1L217FSmK1mGJR.png" alt="description" width="300"/>
|
20 |
+
|
21 |
+
|
22 |
+
Credits to:
|
23 |
+
|
24 |
+
[Dreamshaper](https://civitai.com/models/4384/dreamshaper)
|
25 |
+
|
26 |
+
[DMD2](https://huggingface.co/tianweiy/DMD2)
|
27 |
+
|