Skip to content
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

源码安装,执行python3 app.py启动报错 #193

Open
fuyuhnag168 opened this issue Jul 19, 2024 · 1 comment
Open

源码安装,执行python3 app.py启动报错 #193

fuyuhnag168 opened this issue Jul 19, 2024 · 1 comment

Comments

@fuyuhnag168
Copy link

Starting...
no GPU found, use CPU instead
Traceback (most recent call last):
File "/data/chat-tts-ui/app.py", line 69, in
chat.load(source="custom",custom_path=CHATTTS_DIR, device=None if device=='default' else device,compile=True if os.getenv('compile','true').lower()!='false' else False)
File "/data/chat-tts-ui/ChatTTS/core.py", line 126, in load
return self._load(
File "/data/chat-tts-ui/ChatTTS/core.py", line 244, in _load
torch.load(vocos_ckpt_path, weights_only=True, mmap=True)
File "/usr/local/python3/lib/python3.9/site-packages/torch/serialization.py", line 1032, in load
raise RuntimeError("mmap can only be used with files saved with "
RuntimeError: mmap can only be used with files saved with `torch.save(/data/chat-tts-ui/models/pzc163/chatTTS/asset/Vocos.pt, _use_new_zipfile_serialization=True), please torch.save your checkpoint with this option in order to use mmap.

@jianchang512
Copy link
Owner

不要使用已有的音色pt,填写音色值,然后重试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants