Skip to content

FMsunyh/ddim-denoising-diffusion-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddim-denoising-diffusion-pytorch

复现论文 Denoising Diffusion Implicit Models, in Pytorch。

python环境

  • torch 1.13.0
  • python 3.10

训练数据

百度云盘下载: CelebA/Img/img_align_celeba.zip

cp img_align_celeba.zip ./data/celebA/
cd ./data/celebA/
unzip img_align_celeba.zip

开启训练

  • MNIST
python train.py --dataset mnist --epochs 6 --channels 1
  • celebA
python train.py --dataset CelebA --epochs 100 --channels 3

输出路径

可以查看每一轮的预测结果

./outputs

测试效果

  • MNIST数据集,训练6轮后的测试效果
Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text
Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text
  • celebA数据集,训练50轮后的测试效果
Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text
Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

参考

AIGC学习交流

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages