godly-devotion commited on
Commit
5dfd956
1 Parent(s): e2bb2ba

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - coreml
5
+ - stable-diffusion
6
+ - text-to-image
7
+ ---
8
+
9
+ # Core ML Converted Model
10
+ This model was converted to Core ML for use on Apple Silicon devices by following Apple's instructions [here](https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml).<br>
11
+ Provide the model to an app such as [Mochi Diffusion](https://github.com/godly-devotion/mochi-diffusion) to generate images.<br>
12
+
13
+ `split_einsum` version is compatible with all compute unit options including Neural Engine.<br>
14
+ `original` version is only compatible with CPU & GPU option.
15
+
16
+ ### Redshift Diffusion
17
+
18
+ This is the fine-tuned Stable Diffusion model trained on high resolution 3D artworks.
19
+ Use the tokens **_redshift style_** in your prompts for the effect.
20
+
21
+ **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.
22
+
23
+ **If you enjoy my work and want to test new models before release, please consider supporting me**
24
+ [![Become A Patreon](https://badgen.net/badge/become/a%20patron/F96854)](https://patreon.com/user?u=79196446)
25
+
26
+ **Characters rendered with the model:**
27
+ ![Videogame Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-01s.jpg)
28
+ **Cars and Landscapes rendered with the model:**
29
+ ![Misc. Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-02s.jpg)
30
+
31
+ #### Prompt and settings for Tony Stark:
32
+ **(redshift style) robert downey jr as ironman Negative prompt: glasses helmet**
33
+ _Steps: 40, Sampler: DPM2 Karras, CFG scale: 7, Seed: 908018284, Size: 512x704_
34
+
35
+ #### Prompt and settings for the Ford Mustang:
36
+ **redshift style Ford Mustang**
37
+ _Steps: 20, Sampler: DPM2 Karras, CFG scale: 7, Seed: 579593863, Size: 704x512_
38
+
39
+ 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.
40
+
41
+ ### Gradio
42
+
43
+ We support a [Gradio](https://github.com/gradio-app/gradio) Web UI run redshift-diffusion:
44
+ [![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/nitrosocke/Redshift-Diffusion-Demo)
45
+
46
+ ### 🧨 Diffusers
47
+
48
+ This model can be used just like any other Stable Diffusion model. For more information,
49
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
50
+
51
+ 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]().
52
+
53
+ ```python
54
+ from diffusers import StableDiffusionPipeline
55
+ import torch
56
+
57
+ model_id = "nitrosocke/redshift-diffusion"
58
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
59
+ pipe = pipe.to("cuda")
60
+
61
+ prompt = "redshift style magical princess with golden hair"
62
+ image = pipe(prompt).images[0]
63
+
64
+ image.save("./magical_princess.png")
65
+ ```
66
+
67
+ ## License
68
+
69
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
70
+ The CreativeML OpenRAIL License specifies:
71
+
72
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
73
+ 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
74
+ 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)
75
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)