Closed Zamen closed 8 months ago
When an image has bboxes but no masks, the _parse_ann_info method of CocoDataset appends None for gt_masks. This makes the method _poly2mask of LoadAnnotations fail at line 308 of file mmdet.datasets.pipelines.loading.py.
_parse_ann_info
CocoDataset
_poly2mask
LoadAnnotations
mmdet.datasets.pipelines.loading.py
When an image has bboxes but no masks, the
_parse_ann_info
method ofCocoDataset
appends None for gt_masks. This makes the method_poly2mask
ofLoadAnnotations
fail at line 308 of filemmdet.datasets.pipelines.loading.py
.