It still fails for me. these are the following steps I took
$ git clone https://github.com/pdollar/coco.git 19
$ cd coco/PythonAPI
$ make
$python setup.py install
I open a new notebook in AWS SageMaker in the PythonAPI directory and tried to import pycocotools, it succeeded.
Next, I tried “from pycocotools.coco import COCO” and got the “No module named _mask” output. I have done everything in the comments above and I still fail. The only difference I notice is that I’m using SageMaker . should that be the issue? or if its something else please let me know!