-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/bin/ld: cannot find -ltensorflow_framework #138
Comments
i just create a ln file to /usr/bin/ via: but i got another Error when i run test, this page show the Error and solved my second error: Unfortunately, then i got a third Error... I am trying to solve that: |
Last error doesn't matter because I can still run wrap_ctc in my own code. but there is still a error when I train my data using: import warpctc_tensorflow when the num of label is 109, it got error: when I use another data witch has 4000+ labels, it got error: I get no idea.... but when I use the following code: note that my input placeholder: Could anyone help me.... |
i know why i can't run warpctc_tensorflow.ctc now ! |
换setup.py文件,pull request里面有一个支持cuda9的,然后 |
I search the tensorflow path with :
python3
then i run:
python3 setup.py install
[root@cdsw1 tensorflow_binding]# python3 setup.py install
setup.py:66: UserWarning: Assuming tensorflow was compiled without C++11 ABI. It is generally true if you are using binary pip package. If you compiled tensorflow from source with gcc >= 5 and didn't set -D_GLIBCXX_USE_CXX11_ABI=0 during compilation, you need to set environment variable TF_CXX11_ABI=1 when compiling this bindings. Also be sure to touch some files in src to trigger recompilation. Also, you need to set (or unsed) this environment variable if getting undefined symbol: _ZN10tensorflow... errors
warnings.warn("Assuming tensorflow was compiled without C++11 ABI. "
running install
running bdist_egg
running egg_info
writing top-level names to warpctc_tensorflow.egg-info/top_level.txt
writing dependency_links to warpctc_tensorflow.egg-info/dependency_links.txt
writing warpctc_tensorflow.egg-info/PKG-INFO
reading manifest file 'warpctc_tensorflow.egg-info/SOURCES.txt'
writing manifest file 'warpctc_tensorflow.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'warpctc_tensorflow.kernels' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.5/site-packages/tensorflow/include -I/usr/local/lib/python3.5/site-packages/tensorflow -I/home/users/lixuehui/env/warp-ctc/tensorflow_binding/../include -I/usr/local/cuda-10.0/include -I/home/users/lixuehui/env/warp-ctc/tensorflow_binding/include -I/usr/local/include/python3.5m -c src/ctc_op_kernel.cc -o build/temp.linux-x86_64-3.5/src/ctc_op_kernel.o -std=c++11 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -Wno-return-type -DWARPCTC_ENABLE_GPU
In file included from src/ctc_op_kernel.cc:8:0:
/usr/local/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/util/sparse/sparse_tensor.h: In static member function ‘static tensorflow::Status tensorflow::sparse::SparseTensor::Create(tensorflow::Tensor, tensorflow::Tensor, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor::VarDimArray, tensorflow::sparse::SparseTensor*)’:
/usr/local/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/util/sparse/sparse_tensor.h:68:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (order.size() != dims) {
^
/usr/local/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/util/sparse/sparse_tensor.h:72:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (shape.size() != dims) {
^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.5/site-packages/tensorflow/include -I/usr/local/lib/python3.5/site-packages/tensorflow -I/home/users/lixuehui/env/warp-ctc/tensorflow_binding/../include -I/usr/local/cuda-10.0/include -I/home/users/lixuehui/env/warp-ctc/tensorflow_binding/include -I/usr/local/include/python3.5m -c src/warpctc_op.cc -o build/temp.linux-x86_64-3.5/src/warpctc_op.o -std=c++11 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -Wno-return-type -DWARPCTC_ENABLE_GPU
g++ -pthread -shared build/temp.linux-x86_64-3.5/src/ctc_op_kernel.o build/temp.linux-x86_64-3.5/src/warpctc_op.o -L/home/users/lixuehui/env/warp-ctc/build -Wl,--enable-new-dtags,-R/home/users/lixuehui/env/warp-ctc/build -lwarpctc -ltensorflow_framework -o build/lib.linux-x86_64-3.5/warpctc_tensorflow/kernels.cpython-35m-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -ltensorflow_framework
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
could anyone help me ?
The text was updated successfully, but these errors were encountered: