pycocotools
pycocotools的原作者沒有考慮window版本。
但是大佬改寫了支持window的coco地址:https://github.com/philferriere/cocoapi
所以安裝方案如下:
1.到https://github.com/philferriere/cocoapi上,把源碼克隆下來,進入cmd命令行終端,cd cocoapi\PythonAPI,運行如下指令:
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了