rbgirshick / py-faster-rcnn

Faster R-CNN (Python implementation) -- see https://github.com/ShaoqingRen/faster_rcnn for the official MATLAB version
Other
8.11k stars 4.11k forks source link

AttributeError: 'NoneType' object has no attribute 'text' #613

Open EncodingDL opened 7 years ago

EncodingDL commented 7 years ago

/lib/datasets/pascal_voc.py", line 192, in _load_pascal_annotation obj for obj in objs if int(obj.find('difficult').text) == 0] AttributeError: 'NoneType' object has no attribute 'text'

Marcus208 commented 6 years ago

I have the same trouble with you, what did you do to solve it?

imranfateh commented 6 years ago

I have the same error.Can anyone help me how to solve it