won't start, unexpected argument vocoder_model #93

Closed
opened 2023-03-08 06:36:50 +00:00 by st33lmouse · 1 comment

Just in case you hadn't seen it. Just did a git pull

===================================BUG REPORT===================================

Running on local URL: http://127.0.0.1:7861

To create a public link, set share=True in launch().
Loading TorToiSe... (AR: /home/mouse/ai-voice-cloning/models/tortoise/autoregressive.pth, vocoder: bigvgan_24khz_100band)
Hardware acceleration found: cuda
Removing weight norm...
Traceback (most recent call last):
File "/home/mouse/ai-voice-cloning/src/utils.py", line 1886, in load_tts
tts = TextToSpeech(minor_optimizations=not args.low_vram, autoregressive_model_path=autoregressive_model, vocoder_model=args.vocoder_model)
TypeError: TextToSpeech.init() got an unexpected keyword argument 'vocoder_model'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/mouse/ai-voice-cloning/./src/main.py", line 22, in
tts = setup_tortoise()
File "/home/mouse/ai-voice-cloning/src/utils.py", line 1889, in load_tts
load_autoregressive_model(autoregressive_model)
NameError: name 'load_autoregressive_model' is not defined. Did you mean: 'autoregressive_model'?

Just in case you hadn't seen it. Just did a git pull ===================================BUG REPORT=================================== Running on local URL: http://127.0.0.1:7861 To create a public link, set `share=True` in `launch()`. Loading TorToiSe... (AR: /home/mouse/ai-voice-cloning/models/tortoise/autoregressive.pth, vocoder: bigvgan_24khz_100band) Hardware acceleration found: cuda Removing weight norm... Traceback (most recent call last): File "/home/mouse/ai-voice-cloning/src/utils.py", line 1886, in load_tts tts = TextToSpeech(minor_optimizations=not args.low_vram, autoregressive_model_path=autoregressive_model, vocoder_model=args.vocoder_model) TypeError: TextToSpeech.__init__() got an unexpected keyword argument 'vocoder_model' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/mouse/ai-voice-cloning/./src/main.py", line 22, in <module> tts = setup_tortoise() File "/home/mouse/ai-voice-cloning/src/utils.py", line 1889, in load_tts load_autoregressive_model(autoregressive_model) NameError: name 'load_autoregressive_model' is not defined. Did you mean: 'autoregressive_model'?
Owner

Just did a git pull

Either update through the update script, or run

git submodule update --remote

as you also need to update tortoise-tts.

> Just did a git pull Either update through the update script, or run ``` git submodule update --remote ``` as you also need to update tortoise-tts.
mrq closed this issue 2023-03-08 06:42:30 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#93
No description provided.