Comments (4)
可以看一下后台日志吗
from vits-simple-api.
可以看一下后台日志吗
moegoe_1 | Traceback (most recent call last):
moegoe_1 | File "/app/app.py", line 19, in
moegoe_1 | voice_obj, voice_speakers = merge_model(app.config["MODEL_LIST"])
moegoe_1 | File "/app/utils.py", line 183, in merge_model
moegoe_1 | obj = Voice(model=i[0], config=i[1], out_path=out_path)
moegoe_1 | File "/app/voice.py", line 45, in init
moegoe_1 | utils.load_checkpoint(model, self.net_g_ms)
moegoe_1 | File "/app/utils.py", line 70, in load_checkpoint
moegoe_1 | model.load_state_dict(new_state_dict)
moegoe_1 | File "/usr/local/lib/python3.9/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
moegoe_1 | raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
moegoe_1 | RuntimeError: Error(s) in loading state_dict for SynthesizerTrn:
moegoe_1 | size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([52, 192]) from checkpoint, the shape in current model is torch.Size([40, 192]).
moegoe_1 | size mismatch for emb_g.weight: copying a param with shape torch.Size([5, 256]) from checkpoint, the shape in current model is torch.Size([7, 256]).
from vits-simple-api.
尝试复现出了这个错误,原因是你的模型和config.json是不匹配的,就会出现这个错误,一定要使用该模型对应的config.json
from vits-simple-api.
已解决,config.json确实不对应,谢谢作者的解答
from vits-simple-api.
Related Issues (20)
- 特定词组单独推理无法返回音频 HOT 1
- 本地环境 pip install 安装时间太久, 似乎陷入死循环 HOT 3
- 生成的yaml文件与实际的配置路径不符,以及实例文件问题 HOT 1
- 管理员后台已加载模型但是网页前端不显示 HOT 4
- 希望大佬支持日语特化版 HOT 4
- 部署包无法启动 HOT 4
- GPT-SoVITS模型部署,已经识别出模型,但是推理的时候引用完音频后生成卡住了 HOT 1
- 目前gpt sovits的推理速度,有更新使用TorchScript推理速度优化吗? HOT 9
- 请问怎样可以与SillyTavern连接? HOT 2
- gpt sovits,你好,官方推理上是有按模式切分的参数的 HOT 7
- gpt sovits,你好,生成语音重复 HOT 6
- 支持并发请求吗? HOT 1
- SSML 合成语音时id问题 HOT 7
- 建议增加OpenAI API的兼容性接口
- 软件启动时间太长了,平均需要25秒,能否缩短启动时间呢? HOT 4
- GPT的GPT_SoVITS/text/engdict-hot.rep 配置文件怎么配置? HOT 1
- 中文特化版模型,流式推理报错 HOT 3
- 关于动态加载 gpt_sovits 的指定模型,我克隆生成的模型能否有api可以直接设置,而不需要在配置文件中配置 然后重启服务器才能用 HOT 2
- GPT-SoVITS里面增加搜索预设音频的功能 HOT 1
- id 0 does not exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vits-simple-api.