DefectRAG / models /highres_tuned /macaroni1.json
Wizzas's picture
One q95 rule for every product: Macaroni 1 and 2 no longer use the more sensitive limit
e3d580c verified
Raw History Blame Contribute Delete
1.77 kB
{
"category": "macaroni1",
"available": true,
"model_id": "dinov2-tuned-macaroni1-v1",
"method": "AnomalyDINO-inspired DINOv2 ViT-S/14 fine-tuned on synthetic defects; 32,768-patch coreset memory",
"profile": "dinov2_tuned_v1",
"encoder_sha256": "95ac11984ecae1bb14e9a0d98e85650e73365fc3d57ed49c6bfa526e0498adcb",
"bank_sha256": "bb91183ddb84d8b0168988546c4186cf6de6512e4d72196a0a4b13fd9699d148",
"threshold": 0.09831828400492666,
"uncertainty_margin": 0.004915914200246334,
"heatmap_scale": 0.07764787554740862,
"uncertainty_policy": "Fixed \u00b15% of threshold; operational heuristic, not calibrated confidence",
"bank_size_bytes": 23276388,
"encoder_size_bytes": 44136744,
"calibration": {
"method": "Fixed linear 95th percentile of heldout normal scores; no anomalous calibration",
"normal": 90,
"anomalous": 0,
"seed": 42,
"policy": "tuned-normal-quantile-v1",
"quantile": 0.95,
"calibration_above_threshold": 5,
"future_false_positive_rate_guaranteed": false
},
"train_normal_count": 810,
"metrics": {
"image_auroc": 0.9471999999999999,
"average_precision": 0.9581494503739729,
"precision": 0.9493670886075949,
"recall": 0.75,
"f1": 0.8379888268156425,
"false_positive_rate": 0.04,
"confusion_matrix": [
[
96,
4
],
[
25,
75
]
],
"n_images": 200,
"pixel_auroc_224": 0.9962604306654536,
"pixel_average_precision_224": 0.1985339563300542,
"uncertain_fraction": 0.08,
"latency_median_ms": null,
"peak_gpu_mb": null
},
"resolution_short_edge": 448,
"patch_size": 14,
"foreground": "Unsupervised PCA threshold/sign heuristic; can fail",
"decision_policy": "tuned-normal-quantile-v1"
}