bear63 / sceneReco

ctpn+crnn Scene character recognition
942 stars 371 forks source link

run demo.py wrong #49

Open weizhenzhao opened 5 years ago

weizhenzhao commented 5 years ago

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 commented 5 years ago

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

freedenS commented 5 years ago

@weizhenzhao if you run it on windows

Adhders commented 5 years ago

@weizhenzhao if you run it on windows

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

weizhenzhao commented 5 years ago

@Adhders import cython

AIBigTruth commented 5 years ago

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