Hello @Henry_Sommer
When you check the shape of in the original WAV file in your dataset, what does your output show?
For example, when using the original tutorial’s mini Speech Commands dataset:
DATASET_PATH = 'data/mini_speech_commands'
test_file = tf.io.read_file(DATASET_PATH+'/down/0a9f9af7_nohash_0.wav')
test_audio, _ = tf.audio.decode_wav(contents=test_file)
test_audio.shape

Output:
TensorShape([13654, 1])

where 1 is a channel dimension (mono). So, the waveform on its own is kind of like a 1D array.



 Henry_Sommer:

InvalidArgumentError: Dimension -6522 must be >= 0
[[{{node zeros}}]] [Op:IteratorGetNext]


If you can share some code, that might help us help you with debugging.