frobelbest / BANet

Source Code for the Paper BA-Net: Dense Bundle Adjustment Network
298 stars 21 forks source link

utils.so failed to load #6

Open XiaoshuiHuang opened 4 years ago

XiaoshuiHuang commented 4 years ago

When I use complied utils.cu using build_util.sh, I can generate a .so file with many warnings. However, I got an error when I tried to use "util=tf.load_op_library('./utils.so')" to load the library. For example, the code get an error when runs to line 11 in ba.py. The error is ./utils.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv

Do you how to solve this issue?

frobelbest commented 4 years ago

Hi try -D_GLIBCXX_USE_CXX11_ABI=0 first to see if it works.

XiaoshuiHuang commented 4 years ago

tried. Still not work. Which version of tensorflow are you using? I tested on tensorflow 2.2, tensorflow 1.14, tensorflow 1.15. All of them are not working.

frobelbest commented 4 years ago

@XiaoshuiHuang I send you a email, please check.

esuhio commented 4 years ago

Please also send me an email, thanks!