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("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("weishuai-4670/textual_inversion_object")

Textual inversion text2image fine-tuning - weishuai-4670/textual_inversion_object

These are textual inversion adaption weights for runwayml/stable-diffusion-v1-5. You can find some example images in the following.

Downloads last month
32
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for weishuai-4670/textual_inversion_object

Adapter
(2742)
this model

Spaces using weishuai-4670/textual_inversion_object 2