Diffusion-based-Segmentation icon indicating copy to clipboard operation
Diffusion-based-Segmentation copied to clipboard

Why multiplying by zero?

Open bennymi opened this issue 1 year ago • 0 comments

Hi, thank you for sharing this code. I was wondering why in this line of the gaussian diffusion condition score you are multiplying the right side by zero: https://github.com/JuliaWolleb/Diffusion-based-Segmentation/blob/676f214035e90edd0357f51feab45841e4aefcfb/guided_diffusion/gaussian_diffusion.py#L387

In the original they are multiplying by the cond_fn: https://github.com/openai/guided-diffusion/blob/22e0df8183507e13a7813f8d38d51b072ca1e67c/guided_diffusion/gaussian_diffusion.py#L384

bennymi avatar Mar 03 '24 08:03 bennymi