HiLab-git/SSL4MIS

About Dice loss

Roll77-luo opened this issue · 0 comments

Why is Dice working out a negative number during training?The output shape is [B,2,W,H], and Label shape is [B,1,W,H], After using unsqueeze, is [B,1,1,W,H]. I printed the numerator larger than the base,Why is that?