File "/home/wangyj/py-faster-rcnn/tools/../lib/datasets/pascal_voc.py", line 192, in _load_pascal_annotation
obj for obj in objs if int(obj.find('difficult').text) == 0]
pascal_voc.py的line 188起注释掉了
if not self.config['use_diff']:
# Exclude the samples labeled as difficultnon_diff_objs = [
obj for obj in objs if int(obj.find('difficult').text) == 0]
# if len(non_diff_objs) != len(objs):
# print 'Removed {} difficult objects'.format(
# len(objs) - len(non_diff_objs))
objs = non_diff_objs
在voc_eval中注释掉了