openvinotoolkit / datumaro

Dataset Management Framework, a Python library and a CLI tool to build, analyze and manage Computer Vision datasets.
https://openvinotoolkit.github.io/datumaro/
MIT License
551 stars 135 forks source link

Convert a COCO dataset #683

Open andreaceruti opened 2 years ago

andreaceruti commented 2 years ago

I have a custom COCO dataset in object detection format with also the segmented masks for each instance. What I want to do is to convert the COCO json file from object detection task to stuff task. Someone can guide me?

zhiltsov-max commented 2 years ago

Hi. From the official format docs, object detection and stuff formats are the same, so you should be able to use the existing annotations as is. Could you be more specific about the problem and the expected results?