File "/home/zhangxingtian/disk/faster-rcnn.pytorch/test_net.py", line 331, in
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/zhangxingtian/disk/faster-rcnn.pytorch/lib/datasets/vg.py", line 295, in evaluate_detections
self._do_python_eval(output_dir,pickle=False)
File "/home/zhangxingtian/disk/faster-rcnn.pytorch/lib/datasets/vg.py", line 363, in _do_python_eval
f = np.nan_to_num((prec*rec)/(prec+rec))
ZeroDivisionError: division by zero
I found that tp is zero at line 116 of vg_eval.py. Could you please check it?
File "/home/zhangxingtian/disk/faster-rcnn.pytorch/test_net.py", line 331, in
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/zhangxingtian/disk/faster-rcnn.pytorch/lib/datasets/vg.py", line 295, in evaluate_detections
self._do_python_eval(output_dir,pickle=False)
File "/home/zhangxingtian/disk/faster-rcnn.pytorch/lib/datasets/vg.py", line 363, in _do_python_eval
f = np.nan_to_num((prec*rec)/(prec+rec))
ZeroDivisionError: division by zero
I found that
tp
is zero at line 116 of vg_eval.py. Could you please check it?