python - 测试数据上的对象检测 mAP 分数太高
问题描述
我已经在我自己的自定义肉牛数据集上训练了多个深度学习对象检测模型。我打算比较它们和 YOLO 版本 3 之间模型的性能。为此,我使用 legacy/eval.py 来获取训练模型的 mAP。我试图通过运行以下代码来获取 Faster-RCNN ResNet-50 的 mAP -
python legacy/eval.py --logtostderr --pipeline_config_path=training/faster_rcnn_resnet50.config checkpoint_dir=training/ --eval_dir=eval/
在测试数据集上运行评估后,mAP 显示为 >0.99,这太高了。相同的模型在 COCO 数据集上获得了 ~0.3。在评估训练数据集时具有如此高的 mAP 是否正常?
我的系统如下-
python 3.6
tensorflow 1.5 (gpu)
number of training image ~2800
number of test image ~400
evaluated on test image
解决方案
推荐阅读
- compiler-errors - C++ 从“int”到“int*”的无效转换
- loopbackjs - 是否可以在远程挂钩中执行 models.find() ?
- facebook - 如何在生产 Facebook 页面中进行测试,测试数据仅显示给应用程序的测试人员
- c - if 语句中的逻辑运算符
- c - 将字符串数组添加到c中的字符指针
- html - 为什么 display:inline-block 对齐不符合预期
- tensorflow - 如何使用 tensorflow 1.14 为 keras 层定义自定义渐变
- excel - How to detect 3 consecutive empty rows in excel
- javascript - 注册 ServiceWorker 时如何修复 404 错误?
- r - 当在 for 循环中以编程方式调用块时,Knitr 不打印 ggplots