sceneReco icon indicating copy to clipboard operation
sceneReco copied to clipboard

run demo.py wrong

Open weizhenzhao opened this issue 7 years ago • 5 comments

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

weizhenzhao avatar Nov 22 '18 08:11 weizhenzhao

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

freedenS avatar Nov 23 '18 07:11 freedenS

@weizhenzhao if you run it on windows

freedenS avatar Nov 23 '18 07:11 freedenS

@weizhenzhao if you run it on windows

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

Adhders avatar Jan 06 '19 10:01 Adhders

@Adhders import cython

weizhenzhao avatar Jan 07 '19 07:01 weizhenzhao

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

AIBigTruth avatar Jul 03 '19 07:07 AIBigTruth