https://gihuni99.github.io/posts/Learning-Diffusion-Noise-Parameters_note/