MrGiovanni / UNetPlusPlus

[IEEE TMI] Official Implementation for UNet++
Other
2.26k stars 538 forks source link

Confused about dice lose #64

Closed wangerxiao001 closed 3 years ago

wangerxiao001 commented 3 years ago

Hello, I'm confused about your dice lose as follow:

https://github.com/MrGiovanni/UNetPlusPlus/blob/f8c4064659c6857d17f39088acd0d1eeb95340ea/pytorch/nnunet/training/loss_functions/dice_loss.py#L158 why dice_lose = -dc ? Do I miss anything?