In the _parse_ann_info function, when fetching gt_mask_polys, you only consider the case that your mask is polygen format, donnot consider when it is the uncompressed RLE format, in which case segm is a dict not a list.
This bug does not cause impact, since the getitem function does not return mask_polys, it returns masks.
In the _parse_ann_info function, when fetching gt_mask_polys, you only consider the case that your mask is polygen format, donnot consider when it is the uncompressed RLE format, in which case segm is a dict not a list. This bug does not cause impact, since the getitem function does not return mask_polys, it returns masks.