问题:
tensorflow.python.framework.errors_impl.NotFoundError: /home/wanglei/Program/TensorFlowang/TFFRCNN/lib/roi_pooling_layer/roi_pooling.so: undefined symbol: _ZTIN10tensorflow8OpKernelE
解决:
In make.sh file, addTF_LIB=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())')
at the beginning, then add-L $TF_LIB -ltensorflow_framework
behind -L $CUDA_PATH/lib64
re make, it works.
转自: