EC-Net icon indicating copy to clipboard operation
EC-Net copied to clipboard

Not able to build .so files(shared library files)

Open tsantosh1098 opened this issue 5 years ago • 0 comments

Hello, I am working upsampling of point cloud using Ec-net https://github.com/yulequan/EC-Net to upsample the point cloud. now to run things parallel recent people have written cuda enabled kernals and tensorflow operators to use them under tensorflow... now there are 3 shared libraries getting generated in the project.

case 1: if I use tensorflow==1.14.0 the shared file gets generated but when I try to use that, I get following error tensorflow.python.framework.errors_impl.NotFoundError: code/tf_ops/emd/tf_auctionmatch_so.so: undefined symbol: _ZN10tensorflow12OpDefBuilder5InputENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

case 2: if I use tensorflow==1.15.0, i get /usr/bin/ld: cannot find -ltensorflow_framework

but when i go and check in /usr/local/lib/python3.6/dist-packages/tensorflow/ I get this following libtensorflow_framework.so@

but at the same time if I go and check for tf flags, import tensorflow as tf tf.sysconfig.get_link_flags()

['-L/usr/local/lib/python3.6/dist-packages/tensorflow_core', '-l:libtensorflow_framework.so.1']

plz help me to solve this problem. thanks in advance

tsantosh1098 avatar May 15 '20 18:05 tsantosh1098