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("SedatAl/manga-LoRa")

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

LoRA text2image fine-tuning - SedatAl/manga-LoRa

These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. The weights were fine-tuned on the Chan-Y/Manga-Drawings dataset. img_0 img_1

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

How to use

resolution=1024 
train_batch_size=1 
gradient_accumulation_steps=4 
max_train_steps=528 
learning_rate=1e-4 
lr_scheduler="cosine" 
lr_warmup_steps=100 
Downloads last month
3
Inference Providers NEW

Model tree for SedatAl/manga-LoRa

Adapter
(8352)
this model