AlphaPose 0.4 version 在win10系统下的编译

本文档详细记录了在Windows 10系统下,使用Visual Studio 2015编译AlphaPose v0.4.0的过程。包括创建conda虚拟环境、安装PyTorch、获取AlphaPose代码及模型,以及解决编译和运行中遇到的问题,如PyYAML的手动安装和CUDA配置。最后提到了环境配置为Win10、CUDA 10.0和VS2015。
摘要由CSDN通过智能技术生成

简单记录下,AlphaPose在win10系统下的编译,过程较为顺利!,先看效果
在这里插入图片描述

官方github 地址,
https://github.com/MVIG-SJTU/AlphaPose

本次编译的版本:
Aug 2020: v0.4.0 version of AlphaPose is released! Stronger tracking! Include whole body(face,hand,foot) keypoints!

官方的install guide
https://github.com/MVIG-SJTU/AlphaPose/blob/master/docs/INSTALL.md

windows的安装要求

Windows users should install Visual Studio due to the problem mentioned here. If you do not want to install Visual Studio and want to use AlphaPose, you can refer to our previous version that do not require Visual Studio.

For Windows user, if you meet error with PyYaml, you can download and install it manually from here: https://pyyaml.org/wiki/PyYAML. If your OS platform is Windows, make sure that Windows C++ build tool like visual studio 15+ or visual c++ 2015+ is installed for training.

所以要求就是:
C++ 的编译器是 vs2013-Vs2017,其他版本肯定不行,因为博主编译用的vs2019,然后失败了,卸载就行了,换成要求的版本

cmd命令安装即可

1. Create a conda virtual environment.

conda create -n alphapose python=3.6 -y
conda activate alphapose

2. Install PyTorch

conda install pytorch1.1.0 torchvision0.3.0,

//没有明确要求,可以根据自己的情况灵活更改,末尾我加上自己的环境配置

3. Get AlphaPose

git clone https://github.com/MVIG-SJTU/AlphaPose.git
cd AlphaPose

//下载工程代码之后,记得下载相关的模型文件,https://github.com/MVIG-SJTU/AlphaPose/blob/master/docs/MODEL_ZOO.md,我用的是26个关键点

4. install

export PATH=/usr/local/cuda/bin/: P A T H e

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值