import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("jainr3/sd-diffusiondb-pixelart-v2-model-lora")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]LoRA text2image fine-tuning - jainr3/sd-diffusiondb-pixelart-v2-model-lora
These are LoRA adaption weights for stabilityai/stable-diffusion-2-1. The weights were fine-tuned on the jainr3/diffusiondb-pixelart dataset. This model has been trained for 30 epochs while the jainr3/sd-diffusiondb-pixelart-model-lora model was trained on only 5 epochs. You can find some example images in the following.
- Downloads last month
- 4
Model tree for jainr3/sd-diffusiondb-pixelart-v2-model-lora
Base model
stabilityai/stable-diffusion-2-1