Closed vaishnavm217 closed 5 years ago
I also had this problem. It seems that upgrading python from 3.5 to 3.6 would solve it.
(I use anaconda. Upgrade by conda update python
, ref.)
@Maphist0 mentioned solution is the best. Or else if you are not using coco api and coco eval (custom dataset), you can just comment coco dependencies fromdataset_factory
like I did.
To anyone reading this: my solution was to run pip install pycocotools
and change the imports accordingly.
The
_mask
is not getting imported. its present in pycoco. the previous issue solved it using python3,but I am facing the same using python3. I think the issue is that this file is capable only with python 3.6 not 3.5. ( as the name itself is_mask.cpython-36m-x86_64-linux-gnu.so
)