Open rbavery opened 2 years ago
What part of documentation was unclear or wrong? I think the docs for icedata are incorrect, based on the version that is installed when icevision is installed from master with the bash script installer.
When I try this from the main front page https://airctic.github.io/icedata/coco/:
# COCO parser: provided out-of-the-box parser = icedata.coco.parser(data_dir=path, class_map=class_map)
I get this error
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) /tmp/ipykernel_15591/3116397168.py in <module> 1 import icedata 2 ----> 3 icedata.coco.parser(data_dir=f'{path}/instances_slick_train.json', class_map=class_map) TypeError: 'module' object is not callable
Describe the solution you'd like I think the correct way to load annotations is defined in this test file: https://github.com/airctic/icevision/blob/f20a938956663d1aa8a17320caed815830dc4cd0/tests/parsers/test_coco_parser.py
📓 Documentation Update
What part of documentation was unclear or wrong? I think the docs for icedata are incorrect, based on the version that is installed when icevision is installed from master with the bash script installer.
When I try this from the main front page https://airctic.github.io/icedata/coco/:
I get this error
Describe the solution you'd like I think the correct way to load annotations is defined in this test file: https://github.com/airctic/icevision/blob/f20a938956663d1aa8a17320caed815830dc4cd0/tests/parsers/test_coco_parser.py