orrinj/janeycat2ndrun
Viewer • Updated • 35 • 15
How to use orrinj/LoRAjaneycat_test_alt with Diffusers:
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("orrinj/LoRAjaneycat_test_alt")
prompt = "janeycat girl, walking, open mouth, side view, white background"
image = pipe(prompt).images[0]Use "janeycat girl" to activate.
Probably a bit over-fitted and the quality isn't great unless turned down to .3-4.
Trained with dreambooth again but this time using 4 epochs, reg images and a different script to allow for keep_tokens and other helpful options - more importantly it has the correct metadata and actually works when I apply it on Automatic1111 locally!!! Shame it's 115MB...
Base model
stabilityai/stable-diffusion-xl-base-1.0