HiLab-git / SSL4MIS

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About Dice loss

Roll77-luo opened this issue · 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?