Update README.md
Browse files
README.md
CHANGED
|
@@ -2,36 +2,48 @@
|
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
tags:
|
| 4 |
- text-to-image
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
-
|
| 7 |
-
###
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
tags:
|
| 4 |
- text-to-image
|
| 5 |
+
- dreambooth
|
| 6 |
+
- stable-diffusion
|
| 7 |
---
|
| 8 |
+
|
| 9 |
+
### musecat_PPt_Model — Dreambooth Fine-tuned Stable Diffusion
|
| 10 |
+
#### Model by LK0608
|
| 11 |
+
|
| 12 |
+
This repository contains a Dreambooth-fine-tuned Stable Diffusion model trained on the **musecat_PPt_Model** concept.
|
| 13 |
+
|
| 14 |
+
Use the following `instance_prompt` to generate images of the trained subject:
|
| 15 |
+
|
| 16 |
+
**→ `a photo of a mscds cat`**
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
### Train Your Own Concept
|
| 21 |
+
|
| 22 |
+
You can fine-tune Stable Diffusion on your own subject or style by using the official HuggingFace Dreambooth notebooks:
|
| 23 |
+
|
| 24 |
+
- **Dreambooth Training Notebook**
|
| 25 |
+
https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb
|
| 26 |
+
|
| 27 |
+
- **Inference Notebook**
|
| 28 |
+
https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb
|
| 29 |
+
|
| 30 |
+
- **Public Dreambooth Concepts Space**
|
| 31 |
+
https://huggingface.co/spaces/sd-dreambooth-library/stable-diffusion-dreambooth-concepts
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
### Usage (Diffusers)
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
from diffusers import StableDiffusionPipeline
|
| 39 |
+
import torch
|
| 40 |
+
|
| 41 |
+
pipe = StableDiffusionPipeline.from_pretrained(
|
| 42 |
+
"your-username/musecat_PPt_Model",
|
| 43 |
+
torch_dtype=torch.float16
|
| 44 |
+
).to("cuda")
|
| 45 |
+
|
| 46 |
+
prompt = "a photo of a mscds cat wearing sunglasses, cinematic lighting"
|
| 47 |
+
image = pipe(prompt).images[0]
|
| 48 |
+
|
| 49 |
+
image.save("output.png")
|