Faster-RCNN_TF
Faster-RCNN_TF copied to clipboard
Failed to run demo
Tried running demo.py and hit the following error:
aise errors._make_specific_exception(None, None, error_msg, error_code) tensorflow.python.framework.errors.NotFoundError: ~/Faster-RCNN_TF/tools/../lib/roi_pooling_layer/roi_pooling.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumE
My system had Tensorflow v0.11.0 installed, and I was Python 2.7.
Thanks! cloud
maybe you should install tensorflow from source code
do U solve this problem? @cloudtoro
I have the same problem, any one solve it?
I see this error when I try to run the implementation in the environment with TensorFlow CPU-only installed.
@cloudtoro have you sovle this problem? I hava the same problem.
adding -D_GLIBCXX_USE_CXX11_ABI=0 in g++ complie line in make.sh file and re-run make
I had resolved the problem by modifying the make.sh as follows
``
nvcc -std=c++11 -c -o roi_pooling_op.cu.o roi_pooling_op_gpu.cu.cc
-I $TF_INC -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -arch=sm_52
#if you install tf using already-built binary, or gcc version 4.x, uncomment the two lines below
g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=0 -o roi_pooling.so roi_pooling_op.cc
roi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64
#for gcc5-built tf
#g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=1 -o roi_pooling.so roi_pooling_op.cc
#roi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64
cd ..
#add building psroi_pooling layer
cd psroi_pooling_layer
nvcc -std=c++11 -c -o psroi_pooling_op.cu.o psroi_pooling_op_gpu.cu.cc
-I $TF_INC -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -arch=sm_52
#g++ -std=c++11 -shared -o psroi_pooling.so psroi_pooling_op.cc
#psroi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64
#if you install tf using already-built binary, or gcc version 4.x, uncomment the two lines below
g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=0 -o psroi_pooling.so psroi_pooling_op.cc
psroi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64
@civilman628 thanks, your answer helped me!
I am still seeing this error even though it seems like a fix has been pushed
adding -D_GLIBCXX_USE_CXX11_ABI=0 in g++ complie line in make.sh file and re-run make
but how?