tensorflow / io

Dataset, streaming, and file system extensions maintained by TensorFlow SIG-IO
Apache License 2.0
699 stars 281 forks source link

mac m1: AttributeError: module '56c055b4afaba95af0256db7c72edd0d967e1981' has no attribute 'io_audio_decode_wav' #1855

Open Mddct opened 1 year ago

Mddct commented 1 year ago

python3 env: 3.9.6 tfio version: 0.34.0

Screenshot 2023-09-12 at 11 46 20
inf17101 commented 8 months ago

I have the same issue when trying to do a transer learning example of tensorflow which strongly depends on tensorflow-io: https://www.tensorflow.org/tutorials/audio/transfer_learning_audio

I need tensorflow-io becaue it is easier to work with it when using tensorflow datasets. So it would be great if a workaround would be mentioned or the bug will be fixed.

I have replaced the tensorflow-io audio processing code with librosa on mac but it is still not very handy to work with variable sized arrays when not having tensorflow datasets or tensors.

So hopefully this is fixed soon.