Comments (9)
please use this commit: c008dd7
git reset c008dd7
from mandarin-tts.
Thanks!
from mandarin-tts.
碰到了同样的问题,没明白怎么修改?
from mandarin-tts.
Hey, I got the same issue. Can you tell me how to fix it.
Thanks a lot.
loading model from ./checkpoint/checkpoint_500000.pth
Traceback (most recent call last):
File "synthesize.py", line 123, in
model = build_model().to(device)
File "synthesize.py", line 50, in build_model
model.load_state_dict(sd)
File "/home/jingjia/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1044, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for FastSpeech2:
Missing key(s) in state_dict: "decoder.speaker_fc.weight".
size mismatch for encoder.position_enc: copying a param with shape torch.Size([1, 1001, 256]) from checkpoint, the shape in current model is torch.Size([1, 2001, 256]).
size mismatch for decoder.position_enc: copying a param with shape torch.Size([1, 1001, 256]) from checkpoint, the shape in current model is torch.Size([1, 2001, 256]).
from mandarin-tts.
大佬,我也到这个问题了。要怎么解决?
from mandarin-tts.
Sorry for late reply.
I should fix this error by opening another branch for aishell3 (multispeaker with speaker embedding), but since I don't have enough time, a simple solution to this error is reset to the biaobei version
Solution:
git clone https://github.com/ranchlai/mandarin-tts.git
cd mandarin-tts
git reset c008dd766d4c72709864df6d41854b44ccf96eea --hard
python synthesize.py --input="您的电话余额不足,请及时充值"
It should work
from mandarin-tts.
大佬,我也到这个问题了,麻烦 能不能说下 我咋直接 改代码,不知道原因是啥
from mandarin-tts.
旧版本:可使用biaobei分支:git checkout biaobei.
新版本:试试mtts分支,以后只维护这个分支。
from mandarin-tts.
我也碰到了这个问题,而且用git reset c008dd7也找不到仓库,还有其他解决办法吗
from mandarin-tts.
Related Issues (20)
- 自己的数据,训练效果不理想 HOT 2
- 语音速度控制
- unable to pronounce some pinyins
- 关于vocoder模型下载的问题
- unable to train biaobei HOT 1
- 使用git clone 无法获得源代码 HOT 3
- AttributeError: module 'distutils' has no attribute 'version' 这个什么意思啊
- FileNotFoundError: [Errno 2] No such file or directory: '/home/xgj/checkpoints/vctk_pretrained_model_3180.pt'
- input.txt 文件后面的那个数字是什么意思,谁回答一下。。
- 输入VIP出现问题。如何识别英文呢? python ../../mtts/text/gp2py.py -t "请谢国俊到VIP八诊室就诊"
- Good Job!Learn a lot, THX.
- AISHELL3某些数据生成梅尔频谱失败的问题 HOT 4
- 是否有java版的?
- 示例命令行有误 HOT 1
- 语速忽快
- 项目缺少license文件,想要一个license
- 能否提供inference模型参数
- AttributeError: module 'numpy' has no attribute 'complex'.
- 可能是单词错了
- [CONTRIBUTION] Speech Dataset Generator
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 mandarin-tts.