|
--- |
|
license: creativeml-openrail-m |
|
tags: |
|
- pytorch |
|
- diffusers |
|
- stable-diffusion |
|
- text-to-image |
|
- keyboard |
|
widget: |
|
- text: a photo of cyberboard keyboard |
|
datasets: |
|
- li-yan/crazy-keyboard |
|
--- |
|
|
|
## Description |
|
|
|
This is a Stable Diffusion model fine-tuned on dataset li-yan/crazy-keyboard images for the different breeds of cats. |
|
|
|
#### Prompt 1: "a photo of cyberboard keyboard" |
|
| ![image-fine-tuned-1](https://huggingface.co/li-yan/stable-diffusion-crazy-keyboard/resolve/main/docs/generated/pretrained-prompt1.png) | ![image-fine-tuned-1](https://huggingface.co/li-yan/stable-diffusion-crazy-keyboard/resolve/main/docs/generated/fine-tuned-prompt1.png) | |
|
|--|--| |
|
| result of pretrained model | result of fine tuned model | |
|
|
|
Prompt 2: "in the forest, a cyberboard keyboard is on the ground" |
|
|
|
Prompt 3: "a cyberboard keyboard in front of the Golden Gate Bright" |
|
|
|
# Details |
|
|
|
Trained by li-yan on the li-yan/crazy-keyboard dataset. |
|
|
|
It can be used by modifying the `instance_prompt`: **a photo of cyberboard keyboard** |
|
|
|
This model is fine tuned from pretrained model CompVis/stable-diffusion-v1-4 using DreamBooth model. |
|
|
|
More for DreamBooth model, please refer to https://dreambooth.github.io/. |
|
|
|
## Usage |
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
|
|
pipeline = StableDiffusionPipeline.from_pretrained('li-yan/stable-diffusion-crazy-keyboard') |
|
image = pipeline().images[0] |
|
image |
|
``` |
|
|
|
## Fine Tune Source Code |
|
[<img src="https://colab.research.google.com/assets/colab-badge.svg">](https://colab.research.google.com/github/Li-Yan/Diffusion-Model/blob/main/Li_Yan_Stable_Defussion_Fune_Tuning.ipynb) |