Github Code of "MobileHumanPose: Toward real-time 3D human pose estimation in mobile devices"
[2021.11.23] There will be massive refactoring and optimization expected. It will be released as soon as possible including new model.pth, Please wait for the model!(expecting end of December)
[2022.05.19] Dummy dataloader is added. This will make reduce about to 100x faster that user to generate dummy pth.tar file of MobileHumanPose model for their PoC.
to test the network on the GPU 0,1 with 20th and 21th epoch trained model. --gpu 0,1 can be used instead of --gpu 0-1. For the backbone you can either choose
BACKBONE_DICT = {
'LPRES':LpNetResConcat,
'LPSKI':LpNetSkiConcat,
'LPWO':LpNetWoConcat
}
Human3.6M dataset using protocol 1
For the evaluation, you can run test.py or there are evaluation codes in Human36M.
Human3.6M dataset using protocol 2
For the evaluation, you can run test.py or there are evaluation codes in Human36M.
MuPoTS-3D dataset
For the evaluation, run test.py. After that, move data/MuPoTS/mpii_mupots_multiperson_eval.m in data/MuPoTS/data. Also, move the test result files (preds_2d_kpt_mupots.mat and preds_3d_kpt_mupots.mat) in data/MuPoTS/data. Then run mpii_mupots_multiperson_eval.m with your evaluation mode arguments.
TFLite inference
For the inference in mobile devices we also tested in mobile devices which converting PyTorch implementation through onnx and finally serving into TFlite.
Official demo app is available in here
Reference
What this repo cames from:
Training section and is based on following paper and github
Compatibility for most of the publicly available 2D and 3D, single and multi-person pose estimation datasets including Human3.6M, MPII, MS COCO 2017, MuCo-3DHP and MuPoTS-3D.
Human pose estimation visualization code.
@InProceedings{Choi_2021_CVPR,
author = {Choi, Sangbum and Choi, Seokeon and Kim, Changick},
title = {MobileHumanPose: Toward Real-Time 3D Human Pose Estimation in Mobile Devices},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
month = {June},
year = {2021},
pages = {2328-2338}
}
请发表评论