uoft-cs/cifar10
Viewer • Updated • 60k • 122k • 105
An implementation of a diffusion model sampler using a UNet transformer to generate handwritten digit samples.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Diffusion models have shown great promise in generating high-quality samples in various domains. In this project, we utilize a UNet transformer-based diffusion model to generate samples of handwritten digits. The process involves:
To get a local copy up and running follow these simple example steps.
Ensure you have the following prerequisites installed:
git clone https://github.com/Yavuzhan-Baykara/Stable-Diffusion.git
cd Stable-Diffusion
pip install torch torchvision numpy Pillow matplotlib
To train the UNet transformer with different datasets and samplers, use the following command:
python train.py <dataset> <sampler> <epoch> <batch_size>