0

我尝试使用 Anaconda 3 在两台不同的机器上直接通过控制台执行 MozillaTTS,我得到了相同的错误消息:

第一个是Centos 6.11 第二个是虚拟机Ubuntu 18.4(主机是Windows 10)

在两台机器上,我都安装了 Python 3.8.10。当我使用自己的 tts 模型执行英语句子时,我得到了一个非常机器人的声音。但是当我执行以下语句时:

tts –text “Este es un ejemlo en castellano” --config_path config.json --model_path best_model.pth.tar --out_path OUTPUT/ejemlo.wav --vocoder_path vocoder_model.pth.tar --vocoder_config_path config_vocoder.json

我正在使用自己的模型(通过培训获得)我收到以下警告消息:

[W NNPACK.cpp:79] 无法初始化 NNPACK!原因:不支持的硬件。

以及以下错误消息:

RuntimeError: Error(s) in loading state_dict for Tacotron2: size mismatch for embedding.weight: copying a param with shape torch.Size([129,512]) from checkpoint, the shape in current model is torch.Size([130,512]).

我不知道会出现什么问题,因为我在一些 Windows 10 机器上安装了 TTS 并且我没有遇到问题。

非常感谢你的帮助

4

0 回答 0