jefsnacker
commited on
Commit
โข
9a11185
1
Parent(s):
bd70102
Update README.md
Browse files
README.md
CHANGED
@@ -1,27 +1,64 @@
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
tags:
|
|
|
|
|
|
|
4 |
- text-to-image
|
|
|
5 |
---
|
6 |
-
|
7 |
#### model by jefsnacker
|
8 |
-
This
|
9 |
It can be used by modifying the `instance_prompt`: **photo of azzy cat**
|
10 |
|
|
|
|
|
11 |
You can also train your own concepts and upload them to the library by using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb).
|
12 |
-
And you can run your new concept via `diffusers`: [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb)
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
|
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
tags:
|
4 |
+
- pytorch
|
5 |
+
- diffusers
|
6 |
+
- stable-diffusion
|
7 |
- text-to-image
|
8 |
+
- diffusion-models-class
|
9 |
---
|
10 |
+
# Dreambooth model of my cat azzy
|
11 |
#### model by jefsnacker
|
12 |
+
This is a Stable Diffusion model fine-tuned on pictures of Azriel with DreamBooth.
|
13 |
It can be used by modifying the `instance_prompt`: **photo of azzy cat**
|
14 |
|
15 |
+
This model was created as part of the DreamBooth Hackathon ๐ฅ. Visit the [organization page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part!
|
16 |
+
|
17 |
You can also train your own concepts and upload them to the library by using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb).
|
18 |
+
And you can run your new concept via `diffusers`: [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb).
|
19 |
+
|
20 |
+
## Sample Images
|
21 |
+
12 images of Azriel were used to train the model.
|
22 |
+
|
23 |
+
<table>
|
24 |
+
<tr>
|
25 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy00.jpg" style="height:200px"> </td>
|
26 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy01.jpeg" style="height:200px"> </td>
|
27 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy02.jpeg" style="height:200px"> </td>
|
28 |
+
</tr>
|
29 |
+
<tr>
|
30 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy03.jpg" style="height:200px"> </td>
|
31 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy04.jpg" style="height:200px"> </td>
|
32 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy05.jpg" style="height:200px"> </td>
|
33 |
+
</tr>
|
34 |
+
<tr>
|
35 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy06.jpeg" style="height:200px"> </td>
|
36 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy07.jpeg" style="height:200px"> </td>
|
37 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy08.jpeg" style="height:200px"> </td>
|
38 |
+
</tr>
|
39 |
+
<tr>
|
40 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy09.jpeg" style="height:200px"> </td>
|
41 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy10.jpeg" style="height:200px"> </td>
|
42 |
+
<td align="center"><img src="https://huggingface.co/jefsnacker/azzy/resolve/main/concept_images/azzy11.jpeg" style="height:200px"> </td>
|
43 |
+
</tr>
|
44 |
+
</table>
|
45 |
+
|
46 |
+
|
47 |
+
## Usage
|
48 |
+
|
49 |
+
```python
|
50 |
+
from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
|
51 |
+
|
52 |
+
pipe = StableDiffusionPipeline.from_pretrained(
|
53 |
+
"jefsnacker/azzy",
|
54 |
+
scheduler = DPMSolverMultistepScheduler.from_pretrained("jefsnacker/azzy", subfolder="scheduler"),
|
55 |
+
torch_dtype=torch.float16,
|
56 |
+
).to("cuda")
|
57 |
+
|
58 |
+
guidance_scale = 7
|
59 |
+
prompt = "Cute and adorable cartoon fluffy azzy cat with cap, with yellow eyes, fantasy, dreamlike, city scenario, surrealism, super cute, trending on artstation" #@param {type:"string"}
|
60 |
+
|
61 |
+
images = pipe(prompt, num_images_per_prompt=1, num_inference_steps=50, guidance_scale=guidance_scale).images
|
62 |
+
image[0]
|
63 |
|
64 |
+
```
|