ubuntu 安装COCOAPI和CrowdposeAPI
作者:互联网
1. 安装COCOAPI
1.首先git clone下载:
使用国内镜像会更快些:
git clone https://github.com.cnpmjs.org/cocodataset/cocoapi.git
2.然后cd cocoapi/PythonAPI/
3.安装:
python3 setup.py build_ext --inplace
python3 setup.py build_ext install
4.验证:
进入python命令行
输入:import pycocotools
不报错即成功
2. 安装CrowdposeAPI
1.首先git clone下载:
使用国内镜像会更快些:
git clone https://github.com.cnpmjs.org/Jeff-sjtu/CrowdPose.git
2.然后cd CrowdPose/crowdpose-api/PythonAPI/
3.安装:
python3 setup.py build_ext --inplace
python3 setup.py build_ext install
4.验证:
进入python命令行
输入:import crowdposetools
不报错即成功
标签:git,CrowdposeAPI,clone,py,COCOAPI,build,ubuntu,setup,python3 来源: https://blog.csdn.net/sazass/article/details/117230323