ModuleNotFoundError: No module named 'pycocotools'

问题描述:

在TensorFlow object detection api 下执行eval. py ,会报错:ModuleNotFoundError: No module named 'pycocotools'

解决方案:

  1. D:\models\research\object_detection>pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
    好像是一定要在object_detection目录下执行
  2. 要安装visual studio 2015,下载地址
  3. 测试:可以导入即可在这里插入图片描述
    ————————————————————————————————————————————————
    参考来源链接

猜你喜欢

转载自blog.csdn.net/Michelexie/article/details/83903173