This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Description
If you try to load a COCO type dataset that has its segmentation field empty like the ones roboflow generates (for datasets without segmentation) it will trow an index out of range exception.
This can be avoided by changing line 176 in imports/coco.py to
segmentation = segmentation and import_segmentation
where import_segmentation is a flag passed by the user to convert_coco_to_ls() in order to specify that he does not wish to import segmentation annotations.