Skip to content

KeyError: 'cocobu_box\\1000' #19

@violet2274

Description

@violet2274

$ python scripts/prepro_bbox_relative_coords.py --input_json data/dataset_coco.json --input_box_dir data/cocobu_box --output_dir data/cocobu_box_relative --image_root image
Reading coco dataset info
Output dir: data/cocobu_box_relative
processed 0 images (of 123287)
Traceback (most recent call last):
File "scripts/prepro_bbox_relative_coords.py", line 102, in
get_bbox_relative_coords(params)
File "scripts/prepro_bbox_relative_coords.py", line 80, in get_bbox_relative_coords
img_path=coco_ids_to_paths[filenumber]
KeyError: 'cocobu_box\1000'
How to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions