Hi, am running YAMNet for environmental sound classification, and I am getting an error today that I don’t get two days ago, any suggestions? and seems the problems is related to Tensorflow-IO
WARNING:tensorflow:AutoGraph could not transform <function resample at 0x7f02dddae4d0> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10
) and attach the full output.
Cause: unable to open file: libtensorflow_io.so, from paths: [‘/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so’]
caused by: [‘/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZN10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE’]
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING:tensorflow:AutoGraph could not transform <function resample at 0x7f02dddae4d0> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10
) and attach the full output.
Cause: unable to open file: libtensorflow_io.so, from paths: [‘/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so’]
caused by: [‘/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZN10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE’]
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING: AutoGraph could not transform <function resample at 0x7f02dddae4d0> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10
) and attach the full output.
Cause: unable to open file: libtensorflow_io.so, from paths: [‘/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so’]
caused by: [‘/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZN10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE’]
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
NotImplementedError Traceback (most recent call last)
in ()
76
77 while True:
—> 78 schedule.run_pending()
79 time.sleep(1)
6 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/func_graph.py in autograph_handler(*args, **kwargs)
1127 except Exception as e: # pylint:disable=broad-except
1128 if hasattr(e, “ag_error_metadata”):
→ 1129 raise e.ag_error_metadata.to_exception(e)
1130 else:
1131 raise
NotImplementedError: in user code:
File "<ipython-input-11-e741e9a3c44d>", line 30, in load_wav_16k_mono *
wav = tfio.audio.resample(wav, rate_in=sample_rate, rate_out=16000)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/audio_ops.py", line 462, in resample **
value = tf.vectorized_map(f, input)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/audio_ops.py", line 458, in f
return core_ops.io_audio_resample(
File "/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/__init__.py", line 88, in __getattr__
return getattr(self._load(), attrb)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/__init__.py", line 84, in _load
self._mod = _load_library(self._library)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/__init__.py", line 71, in _load_library
+ f"{filename}, from paths: {filenames}\ncaused by: {errs}"
NotImplementedError: unable to open file: libtensorflow_io.so, from paths: ['/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so']
caused by: ['/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZN10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE']