未定義のシンボル:_ZN10tensorflow8OpKernel11TraceStringEPNS_15OpKernelContextEb
以下のエラーが発生します:
/usr/bin/python3.6 /home/daya/Deep_Learning/Keras-Tuner/HiddenLayersAndHiddenNeurons.py
2020-12-22 09:42:14.472136: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "/home/daya/Deep_Learning/Keras-Tuner/HiddenLayersAndHiddenNeurons.py", line 2, in <module>
from tensorflow import keras
File "/home/daya/.local/lib/python3.6/site-packages/tensorflow/__init__.py", line 435, in <module>
_ll.load_library(_main_dir)
File "/home/daya/.local/lib/python3.6/site-packages/tensorflow/python/framework/load_library.py", line 153, in load_library
py_tf.TF_LoadLibrary(lib)
tensorflow.python.framework.errors_impl.NotFoundError: /usr/local/lib/python3.6/dist-packages/tensorflow/core/kernels/libtfkernel_sobol_op.so: undefined symbol: _ZN10tensorflow8OpKernel11TraceStringEPNS_15OpKernelContextEb
システム構成:
Ubuntu 18.04、cuda11.1 cudnn8、GTX 1660、Tensorflow-gpu 2.4
回答
5 CPPCPPCPPCPPCPPCPPCPPCPPCPPCPP
次の問題のようです(同じ記号_ZN10tensorflow8OpKernel11TraceStringEPNS_15OpKernelContextEb
がありません):https://github.com/tensorflow/text/issues/385
Tensorflowを更新しようとしましたか?