Error when attempting to run Voice-Cloning

#11
by jdc4429 - opened

When I try and run the package Voice Cloning, I get the below error. I don't know how to resolve this if you could provide an answer.

Traceback (most recent call last):
File "/home/jeff/Voice-Cloning/app.py", line 58, in
ap = AudioProcessor(**C.audio)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jeff/Voice-Cloning/TTS/TTS/utils/audio.py", line 289, in init
self.mel_basis = self._build_mel_basis()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jeff/Voice-Cloning/TTS/TTS/utils/audio.py", line 311, in _build_mel_basis
return librosa.filters.mel(
^^^^^^^^^^^^^^^^^^^^
TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given

Nevermind, I figured it out... In case anyone has the same issue.

pip install librosa==0.8.0 (Fix's the takes 0 positional arguments, but 2...)
And then after that going into the file constantq.py and changing np.complex to np.complex_ and changing np.complex64 to np.complex_
fixes the complex warning. Working now finally! :P

I also found other things I had to install that were not in requirements?

pip install coqpit
pip install --no-binary :all: mecab-python3
pip install unidic-lite
pip install pypinyin
pip install jieba
pip install inflect
pip install anyascii
pip install gruut
pip install gitpython
pip install gradio

I installed this from the bottom up in case order matters. Enjoy!

jdc4429 changed discussion status to closed

Sign up or log in to comment