voc2coco icon indicating copy to clipboard operation
voc2coco copied to clipboard

NotImplementedError: The size of filename is supposed to be 1, but is 2.

Open Wenting-Xu opened this issue 4 years ago • 0 comments

I run the program according to the requirements, and there are some mistakes. How can I solve them?

Processing 040002800.xml Traceback (most recent call last): File "voc2coco.py", line 137, in convert(sys.argv[1], sys.argv[2], sys.argv[3]) File "voc2coco.py", line 85, in convert filename = get_and_check(root, 'filename', 1).text File "voc2coco.py", line 55, in get_and_check raise NotImplementedError('The size of %s is supposed to be %d, but is %d.'%(name, length, len(vars))) NotImplementedError: The size of filename is supposed to be 1, but is 2.

Wenting-Xu avatar Jan 01 '21 08:01 Wenting-Xu