r/computervision • u/Repulsive_Factor5654 • Sep 12 '26
Help: Project Recall went 0.41 to 0.77 with no new labels. The bug was training on gate-approved labels only.
If you train a detector on a corpus that is only partially human-reviewed, check how you
select training labels. This one cost me months.
The pipeline auto-labels, then routes everything to human review. I built the trainset
from labels in accepted / auto_accepted state, which felt like the careful choice.
On the actual training frames, that was 7.6% of the objects present. The other 92.4% sat
in review, absent from the export, and were therefore taught to the model as background.
Coverage per class on those frames (labelled / actually present):
sedan 193 / 33,080 0.6%
rider 134 / 14,953 0.9%
traffic signal 158 / 11,064 1.4%
pedestrian 752 / 9,805 7.7%
motorcycle 2,752 / 17,952 15.3%
The fix was to train on every detection a human had not explicitly rejected, keeping only
"rejected" out, since that is the corpus's only genuine negative evidence. Same frames,
same session split, same backbone, same schedule. Labels went 10,053 to 116,618.
On the identical 1,831-frame validation set: micro recall 0.411 to 0.770, macro 0.282 to
0.623. rider 0.000 to 0.468, sedan 0.181 to 0.899, motorcycle 0.343 to 0.865.
Why I don't think this is just recall gaming: v2 emits 8.69 boxes per image against v1's
0.92, on a key holding 1.16, so neither recall nor precision settles it. Drawing the
predictions on held-out frames does. The extra boxes are real traffic the key is missing.
The implausible number was always v1's, since 0.92 objects per frame in Bangalore traffic
is nonsense when the training frames average about 18.
It also explains why a longer schedule and a larger backbone had both returned nothing.
Neither addresses a training signal asserting most of the traffic is absent.
Caveat: precision here is still unmeasurable without a complete key, and v2 is distilling
the previous auto-labeller, errors included. More human review is what turns "the boxes
look right" into a measurement.
Context, if useful: this came out of an annotation stack for Indian roads.
https://github.com/Sherin-SEF-AI/LabeloxAV (public, no licence on it yet)
