請問下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
------------------------------------------------------