zoubohao / DenoisingDiffusionProbabilityModel-ddpm-

This may be the simplest implement of DDPM. You can directly run Main.py to train the UNet on CIFAR-10 dataset and see the amazing process of denoising.
MIT License
1.48k stars 156 forks source link

Question about register_buffer #7

Closed qixuema closed 1 year ago

qixuema commented 1 year ago

Hi, may I ask why register_buffer is not selected here? This variable appears to be a constant value.

image

jasonseu commented 1 year ago

https://github.com/zoubohao/DenoisingDiffusionProbabilityModel-ddpm-/issues/3

qixuema commented 1 year ago

OK, it seems to be a harmless question.