Downloads · 30 days
259
36% of all-time downloads
Shoaibism/sdxl-product-photography-lora
sdxl-product-photography-lora is a machine learning model from Shoaibism. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as apache-2.0.
Fine-tuned on 20 studio sneaker images using DreamBooth LoRA on Kaggle T4 (15GB). Training: 800 steps, ~2.5 hours. Trigger word: PRDCT
Downloads · 30 days
259
36% of all-time downloads
All-time downloads
712
Public
Repo size
2.9 GB
Likes
0
Public
Click a slice to open those files.
.safetensors93.1 MB · 85%
From the Hugging Face model README
Fine-tuned on 20 studio sneaker images using DreamBooth LoRA on Kaggle T4 (15GB).
Training: 800 steps, ~2.5 hours. Trigger word: PRDCT
from diffusers import StableDiffusionXLPipeline
import torch
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16
)
pipe.load_lora_weights("Shoaibism/sdxl-product-photography-lora")
pipe.enable_model_cpu_offload()
image = pipe(
"a photo of a PRDCT white sneaker, studio background, professional product photography, 8k",
height=1024, width=1024, num_inference_steps=25, guidance_scale=7.5,
).images[0]
image.save("result.png")


Muhammad S. — AI/ML Engineer Upwork