Open NielsRogge opened 5 months ago
@NielsRogge Thanks for creating this issue! I believe if you add the feature request
tag this will prevent the issue from being marked as stale. It's great to add the vision
tag to these too to make them easier to filter and spot for those interested in the listed issues
Hey @NielsRogge, I’d love to give it a try if that's fine with you.
Hi @A-Duss, great! 🤗 You can mention me for a PR review or in case any help is needed!
My understanding is that examples of inference for semantic, instance and panoptic segmentation are already present in the docs (see Types of segmentation). However, a complete task guide (with data preprocessing, finetuning, evaluation and inference) only exists for semantic segmentation.
Given the issues tagged, you'd want:
Is my understanding correct ? @NielsRogge @qubvel Do not hesitate to tell me exactly how you were thinking it, or if I'm off-track.
Sounds good to me, you can also take a look at instance-segmentation examples in the repo regarding evaluation with Trainer
and torchmetrics
.
Feature request
We currently already have a semantic segmentation task guide: https://huggingface.co/docs/transformers/tasks/semantic_segmentation. It would be great to create a similar one for panoptic segmentation with models like MaskFormer, Mask2Former and OneFormer.
Motivation
Panoptic segmentation deserves its own task guide as it's different from semantic segmentation.
Lots of people have reported issues, including the following:
Your contribution
Can be based off the notebooks provided here: https://github.com/NielsRogge/Transformers-Tutorials/tree/master/MaskFormer
cc @qubvel