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("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("Govern/textual_inversion_bicycle")

Textual inversion text2image fine-tuning - Govern/textual_inversion_bicycle

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

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

Model tree for Govern/textual_inversion_bicycle

Adapter
(591)
this model