https://medium.com/@monocosmo77/working-with-diffusion-priors-part1-machine-learning-2023-8ef3c5ccf063