-
Notifications
You must be signed in to change notification settings - Fork 85
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
tensorflow.python.framework.errors_impl.NotFoundError: /home/research/data/hdrnet/hdrnet/lib/hdrnet_ops.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumE Backend TkAgg is interactive backend. Turning interactive mode on. #2
Comments
@mgharbi got similar error here, it happens at https://github.com/mgharbi/hdrnet/blob/master/hdrnet/hdrnet_ops.py#L27 Error Info: tensorflow.python.framework.errors_impl.NotFoundError: hdrnet_ops.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumE Environment: ubuntu 14.04 I solved it by add CFLAGS = -fPIC -I$(TF_INC) -O2 -D_GLIBCXX_USE_CXX11_ABI=0 in Makefile |
I unfortunately could not reproduce this error on gcc-5.0. Does adding the -D_GLIBCXX_USE_CXX11_ABI=0 flag help? I'll add it to the Makefile. |
I encountered a similar error when using gcc-5.0 on ubuntu 16.04. Adding the D_GLIBCXX_USE_CXX11_ABI=0 flag did fix it for me. (I adapted this commit from @tcassou from his fork) |
Hi all,
|
Merci Thomas, |
Salut Michael,
Thomas |
Hi to all, I have the same problem, but adding flag into Makefile doesn't help me and I still see the error. Anyone can know what can be the issue? Ubuntu 16.04; Tensorflow 1.3 built with Bazel; CUDA 8.0 |
@Rachnog I installed |
I installed tensorflow-gpu v1.0.1 and v1.3 with pip, and your solution does not work for me. |
Hi, |
@22avinash @tisawe Did you solve the problem finally? |
Hello, |
Fixed it by setting -D _GLIBCXX_USE_CXX11_ABI=1, replacing CC = c++ with CC = g++ and converting system prior gcc version to 4.8 |
Facing similar issue when we try to freeze the pretrained models ... /hdrnet/lib/hdrnet_ops.so: undefined symbol: Z37BilateralSliceApplyGradKernelLauncherRKN5Eigen9GpuDeviceEPKfPKxS4_S6_S4_S6_S4_bPfS7_S7 Using gcc 4.8, Python 2.7, Ubuntu 16.04, TF: 1.12.0, CUDA 9.0 Here is the Makefile : -
|
encountered similar problem trying to import the hdrnet_ops, the error message is as below: |
Hi, did you solve your problem? I met the same issue as you. |
Custom ops are registered by linking against libtensorflow_framework.so in TensorFlow 1.4 and above. So refactor Makefile as follows.
|
when I run the command: python train.py, it occures the error as follows:
tensorflow.python.framework.errors_impl.NotFoundError: /home/research/data/hdrnet/hdrnet/lib/hdrnet_ops.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumE
Backend TkAgg is interactive backend. Turning interactive mode on.
my tensorflow version is 1.1.0,do you know why?
The text was updated successfully, but these errors were encountered: