Thank you for sharing the code of your exciting work.
I think there is a small typo in the name of the parameter used for the number of nearest neighbors (line 309 run_patchcore.py).
In the Patchcore load method, it is declared as anomaly_score_num_nn, while in the mentioned file it is used as
anomaly_scorer_num_nn=anomaly_scorer_num_nn.
This is preventing the command line argument (declared as anomaly_scorer_num_nn) from being effective.
Hello,
Thank you for sharing the code of your exciting work.
I think there is a small typo in the name of the parameter used for the number of nearest neighbors (line 309 run_patchcore.py). In the Patchcore load method, it is declared as
anomaly_score_num_nn
, while in the mentioned file it is used asanomaly_scorer_num_nn=anomaly_scorer_num_nn
.This is preventing the command line argument (declared as
anomaly_scorer_num_nn
) from being effective.