Open ltn614 opened 7 years ago
+1
+1
+1
+1
+1
Ensure you delete the build
and dist
directories in the tensorflow_binding
directory after applying fix, works for me
happend to see the same problem when binding with tf 1.1.0, though python setup.py test
can not run correctly, but I can still use warp-ctc by installing python setup.py install
, it seems it does not affect the results
I am facing the problem, I tried set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0") in CmakeList file, it doesn't work, also tried add -D_GLIBCXX_USE_CXX11_ABI=0 in setup.py, it doesn't work too, I paste my error message:
python lstm_warpCTC.py Traceback (most recent call last): File "lstm_warpCTC.py", line 10, in
import warpctc_tensorflow
File "/home/jason/anaconda3/lib/python3.5/site-packages/warpctc_tensorflow-0.1-py3.5-linux-x86_64.egg/warpctc_tensorflow/init.py", line 7, in
_warpctc = tf.load_op_library(lib_file)
File "/home/jason/anaconda3/lib/python3.5/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: /home/jason/anaconda3/lib/python3.5/site-packages/warpctc_tensorflow-0.1-py3.5-linux-x86_64.egg/warpctc_tensorflow/kernels.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS08AlphaNumES3