AppData 174
08/19/2022, 1:14 PMNot using any style tokens
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-10-a8fe2391cead> in <module>
56
57 device = "cuda:0"
---> 58 taco.from_pretrained(warm_start_path="TTSModel.pt", device="cpu")
59 if device != "cpu":
60 taco.cuda()
1 frames
/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in load_state_dict(self, state_dict, strict)
1405 if len(error_msgs) > 0:
1406 raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
-> 1407 self.__class__.__name__, "\n\t".join(error_msgs)))
1408 return _IncompatibleKeys(missing_keys, unexpected_keys)
1409
RuntimeError: Error(s) in loading state_dict for Tacotron2:
size mismatch for embedding.weight: copying a param with shape torch.Size([148, 512]) from checkpoint, the shape in current model is torch.Size([160, 512]). Also I do not know where to upload the wavs