daijifeng001 / MNC

Instance-aware Semantic Segmentation via Multi-task Network Cascades
Other
489 stars 182 forks source link

Error in Demo.py:No module named mv #56

Open oneHuster opened 7 years ago

oneHuster commented 7 years ago

I have finished the first two steps but got the error from nms.mv import mv ImportError: No module named mv When I make the $MNC_ROOT/lib, I got this error:`ptxas info : Used 14 registers, 352 bytes cmem[0], 4 bytes cmem[2] x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python2.7 -c nms/gpu_mv.cpp -o build/temp.linux-x86_64-2.7/nms/gpu_mv.o -Wno-unused-function cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] nms/gpu_mv.cpp:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.

error Do not use this file, it is the result of a failed Cython compilation.

^ error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 PS: I have the caffe environment already, so I did theln -s /home/caffe $MNC_ROOT/caffe` to replace the caffe-mnc.