caoyunkang / CDO

[TII 2023] Collaborative Discrepancy Optimization for Reliable Image Anomaly Localization
MIT License
61 stars 7 forks source link

怎么对score设阈值来定位缺陷区域 #3

Closed zq130320339 closed 1 year ago

zq130320339 commented 1 year ago

你好 得到score后,怎么确定缺陷的阈值

caoyunkang commented 1 year ago

Hi! You can set the segmentation threshold via the max F1 score criteria. Or you may try to set a threshold manually. The anomaly score distribution in the result directory 'result//imgs' may be beneficial to manual selection. Thanks!

zq130320339 commented 1 year ago

好的 谢谢