mmpose推理视频
时间: 2023-10-06 20:09:38 浏览: 172
要进行MMPose推理视频,首先需要安装相关的依赖包。可以按照以下步骤进行安装:
1. 安装MMEngine和MMCV:
```
mim install mmengine
mim install "mmcv>=2.0.0"
```
2. 安装MMDetection(mmdet):
```
mim install "mmdet>=3.0.0"
```
3. 下载MMPose的推理模型:
```
download.openmmlab.com/mmpose/v1/body_2d_keypoint/dekr/coco/dekr_hrnet-w32_8xb10-140e_coco-512x512_ac7c17bf-20221228.pth
```
4. 运行推理脚本:
```
python demo/bottomup_demo.py configs/body_2d_keypoint/dekr/coco/dekr_hrnet-w32_8xb10-140e_coco-512x512.py \
https://download.openmmlab.com/mmpose/v1/body_2d_keypoint/dekr/coco/dekr_hrnet-w32_8xb10-140e_coco-512x512_ac7c17bf-20221228.pth \
--input E:\data\v\clip100.mp4 --output-root=vis_results/demo --save-predictions
```
这样就可以进行MMPose的推理视频了。注意,需要替换命令中的路径和参数为实际使用的值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [MMPose安装及推理验证](https://blog.csdn.net/Snakewood/article/details/131129332)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文