Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about cldice loss #9

Closed
long123524 opened this issue Jul 28, 2021 · 3 comments
Closed

about cldice loss #9

long123524 opened this issue Jul 28, 2021 · 3 comments

Comments

@long123524
Copy link

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?

@jocpae
Copy link
Owner

jocpae commented Jul 28, 2021

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.

@long123524
Copy link
Author

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?

@jocpae jocpae mentioned this issue Jul 28, 2021
@jocpae
Copy link
Owner

jocpae commented Jul 28, 2021

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.

@jocpae jocpae closed this as completed Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants