TheyCallMeHex commited on
Commit
1f4def6
1 Parent(s): 3a9670c

Added cliptokenizer file and updated new readme

Browse files
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
- - image-to-image
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
- [![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)
 
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