Skip to content
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

No module named 'nms._ext' #7

Open
CF2220160244 opened this issue Aug 3, 2018 · 10 comments
Open

No module named 'nms._ext' #7

CF2220160244 opened this issue Aug 3, 2018 · 10 comments

Comments

@CF2220160244
Copy link

I run the coco.py, but have this error:
from ._ext import nms
ModuleNotFoundError: No module named 'nms._ext'

can you solve this error, thanks!

@wannabeOG
Copy link
Owner

nms and roialign functions both require GPU support, are you running the model on a CPU?

@CF2220160244
Copy link
Author

no, I run with a GPU

@Archer-Tatsu
Copy link

@wannabeOG It seems that nms and roialign should be complied before being used. It will be better if there is some introduction about how to compile them.

@gaoyang07
Copy link

follow the instruction may help you, cause I used to met the same problem as you. https://github.com/multimodallearning/pytorch-mask-rcnn

@sunny52juli
Copy link

You should build yor nms with c Compile.

@canermercancs
Copy link

I also had a similar problem. 'python build.py' inside the nms folder solved the problem.

@nicklausZJF
Copy link

does anyone knows how to compile, i just directly run python nms/build.py, but it occurs errors below

image

@lijoe123
Copy link

follow the instruction may help you, cause I used to met the same problem as you. https://github.com/multimodallearning/pytorch-mask-rcnn

Could you +my qq373330132 I dont understand whats that mean?

@candicej
Copy link

candicej commented Jan 6, 2022

I also have the same problem. How can I solve it?

@wangtao1996study
Copy link

hello,have you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants