You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{function_node __wrapped__DecodeWav_device_/job:localhost/replica:0/task:0/device:CPU:0}} Bad format chunk size for WAV: Expected 16 or 18, but got40 [Op:DecodeWav] name:
#590
Closed
RonKat2008 opened this issue
Jan 15, 2024
· 1 comment
I am currently trying to compile this code:
file_contents = tf.io.read_file(Not_Parkinson_File)
wav, sample_rate = tf.audio.decode_wav(file_contents, desired_channels=1)
wav = tf.squeeze(wav, axis=-1)
sample_rate = tf.cast(sample_rate, dtype=tf.int64)
wav = tfio.audio.resample(wav, rate_in=sample_rate, rate_out=16000)
And I am getting this error : {{function_node _wrapped__DecodeWav_device/job:localhost/replica:0/task:0/device:CPU:0}} Bad format chunk size for WAV: Expected 16 or 18, but got40 [Op:DecodeWav] name:
Does anyone know how to fix this?
The text was updated successfully, but these errors were encountered:
I am currently trying to compile this code:
file_contents = tf.io.read_file(Not_Parkinson_File)
wav, sample_rate = tf.audio.decode_wav(file_contents, desired_channels=1)
wav = tf.squeeze(wav, axis=-1)
sample_rate = tf.cast(sample_rate, dtype=tf.int64)
wav = tfio.audio.resample(wav, rate_in=sample_rate, rate_out=16000)
And I am getting this error : {{function_node _wrapped__DecodeWav_device/job:localhost/replica:0/task:0/device:CPU:0}} Bad format chunk size for WAV: Expected 16 or 18, but got40 [Op:DecodeWav] name:
Does anyone know how to fix this?
The text was updated successfully, but these errors were encountered: