{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/towards-total-recall-in-industrial-anomaly","title":"Towards Total Recall in Industrial Anomaly Detection","arxiv_id":"2106.08265","date":"2021-06-15","proceeding":"CVPR 2022 1","authors":["Karsten Roth","Latha Pemula","Joaquin Zepeda","Bernhard Schölkopf","Thomas Brox","Peter Gehler"],"abstract":"Being able to spot defective parts is a critical component in large-scale industrial manufacturing. A particular challenge that we address in this work is the cold-start problem: fit a model using nominal (non-defective) example images only. While handcrafted solutions per class are possible, the goal is to build systems that work well simultaneously on many different tasks automatically. The best performing approaches combine embeddings from ImageNet models with an outlier detection model. In this paper, we extend on this line of work and propose \\textbf{PatchCore}, which uses a maximally representative memory bank of nominal patch-features. PatchCore offers competitive inference times while achieving state-of-the-art performance for both detection and localization. On the challenging, widely used MVTec AD benchmark PatchCore achieves an image-level anomaly detection AUROC score of up to $99.6\\%$, more than halving the error compared to the next best competitor. We further report competitive results on two additional datasets and also find competitive results in the few samples regime.\\freefootnote{$^*$ Work done during a research internship at Amazon AWS.} Code: github.com/amazon-research/patchcore-inspection.","url_abs":"https://arxiv.org/abs/2106.08265v2","url_pdf":"https://arxiv.org/pdf/2106.08265v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/amazon-research/patchcore-inspection","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/JoegameZhou/PatchCore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"mindspore","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/OpenAOI/anodet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/Ultranity/Anomaly.Paddle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"paddle","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/amazon-science/patchcore-inspection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/any-tech/PatchCore-ex","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/captainfffsama/pathcore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/hcw-00/PatchCore_anomaly_detection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/tbcvContributor/DeepHawkeye","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/tiskw/patchcore-ad","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/totoroKalic/patchcore-mindspore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"mindspore","reach":{"status":"ok"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/2023-MindSpore-1/ms-code-4/tree/main/PatchCore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":{"status":"ok"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/Burf/tfdetection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/mindspore-ai/models/tree/master/official/cv/patchcore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/openvinotoolkit/anomalib","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/rvorias/ind_knn_ad","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/taikiinoue45/PatchCore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"towards-total-recall-in-industrial-anomaly","repo_url":"https://github.com/yangyucheng000/patchcore","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":{"status":"ok"}}],"tasks":[{"task_slug":"3d-anomaly-detection","task_name":"3D Anomaly Detection"},{"task_slug":"anomaly-classification","task_name":"Anomaly Classification"},{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"anomaly-segmentation","task_name":"Anomaly Segmentation"},{"task_slug":"outlier-detection","task_name":"Outlier Detection"},{"task_slug":"unsupervised-anomaly-detection","task_name":"Unsupervised Anomaly Detection"}],"methods":[{"method_slug":"coresets","method_name":"Coresets"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/3d-anomaly-detection-on-anomaly-shapenet10","task":"3D Anomaly Detection","dataset":"Anomaly-ShapeNet10","model":"PatchCore (FPFH)","rank_in_archive_order":2,"of":7,"metrics":{"O-AUROC":"0.884","P-AUROC":"0.923"},"uses_additional_data":false},{"leaderboard":"/sota/3d-anomaly-detection-on-anomaly-shapenet10","task":"3D Anomaly Detection","dataset":"Anomaly-ShapeNet10","model":"PatchCore (PointMAE)","rank_in_archive_order":5,"of":7,"metrics":{"O-AUROC":"0.574","P-AUROC":"0.645"},"uses_additional_data":false},{"leaderboard":"/sota/3d-anomaly-detection-on-real-3d-ad","task":"3D Anomaly Detection","dataset":"Real 3D-AD","model":"PatchCore (FPFH+Raw)","rank_in_archive_order":12,"of":19,"metrics":{"Mean Performance of P. and O. ":"0.687","Object AUROC":"0.682","Point AUROC":"0.692"},"uses_additional_data":false},{"leaderboard":"/sota/3d-anomaly-detection-on-real-3d-ad","task":"3D Anomaly Detection","dataset":"Real 3D-AD","model":"PatchCore (PointMAE)","rank_in_archive_order":15,"of":19,"metrics":{"Mean Performance of P. and O. ":"0.614","Object AUROC":"0.594","Point AUROC":"0.634"},"uses_additional_data":false},{"leaderboard":"/sota/3d-anomaly-detection-on-real-3d-ad","task":"3D Anomaly Detection","dataset":"Real 3D-AD","model":"PatchCore (FPFH)","rank_in_archive_order":17,"of":19,"metrics":{"Mean Performance of P. and O. ":"0.5925","Object AUROC":"0.593","Point AUROC":"0.592"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-classification-on-goodsad","task":"Anomaly Classification","dataset":"GoodsAD","model":"PatchCore-100%","rank_in_archive_order":1,"of":11,"metrics":{"AUPR":"86.1","AUROC":"85.5"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-classification-on-goodsad","task":"Anomaly Classification","dataset":"GoodsAD","model":"PatchCore-1%","rank_in_archive_order":2,"of":11,"metrics":{"AUPR":"83.3","AUROC":"81.4"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-aebad-s","task":"Anomaly Detection","dataset":"AeBAD-S","model":"PatchCore","rank_in_archive_order":4,"of":8,"metrics":{"Detection AUROC":"71.0","Segmentation AUPRO":"87.8"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-aebad-v","task":"Anomaly Detection","dataset":"AeBAD-V","model":"PatchCore","rank_in_archive_order":3,"of":7,"metrics":{"Detection AUROC":"70.7"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mpdd","task":"Anomaly Detection","dataset":"MPDD","model":"PatchCore","rank_in_archive_order":14,"of":16,"metrics":{"Detection AUROC":"82.12","Segmentation AUROC":"95.66"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mvtec-ad","task":"Anomaly Detection","dataset":"MVTec AD","model":"PatchCore Large","rank_in_archive_order":20,"of":148,"metrics":{"Detection AUROC":"99.6","FPS":"5.88","Segmentation AUPRO":"93.5","Segmentation AUROC":"98.2"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mvtec-ad","task":"Anomaly Detection","dataset":"MVTec AD","model":"PatchCore","rank_in_archive_order":43,"of":148,"metrics":{"Detection AUROC":"99.2","Segmentation AUROC":"98.4"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mvtec-ad","task":"Anomaly Detection","dataset":"MVTec AD","model":"PatchCore(16shot)","rank_in_archive_order":89,"of":148,"metrics":{"Detection AUROC":"95.4"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mvtec-loco-ad","task":"Anomaly Detection","dataset":"MVTec LOCO AD","model":"PatchCore","rank_in_archive_order":26,"of":40,"metrics":{"Avg. Detection AUROC":"80.3","Detection AUROC (only logical)":"75.8","Segmentation AU-sPRO (until FPR 5%)":"39.7"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mvtec-loco-ad","task":"Anomaly Detection","dataset":"MVTec LOCO AD","model":"PatchCore Ensemble","rank_in_archive_order":27,"of":40,"metrics":{"Avg. Detection AUROC":"79.4","Detection AUROC (only logical)":"71.0","Detection AUROC (only structural)":"87.7","Segmentation AU-sPRO (until FPR 5%)":"36.5"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2106.08265","atlas_url":"https://app.syntology.ai/?focus=2106.08265","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.08265"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/captainfffsama/pathcore","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/OpenAOI/anodet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/JoegameZhou/PatchCore","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/amazon-science/patchcore-inspection","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yangyucheng000/patchcore","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/any-tech/PatchCore-ex","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Ultranity/Anomaly.Paddle","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/totoroKalic/patchcore-mindspore","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tiskw/patchcore-ad","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/taikiinoue45/PatchCore","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rvorias/ind_knn_ad","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mindspore-ai/models/tree/master/official/cv/patchcore","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/2023-MindSpore-1/ms-code-4/tree/main/PatchCore","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/openvinotoolkit/anomalib","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hcw-00/PatchCore_anomaly_detection","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tbcvContributor/DeepHawkeye","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/amazon-research/patchcore-inspection","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Burf/tfdetection","reach":null}],"summary":{"ran":20,"ran_draft_wrong":2,"ran_honours":1,"ran_violates":1,"unverified":12},"by_repo_kind":{"official":{"samples":5,"ran":0,"repositories":1},"listed":{"samples":31,"ran":24,"repositories":7}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"02bea3555bf26ceb","entry":"assemble_patch","repo":"any-tech/PatchCore-ex","repo_kind":"listed","path":"utils/visualize.py","file_url":"https://github.com/any-tech/PatchCore-ex/blob/HEAD/utils/visualize.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"02bea3555bf26ceb"}},{"code_sha256_prefix":"31bb4bbf1cab798a","entry":"auto_threshold","repo":"tiskw/patchcore-ad","repo_kind":"listed","path":"patchcore/utils.py","file_url":"https://github.com/tiskw/patchcore-ad/blob/HEAD/patchcore/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"31bb4bbf1cab798a"}},{"code_sha256_prefix":"d64d475597e3e18e","entry":"calc_imagewise_metrics","repo":"any-tech/PatchCore-ex","repo_kind":"listed","path":"utils/metrics.py","file_url":"https://github.com/any-tech/PatchCore-ex/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d64d475597e3e18e"}},{"code_sha256_prefix":"e6b66178d86edc78","entry":"calc_pixelwise_metrics","repo":"any-tech/PatchCore-ex","repo_kind":"listed","path":"utils/metrics.py","file_url":"https://github.com/any-tech/PatchCore-ex/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e6b66178d86edc78"}},{"code_sha256_prefix":"2a80220dabcb742a","entry":"conv1x1","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"src/wide_res_model.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/src/wide_res_model.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2a80220dabcb742a"}},{"code_sha256_prefix":"600ff2c45e0de056","entry":"conv3x3","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"src/wide_res_model.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/src/wide_res_model.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"600ff2c45e0de056"}},{"code_sha256_prefix":"b8c46d57235fa543","entry":"createDatasetJson","repo":"JoegameZhou/PatchCore","repo_kind":"listed","path":"src/dataset.py","file_url":"https://github.com/JoegameZhou/PatchCore/blob/HEAD/src/dataset.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b8c46d57235fa543"}},{"code_sha256_prefix":"774c2acb59a77761","entry":"create_dataset","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/workspace.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/workspace.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"774c2acb59a77761"}},{"code_sha256_prefix":"cd61b6846e7dd644","entry":"cvt2heatmap","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"src/utils.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd61b6846e7dd644"}},{"code_sha256_prefix":"40df71d26759ce01","entry":"embedding_concat","repo":"JoegameZhou/PatchCore","repo_kind":"listed","path":"src/operator.py","file_url":"https://github.com/JoegameZhou/PatchCore/blob/HEAD/src/operator.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"40df71d26759ce01"}},{"code_sha256_prefix":"b4bfdc071e0f7908","entry":"fold","repo":"JoegameZhou/PatchCore","repo_kind":"listed","path":"src/operator.py","file_url":"https://github.com/JoegameZhou/PatchCore/blob/HEAD/src/operator.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b4bfdc071e0f7908"}},{"code_sha256_prefix":"20c1c0be389a566e","entry":"import_images","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/workspace.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/workspace.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20c1c0be389a566e"}},{"code_sha256_prefix":"b21c2ea9ce7a27e6","entry":"inspect_dataset","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/workspace.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/workspace.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b21c2ea9ce7a27e6"}},{"code_sha256_prefix":"0a43d57bcdbc3765","entry":"johnson_lindenstrauss_min_dim","repo":"Ultranity/Anomaly.Paddle","repo_kind":"listed","path":"dim_reduction/random_projection.py","file_url":"https://github.com/Ultranity/Anomaly.Paddle/blob/HEAD/dim_reduction/random_projection.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0a43d57bcdbc3765"}},{"code_sha256_prefix":"f72e12b0cce93f61","entry":"list_changes","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/curation.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/curation.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f72e12b0cce93f61"}},{"code_sha256_prefix":"373674457d45997f","entry":"min_max_norm","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"src/utils.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"373674457d45997f"}},{"code_sha256_prefix":"c3cae68ec9e6850c","entry":"normalize","repo":"JoegameZhou/PatchCore","repo_kind":"listed","path":"postprocess.py","file_url":"https://github.com/JoegameZhou/PatchCore/blob/HEAD/postprocess.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c3cae68ec9e6850c"}},{"code_sha256_prefix":"591e30226a9f25b0","entry":"overlay_heatmap_on_image","repo":"any-tech/PatchCore-ex","repo_kind":"listed","path":"utils/visualize.py","file_url":"https://github.com/any-tech/PatchCore-ex/blob/HEAD/utils/visualize.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"591e30226a9f25b0"}},{"code_sha256_prefix":"ddeed4d4fc8e73b2","entry":"replace_self","repo":"JoegameZhou/PatchCore","repo_kind":"listed","path":"src/pthtockpt.py","file_url":"https://github.com/JoegameZhou/PatchCore/blob/HEAD/src/pthtockpt.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ddeed4d4fc8e73b2"}},{"code_sha256_prefix":"f51e6ad9c7104a5a","entry":"rescale","repo":"Ultranity/Anomaly.Paddle","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/Ultranity/Anomaly.Paddle/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f51e6ad9c7104a5a"}},{"code_sha256_prefix":"af18bba97264c730","entry":"serialize_results","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/utils.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"af18bba97264c730"}},{"code_sha256_prefix":"61fd3c8459a48853","entry":"set_torch_device","repo":"amazon-science/patchcore-inspection","repo_kind":"listed","path":"src/patchcore/utils.py","file_url":"https://github.com/amazon-science/patchcore-inspection/blob/HEAD/src/patchcore/utils.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"61fd3c8459a48853"}},{"code_sha256_prefix":"7c508037b40522af","entry":"str2bool","repo":"Ultranity/Anomaly.Paddle","repo_kind":"listed","path":"infer.py","file_url":"https://github.com/Ultranity/Anomaly.Paddle/blob/HEAD/infer.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7c508037b40522af"}},{"code_sha256_prefix":"75cfa7e86dd91ed0","entry":"unfold","repo":"JoegameZhou/PatchCore","repo_kind":"listed","path":"src/operator.py","file_url":"https://github.com/JoegameZhou/PatchCore/blob/HEAD/src/operator.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"75cfa7e86dd91ed0"}},{"code_sha256_prefix":"e80ac3c0c9f85f59","entry":"compute_and_store_final_results","repo":"amazon-research/patchcore-inspection","repo_kind":"official","path":"src/patchcore/utils.py","file_url":"https://github.com/amazon-research/patchcore-inspection/blob/HEAD/src/patchcore/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e80ac3c0c9f85f59"}},{"code_sha256_prefix":"9a6ba99206d2a918","entry":"compute_imagewise_retrieval_metrics","repo":"amazon-research/patchcore-inspection","repo_kind":"official","path":"src/patchcore/metrics.py","file_url":"https://github.com/amazon-research/patchcore-inspection/blob/HEAD/src/patchcore/metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9a6ba99206d2a918"}},{"code_sha256_prefix":"45cfbfc30f32be75","entry":"compute_pixelwise_retrieval_metrics","repo":"amazon-research/patchcore-inspection","repo_kind":"official","path":"src/patchcore/metrics.py","file_url":"https://github.com/amazon-research/patchcore-inspection/blob/HEAD/src/patchcore/metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"45cfbfc30f32be75"}},{"code_sha256_prefix":"4847c26291a5d907","entry":"create_storage_folder","repo":"amazon-research/patchcore-inspection","repo_kind":"official","path":"src/patchcore/utils.py","file_url":"https://github.com/amazon-research/patchcore-inspection/blob/HEAD/src/patchcore/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4847c26291a5d907"}},{"code_sha256_prefix":"1850ff44d813323e","entry":"dataset","repo":"amazon-research/patchcore-inspection","repo_kind":"official","path":"bin/load_and_evaluate_patchcore.py","file_url":"https://github.com/amazon-research/patchcore-inspection/blob/HEAD/bin/load_and_evaluate_patchcore.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1850ff44d813323e"}},{"code_sha256_prefix":"69f7e0b8a9ede02e","entry":"get_coreset_idx_randomp","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/utils.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"69f7e0b8a9ede02e"}},{"code_sha256_prefix":"899548de5f36cc3c","entry":"heatmap_on_image","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"src/utils.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"899548de5f36cc3c"}},{"code_sha256_prefix":"b426324b6ed6ccaf","entry":"load","repo":"amazon-science/patchcore-inspection","repo_kind":"listed","path":"src/patchcore/backbones.py","file_url":"https://github.com/amazon-science/patchcore-inspection/blob/HEAD/src/patchcore/backbones.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b426324b6ed6ccaf"}},{"code_sha256_prefix":"1e3b3c661fef6c1a","entry":"main_summarize","repo":"tiskw/patchcore-ad","repo_kind":"listed","path":"main_mvtecad.py","file_url":"https://github.com/tiskw/patchcore-ad/blob/HEAD/main_mvtecad.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e3b3c661fef6c1a"}},{"code_sha256_prefix":"095a5a07515ea7a9","entry":"run_onnx","repo":"rvorias/ind_knn_ad","repo_kind":"listed","path":"indad/utils.py","file_url":"https://github.com/rvorias/ind_knn_ad/blob/HEAD/indad/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"095a5a07515ea7a9"}},{"code_sha256_prefix":"348384a804271606","entry":"trt_wide_resnet50_2","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"trt_tools/trt_wide_res_model.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/trt_tools/trt_wide_res_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"348384a804271606"}},{"code_sha256_prefix":"bbc9958e58a3a24b","entry":"wide_resnet50_2","repo":"tbcvContributor/DeepHawkeye","repo_kind":"listed","path":"src/wide_res_model.py","file_url":"https://github.com/tbcvContributor/DeepHawkeye/blob/HEAD/src/wide_res_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bbc9958e58a3a24b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}