tensorflow / tensorflow/models

Accuracy reproducibility issue for ssd_mobiledet_dsp_coco from TF1 modelzoo

Open
#10,232 3 comments 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Oct 11, 2021.

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

Description

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am using the latest TensorFlow Model Garden release and TensorFlow 2.
  • I am reporting the issue to the correct repository. (Model Garden official or research directory)
  • I checked to make sure that this issue has not already been filed.

1. The entire URL of the file you are using

https://github.com/tensorflow/models/tree/master/research/...

2. Describe the bug

I am trying to reproduce the accuracy of ssd_mobiledet_dsp_coco from TF modelzoo.
Reported mAP for float model model on coco val2017 is 28.4 as mentioned in pipeleine.config. However, I am getting much higher accuracy of 36.3.

3. Steps to reproduce

In order to reproduce the issue, run the following command:

python object_detection/model_main.py \
    --pipeline_config_path=${PIPELINE_CONFIG_PATH} \
    --checkpoint_dir=${CHECKPOINT_DIR}\
    --run_once

}

The above script recports an mAP of 36.3.

Any other way of evaluation is also fine. Intention is to reproduce the mAP number mentioned in the paper and documentation.

4. Expected behavior

Expected mAP for this model is 28.4 instead of 36.3 as reported by the above scripts.

5. Additional context

Here is a detailed output accuracy log:
image

6. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
  • Mobile device name if the issue happens on a mobile device:
  • TensorFlow installed from (source or binary): Binary
  • TensorFlow version (use command below): 1.15
  • Python version: 3.6.13
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version: 10.0
  • GPU model and memory: GTX1080TI, 11GB

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.