jin-s13 / xtcocoapi

Extended COCO-API
Other
63 stars 24 forks source link

'xtcocotools' has no attribute '_mask' in Windows #14

Closed chenxinfeng4 closed 3 years ago

chenxinfeng4 commented 3 years ago

I'm trying to install xtcocotools while using MMPOSE in windows.

However, the xtcocotools is so difficult to install. I don't know how to compile the _MASK.PYX file and I totally hate any C/C++ source files.

Could you please release an official windows verion? You will save my life.

>>> xtcocotools
<module 'xtcocotools' from 'E:\\mmpose\\xtcocoapi\\xtcocotools\\__init__.py'>
>>> xtcocotools._mask
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'xtcocotools' has no attribute '_mask'
innerlee commented 3 years ago

To be fair, its the original cocotools that causes all these pains

jin-s13 commented 3 years ago

Maybe this is helpful https://github.com/cocodataset/cocoapi/issues/59

chenxinfeng4 commented 3 years ago

Well, it was a hard time for me to learn the compile procedure in cython, but finally it works.