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 #8

Closed
long123524 opened this issue Jul 26, 2021 · 2 comments
Closed

about clDice #8

long123524 opened this issue Jul 26, 2021 · 2 comments

Comments

@long123524
Copy link

long123524 commented Jul 26, 2021

Thanks for a great paper about clDice.
I am a newbie who just started deep learning. I want to add clDice as the loss function of the network. How should I implement it? Besides, Can it be combined with other loss functions?

@jocpae
Copy link
Owner

jocpae commented Jul 28, 2021

Hi thanks for reaching out. I am nor sure I understand your question, you can use our implementation straight forward as your loss. 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).

@jocpae
Copy link
Owner

jocpae commented Jul 28, 2021

#9

@jocpae jocpae closed this as completed Jul 28, 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