Segmentation_Losses
Segmentation_Losses copied to clipboard
Implementation of Dice Loss
The implementation of Dice loss divides the intersection by the sum of all targets and inputs. But, according to equation 7 of the paper, the sum in the denominator should only be over the class under consideration. So, should the denominator have input_c
and target_c
instead of input
and target
respectively?