Downloads · 30 days
6
1% of all-time downloads
mayur7garg/ddpm-fake-icons
ddpm-fake-icons is a unconditional image generation model from mayur7garg. Use it for the unconditional image generation 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 mit.
Downloads · 30 days
6
1% of all-time downloads
All-time downloads
791
Public
Parameters
114M
1.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors909 MB · 100%
From the Hugging Face model README

!python3 -m pip install diffusers==0.21.* accelerate
from matplotlib import pyplot as plt
from diffusers import DDPMPipeline
ddpm = DDPMPipeline.from_pretrained("mayur7garg/ddpm-fake-icons")
ddpm.to("cuda")
inference_image = ddpm(
batch_size = 36,
num_inference_steps = 1000
).images
plt.figure(figsize = (18, 18), dpi = 120)
for i, image in enumerate(inference_image):
plt.subplot(6, 6, i + 1)
plt.imshow(image)
plt.axis(False)
plt.tight_layout()
plt.show()