Replies: 1 comment
-
[Archived] Runtimeerror error s in loading state dict for tacotron
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
>>> nikhilkumarbca2014
[September 6, 2019, 10:03am]
Hello, slash
I am being trying to Run TTS Web service example but i am getting the
following run-time error
'RuntimeError: Error(s) in loading state_dict for Tacotron: slash
size mismatch for embedding.weight: copying a param with shape
torch.Size( slash [61, 256 slash ]) from checkpoint, the shape in current model is
torch.Size( slash [256, 1025 slash ]).'
I am using 'best_model.pth.tar' and 'config.json' model which you
provides in below link :
'https://drive.google.com/drive/folders/1GU8WGix98WrR3ayjoiirmmbLUZzwg4n0'
my server 'conf.json' file contains :
{
'model_path':'',
'model_name':'best_model.pth.tar',
'model_config':'config.json',
'port': 5002,
'use_cuda': false
}
commit i am using:
> git checkout
> db7f3d3
Any help will be appreciated, Thanks in advance!
![:slight_smile:](
[This is an archived TTS discussion thread from discourse.mozilla.org/t/runtimeerror-error-s-in-loading-state-dict-for-tacotron]
Beta Was this translation helpful? Give feedback.
All reactions