Skip to content

Zeqiang-Lai/ddpmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

DDPMx

Original DDPM model with diffuser integration in PyTorch.

  • Test original DDPM model using latest techniques, e.g., DDIM, with diffusers

Usage

Pytorch pretrained model comes from pytorch_diffusion.

python generate.py
sh test_fid.sh

Results

Evaluating 50k samples with torch-fidelity gives

Dataset EMA Framework Model FID
CIFAR10 Train no PyTorch cifar10 12.13775
TensorFlow tf_cifar10 12.30003
yes PyTorch ema_cifar10 3.21213
TensorFlow tf_ema_cifar10 3.245872
CIFAR10 Validation no PyTorch cifar10 14.30163
TensorFlow tf_cifar10 14.44705
yes PyTorch ema_cifar10 5.274105
TensorFlow tf_ema_cifar10 5.325035

Results with different samplers.

Dataset Sampler Framework Model FID
CIFAR10 Train ddim20 PyTorch ema_cifar10 11.08184
ddim100 PyTorch ema_cifar10 5.515337
ddim50 PyTorch cifar10 13.45145
ddim100 PyTorch cifar10 11.05178
ddpm1000 PyTorch ema_cifar10 3.171527
ddpm1000 PyTorch cifar10 14.28527
ddpm1000x PyTorch ema_cifar10 4.741088
CIFAR10 Validation ddim20 PyTorch ema_cifar10 13.22313
ddim100 PyTorch ema_cifar10 7.609758
ddim50 PyTorch cifar10 15.63806
ddim100 PyTorch cifar10 13.22416
ddpm1000 PyTorch ema_cifar10 5.245864
ddpm1000 PyTorch cifar10 12.15665
ddpm1000x PyTorch ema_cifar10 6.823921

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published