安装版本v2.0+

1. pycocotools错误

安装mmdetection forked的版本

# Install cocoapi
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
# Install lvis-api
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=lvis"

v1.x安装

pip install git+https://github.com/waleedka/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI

或者

git clone https://github.com/pdollar/coco.git

cd coco/PythonAPI
make
sudo make install
sudo python setup.py install

before doing above steps install cython

 

相关文章:

  • 2021-07-15
  • 2021-09-11
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
猜你喜欢
  • 2021-05-11
  • 2022-12-23
  • 2021-12-08
  • 2021-07-31
  • 2021-10-07
  • 2021-05-29
  • 2021-08-26
相关资源
相似解决方案