You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging.warning(f'Note: Both ground truth and prediction of the image are 0, dice, jaccard, precision and recall are regarded as 1, FPR and FNR are 0')
85
+
logging.warning(f'Note: Both ground truth and prediction of the image for label {label}are all 0, dice, jaccard, precision and recall are regarded as 1, FPR and FNR are 0')
logging.warning(f'Note: The prediction results of this image are all 0 while ground truth is not 0, so the precision is 0, recall is regarded as 0')
95
+
logging.warning(f'Note: The prediction results of this image for label {label}are all 0 while ground truth is not 0, so the precision is 0, recall is regarded as 0')
95
96
precision, recall=0, 0# 0
96
97
fnr=1
97
98
fpr=0
98
99
elifgdth_sum==0:
99
-
logging.warning(f'Note: The ground truth of this image are all 0 while the prediction results are not 0, so the recall and FPR are 0, precision and FNR are regarded as 0')
100
+
logging.warning(f'Note: The ground truth of this image for label {label}are all 0 while the prediction results are not 0, so the recall and FPR are 0, precision and FNR are regarded as 0')
100
101
precision, recall=0, 0# 0
101
102
fnr, fpr=0, 0
102
103
else:
103
104
if (fp+tn) ==0:
104
-
logging.warning(f'Note: The ground truth of this image are all 1, so FPR is 0')
105
+
logging.warning(f'Note: The ground truth of this image for label {label}are all 1, so FPR is 0')
0 commit comments