First of all, thanks for sharing this great repository!
I think there is an error in examples/speech_music_noise/extract_and_classify.ipynb in the function remove_short_clips. I think that you meant to write clips=np.array(clips)[good_idxs]
def remove_short_clips(clips, length=16200):
good_idxs = []
for i, clip in enumerate(clips):
audio = sf.read(clip)
audio = audio[0]
if len(audio)>=length:
good_idxs.append(i)
clips=np.array(noise_clips)[good_idxs]
return clips
First of all, thanks for sharing this great repository!
I think there is an error in
examples/speech_music_noise/extract_and_classify.ipynb
in the functionremove_short_clips
. I think that you meant to writeclips=np.array(clips)[good_idxs]
Thanks!