industrial-damage-patchcore-bottle / metrics /patchcore_benchmark_metrics.json
TAC13's picture
Upload metrics/patchcore_benchmark_metrics.json with huggingface_hub
5fbb00c verified
Raw History Blame Contribute Delete
2.57 kB
{
"model": "PatchCore (Wide-ResNet-50-2)",
"image_auroc": 1.0,
"pixel_auroc": 0.9848,
"aupro": 0.9376,
"threshold_oracle": 17.6255,
"f1_score_oracle": 1.0,
"latency": {
"mean_ms": 26.31,
"median_ms": 26.25,
"p95_ms": 27.51,
"p99_ms": 28.23
},
"ablations": [
{
"name": "Baseline (Wide-ResNet-50-2, 10% Coreset, Smoothed, Max)",
"backbone": "wide_resnet50_2",
"coreset": "10%",
"sigma": 4.0,
"score": "max",
"img_auroc": 1.0,
"pix_auroc": 0.9847576161913671,
"aupro": 0.9376155490308582,
"mem_mb": 96.01171875,
"latency_ms": 50.533762897353576,
"fit_sec": 36.49598503112793
},
{
"name": "Backbone: ResNet-18 (Lightweight Edge Model)",
"backbone": "resnet18",
"coreset": "10%",
"sigma": 4.0,
"score": "max",
"img_auroc": 1.0,
"pix_auroc": 0.9807200360311872,
"aupro": 0.9259910850544127,
"mem_mb": 24.0029296875,
"latency_ms": 32.734560679240396,
"fit_sec": 34.55542707443237
},
{
"name": "Coreset: 5% Subsampling (~8k prototypes)",
"backbone": "resnet18",
"coreset": "5%",
"sigma": 4.0,
"score": "max",
"img_auroc": 1.0,
"pix_auroc": 0.9805517107263058,
"aupro": 0.925901812220523,
"mem_mb": 12.00146484375,
"latency_ms": 31.451409121593798,
"fit_sec": 20.21631360054016
},
{
"name": "Coreset: 20% Subsampling (~32k prototypes)",
"backbone": "resnet18",
"coreset": "20%",
"sigma": 4.0,
"score": "max",
"img_auroc": 1.0,
"pix_auroc": 0.9807844158714837,
"aupro": 0.9247464763757557,
"mem_mb": 48.005859375,
"latency_ms": 36.299288990985914,
"fit_sec": 64.38630223274231
},
{
"name": "Filtering: Raw Bilinear (No Gaussian, sigma=0.0)",
"backbone": "resnet18",
"coreset": "10%",
"sigma": 0.0,
"score": "max",
"img_auroc": 1.0,
"pix_auroc": 0.9809603833982007,
"aupro": 0.9288506647415603,
"mem_mb": 24.0029296875,
"latency_ms": 34.37591173562659,
"fit_sec": 35.04556965827942
},
{
"name": "Scoring: Top-5 Mean Patch Distance (Speckle Robust)",
"backbone": "resnet18",
"coreset": "10%",
"sigma": 4.0,
"score": "top_k",
"img_auroc": 1.0,
"pix_auroc": 0.9807200360311872,
"aupro": 0.9259910850544127,
"mem_mb": 24.0029296875,
"latency_ms": 42.58316970733275,
"fit_sec": 34.67751359939575
}
]
}