amazon-science / patchcore-inspection

Apache License 2.0
719 stars 146 forks source link

I have a question about anomaly_scorer_num_nn ! #32

Open PeterKim1 opened 2 years ago

PeterKim1 commented 2 years ago

Hello.

Thanks for your great codes.

I have a question about --anomaly_scorer_num_nn.

image

In your paper, when the anomaly score is calculated, consider b nearest patch-features in memory bank.

is --anomaly_scorer_num_nn the same as b ??

And another question is, if i want to reproduce paper's performance, is it okay to set --anomaly_scorer_num_nn as 1?

Or need to set another value? is it different by subdataset??

Thanks.