babysor / babysor/MockingBird

点击合成器报错

Open
#483 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

RuntimeError: Error(s) in loading state_dict for Tacotron:
size mismatch for encoder.embedding.weight: copying a param with shape torch.Size([70, 512]) from checkpoint, the shape in current model is torch.Size([66, 512]).

这个错误怎么解决,设置了use_gst = False,已经消除几个了,还有一个,怎么解决呢

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Tacotron state_dict loading path and inspect how the encoder embedding size is configured. Compare the checkpoint shape, the current model shape, and the effect of use_gst=False; done means the synthesizer loads the checkpoint without the reported size mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.