SHI-Labs / OneFormer

OneFormer: One Transformer to Rule Universal Image Segmentation, arxiv 2022 / CVPR 2023
https://praeclarumjj3.github.io/oneformer
MIT License
1.45k stars 129 forks source link

If annotation format of my dataset is png instead of json, I want to know how to change the format #86

Closed 15114842111 closed 1 year ago

15114842111 commented 1 year ago

Sorry to bother, If annotation format of my dataset is png instead of json, I want to know how to change the format

praeclarumjj3 commented 1 year ago

I am sorry but could you elaborate? Would you like to convert your dataset into COCO format? If yes, you may look at the sample JSON data for COCO, extract classes and masks, and save it in JSON format. A simple Google search should give you various tutorials for the same. Let me know if you have any specific questions related to OneFormer.