Pokémon Stable Diffusion 1.5 - Full UNet Fine-Tuning
This repository contains the final UNet weights from full fine-tuning of
Stable Diffusion 1.5 on the reach-vb/pokemon-blip-captions dataset.
Training
- Base model:
stable-diffusion-v1-5/stable-diffusion-v1-5 - Fine-tuned component: UNet
- Training images: 749
- Learning rate: 1e-5
- Steps: 1,500
- Batch size: 1
- Gradient accumulation steps: 2
- Effective batch size: 2
- Precision: BF16
- Seed: 266
Loading
The text encoder and tokenizer remain from the original Stable Diffusion 1.5 base model. Load this fine-tuned UNet into that base pipeline:
import torch
from diffusers import StableDiffusionPipeline, UNet2DConditionModel
BASE_MODEL = "stable-diffusion-v1-5/stable-diffusion-v1-5"
FULL_UNET_REPO = "SushmaMaddali/data266-pokemon-sd15-full-unet"
fine_tuned_unet = UNet2DConditionModel.from_pretrained(
FULL_UNET_REPO,
subfolder="unet",
torch_dtype=torch.float16
)
pipe = StableDiffusionPipeline.from_pretrained(
BASE_MODEL,
unet=fine_tuned_unet,
torch_dtype=torch.float16,
use_safetensors=True
).to("cuda")
License and intended use
This model is a derivative of Stable Diffusion 1.5 and was fine-tuned on the
reach-vb/pokemon-blip-captions dataset.
Pokémon characters and related artwork are copyrighted intellectual property. This model is shared only for non-commercial academic coursework and research. It must not be used for commercial purposes, impersonation, or production use.
Users must also comply with the license and terms of the base Stable Diffusion 1.5 model and the license/terms of the original dataset.
Limitations and safety
The Stable Diffusion safety checker was enabled during evaluation. Full fine-tuning on a small captioned dataset can overfit, miss requested details, produce weak compositions, and generalize poorly to unfamiliar prompts.