BohaoZou
BohaoZou
Hi I think this issue is because your data is 2d CT images. In CIFAR-10 dataset, the channel of these images is 3. You can 1. convert the 2d CT...
Hi Kayce You can set the parameter "device" in the Main.py as "cuda:0" or "CPU".
I do not understand your question exactly. I think it is ok to do it. But the result of generating may not an image.
Yes, those weights are shared.
Please read the paper "CLASSIFIER-FREE DIFFUSION GUIDANCE". The label 0 refers to the model without conditions. The labels 1 to 10 refer to the CIFAR10 labels. The paper says: "Instead...
The code you display is the training processing. The inference procedure is in the "forward" function of "GaussianDiffusionSampler" class of the Diffusion.py file.