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-2", torch_dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("mantagen/textual_inversion_cactus")

Textual inversion text2image fine-tuning - mantagen/textual_inversion_cactus

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

Downloads last month
7
Safetensors
Model size
0.9B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mantagen/textual_inversion_cactus

Adapter
(7)
this model