Skip to content
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

filename issue #8

Open
Kuuuo opened this issue Aug 6, 2020 · 1 comment
Open

filename issue #8

Kuuuo opened this issue Aug 6, 2020 · 1 comment

Comments

@Kuuuo
Copy link

Kuuuo commented Aug 6, 2020

Number of xml files: 3000
Traceback (most recent call last):
File "E:/voc2coco-master/voc2coco.py", line 157, in
convert(xml_files, json_file)
File "E:/voc2coco-master/voc2coco.py", line 83, in convert
filename = get_and_check(root, "filename", 1).text
File "E:/voc2coco-master/voc2coco.py", line 29, in get_and_check
raise ValueError("Can not find %s in %s." % (name, root.tag))
ValueError: Can not find filename in annotation.

@Millielele
Copy link

Number of xml files: 3000 Traceback (most recent call last): File "E:/voc2coco-master/voc2coco.py", line 157, in convert(xml_files, json_file) File "E:/voc2coco-master/voc2coco.py", line 83, in convert filename = get_and_check(root, "filename", 1).text File "E:/voc2coco-master/voc2coco.py", line 29, in get_and_check raise ValueError("Can not find %s in %s." % (name, root.tag)) ValueError: Can not find filename in annotation.

Do you solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants