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

python3运行demo_test.py的时候报错 #5

Open
xhappy opened this issue Oct 3, 2018 · 2 comments
Open

python3运行demo_test.py的时候报错 #5

xhappy opened this issue Oct 3, 2018 · 2 comments

Comments

@xhappy
Copy link

xhappy commented Oct 3, 2018

Traceback (most recent call last):
File "demo_ctpn.py", line 25, in
from rcnn.symbol import get_vgg_text_rpn_test, gensym
File "/home/code/CTPN.mxnet/rcnn/symbol/init.py", line 18, in
from .symbol_vgg import *
File "/home/code/CTPN.mxnet/rcnn/symbol/symbol_vgg.py", line 20, in
from . import proposal
File "/home/code/CTPN.mxnet/rcnn/symbol/proposal.py", line 29, in
from rcnn.processing.bbox_transform import bbox_pred_ctpn, clip_boxes
File "/home/code/CTPN.mxnet/rcnn/processing/bbox_transform.py", line 19, in
from ..cython.bbox import bbox_overlaps_cython
ImportError: No module named 'rcnn.cython.bbox'

安装完cython以后,pip3 install cython
在rcnn/cython目录中运行 pip3 setup.py install 命令,依然报错:

cythoning gpu_nms.pyx to gpu_nms.cpp
error: [Errno 2] No such file or directory: '/home/code/CTPN.mxnet/rcnn/cython/gpu_nms.pyx'

求帮忙解决。谢谢。

@chinakook
Copy link
Owner

我后面会加上,你可以从 https://github.com/ijkguo/mx-rcnn/tree/v5/rcnn/cython 下载

@xhappy
Copy link
Author

xhappy commented Oct 4, 2018

好的,非常感谢

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

2 participants