-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I am trying to convert from pascal VOC to COCO but it show me the following error that my image should be integer. any idea??
Number of xml files: 2675
Traceback (most recent call last):
File "voc2coco/voc2coco.py", line 42, in get_filename_as_int
return int(filename)
ValueError: invalid literal for int() with base 10: '11000000568658_jpg.rf.e84f5b4e20ba7065cfcdc0b1df1e8177'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "voc2coco/voc2coco.py", line 160, in
convert(xml_files, args.json_file)
File "voc2coco/voc2coco.py", line 91, in convert
image_id = get_filename_as_int(filename)
File "voc2coco/voc2coco.py", line 45, in get_filename_as_int
(filename))
ValueError: Filename 11000000568658_jpg.rf.e84f5b4e20ba7065cfcdc0b1df1e8177 is supposed to be an integer.
Number of xml files: 996
Traceback (most recent call last):
File "voc2coco/voc2coco.py", line 42, in get_filename_as_int
return int(filename)
ValueError: invalid literal for int() with base 10: '11000000455228_jpg.rf.94eda45f93fa79a87a553738bd85dbbb'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "voc2coco/voc2coco.py", line 160, in
convert(xml_files, args.json_file)
File "voc2coco/voc2coco.py", line 91, in convert
image_id = get_filename_as_int(filename)
File "voc2coco/voc2coco.py", line 45, in get_filename_as_int
(filename))
ValueError: Filename 11000000455228_jpg.rf.94eda45f93fa79a87a553738bd85dbbb is supposed to be an integer.