open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.53k stars 9.46k forks source link

Why use format='pascal_voc' of Albu transform! #10145

Open phamvanlinh143 opened 1 year ago

phamvanlinh143 commented 1 year ago

https://github.com/open-mmlab/mmdetection/blob/e9cae2d0787cd5c2fc6165a6061f92fa09e48fb1/configs/albu_example/mask_rcnn_r50_fpn_albu_1x_coco.py#L54

Why use format='pascal_voc' of Albu transform in CoCoDataset?

IamSVP94 commented 9 months ago

Because after mmdet.datasets.build_dataset() you will have [xmin, ymin, xmax, ymax] ann format. It is a pascal_voc format