all objection detection result of mAP: -1
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): N/A
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
- TensorFlow installed from (source or binary): binary
- TensorFlow version (use command below): v1.8.0
- Bazel version (if compiling from source): --
- CUDA/cuDNN version: 9.0.176 7.0.5
- GPU model and memory:GeForce GTX 1080 Ti totalMemory: 10.92GiB freeMemory: 10.35GiB
- Exact command to reproduce:
I run the eval.py with ssd_mobilenet_v1 on coco2017 object detection dataset. The bounding box can be detected. However, all evaluations are -1. Anyone konws how to solve the problem.

solved. When we use coco detection metrics, the train and eval tfrecord can't include 'image/object/class/text'
@zhangmengya So how did you solve your problem? I met the same problem today,I am using coco metrics too,but I did meet some case where mAP can be normal.
@Salight my problem appears in creating tfrecord. When the example(feature_dict) includes image/object/class/text, the result is wrong. I don't know your question, but i think the label may be wrong.
@zhangmengya how do you create your tfrecord? my data include 5 classes, model is faster rcnn resnet50, i got a high mAP(iou=0.5)=92%, but when i detect some picture ,it appears not good ,some classses can't be detected.
@zhangmengya I met the same problem. what do you mean by "example(feature_dict) includes image/object/class/text" ? I'm still confused. By the way, if I change the metric to pascal_voc_detection. I can get reasonable numbers. So it seems that the dataset itself is correct.