Fully Transformer Networks for Semantic Image Segmentation

Sitong Wu, Tianyi Wu, Fangjian Lin, Shengwei Tian, Guodong Guo
6/8/2021
cs.CV
transformer-attention

Official code: BR-IDL/PaddleViT (1,235 stars, Python, Apache-2.0, last commit 2022-09-07).

Abstract

Transformers have shown impressive performance in various natural language processing and computer vision tasks, due to the capability of modeling long-range dependencies. Recent progress has demonstrated that combining such Transformers with CNN-based semantic image segmentation models is very promising.

Show full abstract

However, it is not well studied yet on how well a pure Transformer based approach can achieve for image segmentation. In this work, we explore a novel framework for semantic image segmentation, which is encoder-decoder based Fully Transformer Networks (FTN). Specifically, we first propose a Pyramid Group Transformer (PGT) as the encoder for progressively learning hierarchical features, meanwhile reducing the computation complexity of the standard Visual Transformer (ViT). Then, we propose a Feature Pyramid Transformer (FPT) to fuse semantic-level and spatial-level information from multiple levels of the PGT encoder for semantic image segmentation. Surprisingly, this simple baseline can achieve better results on multiple challenging semantic segmentation and face parsing benchmarks, including PASCAL Context, ADE20K, COCOStuff, and CelebAMask-HQ. The source code will be released on https://github.com/BR-IDL/PaddleViT.

View on arXivView PDF

Code Implementations(1)

BR-IDL/PaddleViTOfficial100%
Apache-2.0

:robot: PaddleViT: State-of-the-art Visual Transformer and MLP Models for PaddlePaddle 2.0+

1,235327Python, ShellAug 30, 20214 years agoApache-2.0
classificationcomputer-visioncvdeep-learningdetection+9 more

Similar Papers

Cite this paper

@article{wu2021fully,
  title  = {Fully Transformer Networks for Semantic Image Segmentation},
  author = {Sitong Wu and Tianyi Wu and Fangjian Lin and Shengwei Tian and Guodong Guo},
  year   = {2021},
  eprint = {2106.04108},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.04108}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.04108.svg)](https://codeofpaper.com/paper/2106.04108)

Discussion