VOC_to_COCO icon indicating copy to clipboard operation
VOC_to_COCO copied to clipboard

concerning the file name error

Open StephenZhao1 opened this issue 4 years ago • 0 comments

Traceback (most recent call last): File "voc_to_coco.py", line 166, in get_filename_as_int return int(filename) ValueError: invalid literal for int() with base 10: '000609af'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "voc_to_coco.py", line 266, in convert(xml_val_files, coco_json_annotations + 'val2017.json') File "voc_to_coco.py", line 209, in convert image_id = get_filename_as_int(filename) File "voc_to_coco.py", line 168, in get_filename_as_int raise ValueError("Filename %s is supposed to be an integer." % (filename)) ValueError: Filename 000609af is supposed to be an integer.

Is this a file name error? Looking forward to your reply.

StephenZhao1 avatar Dec 09 '20 08:12 StephenZhao1