-
Notifications
You must be signed in to change notification settings - Fork 137
Description
I compiled the makefile succesfully
When I run python train_nn.py I get this error:
tensorflow.python.framework.errors_impl.NotFoundError: ./tf_nndistance_so.so: undefined symbol: _ZN10tensorflow12OpDefBuilder5InputESs
I am using a conda environment with python2.7, tensorflow 1.4 and gcc 4.8
This is my makefile:
nvcc = /usr/local/cuda-10.2/bin/nvcc
cudalib = /usr/local/cuda-10.2/lib64/
tensorflow = /home/dpshah2/.conda/envs/PSRNet/lib/python2.7/site-packages/tensorflow/include
tf_lib = /home/dpshah2/.conda/envs/PSRNet/lib/python2.7/site-packages/tensorflow
all: depthestimate/tf_nndistance_so.so depthestimate/render_balls_so.so
.PHONY : all
depthestimate/tf_nndistance_so.so: depthestimate/tf_nndistance_g.cu.o depthestimate/tf_nndistance.cpp
g++ -std=c++11 depthestimate/tf_nndistance.cpp depthestimate/tf_nndistance_g.cu.o -o depthestimate/tf_nndistance_so.so -shared -fPIC -I
depthestimate/tf_nndistance_g.cu.o: depthestimate/tf_nndistance_g.cu
depthestimate/render_balls_so.so: depthestimate/render_balls_so.cpp
g++ -std=c++11 depthestimate/render_balls_so.cpp -o depthestimate/render_balls_so.so -shared -fPIC -O2 -D_GLIBCXX_USE_CXX11_ABI=0