Open skq-5233 opened 4 years ago
@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
@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_
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_