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
TypeError Traceback (most recent call last) in <cell line: 6>()
10 # au embedding
11 from thirdparty.resemblyer_util.speaker_emb import get_spk_emb
---> 12 me, ae = get_spk_emb('examples/{}'.format(ain))
13 au_emb.append(me.reshape(-1))
14
1 frames /usr/local/lib/python3.9/dist-packages/resemblyzer/audio.py in preprocess_wav(fpath_or_wav, source_sr)
31 # Resample the wav
32 if source_sr is not None:
---> 33 wav = librosa.resample(wav, source_sr, sampling_rate)
34
35 # Apply the preprocessing: normalize volume and shorten long silences
TypeError: resample() takes 1 positional argument but 3 were given
The text was updated successfully, but these errors were encountered:
TypeError Traceback (most recent call last)
in <cell line: 6>()
10 # au embedding
11 from thirdparty.resemblyer_util.speaker_emb import get_spk_emb
---> 12 me, ae = get_spk_emb('examples/{}'.format(ain))
13 au_emb.append(me.reshape(-1))
14
1 frames
/usr/local/lib/python3.9/dist-packages/resemblyzer/audio.py in preprocess_wav(fpath_or_wav, source_sr)
31 # Resample the wav
32 if source_sr is not None:
---> 33 wav = librosa.resample(wav, source_sr, sampling_rate)
34
35 # Apply the preprocessing: normalize volume and shorten long silences
TypeError: resample() takes 1 positional argument but 3 were given
The text was updated successfully, but these errors were encountered: