tensorflow / tensorflow/models

[OD][bug] models' loss doesn't use is_crowd

Open
#7,378 1 comment 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Jun 24, 2020.

models:research:odapi type:support
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: object_detection
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): NA
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version (use command below): NA
  • Bazel version (if compiling from source): NA
  • CUDA/cuDNN version: NA
  • GPU model and memory: NA
  • Exact command to reproduce: NA
Describe the problem

It seems that when training Faster R-CNN or SSD model, their loss doesn't take into account is_crowd annotations (see RPN and classifier in Faster R-CNN, SSD). This means two problems:

  1. The single bounding box of the entire crowd is used as a positive example.
  2. The crowded objects inside the annotation will be assigned as negative examples, when naively they should be set as ignored examples.

These two problems will cause all models to be suboptimal or even bad at detecting objects in crowds.

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.