endernewton / tf-faster-rcnn

Tensorflow Faster RCNN for Object Detection
https://arxiv.org/pdf/1702.02138.pdf
MIT License
3.65k stars 1.58k forks source link

Two questions about voc_eval.py. #380

Open ZHANGKEON opened 6 years ago

ZHANGKEON commented 6 years ago

@endernewton

(1) Why not assign fp[d] = 1 if BBGT.size < 0? In this code, the fp[d] = 1 only when ovmax < ovthresh or R['det'][jmax] = 1.

(2) Assign R['det'][jmax] = 1 didn't update the class_recs[image_ids[d]]['det'][jmax]. So, the R['det'][jmax] = 1 may have no meaning.