qdtrack
qdtrack copied to clipboard
BDD100k det conversion error
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
This error does not occur when running with ${SET_NAME}
equal to val