Downloads · 30 days
11
1% of all-time downloads
LordLiang/example-lora-trained-xl
example-lora-trained-xl is a text-to-image model from LordLiang. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
1K
Public
Repo size
62.9 MB
Likes
1
Public
Click a slice to open those files.
.safetensors70.3 MB · 79%
From the Hugging Face model README
example-lora-trained-xl.safetensors here 💾.
models/Lora folder.<lora:example-lora-trained-xl:1> to your prompt. On ComfyUI just load it as a regular LoRA.from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('LordLiang/example-lora-trained-xl', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('A photo of sks cartoon character dancing').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
You should use a photo of sks cartoon character to trigger the image generation.
All Files & versions.
The weights were trained using 🧨 diffusers Advanced Dreambooth Training Script.
LoRA for the text encoder was enabled. False.
Pivotal tuning was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.