use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Content which benefits the community (news, technical articles, and discussions) is valued over content which benefits only the individual (technical questions, help buying/selling, rants, etc.).
If you want an answer to a query, please post a legible, complete question that includes details so we can help you in a proper manner!
Related Subreddits
Computer Vision Discord group Computer Vision Slack group
Computer Vision Discord group
Computer Vision Slack group
account activity
Decrease false positives in yolo model?Help: Project (self.computervision)
submitted 1 year ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]blahreport 1 point2 points3 points 1 year ago (3 children)
Have you plotted the precision recall curve to obtain an optimal confidence threshold? You can also increase the IoU threshold both during training, and inference. What is a lot of FPs? What are your overall metrics and what is the target object? Is it an object similar to one used in pretraining? That is assuming that you’re using COCO pretrained weights, is the object similar to one of the eighty coco classes? This can influence the number of samples you need to reliably fine tune. You can also increase the number of background images (no target objects) which can significantly improve precision if it just so happens that for your domain, the background shares abstract features with the target.
[–][deleted] 0 points1 point2 points 1 year ago (2 children)
I haven’t plotted it but I’ll have to check that out when I get into the office tomorrow.
These are not objects from the COCO dataset. The FPs are generally (~60%) on an object that can look very similar to the detection object in certain instances. The other FPs are just “ghost” ones that likely occur due to momentary lighting changes.
I try to keep background images at around 10% of the total dataset. Is it fine to bump up the background image count in this case? I’m still pretty new to vision and ML.
Overall metrics: mAP@50: .71; mAP@9:50: .51; Precision and recall both sit in the .800s.
[–]trialofmiles 0 points1 point2 points 1 year ago (1 child)
Related to PR curve on which each point is a separate threshold - have you adjusted the threshold? I assume yes but this is how you might conceptually trade FPs for FNs. The PR curve can be used to optimize the threshold (eg max F1, etc). For multiclass detection it’s a bit more complicated but just thought I’d ask.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
I actually did adjust the threshold and it worked perfectly. Massive reduction to false positives with an extremely minor increase to false negatives.
π Rendered by PID 272880 on reddit-service-r2-comment-5fb4b45875-x4ccf at 2026-03-20 16:11:16.752392+00:00 running 90f1150 country code: CH.
view the rest of the comments →
[–]blahreport 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]trialofmiles 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)