cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.52k stars 3k forks source link

Add JSON file to Cityscapes 1.0 format #4828

Open aldyhelnawan opened 2 years ago

aldyhelnawan commented 2 years ago

My actions before raising this issue

Greetings,

So I've tried CVAT for quite some time. And I decided to try to create a custom dataset with the cityscapes format dataset using CVAT on https://app.cvat.ai/ for my next project. The datasets provided from https://cityscapes-dataset.com included the polygon .JSON file for each annotated image (as in the picture below), image

.

But when I tried to export my task into Cityscapes 1.0 format on cvat.ai, it doesn't show the .json file.

image image image

Is it the way cityscapes-dataset format worked for custom datasets, or is there something else that I missed? I appreciate any assistance. Thank you know advance.

August 25th, 2022.

Best Regards, Aldy.

#

My Environment

bsekachev commented 2 years ago

@zhiltsov-max Does Cityscapes format have the .json file?

zhiltsov-max commented 2 years ago

Hi. Yes, I see, there are also polygon jsons in Cityscapes, but our implementation only supports images in this format. As a workaround, please check if you can use COCO jsons with polygons.

aldyhelnawan commented 2 years ago

Hi, thank you for your assistance. I see. I will try to use the COCO JSONs for the polygons, see will it fit for my current project. Will the JSON polygon file on cityscapes format be available in CVAT in the future? Thank you in advance.

August 26th, 2022. Best regards, Aldy.

zhiltsov-max commented 2 years ago

Glad to help. I can't make promises on the future plans, but if this problem with Cityscapes is important for our community, we can prioritize it for future releases, and fix it. We are also open for community PR on this topic.