vijaylee / Continual_Anomaly_Detection

Official code for ACMMM 2022 paper: Towards Continual Adaptation in Industrial Anomaly Detection
14 stars 3 forks source link

Error in Calculating AUROC? #1

Open jqtangust opened 1 year ago

jqtangust commented 1 year ago

To average all objects to get mean AUROC in each step.

vijaylee commented 1 year ago

I don't quite understand your question. Could you provide more specific details about your issue?

jqtangust commented 1 year ago

In current code, the average AUROC is calculated by Step B: (Task A + Task B) / 2. However, Task A may contain 10 objects, Task B may contain 1 objects, so to get mean AUROC, you may need to do like: Step B: (Task A 10 + Task B 1) / 11.

vijaylee commented 10 months ago

You are right, thanks for pointing out the error, we have modified the code.