ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation

26 Apr 2022  ·  Yufei Xu, Jing Zhang, Qiming Zhang, DaCheng Tao ·

Although no specific domain knowledge is considered in the design, plain vision transformers have shown excellent performance in visual recognition tasks. However, little effort has been made to reveal the potential of such simple structures for pose estimation tasks. In this paper, we show the surprisingly good capabilities of plain vision transformers for pose estimation from various aspects, namely simplicity in model structure, scalability in model size, flexibility in training paradigm, and transferability of knowledge between models, through a simple baseline model called ViTPose. Specifically, ViTPose employs plain and non-hierarchical vision transformers as backbones to extract features for a given person instance and a lightweight decoder for pose estimation. It can be scaled up from 100M to 1B parameters by taking the advantages of the scalable model capacity and high parallelism of transformers, setting a new Pareto front between throughput and performance. Besides, ViTPose is very flexible regarding the attention type, input resolution, pre-training and finetuning strategy, as well as dealing with multiple pose tasks. We also empirically demonstrate that the knowledge of large ViTPose models can be easily transferred to small ones via a simple knowledge token. Experimental results show that our basic ViTPose model outperforms representative methods on the challenging MS COCO Keypoint Detection benchmark, while the largest model sets a new state-of-the-art. The code and models are available at https://github.com/ViTAE-Transformer/ViTPose.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Uses Extra
Training Data
Result Benchmark
Pose Estimation COCO test-dev ViTPose (ViTAE-G) AP 80.9 # 2
AP50 94.8 # 2
AP75 88.1 # 2
APL 85.9 # 2
APM 77.5 # 6
AR 85.4 # 3
Pose Estimation COCO test-dev ViTPose (ViTAE-G, ensemble) AP 81.1 # 1
AP50 95.0 # 1
AP75 88.2 # 1
APL 86.0 # 1
APM 77.8 # 5
AR 85.6 # 2
Pose Estimation CrowdPose ViTPose-G AP 78.3 # 2
AP50 85.3 # 5
AP75 81.4 # 1
APM 86.6 # 1
AP Hard 67.9 # 2
2D Human Pose Estimation Human-Art ViTPose-h AP 0.468 # 3
AP (gt bbox) 0.800 # 1
2D Human Pose Estimation Human-Art ViTPose-l AP 0.459 # 4
AP (gt bbox) 0.789 # 2
2D Human Pose Estimation Human-Art ViTpose-b AP 0.410 # 6
AP (gt bbox) 0.759 # 4
2D Human Pose Estimation Human-Art ViTPose-s AP 0.381 # 8
AP (gt bbox) 0.738 # 7
Pose Estimation OCHuman ViTPose (ViTAE-G, GT bounding boxes) Test AP 93.3 # 1
Validation AP 92.8 # 1

Methods