mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* docs(en): update file structure * docs(zh_cn): update * docs(structure): update * docs(snpe): update * docs(README): update * fix(CI): update * fix(CI): index.rst error * fix(docs): update * fix(docs): remove mermaid * fix(docs): remove useless * fix(docs): update link * docs(en): update * docs(en): update * docs(zh_cn): remove \[ * docs(zh_cn): format * docs(en): remove blank * fix(CI): doc link error * docs(project): remove "./" prefix * docs(zh_cn): fix mdformat * docs(en): update title * fix(CI): update docs
1.7 KiB
1.7 KiB
mmpose 模型支持列表
mmpose 是一个基于 PyTorch 的姿态估计的开源工具箱,也是 OpenMMLab 项目的一部分。
安装 mmpose
参照 official installation guide。
支持列表
Model | Task | ONNX Runtime | TensorRT | ncnn | PPLNN | OpenVINO | Model config |
---|---|---|---|---|---|---|---|
HRNet | PoseDetection | Y | Y | Y | N | Y | config |
MSPN | PoseDetection | Y | Y | Y | N | Y | config |
LiteHRNet | PoseDetection | Y | Y | Y | N | Y | config |
使用方法
python tools/deploy.py \
configs/mmpose/posedetection_tensorrt_static-256x192.py \
$MMPOSE_DIR/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w48_coco_256x192.py \
$MMPOSE_DIR/checkpoints/hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth \
$MMDEPLOY_DIR/demo/resources/human-pose.jpg \
--work-dir work-dirs/mmpose/topdown/hrnet/trt \
--device cuda
注意事项
- mmpose 模型需要额外的输入,但我们无法直接获取它。在导出模型时,可以使用
$MMDEPLOY_DIR/demo/resources/human-pose.jpg
作为输入。