DDPS icon indicating copy to clipboard operation
DDPS copied to clipboard

Discrete diffusion in the code

Open vadimkantorov opened this issue 2 years ago • 1 comments

Hi! Thanks a lot for releasing the codes :)

Do I understand correctly that the main model is in https://github.com/OpenGVLab/DDPS/blob/main/mmseg_custom/models/decode_heads/segformer_head_unet_fc_head_single_step.py#L128 ?

Am I correct that first the discrete class labels are embedded into real-valued vectors, put into the unet which outputs real-valued logits? (and that corruption is done in the discrete label space)

vadimkantorov avatar Jul 27 '23 17:07 vadimkantorov

Hi @vadimkantorov ,

As far as I know, this codebase is similar to implementation of "Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions", Reference: https://github.com/ehoogeboom/multinomial_diffusion/blob/9d907a60536ad793efd6d2a6067b3c3d6ba9fce7/segmentation_diffusion/layers/layers.py#L190

Hope this helps!

Siddharth-Shrivastava7 avatar Jul 31 '23 13:07 Siddharth-Shrivastava7