multimodallearning / pytorch-mask-rcnn

Other
2.01k stars 557 forks source link

ModuleNotFoundError: No module named '_mask' #88

Closed DrRyanHuang closed 5 years ago

DrRyanHuang commented 5 years ago

Hello, everyone , yesterday, I try to run

python coco.py train --dataset=/path/to/coco/ --model=coco --download=true

It told me "ModuleNotFoundError: No module named '_mask'", seeing the file _mask.pyx , I install Cython, and add import pyximport;pyximport.install() to code, it still run badly the same as it did before. DId someone meet this question before? : )

DrRyanHuang commented 5 years ago

Well, I add the absolute path of _mask.pyx to the list sys.path, and it can run.

┌|◎o◎|┘