请问下Faster rcnn 中最后训练出自己的模型,得到的AP=0.00 mAP=0.000? 检测精度为什么是0呢?[已经解决,, TillTheWorldEnd 的回答可以解决哈]

大家好,本人最近在学习faster rcnn ,小白一枚,参考了很多教程。

环境: ubuntu+cuda+python

运行结果:

Saving cached annotations to /home/think/asuna/py-faster-rcnn/data/VOCdevkit2007/annotations_cache/annots.pkl
/home/think/asuna/py-faster-rcnn/tools/../lib/datasets/voc_eval.py:196: RuntimeWarning: invalid value encountered in divide
  rec = tp / float(npos)
/home/think/asuna/py-faster-rcnn/tools/../lib/datasets/voc_eval.py:41: RuntimeWarning: invalid value encountered in greater_equal
  if np.sum(rec >= t) == 0:
AP for face = 0.0000
Mean AP = 0.0000
~~~~~~~~
Results:
0.000
0.000
~~~~~~~~

--------------------------------------------------------------
Results computed with the **unofficial** Python eval code.
Results should be very close to the official MATLAB eval code.
Recompute with `./tools/reval.py --matlab ...` for your paper.
-- Thanks, The Management
------------------------------------------------------

我的问题是: 最近用faster-rcnn检测人脸,用的是VOC2007数据集, 训练出来了自己的caffemodel模型,也可以检测其他的图片,,,但是很奇怪,

AP=0.000 mAP也是0.000 ,  都是0,  好奇怪?

请问下大家这个可能是什么原因,哪里操作出错了额么?

请各位博友们不吝赐教啊,谢谢!




你可能感兴趣的:(目标检测)