New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError:“NoneType ” object has no attribute 'text' #580
Comments
i get the same error but i do not have any idea what it means |
Do you have a line number where the error occurs in the code? |
File "/home/jwh/project/py-faster-rcnn/tools/../lib/datasets/pascal_voc.py", line 193, in _load_pascal_annotation |
can anyone help me?thanks in advance |
i think you need to add import this "import google.protobuf.text_format" |
@jcyl is your problem solved? i met the same problem, i fix the problem by delete the codes in voc_eval.py. the reason is your xml file, i guess your xml were generated by yourself, and there was no 'difficult' node |
@wuyuzaizai What codes did you delete in voc_eval.py? Thanks in advance. |
@Marcus208
And i fix the problem by comment out two lines in the function
|
I have same error ./lib/datasets/icdar_str.py", line 170, in _load_pascal_annotation still not resolved tried all the above options. Thanks in advance |
Hello,
|
No description provided.
The text was updated successfully, but these errors were encountered: