denoising-diffusion-pytorch
denoising-diffusion-pytorch copied to clipboard
Question about the normalization of the input data for ddpm.
Just want to ask two naive questions as I am new to the diffusion model. 😅
I noticed that in README.md, it says that the data is normalized from 0 to 1. https://github.com/lucidrains/denoising-diffusion-pytorch/blob/d0c68fc6828291f2c66f6caccb8f4635d9613732/README.md?plain=1#L45
- Why do we have to conduct this normalization on data? If we didn't do that, would DDPM still work properly?
- If the input is latent like LDM does, do I have to make sure the latent space is also from 0 to 1?