coco-annotator icon indicating copy to clipboard operation
coco-annotator copied to clipboard

Adding Panoptic Segmenation

Open trs96 opened this issue 4 years ago • 3 comments

Hey, I'm trying to connect your tool with my system to import images, label them, do a panoptic segmentation an then export it back again to my system.

Could you please help me out with the panoptic segmentation? 1. I don't know exactly, where in the code I can add the button. 2. How would you recommend to do the panoptic segmentation?

trs96 avatar Mar 26 '21 23:03 trs96

Hey, I have the same doubt.. I have annotated using the polygon tool but not sure how to export it in panoptic format? If you have solved it.. please help.

bijayaniSMishra avatar May 05 '21 21:05 bijayaniSMishra

I found a script to convert to panoptic format https://github.com/cocodataset/panopticapi However, when trying to train detectron2 with the result I get an error about a missing id in the JSON. I don't understand enough about the panoptic approach to get much further. I'm guessing semantic and instance annotations need to be distinguished in some way?

simonwibberley avatar May 19 '21 12:05 simonwibberley

I used coco annotator json directly and before training the models i just added MetadataCatalog.get("my_dataset_train_2").stuff_classes = ["Class1", "Class2","Class3"] after that i was able to train and inference the panoptic model.

bijayaniSMishra avatar May 19 '21 14:05 bijayaniSMishra