Update README.md
Browse files
README.md
CHANGED
@@ -1,71 +1,5 @@
|
|
1 |
-
|
2 |
-
language:
|
3 |
-
- en
|
4 |
-
license: creativeml-openrail-m
|
5 |
-
thumbnail: "https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-01s.jpg"
|
6 |
-
tags:
|
7 |
-
- stable-diffusion
|
8 |
-
- text-to-image
|
9 |
-
- image-to-image
|
10 |
|
11 |
-
|
12 |
-
### Redshift Diffusion
|
13 |
|
14 |
-
|
15 |
-
Use the tokens **_redshift style_** in your prompts for the effect.
|
16 |
-
|
17 |
-
**The name:** I used Cinema4D for a very long time as my go-to modeling software and always liked the redshift render it came with. That is why I was very sad to see the bad results base SD has connected with its token. This is my attempt at fixing that and showing my passion for this render engine.
|
18 |
-
|
19 |
-
**If you enjoy my work and want to test new models before release, please consider supporting me**
|
20 |
-
[![Become A Patreon](https://badgen.net/badge/become/a%20patron/F96854)](https://patreon.com/user?u=79196446)
|
21 |
-
|
22 |
-
**Characters rendered with the model:**
|
23 |
-
![Videogame Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-01s.jpg)
|
24 |
-
**Cars and Landscapes rendered with the model:**
|
25 |
-
![Misc. Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-02s.jpg)
|
26 |
-
|
27 |
-
#### Prompt and settings for Tony Stark:
|
28 |
-
**(redshift style) robert downey jr as ironman Negative prompt: glasses helmet**
|
29 |
-
_Steps: 40, Sampler: DPM2 Karras, CFG scale: 7, Seed: 908018284, Size: 512x704_
|
30 |
-
|
31 |
-
#### Prompt and settings for the Ford Mustang:
|
32 |
-
**redshift style Ford Mustang**
|
33 |
-
_Steps: 20, Sampler: DPM2 Karras, CFG scale: 7, Seed: 579593863, Size: 704x512_
|
34 |
-
|
35 |
-
This model was trained using the diffusers based dreambooth training by ShivamShrirao using prior-preservation loss and the _train-text-encoder_ flag in 11.000 steps.
|
36 |
-
|
37 |
-
### Gradio
|
38 |
-
|
39 |
-
We support a [Gradio](https://github.com/gradio-app/gradio) Web UI run redshift-diffusion:
|
40 |
-
[![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/nitrosocke/Redshift-Diffusion-Demo)
|
41 |
-
|
42 |
-
### 🧨 Diffusers
|
43 |
-
|
44 |
-
This model can be used just like any other Stable Diffusion model. For more information,
|
45 |
-
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
46 |
-
|
47 |
-
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
48 |
-
|
49 |
-
```python
|
50 |
-
from diffusers import StableDiffusionPipeline
|
51 |
-
import torch
|
52 |
-
|
53 |
-
model_id = "nitrosocke/redshift-diffusion"
|
54 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
55 |
-
pipe = pipe.to("cuda")
|
56 |
-
|
57 |
-
prompt = "redshift style magical princess with golden hair"
|
58 |
-
image = pipe(prompt).images[0]
|
59 |
-
|
60 |
-
image.save("./magical_princess.png")
|
61 |
-
```
|
62 |
-
|
63 |
-
## License
|
64 |
-
|
65 |
-
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
66 |
-
The CreativeML OpenRAIL License specifies:
|
67 |
-
|
68 |
-
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
69 |
-
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
|
70 |
-
3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
|
71 |
-
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
|
|
1 |
+
Disco_Diffusion_Style_SD_Model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
+
Base on https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0 model,This is the fine-tuned Stable Diffusion model trained Disco Diffusion Pictures.
|
|
|
4 |
|
5 |
+
Use the tokens **DDreamlike Style** in your prompts for the effect.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|