pycocotools库安装
在进行 efficientdet的复现时发现需要使用到pycocotools的库,但是pip、conda、pip3安装时,总出现错误。
即以下错误
failed with exit status 2
ERROR: Failed building wheel for pycocotools
发现pycocotools只适用于Linux系统,在github上发现了另外一个人所实现的库
可以在win10上成功安装
pip install
git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting
git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Cloning https://github.com/philferriere/cocoapi.git to
c:\users\yan\appdata\local\temp\pip-