← 开源
ViTAE-Transformer

ViTPose

The official repo for [NeurIPS'22] "ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation" and [TPAMI'23] "ViTPose++: Vision Transformer for Generic Body Pose Estimation"

ModelsVision modelsPython
在 GitHub 打开
增长势头
+124 小时新增 Star+0.0%
2.20k
Star
276
Fork
+13
本周
4
贡献者
创建于 2022-04-27 · 更新于 2026-10-16 · 今日第 5145 名
主要开发者
AnnblessWinter-JonAK391

ViTAE-Transformer/ViTPose 排名第 5,145,有 2,199 个星标。

同类别比较

ViTAE-Transformer/ViTPose 排名第 5,145,此处有 8 个同类条目;LinkSoul-AI/Chinese-Llama-2-7b 排名第 5,144。

同类别比较
名称排名指标
MineDojo/NitroGen5,134
语言:
Python
星标数:
2,216
分叉数:
244
简介:
A Foundation Model for Generalist Gaming Agents
yyfz/Pi35,137
语言:
Python
星标数:
2,213
分叉数:
174
简介:
[ICLR 2026] π^3: Permutation-Equivariant Visual Geometry Learning
DigitalPhonetics/IMS-Toucan5,140
语言:
Python
星标数:
2,210
分叉数:
319
简介:
Controllable and fast Text-to-Speech for over 7000 languages!
LinkSoul-AI/Chinese-Llama-2-7b5,144
语言:
Python
星标数:
2,200
分叉数:
194
简介:
开源社区第一个能下载、能运行的中文 LLaMA2 模型!
Tencent-Hunyuan/HunyuanVideo-Avatar5,154
语言:
Python
星标数:
2,182
分叉数:
350
3DTopia/LGM5,171
语言:
Python
星标数:
2,120
分叉数:
140
简介:
[ECCV 2024 Oral] LGM: Large Multi-View Gaussian Model for High-Resolution 3D Content Creation.
GantMan/nsfw_model5,179
语言:
Python
星标数:
2,097
分叉数:
305
简介:
Keras model of NSFW detector
ise-uiuc/magicoder5,180
语言:
Python
星标数:
2,094
分叉数:
170
简介:
[ICML'24] Magicoder: Empowering Code Generation with OSS-Instruct
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Vision models
星标数2,199
分叉数276
贡献者4
创建日期2022-04-27
更新日期2026-10-16
1 天星标数1
7 天星标数13
排名5,145
上次排名8,934
排名变化3,789
7 天星标排名3,487
上次 7 天星标排名3,208
7 天星标排名变化-279
总星标排名5,885
上次总星标排名5,883
总星标排名变化-2
README 摘录

Web Demo MAE Pre-trained model The small size MAE pre-trained model can be found in Onedrive. The base, large, and huge pre-trained models using MAE can be found in the MAE official repo. Results from this repo on MS COCO val set (single-task training) Using detection results from a detector that obtains 56 mAP on person. The configs here are for both training and test. 2 | config | log | Onedrive | | ViTPose-B | MAE | 256x192 | 75. 1 | config

| log | Onedrive | | ViTPose-L | MAE | 256x192 | 78. 5 | config | log | Onedrive | | ViTPose-H | MAE | 256x192 | 79. 9 | config | log | Onedrive | | ViTPose-B | MAE | 256x192 | 75. 9 | config | log | Onedrive | | ViTPose-L | MAE | 256x192 | 78. 4 | config | log | Onedrive | | ViTPose-H | MAE | 256x192 | 78. 0 | config | log | Onedrive | Results with multi-task training **Note** \* There may exist duplicate images in the crowdpose training set and the validation images in other datasets, as discussed in issue #24. Please be careful when using

these models for evaluation. We provide the results without the crowpose dataset for reference. Human datasets (MS COCO, AIC, MPII, CrowdPose) Results on MS COCO val set Using detection results from a detector that obtains 56 mAP on person. Note the configs here are only for evaluation. 2 | config | Onedrive | | ViTPose-L | COCO+AIC+MPII | 256x192 | 78. 8 | config | Onedrive | | ViTPose-H | COCO+AIC+MPII | 256x192 | 79. 5 | config | Onedrive | | ViTPose-G | COCO+AIC+MPII | 576x432 | 81. 6 | | | | ViTPose-B

* | COCO+AIC+MPII+CrowdPose | 256x192 | 77. 6 | config |Onedrive | | ViTPose-L* | COCO+AIC+MPII+CrowdPose | 256x192 | 79. 1 | config | Onedrive | | ViTPose-H* | COCO+AIC+MPII+CrowdPose | 256x192 | 79. 8 | config | Onedrive | | **ViTPose++-S** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 75. 6 | config | log \| Onedrive | | **ViTPose++-B** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 77. 6 | config | log \| Onedrive | | **ViTPose++-L** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 78. 1 | config | log \| Onedrive | | **ViTPose++-H** | COCO+AIC+MPII+AP10K+APT36K

+WholeBody | 256x192 | 79. 8 | config | log \| Onedrive | Results on OCHuman test set Using groundtruth bounding boxes. Note the configs here are only for evaluation. 6 | config | Onedrive | | ViTPose-L | COCO+AIC+MPII | 256x192 | 90. 2 | config | Onedrive | | ViTPose-H | COCO+AIC+MPII | 256x192 | 90. 3 | config | Onedrive | | ViTPose-G | COCO+AIC+MPII | 576x432 | 93. 3 | | | | ViTPose-B* | COCO+AIC+MPII+CrowdPose | 256x192 | 88. 0 | config |Onedrive | | ViTPose-L* | COCO+AIC+MPII+CrowdPose | 256x192 | 91. 8 | config | Onedrive | | ViTPose-H* | COCO

+AIC+MPII+CrowdPose | 256x192 | 91. 8 | config | Onedrive | | **ViTPose++-S** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 78. 6 | config | log \| Onedrive | | **ViTPose++-B** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 82. 8 | config | log \| Onedrive | | **ViTPose++-L** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 85. 5 | config | log \| Onedrive | | **ViTPose++-H** | COCO+AIC+MPII+AP10K+APT36K+WholeBody | 256x192 | 85. 4 | config | log \| Onedrive | Results on MPII val set Using groundtruth bounding boxes. Note the configs here are only for

evaluation. 3 | config | Onedrive | | ViTPose-L | COCO+AIC+MPII | 256x192 | 94. 0 | config | Onedrive | | ViTPose-H | COCO+AIC+MPII | 256x192

常见问题

记录了多少星标和分叉?

ViTAE-Transformer/ViTPose 有 2,199 个星标和 276 个分叉。

仓库排名是多少?

ViTAE-Transformer/ViTPose 排名第 5,145。

记录的语言和类别是什么?

ViTAE-Transformer/ViTPose 有 2,199 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

ViTAE-Transformer/ViTPose 与 LinkSoul-AI/Chinese-Llama-2-7b 比较,后者排名第 5,144,有 2,200 个星标。

README

ViTPose / ViTPose++: Vision Transformer for Generic Body Pose Estimation

Results | Updates | Usage | Todo | Acknowledge

This branch contains the pytorch implementation of ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation and ViTPose++: Vision Transformer for Generic Body Pose Estimation. It obtains 81.1 AP on MS COCO Keypoint test-dev set.

Web Demo

MAE Pre-trained model

  • The small size MAE pre-trained model can be found in Onedrive.
  • The base, large, and huge pre-trained models using MAE can be found in the MAE official repo.

Results from this repo on MS COCO val set (single-task training)

Using detection results from a detector that obtains 56 mAP on person. The configs here are for both training and test.

With classic decoder

Model Pretrain Resolution AP AR config log weight
ViTPose-S MAE 256x192 73.8 79.2 config log Onedrive
ViTPose-B MAE 256x192 75.8 81.1 config log Onedrive
ViTPose-L MAE 256x192 78.3 83.5 config log Onedrive
ViTPose-H MAE 256x192 79.1 84.1 config log Onedrive

With simple decoder

Model Pretrain Resolution AP AR config log weight
ViTPose-S MAE 256x192 73.5 78.9 config log Onedrive
ViTPose-B MAE 256x192 75.5 80.9 config log Onedrive
ViTPose-L MAE 256x192 78.2 83.4 config log Onedrive
ViTPose-H MAE 256x192 78.9 84.0 config log Onedrive

Results with multi-task training

Note * There may exist duplicate images in the crowdpose training set and the validation images in other datasets, as discussed in issue #24. Please be careful when using these models for evaluation. We provide the results without the crowpose dataset for reference.

Human datasets (MS COCO, AIC, MPII, CrowdPose)

Results on MS COCO val set

Using detection results from a detector that obtains 56 mAP on person. Note the configs here are only for evaluation.

Model Dataset Resolution AP AR config weight
ViTPose-B COCO+AIC+MPII 256x192 77.1 82.2 config Onedrive
ViTPose-L COCO+AIC+MPII 256x192 78.7 83.8 config Onedrive
ViTPose-H COCO+AIC+MPII 256x192 79.5 84.5 config Onedrive
ViTPose-G COCO+AIC+MPII 576x432 81.0 85.6
ViTPose-B* COCO+AIC+MPII+CrowdPose 256x192 77.5 82.6 config Onedrive
ViTPose-L* COCO+AIC+MPII+CrowdPose 256x192 79.1 84.1 config Onedrive
ViTPose-H* COCO+AIC+MPII+CrowdPose 256x192 79.8 84.8 config Onedrive
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 75.8 82.6 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 77.0 82.6 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 78.6 84.1 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 79.4 84.8 config log | Onedrive

Results on OCHuman test set

Using groundtruth bounding boxes. Note the configs here are only for evaluation.

Model Dataset Resolution AP AR config weight
ViTPose-B COCO+AIC+MPII 256x192 88.0 89.6 config Onedrive
ViTPose-L COCO+AIC+MPII 256x192 90.9 92.2 config Onedrive
ViTPose-H COCO+AIC+MPII 256x192 90.9 92.3 config Onedrive
ViTPose-G COCO+AIC+MPII 576x432 93.3 94.3
ViTPose-B* COCO+AIC+MPII+CrowdPose 256x192 88.2 90.0 config Onedrive
ViTPose-L* COCO+AIC+MPII+CrowdPose 256x192 91.5 92.8 config Onedrive
ViTPose-H* COCO+AIC+MPII+CrowdPose 256x192 91.6 92.8 config Onedrive
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 78.4 80.6 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 82.6 84.8 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 85.7 87.5 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 85.7 87.4 config log | Onedrive

Results on MPII val set

Using groundtruth bounding boxes. Note the configs here are only for evaluation. The metric is PCKh.

Model Dataset Resolution Mean config weight
ViTPose-B COCO+AIC+MPII 256x192 93.3 config Onedrive
ViTPose-L COCO+AIC+MPII 256x192 94.0 config Onedrive
ViTPose-H COCO+AIC+MPII 256x192 94.1 config Onedrive
ViTPose-G COCO+AIC+MPII 576x432 94.3
ViTPose-B* COCO+AIC+MPII+CrowdPose 256x192 93.4 config Onedrive
ViTPose-L* COCO+AIC+MPII+CrowdPose 256x192 93.9 config Onedrive
ViTPose-H* COCO+AIC+MPII+CrowdPose 256x192 94.1 config Onedrive
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 92.7 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 92.8 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 94.0 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 94.2 config log | Onedrive

Results on AI Challenger test set

Using groundtruth bounding boxes. Note the configs here are only for evaluation.

Model Dataset Resolution AP AR config weight
ViTPose-B COCO+AIC+MPII 256x192 32.0 36.3 config Onedrive
ViTPose-L COCO+AIC+MPII 256x192 34.5 39.0 config Onedrive
ViTPose-H COCO+AIC+MPII 256x192 35.4 39.9 config Onedrive
ViTPose-G COCO+AIC+MPII 576x432 43.2 47.1
ViTPose-B* COCO+AIC+MPII+CrowdPose 256x192 31.9 36.3 config Onedrive
ViTPose-L* COCO+AIC+MPII+CrowdPose 256x192 34.6 39.0 config Onedrive
ViTPose-H* COCO+AIC+MPII+CrowdPose 256x192 35.3 39.8 config Onedrive
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 29.7 34.3 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 31.8 36.3 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 34.3 38.9 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 34.8 39.1 config log | Onedrive

Results on CrowdPose test set

Using YOLOv3 human detector. Note the configs here are only for evaluation.

Model Dataset Resolution AP AP(H) config weight
ViTPose-B* COCO+AIC+MPII+CrowdPose 256x192 74.7 63.3 config Onedrive
ViTPose-L* COCO+AIC+MPII+CrowdPose 256x192 76.6 65.9 config Onedrive
ViTPose-H* COCO+AIC+MPII+CrowdPose 256x192 76.3 65.6 config Onedrive

Animal datasets (AP10K, APT36K)

Results on AP-10K test set

Model Dataset Resolution AP config weight
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 71.4 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 74.5 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 80.4 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 82.4 config log | Onedrive

Results on APT-36K val set

Model Dataset Resolution AP config weight
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 74.2 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 75.9 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 80.8 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 82.3 config log | Onedrive

WholeBody dataset

Model Dataset Resolution AP config weight
ViTPose++-S COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 54.4 config log | Onedrive
ViTPose++-B COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 57.4 config log | Onedrive
ViTPose++-L COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 60.6 config log | Onedrive
ViTPose++-H COCO+AIC+MPII+AP10K+APT36K+WholeBody 256x192 61.2 config log | Onedrive

Transfer results on the hand dataset (InterHand2.6M)

Model Dataset Resolution AUC config weight
ViTPose++-S COCO+AIC+MPII+WholeBody 256x192 86.5 config Coming Soon
ViTPose++-B COCO+AIC+MPII+WholeBody 256x192 87.0 config Coming Soon
ViTPose++-L COCO+AIC+MPII+WholeBody 256x192 87.5 config Coming Soon
ViTPose++-H COCO+AIC+MPII+WholeBody 256x192 87.6 config Coming Soon

Updates

[2023-01-10] Update ViTPose++! It uses MoE strategies to jointly deal with human, animal, and wholebody pose estimation tasks.

[2022-05-24] Upload the single-task training code, single-task pre-trained models, and multi-task pretrained models.

[2022-05-06] Upload the logs for the base, large, and huge models!

[2022-04-27] Our ViTPose with ViTAE-G obtains 81.1 AP on COCO test-dev set!

Applications of ViTAE Transformer include: image classification | object detection | semantic segmentation | animal pose segmentation | remote sensing | matting | VSA | ViTDet

Usage

We use PyTorch 1.9.0 or NGC docker 21.06, and mmcv 1.3.9 for the experiments.

git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
git checkout v1.3.9
MMCV_WITH_OPS=1 pip install -e .
cd ..
git clone https://github.com/ViTAE-Transformer/ViTPose.git
cd ViTPose
pip install -v -e .

After install the two repos, install timm and einops, i.e.,

pip install timm==0.4.9 einops

After downloading the pretrained models, please conduct the experiments by running

# for single machine
bash tools/dist_train.sh   --cfg-options model.pretrained= --seed 0

# for multiple machines
python -m torch.distributed.launch --nnodes  --node_rank  --nproc_per_node  --master_addr  --master_port  tools/train.py  --cfg-options model.pretrained= --launcher pytorch --seed 0

To test the pretrained models performance, please run

bash tools/dist_test.sh   

For ViTPose++ pre-trained models, please first re-organize the pre-trained weights using

python tools/model_split.py --source 

Todo

This repo current contains modifications including:

  • [x] Upload configs and pretrained models

  • [x] More models with SOTA results

  • [x] Upload multi-task training config

Acknowledge

We acknowledge the excellent implementation from mmpose and MAE.

Citing ViTPose and ViTPose++

For ViTPose

@inproceedings{
  xu2022vitpose,
  title={Vi{TP}ose: Simple Vision Transformer Baselines for Human Pose Estimation},
  author={Yufei Xu and Jing Zhang and Qiming Zhang and Dacheng Tao},
  booktitle={Advances in Neural Information Processing Systems},
  year={2022},
}

For ViTPose++

@article{xu2023ViTPose++,
  title={ViTPose++: Vision Transformer Foundation Model for Generic Body Pose Estimation},
  author={Xu, Yufei and Zhang, Jing and Zhang, Qiming and Tao, Dacheng},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year={2024},
  volume={46},
  pages={1212-1230},
  doi={10.1109/TPAMI.2023.3330016}
}

For ViTAE and ViTAEv2, please refer to:

@article{xu2021vitae,
  title={Vitae: Vision transformer advanced by exploring intrinsic inductive bias},
  author={Xu, Yufei and Zhang, Qiming and Zhang, Jing and Tao, Dacheng},
  journal={Advances in Neural Information Processing Systems},
  volume={34},
  year={2021}
}

@article{zhang2022vitaev2,
  title={ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyond},
  author={Zhang, Qiming and Xu, Yufei and Zhang, Jing and Tao, Dacheng},
  journal={arXiv preprint arXiv:2202.10108},
  year={2022}
}
排名相邻
同类项目