TAC13 commited on
Commit
5fbb00c
·
verified ·
1 Parent(s): ca41c47

Upload metrics/patchcore_benchmark_metrics.json with huggingface_hub

Browse files
metrics/patchcore_benchmark_metrics.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "PatchCore (Wide-ResNet-50-2)",
3
+ "image_auroc": 1.0,
4
+ "pixel_auroc": 0.9848,
5
+ "aupro": 0.9376,
6
+ "threshold_oracle": 17.6255,
7
+ "f1_score_oracle": 1.0,
8
+ "latency": {
9
+ "mean_ms": 26.31,
10
+ "median_ms": 26.25,
11
+ "p95_ms": 27.51,
12
+ "p99_ms": 28.23
13
+ },
14
+ "ablations": [
15
+ {
16
+ "name": "Baseline (Wide-ResNet-50-2, 10% Coreset, Smoothed, Max)",
17
+ "backbone": "wide_resnet50_2",
18
+ "coreset": "10%",
19
+ "sigma": 4.0,
20
+ "score": "max",
21
+ "img_auroc": 1.0,
22
+ "pix_auroc": 0.9847576161913671,
23
+ "aupro": 0.9376155490308582,
24
+ "mem_mb": 96.01171875,
25
+ "latency_ms": 50.533762897353576,
26
+ "fit_sec": 36.49598503112793
27
+ },
28
+ {
29
+ "name": "Backbone: ResNet-18 (Lightweight Edge Model)",
30
+ "backbone": "resnet18",
31
+ "coreset": "10%",
32
+ "sigma": 4.0,
33
+ "score": "max",
34
+ "img_auroc": 1.0,
35
+ "pix_auroc": 0.9807200360311872,
36
+ "aupro": 0.9259910850544127,
37
+ "mem_mb": 24.0029296875,
38
+ "latency_ms": 32.734560679240396,
39
+ "fit_sec": 34.55542707443237
40
+ },
41
+ {
42
+ "name": "Coreset: 5% Subsampling (~8k prototypes)",
43
+ "backbone": "resnet18",
44
+ "coreset": "5%",
45
+ "sigma": 4.0,
46
+ "score": "max",
47
+ "img_auroc": 1.0,
48
+ "pix_auroc": 0.9805517107263058,
49
+ "aupro": 0.925901812220523,
50
+ "mem_mb": 12.00146484375,
51
+ "latency_ms": 31.451409121593798,
52
+ "fit_sec": 20.21631360054016
53
+ },
54
+ {
55
+ "name": "Coreset: 20% Subsampling (~32k prototypes)",
56
+ "backbone": "resnet18",
57
+ "coreset": "20%",
58
+ "sigma": 4.0,
59
+ "score": "max",
60
+ "img_auroc": 1.0,
61
+ "pix_auroc": 0.9807844158714837,
62
+ "aupro": 0.9247464763757557,
63
+ "mem_mb": 48.005859375,
64
+ "latency_ms": 36.299288990985914,
65
+ "fit_sec": 64.38630223274231
66
+ },
67
+ {
68
+ "name": "Filtering: Raw Bilinear (No Gaussian, sigma=0.0)",
69
+ "backbone": "resnet18",
70
+ "coreset": "10%",
71
+ "sigma": 0.0,
72
+ "score": "max",
73
+ "img_auroc": 1.0,
74
+ "pix_auroc": 0.9809603833982007,
75
+ "aupro": 0.9288506647415603,
76
+ "mem_mb": 24.0029296875,
77
+ "latency_ms": 34.37591173562659,
78
+ "fit_sec": 35.04556965827942
79
+ },
80
+ {
81
+ "name": "Scoring: Top-5 Mean Patch Distance (Speckle Robust)",
82
+ "backbone": "resnet18",
83
+ "coreset": "10%",
84
+ "sigma": 4.0,
85
+ "score": "top_k",
86
+ "img_auroc": 1.0,
87
+ "pix_auroc": 0.9807200360311872,
88
+ "aupro": 0.9259910850544127,
89
+ "mem_mb": 24.0029296875,
90
+ "latency_ms": 42.58316970733275,
91
+ "fit_sec": 34.67751359939575
92
+ }
93
+ ]
94
+ }