babysor / babysor/MockingBird

RuntimeError: Error(s) in loading state_dict for Tacotron: size mismatch for gst.stl.attention.W_query.weight: copying a param with shape torch.Size([512, 256]) from checkpoint, the shape in current model is torch.Size([512, 512]).

Open
#957 7 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

**Summary[问题简述(一句话)]**
A clear and concise description of what the issue is.
RuntimeError: Error(s) in loading state_dict for Tacotron: size mismatch for gst.stl.attention.W_query.weight: copying a param with shape torch.Size([512, 256]) from checkpoint, the shape in current model is torch.Size([512, 512]).
**Env & To Reproduce[复现与环境]**
描述你用的环境、代码版本、模型

**Screenshots[截图(如有)]**
If applicable, add screenshots to help
![2023-09-06 16-40-19 的屏幕截图](https://github.com/babysor/MockingBird/assets/38565403/6460849b-0df0-423d-a8a5-aaa9a4a711e4)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides no repository file, test, environment, code version, or model path. Start by reproducing the reported state_dict load and compare the checkpoint's gst.stl.attention.W_query.weight shape with the current Tacotron model; done when a supported checkpoint loads without the reported mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, 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.