From 447176258c5a91518e9a76858b6e8bb1f3dcc262 Mon Sep 17 00:00:00 2001 From: SanjaESC Date: Sun, 12 Jul 2020 10:40:33 +0200 Subject: [PATCH] fix fft_size key error --- mozilla_voice_tts/tts/models/tacotron_abstract.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla_voice_tts/tts/models/tacotron_abstract.py b/mozilla_voice_tts/tts/models/tacotron_abstract.py index 13c3e948..d1148be5 100644 --- a/mozilla_voice_tts/tts/models/tacotron_abstract.py +++ b/mozilla_voice_tts/tts/models/tacotron_abstract.py @@ -177,6 +177,7 @@ class TacotronAbstract(ABC, nn.Module): elif style_input is None: gst_outputs = torch.zeros(1, 1, self.gst_embedding_dim).to(device) else: + # pylint: disable=not-callable gst_outputs = self.gst_layer(style_input) embedded_gst = gst_outputs.repeat(1, inputs.size(1), 1) return inputs, embedded_gst