You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the architecture of the model and the total receptive field, it causes errors for input text shorter than 13 characters.
This can be fixed by padding the input text with empty characters.
(venv) $ tts --model_name tts_models/en/ljspeech/speedy-speech-wn --text "Hey Bruce, what's good in the neighborhood?" > tts_models/en/ljspeech/speedy-speech-wn is already downloaded. > vocoder_models/en/ljspeech/multiband-melgan is already downloaded. > Using model: speedy_speechTraceback (most recent call last): File "/home/josh/venv/bin/tts", line 8, in <module> sys.exit(main()) File "/home/josh/venv/lib/python3.6/site-packages/TTS/bin/synthesize.py", line 190, in main synthesizer = Synthesizer(model_path, config_path, vocoder_path, vocoder_config_path, args.use_cuda) File "/home/josh/venv/lib/python3.6/site-packages/TTS/utils/synthesizer.py", line 47, in __init__ use_cuda) File "/home/josh/venv/lib/python3.6/site-packages/TTS/utils/synthesizer.py", line 96, in load_tts self.tts_model.load_checkpoint(tts_config, tts_checkpoint, eval=True) File "/home/josh/venv/lib/python3.6/site-packages/TTS/tts/models/speedy_speech.py", line 196, in load_checkpoint self.load_state_dict(state['model']) File "/home/josh/venv/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1224, in load_state_dict self.__class__.__name__, "\n\t".join(error_msgs)))RuntimeError: Error(s) in loading state_dict for SpeedySpeech: size mismatch for emb.weight: copying a param with shape torch.Size([129, 128]) from checkpoint, the shape in current model is torch.Size([130, 128]).
Due to the architecture of the model and the total receptive field, it causes errors for input text shorter than 13 characters.
This can be fixed by padding the input text with empty characters.
Thanks, @JRMeyer, for pointing this out 👑
The text was updated successfully, but these errors were encountered: