diffusers / ddpm-cifar10-32-demo

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: 2
30-day runs: 3
Model's Last Updated: Mars 15 2023
unconditional-image-generation

Introduction of ddpm-cifar10-32-demo

Model Details of ddpm-cifar10-32-demo

Denoising Diffusion Probabilistic Models (DDPM)

Paper : Denoising Diffusion Probabilistic Models

Authors : Jonathan Ho, Ajay Jain, Pieter Abbeel

Abstract :

We present high quality image synthesis results using diffusion probabilistic models, a class of latent variable models inspired by considerations from nonequilibrium thermodynamics. Our best results are obtained by training on a weighted variational bound designed according to a novel connection between diffusion probabilistic models and denoising score matching with Langevin dynamics, and our models naturally admit a progressive lossy decompression scheme that can be interpreted as a generalization of autoregressive decoding. On the unconditional CIFAR10 dataset, we obtain an Inception score of 9.46 and a state-of-the-art FID score of 3.17. On 256x256 LSUN, we obtain sample quality similar to ProgressiveGAN.

Inference

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/ddpm-cifar10-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")

For more in-detail information, please have a look at the official inference example

Training

If you want to train your own model, please have a look at the official training example

Samples
  1. sample_1
  2. sample_2
  3. sample_3
  4. sample_4

Runs of diffusers ddpm-cifar10-32-demo on huggingface.co

3
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
3
30-day runs

More Information About ddpm-cifar10-32-demo huggingface.co Model

More ddpm-cifar10-32-demo license Visit here:

https://choosealicense.com/licenses/apache-2.0

ddpm-cifar10-32-demo huggingface.co

ddpm-cifar10-32-demo huggingface.co is an AI model on huggingface.co that provides ddpm-cifar10-32-demo's model effect (), which can be used instantly with this diffusers ddpm-cifar10-32-demo model. huggingface.co supports a free trial of the ddpm-cifar10-32-demo model, and also provides paid use of the ddpm-cifar10-32-demo. Support call ddpm-cifar10-32-demo model through api, including Node.js, Python, http.

ddpm-cifar10-32-demo huggingface.co Url

https://huggingface.co/diffusers/ddpm-cifar10-32-demo

diffusers ddpm-cifar10-32-demo online free

ddpm-cifar10-32-demo huggingface.co is an online trial and call api platform, which integrates ddpm-cifar10-32-demo's modeling effects, including api services, and provides a free online trial of ddpm-cifar10-32-demo, you can try ddpm-cifar10-32-demo online for free by clicking the link below.

diffusers ddpm-cifar10-32-demo online free url in huggingface.co:

https://huggingface.co/diffusers/ddpm-cifar10-32-demo

ddpm-cifar10-32-demo install

ddpm-cifar10-32-demo is an open source model from GitHub that offers a free installation service, and any user can find ddpm-cifar10-32-demo on GitHub to install. At the same time, huggingface.co provides the effect of ddpm-cifar10-32-demo install, users can directly use ddpm-cifar10-32-demo installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ddpm-cifar10-32-demo install url in huggingface.co:

https://huggingface.co/diffusers/ddpm-cifar10-32-demo

Url of ddpm-cifar10-32-demo

ddpm-cifar10-32-demo huggingface.co Url

Provider of ddpm-cifar10-32-demo huggingface.co

diffusers
ORGANIZATIONS

Other API from diffusers

huggingface.co

Total runs: 5.3K
Run Growth: 0
Growth Rate: 0.00%
Updated: Octobre 22 2024
huggingface.co

Total runs: 4.0K
Run Growth: -1.5K
Growth Rate: -39.10%
Updated: Février 08 2023
huggingface.co

Total runs: 463
Run Growth: 146
Growth Rate: 31.53%
Updated: Février 23 2025
huggingface.co

Total runs: 34
Run Growth: 25
Growth Rate: 75.76%
Updated: Janvier 27 2023
huggingface.co

Total runs: 12
Run Growth: -4
Growth Rate: -30.77%
Updated: Février 06 2024