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-2-1-base", dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("janetsw/pso")

Textual inversion text2image fine-tuning - janetsw/pso

These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1-base. You can find some example images in the following.

Downloads last month
66
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for janetsw/pso

Adapter
(711)
this model