Skip to content

MyRepositories-hub/clean_ddpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a clean implementation of DDPM

Installation

Create Anaconda environment

conda create -n ddpm_py311 python=3.11 --yes
conda activate ddpm_py311

Choose the CUDA version on the official PyTorch website: https://pytorch.org/

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Install the remaining requirements

pip install -r requirements.txt

Train DDPM on MNIST

python main.py

Enjoy

python inference.py

More results

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages