Downloads · 30 days
6
3% of all-time downloads
Norod78/ddpm-EmojiAlignedFaces-64
ddpm-EmojiAlignedFaces-64 is a machine learning model from Norod78. 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.
This diffusion model is trained with the 🤗 Diffusers library on the Norod78/EmojiFFHQAlignedFaces dataset.
Downloads · 30 days
6
3% of all-time downloads
All-time downloads
193
Public
Parameters
114M
1.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin455 MB · 50%
From the Hugging Face model README
This diffusion model is trained with the 🤗 Diffusers library on the Norod78/EmojiFFHQAlignedFaces dataset.
from diffusers import DDPMPipeline, DDIMPipeline, PNDMPipeline
def main():
model_id = "Norod78/ddpm-EmojiAlignedFaces-64"
# 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()["sample"]
# save image
image[0].save("ddpm_generated_image.jpg")
image[0].show()
if __name__ == '__main__':
main()