Downloads · 30 days
0
0% of all-time downloads
benisonjac/finetune-of-stable-diffuson-on-Zappos-shoe-dataset
finetune-of-stable-diffuson-on-Zappos-shoe-dataset is a text-to-image model from benisonjac. Use it when you need an image from a text prompt. It is set up for diffusers.
This repository hosts a finetuned Stable Diffusion model specialized in generating high-quality shoe images. The model is trained on the UT Zappos50K dataset, which consists of over 50,000 catalog-style shoe images wi…
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
457
Public
Parameters
860M
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 100%
From the Hugging Face model README
This repository hosts a finetuned Stable Diffusion model specialized in generating high-quality shoe images. The model is trained on the UT Zappos50K dataset, which consists of over 50,000 catalog-style shoe images with clean backgrounds.
Install dependencies:
pip install diffusers transformers accelerate torch
Example Python code for inference:
import torch
from diffusers import StableDiffusionPipeline
model_id = "benisonjac/finetune-of-stable-diffuson-on-Zappos-shoe-dataset"
pipe = StableDiffusionPipeline.from_pretrained(
model_id,
torch_dtype=torch.float16,
safety_checker=None,
use_safetensors=True
).to("cuda")
prompt = "studio product photo of a black leather ankle boot, side view, isolated on white background, high detail"
negative_prompt = "blurry, low resolution, watermark, deformed"
image = pipe(
prompt,
negative_prompt=negative_prompt,
guidance_scale=7.5,
num_inference_steps=30,
generator=torch.Generator("cuda").manual_seed(42)
).images
image.save("generated_shoe.png")
The model is finetuned on the UT Zappos50K dataset, which contains over 50,000 images of shoes including boots, sandals, slippers, and more, all with consistent white backgrounds and catalog styling.
Please adhere to the licensing terms of the base Stable Diffusion model and the UT Zappos50K dataset when using or redistributing this finetuned model.
If you use this model in your work, please cite the UT Zappos50K dataset and the Stable Diffusion original model.
Feel free to open issues for questions or improvement suggestions.