jocpae/clDice

about cldice loss

long123524 opened this issue · 3 comments

Thank you very much for your article. What I want to ask is whether cldice is used as a module? If I have multiple tasks, how should I combine multiple loss functions for training?

Hi, I will answer this very similar to your previous issue:
As described in detail in our paper you can combine clDice with many other loss functions, e.g. BCE, MAE or Dice. We usually use simple linear weighting for this. This is also implemented in the soft_dice_cldice class in our code. For details and experiments how the alpha parameter influences the training please see our paper (and supplementary material). If you are referring to a Mutli-class segmentation problem, I have to say that unfortunately clDice cannot handle multi-class segmentation at this point.

Thank you for your reply. What I want to ask is whether cldice is also applicable to other segmentation tasks? For example, building extraction. In addition, can cldice be used for multi-task neural networks?

Indeed clDice can be used for any binary segmentation task. The weighting with other loss functions is a problem specific parameter though. Unfortunately we have not worked with clDice for multi-task learning.