tensorflow / tensorflow/models
[OD][bug] models' loss doesn't use is_crowd
Open
@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:
- The single bounding box of the entire crowd is used as a positive example.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.