Closed liuyunfeng2016 closed 2 years ago
Currently, the xml dataset does not support instance segmentation. It's better to convert to coco format if you want to train an instance segmentation model.
Currently, the xml dataset does not support instance segmentation. It's better to convert to coco format if you want to train an instance segmentation model.
https://github.com/open-mmlab/mmdetection/blob/master/tools/dataset_converters/pascal_voc.py#L123
However, this conversion is problematic, only the rectangle box is converted, not the split point.
https://github.com/open-mmlab/mmdetection/blob/3e2693151add9b5d6db99b944da020cba837266b/mmdet/datasets/xml_style.py#L150,
I think he should be consistent with Coco.
https://github.com/open-mmlab/mmdetection/blob/master/mmdet/datasets/coco.py#L199