系统相关
首页 > 系统相关> > windows 安装pycocotools工具

windows 安装pycocotools工具

作者:互联网

windows 安装pycocotools工具

git clone https://github.com/cocodataset/cocoapi.git

    #To prevent installation error do the following after commiting cocooapi :
    #using file explorer  naviagate to cocoapi\PythonAPI\setup.py and change line 14 from:
    #extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'],
    #to
    #extra_compile_args={'gcc': ['/Qstd=c99']},
    #Based on  https://github.com/cocodataset/cocoapi/issues/51

cd cocoapi/PythonAPI
python setup.py build_ext install

标签:cocoapi,extra,windows,cocodataset,git,pycocotools,py,安装
来源: https://blog.csdn.net/qq_26024067/article/details/122645766