m3at / coco-panoptic

Quick attempt at a panoptic segmentation model
MIT License
19 stars 2 forks source link

Panoptic Segmentation for help ! #1

Open ranjiewwen opened 5 years ago

ranjiewwen commented 5 years ago

thanks for you share; recently i am also interest in Panoptic Segmentation; now i also train Mask R-CNN and Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation model for cityscapes; and i also run this deeplab-pytorch model; but I have some doubts about this task ;

m3at commented 5 years ago

Glad you're interested in tackling panoptic segmentation too! First an apology, my code is unpolished and not self explanatory, improving it is in my backlog and will be tackled as time allows.

For your questions:

get the instance and semantic label

For a quick visual inspection, the easiest is to load instance/semantic only datasets and only look at what interests you. To get the exact instance labels is not possible by design for the panoptic task (resolve overlaps), but you can get an approximation by looking at classes ID and separate accordingly (see 2. Classes).

toolbox code is the original code , can you share the new ?

I'm not sure I get your question sorry. Current code is for panoptic task, code in toolbox is borrowed from older coco challenges but adapted for panoptic and should work as is. If not, please raise a specific issue and I'll do my best to fix it :)

combine label which should have coco format json file

I follow section "7. Machine Performance Baselines" of the paper. You can see an example of combining predictions and output in the required evaluation format in this notebook.