Commit
·
1f4def6
1
Parent(s):
3a9670c
Added cliptokenizer file and updated new readme
Browse files- Assets/OnnxStack - 640x320.png +0 -0
- Assets/redshift_ddim_30_7.5_2092464983.png +0 -0
- Assets/redshift_ddpm_30_7.5_2092464983.png +0 -0
- Assets/redshift_euler_30_7.5_2092464983.png +0 -0
- Assets/redshift_eulerancestral_30_7.5_2092464983.png +0 -0
- Assets/redshift_kdpm2_30_7.5_2092464983.png +0 -0
- Assets/redshift_lms_30_7.5_2092464983.png +0 -0
- README.md +22 -52
- tokenizer/model.onnx +3 -0
Assets/OnnxStack - 640x320.png
ADDED
|
Assets/redshift_ddim_30_7.5_2092464983.png
ADDED
|
Assets/redshift_ddpm_30_7.5_2092464983.png
ADDED
|
Assets/redshift_euler_30_7.5_2092464983.png
ADDED
|
Assets/redshift_eulerancestral_30_7.5_2092464983.png
ADDED
|
Assets/redshift_kdpm2_30_7.5_2092464983.png
ADDED
|
Assets/redshift_lms_30_7.5_2092464983.png
ADDED
|
README.md
CHANGED
|
@@ -2,70 +2,40 @@
|
|
| 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 |
-
-
|
| 10 |
-
|
| 11 |
---
|
| 12 |
-
### Redshift Diffusion
|
| 13 |
-
|
| 14 |
-
This is the fine-tuned Stable Diffusion model trained on high resolution 3D artworks.
|
| 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 |
-
[](https://patreon.com/user?u=79196446)
|
| 21 |
-
|
| 22 |
-
**Characters rendered with the model:**
|
| 23 |
-

|
| 24 |
-
**Cars and Landscapes rendered with the model:**
|
| 25 |
-

|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
_Steps: 20, Sampler: DPM2 Karras, CFG scale: 7, Seed: 579593863, Size: 704x512_
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
-
###
|
| 38 |
-
|
| 39 |
-
We support a [Gradio](https://github.com/gradio-app/gradio) Web UI run redshift-diffusion:
|
| 40 |
-
[](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 |
-
|
| 50 |
-
from diffusers import StableDiffusionPipeline
|
| 51 |
-
import torch
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
pipe = pipe.to("cuda")
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
|
|
|
| 59 |
|
| 60 |
-
|
| 61 |
-
```
|
| 62 |
|
| 63 |
-
|
| 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 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
license: creativeml-openrail-m
|
|
|
|
| 5 |
tags:
|
| 6 |
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
inference: true
|
| 11 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
### Redshift Diffusion
|
| 23 |
+
This model was converted to ONNX from Redshift Diffusion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
- [Redshift-Diffusion](https://huggingface.co/nitrosocke/redshift-diffusion)
|
|
|
|
|
|
|
| 26 |
|
| 27 |
+
### Sample Images
|
| 28 |
+
*A redshift style cyberpunk person*
|
|
|
|
| 29 |
|
| 30 |
+
| LMS Scheduler | Euler Scheduler | Euler Ancestral Scheduler | DDPM Scheduler | DDIM Scheduler | KDPM2 Scheduler
|
| 31 |
+
| :--- | :--- | :--- | :--- | :--- | :--- |
|
| 32 |
+
<img src="Assets/redshift_lms_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/redshift_euler_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/redshift_eulerancestral_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/redshift_ddpm_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/redshift_ddim_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/redshift_kdpm2_30_7.5_2092464983.png" width="256" alt="Image of browser inferencing on sample images."/> |
|
| 33 |
|
| 34 |
+
Seed: 207582124 GuidanceScale: 7.5 NumInferenceSteps: 30
|
|
|
|
| 35 |
|
| 36 |
+
__________________________
|
| 37 |
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
### Redshift Diffusion Tokens
|
| 40 |
+
The tokens for Redshift Diffusion are:
|
| 41 |
+
- redshift style
|
|
|
tokenizer/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52af50d264d702c351484aabf62c64abe61f59d6a6d2c508a3e797e23dc1e008
|
| 3 |
+
size 1683168
|