Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'cocobu_box\\1000' #19

Open
violet2274 opened this issue Feb 24, 2023 · 1 comment
Open

KeyError: 'cocobu_box\\1000' #19

violet2274 opened this issue Feb 24, 2023 · 1 comment

Comments

@violet2274
Copy link

$ 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?

@qq123aa456
Copy link

have you solved this?the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants