sadeepj / crfasrnn_keras

CRF-RNN Keras/Tensorflow version
http://crfasrnn.torr.vision
MIT License
603 stars 170 forks source link

undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv #44

Closed Suvronil closed 6 years ago

Suvronil commented 6 years ago

Hi, I encountered the above notfoundError while importing the crfasrnn layer. It was throwing the error while importing the following file high_dim_filter.so.

It got fixed while I compiled the makefile using D_GLIBCXX_USE_CXX11_ABI=1 instead of zero, in the following line.

Flags required for all cases

CFLAGS := -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -shared -fPIC -I$(TF_INC) -O2

edit : I'm using tf 1.10 in conda.