win10 编译姿态估计AlphaPose

编译dcn Windows版:

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

cd AlphaPose

setup.py中:

force_compile = False
if platform.system() != 'Windows' or force_compile:
1.force_compile改为True

2.vs2017 打开x64本地命令行:

vs2019也可以,打开x64本地命令行:

cd F:\project\pose\AlphaPose-master

F:

3. set DISTUTILS_USE_SDK=1

4. python setup.py build_ext

python setup.py build develop

报错:error C3861: “AT_CHECK”: 找不到标识符

detector\nms\src/nms_cuda.cpp(9): error C3861: “AT_CHECK”: 找不到标识符
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2

网友在博客上:

你可能感兴趣的:(深度学习宝典,windows,c++)