windows安裝pycocotools

windows安裝pycocotools


下載源文件

github下載:https://github.com/philferriere/cocoapi
碼雲下載:https://gitee.com/ACANX/cocoapihtml

前提準備工做

安裝Cython:python

  • activate pytorch_gpu(某個conda env)
  • pip install Cython

安裝VS2015環境
以前我有按照整個vs,因此這個環境不缺,可參考
安裝pycocotoolsgit

安裝

  • 管理員運行cmd
  • 切換到cocoapi\PythonAPI目錄
  • 依次運行:
相關文章
相關標籤/搜索