tensorflow / tensorflow/models

Improving custom object detection false positives

Open
#7,636 3 comments 4 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Jun 21, 2020.

models:research:odapi type:feature
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

System information
  • What is the top-level directory of the model you are using: research/object_detection/
  • Have I written custom code: No, I followed the tutorial
  • OS Platform and Distribution: Ubuntu 16.04
  • TensorFlow installed from (source or binary): source
  • TensorFlow version (use command below): 1.14.0
  • **Bazel version **: N/A
  • CUDA/cuDNN version: 10.0
  • GPU model and memory: NVIDIA Tesla V100
  • Exact command to reproduce: N/A
Feature Recommendation

I am using the tensorflow custom detection api to detect custom furniture. I have found that I get very good accuracy when I see one of the classes. However, when seeing images that are not of any category, there is a high likelihood of seeing false positives.

I googled around looking for a solution (issue 29078, SO post, #2544). From my research, I could not find a definitive answer.

I was able to solve this problem myself and think that a new feature could solve this problem for others. My solution was to randomly feed in unlabeled images from the coco dataset to show my model negative examples. I believe that this could be a data augmentation option.

How do others feel about this? Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.