crfasrnn_keras icon indicating copy to clipboard operation
crfasrnn_keras copied to clipboard

> @panfengliHello, may I ask how this problem was finally solved?Thank you very much!

Open skq-5233 opened this issue 4 years ago • 0 comments

@panfengli Could you tell me that where should I fixed using the follow code?Thank you!

TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') ) TF_LFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))') )

g++ -std=c++11 -shared high_dim_filter.cc modified_permutohedral.cc -o high_dim_filter.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2

These can be run as terminal commands. I'm using tensorflow 1.10 and these commands removed the error for me

Originally posted by @qchenclaire in https://github.com/sadeepj/crfasrnn_keras/issues/53#issuecomment-457768795

skq-5233 avatar Jun 18 '20 05:06 skq-5233