ctpn-crnn icon indicating copy to clipboard operation
ctpn-crnn copied to clipboard

ModuleNotFoundError: No module named 'Utils.bbox.bbox'

Open guxiaowei1 opened this issue 5 years ago • 1 comments

running install running build running build_ext building 'bbox' extension creating build creating build/temp.linux-x86_64-3.7 gcc -pthread -B /home/xu519/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/xu519/anaconda3/include/python3.7m -c bbox.c -o build/temp.linux-x86_64-3.7/bbox.o In file included from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:0, from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from bbox.c:283: /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by "
^ In file included from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from bbox.c:283: /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ creating build/lib.linux-x86_64-3.7 gcc -pthread -shared -B /home/xu519/anaconda3/compiler_compat -L/home/xu519/anaconda3/lib -Wl,-rpath=/home/xu519/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/bbox.o -o build/lib.linux-x86_64-3.7/bbox.cpython-37m-x86_64-linux-gnu.so running install_lib copying build/lib.linux-x86_64-3.7/bbox.cpython-37m-x86_64-linux-gnu.so -> /home/xu519/anaconda3/lib/python3.7/site-packages running install_egg_info Writing /home/xu519/anaconda3/lib/python3.7/site-packages/UNKNOWN-0.0.0-py3.7.egg-info running install running build running build_ext building 'nms' extension gcc -pthread -B /home/xu519/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/xu519/anaconda3/include/python3.7m -c nms.c -o build/temp.linux-x86_64-3.7/nms.o In file included from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:0, from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from nms.c:283: /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by "
^ In file included from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from nms.c:283: /home/xu519/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ gcc -pthread -shared -B /home/xu519/anaconda3/compiler_compat -L/home/xu519/anaconda3/lib -Wl,-rpath=/home/xu519/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/nms.o -o build/lib.linux-x86_64-3.7/nms.cpython-37m-x86_64-linux-gnu.so running install_lib copying build/lib.linux-x86_64-3.7/nms.cpython-37m-x86_64-linux-gnu.so -> /home/xu519/anaconda3/lib/python3.7/site-packages running install_egg_info Removing /home/xu519/anaconda3/lib/python3.7/site-packages/UNKNOWN-0.0.0-py3.7.egg-info Writing /home/xu519/anaconda3/lib/python3.7/site-packages/UNKNOWN-0.0.0-py3.7.egg-info

guxiaowei1 avatar Jun 15 '19 02:06 guxiaowei1

你的电脑没有GPU吧,这个默认安装的是GPU版本,只有CPU的话 参考这个https://github.com/eragonruan/text-detection-ctpn/issues/43

hwwu avatar Jun 17 '19 03:06 hwwu