pycocotools
pycocotools的原作者没有考虑window版本。
但是大佬改写了支持window的coco地址:https://github.com/philferriere/cocoapi
所以安装方案如下:
1.到https://github.com/philferriere/cocoapi上,把源码克隆下来,进入cmd命令行终端,cd cocoapiPythonAPI,运行如下指令:
2.
1 # install pycocotools locally 2 python setup.py build_ext --inplace 3 4 # install pycocotools to the Python site-packages 5 python setup.py build_ext install
crowdposetools
首先到https://github.com/Jeff-sjtu/CrowdPose.git,克隆下源码,
之后进入 crowdpose_api/PythonAPI,
修改setup.py的源码:修改如下:
之后执行命令:
1 # instal crowdposetools locally 2 python setup.py build_ext --inplace 3 4 # install crowdposetools to the Python site-packages 5 python setup.py build_ext install
就OK了