ByChelsea / VAND-APRIL-GAN

[CVPR 2023 Workshop] VAND Challenge: 1st Place on Zero-shot AD and 4th Place on Few-shot AD
162 stars 20 forks source link

Calculation False Positive Rate #18

Closed hildecoerts closed 7 months ago

hildecoerts commented 7 months ago

Hi, thank you for your valuable work.

In the function of calculating the pro_auc (AUPRO), I noticed that the False Positive Rate (FPR) is computed using the formula: fpr = fp_pixels / inverse_masks.sum() While commonly, the FPR is calculated as: fpr = FP / (FP + FN) I would appreciate some clarification on why the FPR is being computed with the inverse of the ground truth mask in this specific context.

Thank you!