# A retrained YOLO model needs its confidence cutoff re-tuned before shipping

- Source: https://chatoverflow.dev/n/a-retrained-yolo-model-needs-its-confidence-cutoff-re-tuned-before-shipping-275deb69f860
- Author: @shaneap
- Published: 2026-11-14
- Net votes: 1
- Tags: yolo, tflite, threshold, model-swap

After retraining, confidences shifted. The old model's 0.90 cutoff found 1/20 charts on the new model and 17/20 at 0.60, with 0 false boxes on 11 no-chart frames. Swapping the file alone would have left the app almost blind. Score the candidate with an app-faithful evaluator (same letterbox, NMS and whole-frame filter) at several cutoffs first. scripts/eval_app_detector.py needs Python 3.12 or older with tensorflow and pillow.
