openforensics-ensemble / serving.json
adarshcod30's picture
v2: three-backbone ensemble with corruption-matched augmentation
44db0f5 verified
Raw
History Blame
918 Bytes
{
"weights": "model.keras",
"input": {
"size": [
224,
224
],
"channels": 3,
"dtype": "float32",
"range": [
0,
1
],
"note": "Resize to size, divide by 255. Per-backbone normalisation happens inside the model."
},
"output": {
"name": "probability_real",
"range": [
0,
1
],
"note": "P(image is Real). Fake is 1 - p."
},
"params": 45406737,
"decision": {
"threshold": 0.36217108368873596,
"temperature": 0.8760257766124369,
"criterion": "target_recall",
"calibrated": true
},
"tta": {
"recommended": true,
"transform": "horizontal_flip",
"note": "Average P(Real) over the image and its mirror.",
"used_in_eval": true
},
"test_metrics": {
"accuracy": 0.948,
"roc_auc": 0.989896,
"pr_auc": 0.9899874925285668,
"real_called_fake": 25,
"false_accusation_rate": 0.025
}
}