Example Fine-Tuned Model for Unit 2 of the Diffusion Models Class 🧨

fine tune on google/ddpm-cat-256 with dataset yaryar78/Ray_dog

Usage

from diffusers import DDPMPipeline, DDIMPipeline, PNDMPipeline

model_id = "yaryar78/ddpm-Ray-dog"

# load model and scheduler
ddpm = DDPMPipeline.from_pretrained(model_id)  # you can replace DDPMPipeline with DDIMPipeline or PNDMPipeline for faster inference

# run pipeline in inference (sample random noise and denoise)
image = ddpm().images[0]


# save image
image.save("ddpm_generated_image.png")
Downloads last month
42
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support