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", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("anupamtripathi/model_sd2_new_data")

prompt = "a photo of Beavertail Pastry food products"
image = pipe(prompt).images[0]

LoRA DreamBooth - anupamtripathi/model_sd2_new_data

These are LoRA adaption weights for stabilityai/stable-diffusion-2-1. The weights were trained on a photo of Beavertail Pastry food products using DreamBooth. You can find some example images in the following.

img_0 img_1 img_2 img_3

LoRA for the text encoder was enabled: False.

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

Model tree for anupamtripathi/model_sd2_new_data

Adapter
(347)
this model