SOTAVerified

PVT v2: Improved Baselines with Pyramid Vision Transformer

2021-06-25Code Available1· sign in to hype

Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, Ling Shao

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Transformer recently has presented encouraging progress in computer vision. In this work, we present new baselines by improving the original Pyramid Vision Transformer (PVT v1) by adding three designs, including (1) linear complexity attention layer, (2) overlapping patch embedding, and (3) convolutional feed-forward network. With these modifications, PVT v2 reduces the computational complexity of PVT v1 to linear and achieves significant improvements on fundamental vision tasks such as classification, detection, and segmentation. Notably, the proposed PVT v2 achieves comparable or better performances than recent works such as Swin Transformer. We hope this work will facilitate state-of-the-art Transformer researches in computer vision. Code is available at https://github.com/whai362/PVT.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
ImageNetPVTv2-B3Top 1 Accuracy83.2Unverified
ImageNetPVTv2-B1Top 1 Accuracy78.7Unverified
ImageNetPVTv2-B0Top 1 Accuracy70.5Unverified
ImageNetPVTv2-B4Top 1 Accuracy83.8Unverified
ImageNetPVTv2-B2Top 1 Accuracy82Unverified

Reproductions