Pixel2Mesh
Pixel2Mesh copied to clipboard
undefined symbol: _ZTIN10tensorflow8OpKernelE_
While running the demo code: python demo.py --image utils/examples/plane.png
I got this error:
Traceback (most recent call last):
File "demo.py", line 3, in
Does anyone experience this? My specs: Ubuntu 18.04, CUDA 10.0, CuDNN 7.4, Tensorflow 1.12, OpenCV 3.4.3.
You can refer to this URL:https://www.cnblogs.com/danpe/p/7825357.html, Because the TF_LIB compilation parameter is missing from the makefile,You should modify this file, I add TF_LIB =/usr/local/lib/python2.7/dist-packages/tensorflow I modify :tf_nndistance_so.so: tf_nndistance_g.cu.o tf_nndistance.cpp g++ -std=c++11 tf_nndistance.cpp tf_nndistance_g.cu.o -o tf_nndistance_so.so -shared -fPIC -I $(tensorflow) -lcudart -L $(cudalib) -O2 -L $(TF_LIB) -ltensorflow_framework -D_GLIBCXX_USE_CXX11_ABI=0
I made the above change and still get the same error. Did anyone find a fix?
I made the above change and still get the same error. Did anyone find a fix?
did you install tensorflow with conda? if so, try to create a new env and install tf with pip, then this issue shall be fixed