mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

No module named bbox when running faster-cnn exampl

Open Lopezurrutia opened this issue 9 years ago • 6 comments

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

Lopezurrutia avatar Jan 31 '17 18:01 Lopezurrutia

Please follow the readme you need to compile extra operators

piiswrong avatar Jan 31 '17 19:01 piiswrong

Thanks for the reply,

Lopezurrutia avatar Jan 31 '17 20:01 Lopezurrutia

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

lightningsoon avatar Feb 04 '17 08:02 lightningsoon

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?

lightningsoon avatar Feb 04 '17 09:02 lightningsoon

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

niluanwudidadi avatar Mar 02 '17 07:03 niluanwudidadi

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.

lightningsoon avatar Mar 10 '17 01:03 lightningsoon