-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running demo file #81
Comments
@raws84 Hi, I also met this error. I think it is the librosa version problem. My librosa version is 0.10.0.post2. I reinstall it with version 0.8.1 and it work. pip uninstall librosa
pip install librosa==0.8.1 |
Thanks Molian, you are right. I also figured this out. For me Librosa 0.9.2, numpy 1.23.5 and Tensorflow 2.12.0 worked while running python 3.9.16 |
There is also some minor error in how utils is called in one of the colab files.. It should be import util.utils as util. Other wise its pretty good. |
Hi @MolianWH , I run in the colab and install librosa 0.8.1. But it reports a new problem in "Step 3: Generate input data for inference based on uploaded audio MakeItTalk/examples/*.wav", do you know how to solve it?
|
Hi,
I am getting this error while running Step 3: One Click to run in colab. Can you please review and suggest a fix?
<>:74: SyntaxWarning: "is not" with a literal. Did you mean "!="?
<>:74: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Loaded Image...
:74: SyntaxWarning: "is not" with a literal. Did you mean "!="?
ains = [item for item in ains if item is not 'tmp.wav']
TypeError Traceback (most recent call last)
in <cell line: 76>()
80 # au embedding
81 from thirdparty.resemblyer_util.speaker_emb import get_spk_emb
---> 82 me, ae = get_spk_emb('examples/{}'.format(ain))
83 au_emb.append(me.reshape(-1))
84
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: