Closed SkalskiP closed 1 year ago
Hi @SkalskiP, thanks for your interest in our work. Please find the answers to your questions below. I have tried to be as comprehensive as possible.
Annotations
:
task
annotations (task
belongs to {panoptic, instance, semantic}). So, during data preparation, we prepare annotations for all tasks.Custom Dataset Training
: If you only want to train and test for the instance segmentation task, you can change the task sampling probabilities in the config files and set the default task as instance
during testing. Note that we derive all labels from panoptic annotations in the dataset scripts, so prepare your files accordingly.
https://github.com/SHI-Labs/OneFormer/blob/fea6b22e4b4cba00646abcc5872005b034dae83b/configs/coco/Base-COCO-UnifiedSegmentation.yaml#L46-L48 https://github.com/SHI-Labs/OneFormer/blob/fea6b22e4b4cba00646abcc5872005b034dae83b/configs/coco/oneformer_R50_bs16_50ep.yaml#L57Training Resources
:
Feel free to re-open if you face any issues.
Hey, I am trying to train a custom dataset for instance segmentation which is in the coco data format. I am able to train the model, it lacks bbox coordinate while inference, thus unable to infer the results.
Hi team 👋!
First of all great project! I'm super excited to see that you used Detectron2 as framework of choice.
I'm trying to train my own model using custom dataset in COCO format. And for now I have 2 questions: