-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name '_mask' from 'pycocotools' #611
Comments
a silly workaround is just commenting out
from lib/pycocotools/coco.py |
So ... is this indeed a feasible and correct way to solve this problem? |
My take is that masks are used for instance segmentation tasks and not detection tasks. That's why you can simply comment out and still work frcnn😇 |
なるほど…僕の理解がずれてました… lib/pycocotools/coco.py で見つからないです。 |
You can install In other hand, you can compile _mask module from .pyx file with cython. |
@shirui-japina Another good workaround is installing pycocotools properly. This should work for Linux. |
Thanks for your comment.
So then I installed Visual Studio, but it doesn't work. |
Thanks for your comment. |
ImportError: cannot import name '_mask' from 'pycocotools'
how can I fix it? thanks.
The text was updated successfully, but these errors were encountered: