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

run demo.py wrong #49

Open
weizhenzhao opened this issue Nov 22, 2018 · 5 comments
Open

run demo.py wrong #49

weizhenzhao opened this issue Nov 22, 2018 · 5 comments

Comments

@weizhenzhao
Copy link

weizhenzhao commented Nov 22, 2018

Hi Dear

when I run
python demo.py
it shows the following error:
[root@localhost sceneReco]# python demo.py
Traceback (most recent call last):
File "demo.py", line 2, in
from ctpnport import *
File "/root/Desktop/sceneReco/ctpnport.py", line 29, in
from detectors import TextProposalDetector, TextDetector
File "./CTPN/src/detectors.py", line 4, in
from utils.cpu_nms import cpu_nms as nms
ImportError: No module named cpu_nms

How could I handle that?

Thanks
weizhen

@freedenS
Copy link

@weizhenzhao
You should generate cpu_nms.pyd by cpu_nms.pyx

@freedenS
Copy link

@weizhenzhao if you run it on windows

@Adhders
Copy link

Adhders commented Jan 6, 2019

@weizhenzhao if you run it on windows

I get the same error in ubantu_16.04 , how do i deal with it?

@weizhenzhao
Copy link
Author

@Adhders import cython

@AIBigTruth
Copy link

how generate cpu_nms.pyd by cpu_nms.pyx in win10?

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

4 participants