You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
"voc2coco.py" currently only supports integer filenames.
Please correct the file name or correct the code by referring to the following PR. voc2coco PR#2 Remove integer requirement
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.
The text was updated successfully, but these errors were encountered: