TAC13 commited on
Commit
fc4b927
·
verified ·
1 Parent(s): 45e974a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: cc-by-nc-sa-4.0
4
+ tags:
5
+ - anomaly-detection
6
+ - computer-vision
7
+ - industrial-inspection
8
+ - patchcore
9
+ - mvtec-ad
10
+ datasets:
11
+ - foersben/mvtec-ad
12
+ metrics:
13
+ - roc_auc
14
+ - f1
15
+ library_name: pytorch
16
+ pipeline_tag: image-feature-extraction
17
+ ---
18
+
19
+ # Industrial Anomaly Detection: PatchCore (MVTec AD Bottle)
20
+
21
+ ## Model Overview
22
+ - **Architecture:** PatchCore (Roth et al., CVPR 2022)
23
+ - **Backbone:** Frozen `Wide-ResNet-50-2` (Layers 2 & 3 concatenation, D = 1536 channels)
24
+ - **Memory Bank:** 10% Greedy k-Center minimax coreset subsampling (16,386 prototypes)
25
+ - **Evaluation Split:** Official MVTec AD Bottle hold-out test set (83 images: 20 good, 63 defect with ground-truth masks)
26
+
27
+ ## Empirical Benchmark Results (Tesla T4 GPU)
28
+ | Metric | Target | Result |
29
+ | :--- | :---: | :---: |
30
+ | **Image-level AUROC** | >= 0.980 | **1.0000 (100% Perfect Separation)** |
31
+ | **Pixel-level AUROC** | >= 0.960 | **0.9848** |
32
+ | **AUPRO (FPR <= 0.30)** | >= 0.920 | **0.9376** |
33
+ | **Mean Latency** | < 100 ms | **26.31 ms** |
34
+ | **Median Latency (p50)** | — | **26.25 ms** |
35
+ | **95th Percentile Latency (p95)** | < 80 ms | **27.51 ms** |
36
+
37
+ ## Threshold Methodology Disclosure
38
+ - **Oracle In-Sample Threshold:** Threshold tau = 17.6255 yields F1 = 1.0000 on the 83 test images. Disclosed as an empirical upper bound.
39
+ - **Operational Calibration (Recommended):** In production lines without defect samples, establish threshold on a held-out nominal validation split (`train/good`) at the 99th percentile (target FAR <= 1.0%).
40
+
41
+ ## Hardware & Limitations
42
+ - **Hardware:** Evaluated on NVIDIA Tesla T4 GPU (15.0 GB VRAM, Turing architecture).
43
+ - **Domain Scope:** Specialized for clear rigid glassware bottles. Requires a separate nominal prototype memory bank for opaque steel surfaces or textiles.