Giter Site home page Giter Site logo

Comments (9)

ranchlai avatar ranchlai commented on May 30, 2024

please use this commit: c008dd7
git reset c008dd7

from mandarin-tts.

LifaSun avatar LifaSun commented on May 30, 2024

Thanks!

from mandarin-tts.

cui7616 avatar cui7616 commented on May 30, 2024

碰到了同样的问题,没明白怎么修改?

from mandarin-tts.

zhibin86 avatar zhibin86 commented on May 30, 2024

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.

Yanshang1991 avatar Yanshang1991 commented on May 30, 2024

大佬,我也到这个问题了。要怎么解决?

from mandarin-tts.

ranchlai avatar ranchlai commented on May 30, 2024

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.

lee9871 avatar lee9871 commented on May 30, 2024

大佬,我也到这个问题了,麻烦 能不能说下 我咋直接 改代码,不知道原因是啥

from mandarin-tts.

ranchlai avatar ranchlai commented on May 30, 2024

旧版本:可使用biaobei分支:git checkout biaobei.

新版本:试试mtts分支,以后只维护这个分支。

from mandarin-tts.

YYouFuYuan avatar YYouFuYuan commented on May 30, 2024

我也碰到了这个问题,而且用git reset c008dd7也找不到仓库,还有其他解决办法吗

from mandarin-tts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.