Text-to-Image
Diffusers
TensorBoard
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
template:sd-lora
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("merve/lego_LoRA")
prompt = "a photo of TOK lego"
image = pipe(prompt).images[0]SDXL LoRA DreamBooth - merve/lego_lora
Model description
These are merve/lego_lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
The weights were trained using DreamBooth.
LoRA for the text encoder was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
Trigger words
You should use a photo of TOK lego to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 10
Model tree for merve/lego_LoRA
Base model
stabilityai/stable-diffusion-xl-base-1.0