I am quiet new to tensorflow, and was playing with audio decoding, but IO lib seems to be completely broken for MacOS running on apple silicon M1/M2/M3/M4
mac m1: AttributeError: module ‘56c055b4afaba95af0256db7c72edd0d967e1981’ has no attribute ‘io_audio_decode_wav’
I tried to find any work around, but again, imma noob.
opened 03:48AM - 12 Sep 23 UTC
python3 env: 3.9.6
tfio version: 0.34.0
<img width="748" alt="Screenshot 20… 23-09-12 at 11 46 20" src="https://github.com/tensorflow/io/assets/4906435/7d51ee35-395f-4af6-b844-ce4502c196ab">
opened 09:16AM - 17 Sep 23 UTC
I got an error `no attribute io_audio_readable_init` on M1 Max MBP with Python 3… .10.
```shell
pip install tensorflow-io==0.34.0 tensorflow==2.13.0 tensorflow-metal==1.0.1
```
Run the tfio example code:
```python
import tensorflow_io as tfio
audio = tfio.audio.AudioIOTensor('gs://cloud-samples-tests/speech/brooklyn.flac')
```
Then got the error `no attribute 'io_audio_readable_init'` for `AudioIOTensor`:
```console
File [~/VENV/tfio3.10/lib/python3.10/site-packages/tensorflow_io/python/ops/audio_ops.py:671](https://file+.vscode-resource.vscode-cdn.net/Users/yingding/VCS/github/ml/tf-every-day/08Audio/~/VENV/tfio3.10/lib/python3.10/site-packages/tensorflow_io/python/ops/audio_ops.py:671), in AudioIOTensor.__init__(self, filename, dtype)
669 if not tf.executing_eagerly():
670 assert dtype is not None, "dtype must be provided in graph mode"
--> 671 resource = core_ops.io_audio_readable_init(filename)
672 if tf.executing_eagerly():
673 shape, dtype, rate = core_ops.io_audio_readable_spec(resource)
File [~/VENV/tfio3.10/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:88](https://file+.vscode-resource.vscode-cdn.net/Users/yingding/VCS/github/ml/tf-every-day/08Audio/~/VENV/tfio3.10/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:88), in LazyLoader.__getattr__(self, attrb)
87 def __getattr__(self, attrb):
---> 88 return getattr(self._load(), attrb)
AttributeError: module '56c055b4afaba95af0256db7c72edd0d967e1981' has no attribute 'io_audio_readable_init'
```
The root cause might be the same, which also is causing https://github.com/tensorflow/io/issues/1855
Any suggestion how to deal with it? There are seem to be quiet a lot of build issues on Apple Silicon
There are seem to be quiet a lot of Apple Silicon issues
opened 08:04PM - 06 Feb 22 UTC
Hi Im trying to use Tensorflow.io while im learning object detection with this t… utorial: https://www.youtube.com/watch?v=yqkISICHH-U&t=9352s and while im training my model I noticed an import of Tensorflow.io but I cannot install it. I try "pip install tenorflow.io" but I get error like:
ERROR: Could not find a version that satisfies the requirement tensorflow.io (from versions: none)
ERROR: No matching distribution found for tensorflow.io