amazon-science / patchcore-inspection

Apache License 2.0
719 stars 146 forks source link

An error for passing parameters into PatchCore class #52

Closed zhangjieTHU closed 1 year ago

zhangjieTHU commented 1 year ago

Dear authors, Thank you for this great work and the beautiful code! However, I found a small error when running this project. In run_patchcore.py # 309, the variable is anomaly_scorer_num_nn while in patchcore.py # 35, its name is anomaly_score_num_nn. I believe they should be the same variable for NN search.