Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模型大小不一样 #19

Closed
kFoodie opened this issue Nov 14, 2022 · 5 comments
Closed

模型大小不一样 #19

kFoodie opened this issue Nov 14, 2022 · 5 comments

Comments

@kFoodie
Copy link

kFoodie commented Nov 14, 2022

您提供的checkpoints,大小是600M;
用您的代码跑出来的模型大小同400M。
请问这差的200M,是啥原因导致的呀?

@kFoodie
Copy link
Author

kFoodie commented Nov 14, 2022

有没有一种可能,您提供的checkpoints,用了其他数据去训练?

@GitYCC
Copy link
Owner

GitYCC commented Nov 14, 2022

因為訓練的資料和Labels不一樣。我們提供的checkpoint是訓練在in-house的資料集(品質更好、台灣發音),使用這個github的程式碼跑出的是用g2pM的資料集。所以會有所差異。

@morphr5466
Copy link

您的内部数据集有多少条训练样本呢?

@GitYCC
Copy link
Owner

GitYCC commented Nov 16, 2022

@morphr5466 Details can be found in our public paper. Thanks.

@dyustc
Copy link

dyustc commented Apr 19, 2023

用提供的模型跑inference, 报以下错误,想知道是不是和这个问题其实是同个原因呢,有什么quickfix吗?
Error(s) in loading state_dict for G2PW: size mismatch for classifier.weight: copying a param with shape torch.Size([1305, 768]) from checkpoint, the shape in current model is torch.Size([650, 768]).

@GitYCC GitYCC closed this as completed Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants