File size: 1,552 Bytes
b86bf50 1806573 b86bf50 1806573 b0aeaaa 1806573 |
1 2 3 4 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 38 39 40 41 42 43 44 45 46 47 48 49 50 |
---
license: mit
metrics:
- mse
library_name: diffusers
tags:
- diffusion
pipeline_tag: text-to-image
datasets:
- nroggendorff/zelda
language:
- en
---
## Zelda Diffusion Model Card
SDZelda is a latent text-to-image diffusion model capable of generating images of Zelda from The Legend of Zelda. For more information about how Stable Diffusion functions, please have a look at 🤗's [Stable Diffusion blog](https://huggingface.co/blog/stable_diffusion).
You can use this with the 🧨Diffusers library from [Hugging Face](https://huggingface.co).
![So pretty, right?](pipe.png)
### Diffusers
```py
from diffusers import StableDiffusionPipeline
import torch
pipeline = StableDiffusionPipeline.from_pretrained("nroggendorff/zelda-diffusion", torch_dtype=torch.float16, use_safetensors=True).to("cuda")
image = pipeline(prompt="a drawing of a woman in a blue dress and gold crown").images[0]
image.save("zelda.png")
```
### Model Details
- `train_batch_size`: 1
- `gradient_accumulation_steps`: 4
- `learning_rate`: 1e-2
- `lr_warmup_steps`: 500
- `mixed_precision`: "fp16"
- `eval_metric`: "mean_squared_error"
### Limitations
- The model does not achieve perfect photorealism
- The model cannot render legible text
- The model was trained on a small-scale dataset: [nroggendorff/zelda](https://huggingface.co/datasets/nroggendorff/zelda)
### Developed by
- Noa Linden Roggendorff
*This model card was written by Noa Roggendorff and is based on the [Stable Diffusion v1-5 Model Card](https://huggingface.co/runwayml/stable-diffusion-v1-5).* |