第一步,下载 Git
下载地址:https://git-scm.com/download/win
第二步,下载 Visual C++ 2015 build tools
下载地址:https://go.microsoft.com/fwlink/?LinkId=691126
安装时选择默认即可:
第三步,在 Git bash 中键入下列代码
pip install git+https://github.com/gautamchitnis/cocoapi.git@cocodataset-master#subdirectory=PythonAPI