Closed qnkhuat closed 6 years ago
It seems that the error relates to your "numpy". Do you install "numpy" in your Python?
I solved this problem. But I've been had a new one. Crnn can't find the libthpp in torch. And I didn't find anyway to install it ~~
hi qnkhuat i faced with error when i run make -j8 , What is your system specifications ؟ versions of cuda ? cuddn ? opencv ? Where did you install exactly? dependences .
I've just follow the instructions and configure the Makefile.config. g++-5 cuda8.0 cudnn V5 opencv3.0 I install all this in conda env
compile caffe and python is ok. when i compile crnn with this command : sh build_cpp.sh , i faced this error :
mm@mm:~/TextBoxes_plusplus/crnn/src$ sh build_cpp.sh
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LUAT_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
THC_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
THPP_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
TH_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
-- Configuring incomplete, errors occurred! See also "/home/mm/TextBoxes_plusplus/crnn/src/cpp/build/CMakeFiles/CMakeOutput.log". make: ** No targets specified and no makefile found. Stop. cp: cannot stat '.so': No such file or directory
I'm getting this error when run make py.
And I wonder does successfully install make -j8 suppose to display like that?