Update README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,37 @@
|
|
1 |
---
|
2 |
-
license: openrail
|
3 |
---
|
4 |
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
-
|
9 |
-
* Activation token : TardisRoom style
|
10 |
-
* Best used on img2img
|
11 |
-
* [download link](https://huggingface.co/Guizmus/Tardisfusion/resolve/main/Tardisfusion-v1.ckpt)
|
12 |
|
13 |
-
This
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: creativeml-openrail-m
|
3 |
---
|
4 |
|
5 |
+
# TARDISfusion
|
6 |
+
<p>
|
7 |
+
<img src="https://huggingface.co/Guizmus/Tardisfusion/raw/main/showcase.jpg"/><br/>
|
8 |
+
This is a Dreamboothed Stable Diffusion model trained on 3 Style concepts.<br/>
|
9 |
+
The total dataset is made of 209 pictures, and the training has been done on runawayml 1.5 with 2500 steps and the new VAE.
|
10 |
+
The following tokens will add their corresponding concept :<br/>
|
11 |
+
<ul>
|
12 |
+
<li><b>Classic Tardis style</b> : Architectural and furniture style seen inside the TARDIS in the series before the reboot.</li>
|
13 |
+
<li><b>Modern Tardis style</b>: Architectural and furniture style seen inside the TARDIS in the series after the reboot</li>
|
14 |
+
<li><b>Tardis Box style</b>: A style made from the TARDIS seen from the outside. Summons a TARDIS anywhere.</li>
|
15 |
+
</ul>
|
16 |
+
</p>
|
17 |
|
18 |
+
## 🧨 Diffusers
|
|
|
|
|
|
|
19 |
|
20 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
21 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
22 |
+
|
23 |
+
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]().
|
24 |
+
|
25 |
+
```python
|
26 |
+
from diffusers import StableDiffusionPipeline
|
27 |
+
import torch
|
28 |
+
|
29 |
+
model_id = "Guizmus/Tardisfusion"
|
30 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
31 |
+
pipe = pipe.to("cuda")
|
32 |
+
|
33 |
+
prompt = "a bedroom, Classic Tardis style"
|
34 |
+
image = pipe(prompt).images[0]
|
35 |
+
|
36 |
+
image.save("./TARDIS Style.png")
|
37 |
+
```
|