https://uberduck.ai/ logo
Hello, I'm trying to use the Uberduck Pipeline HiF...
# tacotron-2-support
a
Hello, I'm trying to use the Uberduck Pipeline HiFi-GAN Training notebook but I am left with this error on the 'Generate Mel Spectrograms' cell:
Copy code
Not 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