Traceback (most recent call last):
File "test_net.py", line 328, in
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/mao/PycharmProjects/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 367, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/mao/PycharmProjects/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 330, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/mao/PycharmProjects/faster-rcnn.pytorch/lib/datasets/voc_eval.py", line 134, in voc_eval
R = [obj for obj in recs[imagename] if (obj['name']).lower() == classname]
KeyError: '006256'
i can successfully run the script,but it doesn't show me the classes results.
when I run test_net.py, I meet the follow bugs:
Traceback (most recent call last): File "test_net.py", line 328, in
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/mao/PycharmProjects/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 367, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/mao/PycharmProjects/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 330, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/mao/PycharmProjects/faster-rcnn.pytorch/lib/datasets/voc_eval.py", line 134, in voc_eval
R = [obj for obj in recs[imagename] if (obj['name']).lower() == classname]
KeyError: '006256'
i can successfully run the script,but it doesn't show me the classes results.