Closed apuomline closed 12 months ago
我尝试寻找了原因,由于 get_sensitivity函数内部使用GT = GT == torch.max(GT) 作为分类阈值,后面 TP = ((SR==1)+(GT==1))==2 (SR==1)与(GT==1)同时满足的组合个数为0 FN的计算也为0。由于TP,FN计算得到为0导致最后计算出来的SE,PC,Dice,IOU值为0
你好,可以参考issue #14
好的,感谢您抽时间回复我的问题。按照您的解答,问题已经解决了。再次感谢您!!!
我尝试寻找了原因,由于 get_sensitivity函数内部使用GT = GT == torch.max(GT) 作为分类阈值,后面 TP = ((SR==1)+(GT==1))==2 (SR==1)与(GT==1)同时满足的组合个数为0 FN的计算也为0。由于TP,FN计算得到为0导致最后计算出来的SE,PC,Dice,IOU值为0