Downloads · 30 days
9
4% of all-time downloads
Prgckwb/trpfrog-sdxl-lora
trpfrog-sdxl-lora is a text-to-image model from Prgckwb. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
9
4% of all-time downloads
All-time downloads
208
Public
Repo size
409 MB
Likes
1
Public
Click a slice to open those files.
.bin242 MB · 62%
From the Hugging Face model README
These are Prgckwb/trpfrog-sdxl-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.
You should use an icon of "trpfrog" to trigger the image generation.
from diffusers import DiffusionPipeline
import torch
base_model_id = 'stabilityai/stable-diffusion-xl-base-1.0'
lora_model_id = 'Prgckwb/trpfrog-sdxl-lora'
pipe = DiffusionPipeline.from_pretrained(
base_model_id, torch_dtype=torch.float16
).to("cuda")
pipe.load_lora_weights(lora_model_id)
image = pipe(
"an icon of trpfrog",
num_inference_steps=25
).images[0]
image.save('trpfrog.png')