HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Panoptic SegFormer: Delving Deeper into Panoptic Segmentation with Transformers

Zhiqi Li Wenhai Wang Enze Xie Zhiding Yu Anima Anandkumar Jose M. Alvarez Ping Luo Tong Lu

Panoptic SegFormer: Delving Deeper into Panoptic Segmentation with Transformers

Abstract

Panoptic segmentation involves a combination of joint semantic segmentation and instance segmentation, where image contents are divided into two types: things and stuff. We present Panoptic SegFormer, a general framework for panoptic segmentation with transformers. It contains three innovative components: an efficient deeply-supervised mask decoder, a query decoupling strategy, and an improved post-processing method. We also use Deformable DETR to efficiently process multi-scale features, which is a fast and efficient version of DETR. Specifically, we supervise the attention modules in the mask decoder in a layer-wise manner. This deep supervision strategy lets the attention modules quickly focus on meaningful semantic regions. It improves performance and reduces the number of required training epochs by half compared to Deformable DETR. Our query decoupling strategy decouples the responsibilities of the query set and avoids mutual interference between things and stuff. In addition, our post-processing strategy improves performance without additional costs by jointly considering classification and segmentation qualities to resolve conflicting mask overlaps. Our approach increases the accuracy 6.2\% PQ over the baseline DETR model. Panoptic SegFormer achieves state-of-the-art results on COCO test-dev with 56.2\% PQ. It also shows stronger zero-shot robustness over existing methods. The code is released at \url{https://github.com/zhiqi-li/Panoptic-SegFormer}.

Code Repositories

zhiqi-li/Panoptic-SegFormer
Official
pytorch
Mentioned in GitHub
claud1234/clft
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
panoptic-segmentation-on-coco-minivalPanoptic SegFormer (single-scale)
PQ: 55.8
PQst: 46.9
PQth: 61.7
panoptic-segmentation-on-coco-minivalPanoptic SegFormer (ResNet-101)
PQ: 50.6
PQst: 43.2
PQth: 55.5
panoptic-segmentation-on-coco-test-devPanoptic SegFormer (ResNet-101)
PQ: 50.9
PQst: 43.0
PQth: 56.2
panoptic-segmentation-on-coco-test-devPanoptic SegFormer (Swin-L)
PQ: 56.2
PQst: 47.0
PQth: 62.3
panoptic-segmentation-on-coco-test-devPanoptic SegFormer (PVTv2-B5)
PQ: 55.8
PQst: 46.5
PQth: 61.9
panoptic-segmentation-on-coco-test-devPanoptic SegFormer (ResNet-50)
PQ: 50.2
PQst: 42.4
PQth: 55.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp