How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
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("SamJu3/sd-danielle-model-lora40with-xl")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

LoRA text2image fine-tuning - SamJu3/sd-danielle-model-lora40with-xl

These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. The weights were fine-tuned on the /home/cora3/vscode_project/SweetBrothers/kohya_ss/images/train/iom2 dataset. You can find some example images in the following.

img_0 img_1 img_2 img_3

LoRA for the text encoder was enabled: False.

Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

Downloads last month
4
Inference Providers NEW

Model tree for SamJu3/sd-danielle-model-lora40with-xl

Adapter
(8615)
this model

Space using SamJu3/sd-danielle-model-lora40with-xl 1