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
When I try to run this command: python -m bdd100k.label.to_coco -m det -i bdd100k/labels/det_20/det_train.json -o data/bdd/labels/det_20/det_train_cocofmt.json
I receive the following error:
[2022-09-23 16:25:55,619 to_coco.py:301 main] Mode: det
remove-ignore: False
ignore-as-class: False
[2022-09-23 16:25:55,619 to_coco.py:307 main] Loading annotations...
[2022-09-23 16:26:02,429 to_coco.py:318 main] Converting annotations...
10%|████████ | 6879/69863 [00:00<00:08, 7435.14it/s]
Traceback (most recent call last):
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/site-packages/bdd100k-1.0.0-py3.10.egg/bdd100k/label/to_coco.py", line 337, in
main()
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/site-packages/bdd100k-1.0.0-py3.10.egg/bdd100k/label/to_coco.py", line 322, in main
coco = bdd100k2coco_det(
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/site-packages/bdd100k-1.0.0-py3.10.egg/bdd100k/label/to_coco.py", line 145, in bdd100k2coco_det
if frame["labels"]:
KeyError: 'labels'
This error does not occur when running with ${SET_NAME} equal to val
The text was updated successfully, but these errors were encountered:
When I try to run this command:
python -m bdd100k.label.to_coco -m det -i bdd100k/labels/det_20/det_train.json -o data/bdd/labels/det_20/det_train_cocofmt.json
I receive the following error:
[2022-09-23 16:25:55,619 to_coco.py:301 main] Mode: det
remove-ignore: False
ignore-as-class: False
[2022-09-23 16:25:55,619 to_coco.py:307 main] Loading annotations...
[2022-09-23 16:26:02,429 to_coco.py:318 main] Converting annotations...
10%|████████ | 6879/69863 [00:00<00:08, 7435.14it/s]
Traceback (most recent call last):
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/site-packages/bdd100k-1.0.0-py3.10.egg/bdd100k/label/to_coco.py", line 337, in
main()
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/site-packages/bdd100k-1.0.0-py3.10.egg/bdd100k/label/to_coco.py", line 322, in main
coco = bdd100k2coco_det(
File "/u/m/c/mcdougall/miniconda3/envs/torch310/lib/python3.10/site-packages/bdd100k-1.0.0-py3.10.egg/bdd100k/label/to_coco.py", line 145, in bdd100k2coco_det
if frame["labels"]:
KeyError: 'labels'
This error does not occur when running with
${SET_NAME}
equal toval
The text was updated successfully, but these errors were encountered: