models icon indicating copy to clipboard operation
models copied to clipboard

vggish_smoke_test.py: changed the x with my own .wav file,but it didn't work

Open Sarahsus opened this issue 2 years ago • 0 comments

Prerequisites

#the raw data and code

x = np.sin(2 * np.pi * freq * t)

#input_batch = vggish_input.waveform_to_examples(x, sr)

#my data and code #wavefile audio_path="01.wav" input_batch=vggish_input.wavfile_to_examples(audio_path)

#ERROR AssertionError: Items are not equal: item=0

ACTUAL: 1 DESIRED: 3

Sarahsus avatar Oct 07 '23 08:10 Sarahsus