Comments (9)
I solved the problem by adding the following compiler flags:
-
Add "--no-as-needed" to the LDFLAGS
-
My gcc version is 5.4, it also gives the following error:
"undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev"
Turns out, I also need to add "-D_GLIBCXX_USE_CXX11_ABI=0" to LDFLAGS
from attentionalpoolingaction.
It seems somehow opencv
is not getting linked correctly. Maybe look at this answer
from attentionalpoolingaction.
Similar issue here,
when running train.py, I receive the similar issue from tensorflow/python/framework/load_library.py
Opencv libs have been added to the system path.
Any updates?
from attentionalpoolingaction.
Did you try ldd .../pose_to_heatmap.so
?
from attentionalpoolingaction.
ldd pose_to_heatmap.so:
linux-vdso.so.1 => (0x00007fff6f7c3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f940c783000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f940c56c000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f940c1a3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f940be9d000)
/lib64/ld-linux-x86-64.so.2 (0x000056333169f000)
It did show any "not found" information.
My system is Ubuntu 14.04 LTS with opencv 2.4.8.
from attentionalpoolingaction.
This worked for me!
It saved me a lot of time, thank you and the owner
from attentionalpoolingaction.
After adding "-D_GLIBCXX_USE_CXX11_ABI=0" to LDFLAGS, again getting the error "undefined symbol: _ZTIN10tensorflow8OpKernelE", though I have added -L$(TF_LIB) -ltensorflow_framework to the Makefile with which the error had disappeared before, but facing the same error again. Can anyone help with this.
Thanks.
from attentionalpoolingaction.
I am using tf1.4 for which I am getting the error. I also tried with tf1.1 but running into multiple cuda issues. Hence, I will prefer if the above error can be somehow solved for tf1.4.
Thanks.
from attentionalpoolingaction.
It got solved for tf1.4 after adding paths in ~/.bashrc file.
from attentionalpoolingaction.
Related Issues (20)
- Error: /usr/bin/ld: cannot find -lboost_system HOT 3
- Infer realtime HOT 1
- HICO and HMDB51 dataset HOT 3
- Results of self training + eval are lower than reported HOT 2
- Error while compiling the custom ops HOT 1
- Parameters/HyperParameters for training HICO dataset HOT 2
- File not found: ../experiments/002_MPII_ResNet_withAttention_train+val.yaml HOT 1
- Some implementation queries on dropout, vgg16 last feature map tapping HOT 1
- Training issue about another dataset
- How to install the IlmImf and extra_component library HOT 1
- undefined symbol: _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE HOT 3
- Cannot find libs folder for tensorflow_compact_bilinear_pooling HOT 2
- ValueError: need at least one array to concatenate HOT 1
- Hello, can you write an Attentional Pooling version that caffe can use? HOT 1
- Error when running any one of the python files HOT 1
- Failed to find any matching file for resnet_v1_101.ckpt HOT 3
- undefined symbol: _ZTIN10tensorflow8OpKernelE HOT 4
- Classification Output Issue
- attentional pooling layer HOT 1
- About the a_k, b, x_a, x_b in the paper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attentionalpoolingaction.