ssd.pytorch
ssd.pytorch copied to clipboard
from pycocotools.coco import COCO
ssd.pytorch/data/coco.py", line 89, in init from pycocotools.coco import COCO ModuleNotFoundError: No module named 'pycocotools'
there is no pycocotools.coco and i can't find it ,why?
You need to install the package pycocotools for the dataloader to work. If you are using conda, you can do it using:
conda install -c conda-forge pycocotools
pip install pycocotools
another way: pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
pip install pycocotools
another way: pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
I have got clone the pycocotools, and the location is correct, but there still has the error, why?