DDPM code for fundus photograph generation
We modified the code from https://github.com/lucidrains/denoising-diffusion-pytorch to provide a hand-on experience to generate fundus photographs using DDPM. -Ho, J., Jain, A. & Abbeel, P. Denoising diffusion probabilistic models. in Proceedings of the 34th International Conference on Neural Information Processing Systems 6840–6851 (2020) The training with large resolution images (more than 64 x 64 pixels) needs a lot of time. Early stop of training will provide some weird images.
Please see the pdf & image file to find out the study concept and code.