https://www.jianshu.com/p/8658cda3d553
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
如果git clone不下来的话,直接下载安装包解压后用pip install PythonAPI
就可以了
到目录PythonAPI之后,用python setup.py build_ext install
(见https://www.jianshu.com/p/8658cda3d553 )
网友评论