Image_Segmentation icon indicating copy to clipboard operation
Image_Segmentation copied to clipboard

> hey guys. use pytorch<=1.2.0 (not confirmed) or change the funtion in "evaluation" to fit the calculation of **bool tensor** will sovle the problem

Open rouchoo opened this issue 2 years ago • 1 comments

hey guys. use pytorch<=1.2.0 (not confirmed) or change the funtion in "evaluation" to fit the calculation of bool tensor will sovle the problem e.g. change "TP = ((SR==1)+(GT==1))==2" to "TP = SR & GT"

thanks, i try it now, and do you have some recommend with pytorch > 1.2?

Originally posted by @CodeXiaoLingYun in https://github.com/LeeJunHyun/Image_Segmentation/issues/58#issuecomment-741368638

rouchoo avatar Apr 09 '22 02:04 rouchoo

when TP = ((SR==0)+(GT==1))==2 and TP = ((SR==1)+(GT==0))==2,how can i change?

rouchoo avatar Apr 09 '22 02:04 rouchoo