Image_Segmentation
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
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
when TP = ((SR==0)+(GT==1))==2 and TP = ((SR==1)+(GT==0))==2,how can i change?