You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I have tried both ways to compile the RoiPooingLayer. the first one has following error :
python -c 'import tensorflow as tf; tf.load_o
p_library("PARENT_DIR/scene-graph-TF-release-master/lib/roi_pooling_layer/roi_pooling_op_gpu_cuda8.so")'
Traceback (most recent call last):
File "<string>", line 1, in
File "TENSORFLOW_PATH/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: TENSORFLOW_PATH/scene-graph-TF-release-master/lib/roi_pooling_layer/roi_pooling_op_gpu_cuda8.so: undefined symbol: _ZN10tensorflow11TensorShapeC1Ev
There are similar problems in TFFRCNN issue post(CharlesShang/TFFRCNN#2).
The solution for it is to add -D_GLIBCXX_USE_CXX11_ABI=0 g++ compile flag in make.sh, whereas in this version there is no make.sh. Then I tried to add this extra flag on sefl by myself. Then following error appears:
nvcc -std=c++11 -c -o roi_pooling_op_gpu.cu.o
roi_pooling_op_gpu.cu.cc -I $TF_INC -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC
roi_pooling_op_gpu.cu.cc:9:57: fatal error: tensorflow/core/user_ops/roi_pooling_op_gpu.h: No such file or directory
Note that I MANUALLY created .../user_ops/ and move every file under .../src/ to .../user_ops/. since there is no such folder before and maybe this is the problem.
Please help me out! Thanks !!!
The text was updated successfully, but these errors were encountered:
tzrtzr000
changed the title
Error when comping RoiPoolingLayer
Error when compilng RoiPoolingLayer
Sep 18, 2017
I have the same issue ("fatal error: tensorflow/core/user_ops/roi_pooling_op_gpu.h: No such file or directory") and it persists after I installed the correct version of tensorflow.
Hi I have tried both ways to compile the RoiPooingLayer. the first one has following error :
There are similar problems in TFFRCNN issue post(CharlesShang/TFFRCNN#2).
The solution for it is to add
-D_GLIBCXX_USE_CXX11_ABI=0
g++ compile flag in make.sh, whereas in this version there is no make.sh. Then I tried to add this extra flag on sefl by myself. Then following error appears:Please help me out! Thanks !!!
The text was updated successfully, but these errors were encountered: