Downloads · 30 days
27
3% of all-time downloads
merve/lego-dreambooth-sdxl
lego-dreambooth-sdxl is a text-to-image model from merve. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. The weights were trained on a picture of <s1<s2 minifigure using DreamBooth. You can find some example images in the following.
Downloads · 30 days
27
3% of all-time downloads
All-time downloads
828
Public
Repo size
97 MB
Likes
1
Public
Click a slice to open those files.
.bin47.4 MB · 39%
From the Hugging Face model README
These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. The weights were trained on a picture of <s1><s2> minifigure using DreamBooth. You can find some example images in the following.

You can use this code 👇
from huggingface_hub.repocard import RepoCard
from diffusers import DiffusionPipeline
import torch
lora_model_id = "merve/lego-lora-trained-xl"
card = RepoCard.load(lora_model_id)
base_model_id = card.data.to_dict()["base_model"]
pipe = DiffusionPipeline.from_pretrained(base_model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
pipe.load_lora_weights(lora_model_id)
pipe("a picture of <s1><s2> minifigure as lana del rey, high quality", num_inference_steps=35).images[0]
LoRA for the text encoder was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.