Incubator-mxnet: No module named bbox when running faster-cnn exampl

Created on 31 Jan 2017  ·  6Comments  ·  Source: apache/incubator-mxnet

trying to reproduce the faster-rcnn tutorial as in http://mxnet.io/tutorials/computer_vision/detection.html
running
python train_alternate.py --gpus 0

yields this error:
Traceback (most recent call last):
File "train_alternate.py", line 7, in
from rcnn.tools.train_rpn import train_rpn
File "/mnt/gelu/mxnet/example/rcnn/rcnn/tools/train_rpn.py", line 7, in
from ..symbol import *
File "/mnt/gelu/mxnet/example/rcnn/rcnn/symbol/__init__.py", line 1, in
from symbol_vgg import *
File "/mnt/gelu/mxnet/example/rcnn/rcnn/symbol/symbol_vgg.py", line 2, in
import proposal
File "/mnt/gelu/mxnet/example/rcnn/rcnn/symbol/proposal.py", line 11, in
from rcnn.processing.bbox_transform import bbox_pred, clip_boxes
File "/mnt/gelu/mxnet/example/rcnn/rcnn/processing/bbox_transform.py", line 2, in
from ..cython.bbox import bbox_overlaps_cython
ImportError: No module named bbox

I've tried searching on bbox module but could not find it anywhere. My mxnet is compiled in ubuntu 16 with cuda and cdnn support

All 6 comments

Please follow the readme you need to compile extra operators

Thanks for the reply,

Emm...Are you ok?
I had the same problem.Could you please tell me how to deal with the things?

Look this step:

bash script/vgg_voc07.sh 0

reply:
Traceback (most recent call last):
File "train_end2end.py", line 8, in
from rcnn.symbol import *
File "F:\mxnet\example\rcnn\rcnn\symbol__init__.py", line 1, in
from symbol_vgg import *
File "F:\mxnet\example\rcnn\rcnn\symbol\symbol_vgg.py", line 2, in
import proposal
File "F:\mxnet\example\rcnn\rcnn\symbol\proposal.py", line 11, in
from rcnn.processing.bbox_transform import bbox_pred, clip_boxes
File "F:\mxnet\example\rcnn\rcnn\processing\bbox_transform.py", line 2, in
from ..cython.bbox import bbox_overlaps_cython
ImportError: No module named bbox
Traceback (most recent call last):
File "test.py", line 4, in
from rcnn.tools.test_rcnn import test_rcnn
File "F:\mxnet\example\rcnn\rcnn\tools\test_rcnn.py", line 6, in
from ..symbol import *
File "F:\mxnet\example\rcnn\rcnn\symbol__init__.py", line 1, in
from symbol_vgg import *
File "F:\mxnet\example\rcnn\rcnn\symbol\symbol_vgg.py", line 2, in
import proposal
File "F:\mxnet\example\rcnn\rcnn\symbol\proposal.py", line 11, in
from rcnn.processing.bbox_transform import bbox_pred, clip_boxes
File "F:\mxnet\example\rcnn\rcnn\processing\bbox_transform.py", line 2, in
from ..cython.bbox import bbox_overlaps_cython
ImportError: No module named bbox

Why closed the issue? @Gelu74 @piiswrong

That's all right.
I found ..cython.bbox.pyx and setup.py
then I open cmd and input python setup.py install
get another error:
EnvironmentError: The CUDA nvcc path could not be located in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc
but I really don't have folder-nvcc,I have nvcc.exe and nvcc.profile

who knows where is the folder?

I have met the same error with you.Have you solved this problem? @lightningsoon

use linux to slove

发自网易邮箱大师
On 03/02/2017 15:20, niluanwudidadi wrote:

I have met the same error with you.Have you solved this problem? @lightningsoon


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Was this page helpful?
0 / 5 - 0 ratings