models
models copied to clipboard
vggish_smoke_test.py: changed the x with my own .wav file,but it didn't work
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