以下是实践 Hzzone 的代码 GitHub - Hzzone/pytorch-openpose: pytorch implementation of openpose including Hand and Body Pose Estimation.
Step0:先安装好Anaconda;复制储存库到本地
Step1:打开终端机 建立 python 3.7 环境
conda create -n pytorch-openpose python=3.7
conda activate pytorch-openpose
Step2:安装 Pytorch
pip install https://download.pytorch.org/whl/cu101/torch-1.7.0%2Bcu101-cp37-cp37m-linux_x86_64.whl
pip install https://download.pytorch.org/whl/cu101/torchvision-0.8.1%2Bcu101-cp37-cp37m-linux_x86_64.whl
Step3:下载预训练模型
选一个资源库下载