openvino 3D人姿模型转换 human-pose-estimation-3d-0001.xml
进入目录
cd /opt/intel/openvino_2020.2.117/deployment_tools/open_model_zoo/tools/downloader
查看所有模型
sudo python downloader.py --print_all
选择下载模型
sudo python downloader.py --name human-pose-estimation-3d-0001
查看转换文件
open_model_zoo/models/public/human-pose-estimation-3d-0001/model.yml
转换.onnx =conversion_to_onnx===
sudo python pytorch_to_onnx.py --model-path=/opt/intel/openvino_2020.2.117/deployment_tools/open_model_zoo/tools/downloader/public/human-pose-estimation-3d-0001 --model-name=PoseEstimationWithMobileNet --model-param=is_convertible_by_mo=True --import-module=model --weights=/opt/intel/openvino_2020.2.117/deployment_tools/tools/model_downloader/public/human-pose-estimation-3d-0001/human-pose-estimation-3d-0001.pth --input-shape=1,3,256,448 --input-names=data --output-names=features,heatmaps,pafs --output-file=human-pose-estimation-3d-0001.onnx
转换.xml =converted to the Inference Engine=====
sudo python /opt/intel/openvino_2020.2.117/deployment_tools/model_optimizer/mo.py --input_model human-pose-estimation-3d-0001.onnx
推理视频
python /opt/intel/openvino_2020.2.117/deployment_tools/open_model_zoo/demos/python_demos/human_pose_estimation_3d_demo/human_pose_estimation_3d_demo.py -m /opt/intel/openvino_2020.2.117/deployment_tools/open_model_zoo/tools/downloader/human-pose-estimation-3d-0001.xml /Users/123/Desktop/human-pose-estimation-3d-0001/pose.mp4
文件下载链接
链接:https://pan.baidu.com/s/16xJq68pqzEFSszqfkOP3WQ 密码:hlav
欢迎大家交流学习,任何问题都可以留言