2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
32.2k stars 3.49k forks source link

WARNING:ChatTTS.core:vocos not initialized. #14

Closed lyzhang1999 closed 5 months ago

lyzhang1999 commented 5 months ago

When I try to run this code:

chat = ChatTTS.Chat()
chat.load_models()

output:

WARNING:ChatTTS.utils.gpu_utils:No GPU found, use CPU instead
INFO:ChatTTS.core:use cpu
WARNING:ChatTTS.core:vocos not initialized.
WARNING:ChatTTS.core:gpt not initialized.
WARNING:ChatTTS.core:tokenizer not initialized.
WARNING:ChatTTS.core:dvae not initialized.

How can I solve this problem?

zou8944 commented 5 months ago

@lyzhang1999 how did you solve this problem finally ?

kwin1412 commented 5 months ago

when you download models in local,using with

chat = ChatTTS.Chat()

chat.load_models(
    source="local",
    local_path="./"
)
KiwiHana commented 4 months ago

source="local", local_path="./"

chat.load_models(source="local",local_path="./")

TypeError: Chat.load_models() got an unexpected keyword argument 'source'

./asset ./config ./run.py