hcw-00 / PatchCore_anomaly_detection

Unofficial implementation of PatchCore anomaly detection
Apache License 2.0
317 stars 95 forks source link

Faiss #33

Closed AnnaManasyan closed 2 years ago

AnnaManasyan commented 2 years ago

Faiss integration for nearest neighbor search. Also, loading of embeddings is moved from test_step to on_test_start so the embeddings will be loaded once and not for every test sample.