Downloads · 30 days
17
74% of all-time downloads
randomani/DDIM-tattoo-32
DDIM-tattoo-32 is a machine learning model from randomani. 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.
Downloads · 30 days
17
74% of all-time downloads
All-time downloads
23
Public
Parameters
35.7M
143 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors143 MB · 100%
From the Hugging Face model README
Abstract:
*Trained a Unconditional Diffusion Model on tattoo dataset with DDIM noise scheduler *
DDPM models can use discrete noise schedulers such as:
for inference. Note that while the ddpm scheduler yields the highest quality, it also takes the longest. For a good trade-off between quality and inference speed you might want to consider the ddim or pndm schedulers instead.
See the following code:
# !pip install diffusers
from diffusers import DDPMPipeline, DDIMPipeline, PNDMPipeline
model_id = "google/DDIM-tattoo-32"
# 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")