bowenc0221 / panoptic-deeplab

This is Pytorch re-implementation of our CVPR 2020 paper "Panoptic-DeepLab: A Simple, Strong, and Fast Baseline for Bottom-Up Panoptic Segmentation" (https://arxiv.org/abs/1911.10194)
Apache License 2.0
590 stars 117 forks source link

custom coco format panoramic segmentation dataset #63

Closed wshilaji closed 3 years ago

wshilaji commented 3 years ago

Do you kown how to create wwn custom coco format panoramic segmentation dataset? for examlple panoramic_{}2017.json. I would appreciate it if you could help me

bowenc0221 commented 3 years ago

Please follow Detectron2 document for registering custom dataset: https://detectron2.readthedocs.io/tutorials/datasets.html

COCO format for panoptic segmentation is here: https://cocodataset.org/#format-data

mvdelt commented 3 years ago

@bowenc0221 I think what @wshilaji tried to ask was "how to create custom annotations for COCO panoptic format". I also have the same question. Is there any decent tool for custom panoptic annotation? (into COCO format or Cityscapes format) There are many annotation/labeling tools for object detection or semantic segmentation, but I haven't found one for panoptic segmentation.

bowenc0221 commented 3 years ago

AFAIK there are no open-sourced labeling tools for panoptic annotation. All panoptic segmentation datasets are created from existing semantic and instance annotations.

mvdelt commented 3 years ago

@bowenc0221 Thanks. So it is possible to make custom panoptic annotation by making semantic & instance annotations with existing labeling tools and then convert them into panoptic annotation? Is there any script for converting semantic & instance annotations to panoptic annotation? I wanna train Panoptic Deeplab with my custom dataset... Thank you in advance :)

bowenc0221 commented 3 years ago

https://github.com/mcordts/cityscapesScripts/blob/master/cityscapesscripts/preparation/createPanopticImgs.py

wshilaji commented 3 years ago

@bowenc0221

I have solved the problem. I wrote my own script in the COCO format with the labelme annotation tool.

LiWentomng commented 3 years ago

@wshilaji I also have the same question for converting converting semantic & instance annotations to panoptic annotation. Can you provide your script with some instructions in your github? I will star it. I would appreciate it if you could help me.

wshilaji commented 3 years ago

@LiWentomng https://github.com/wshilaji/panoptic_coco_scipt . The instruction manual is not detailed. You can reseach code for a while . COCO format for panoptic segmentation is here: https://cocodataset.org/#format-data

LiWentomng commented 3 years ago

@wshilaji Thanks a lot!

userwatch commented 1 week ago

Hello @mvdelt , I am trying to train Panoptic with my custom data. How did you create the panoptic annotation? Please help me.