From 2a2a0864c15ba7e7369d07a300a0cc56302ee42e Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Fri, 14 Aug 2020 09:38:53 +0200 Subject: [PATCH] Update train_tts.py align style_input with the new config key "gst_style_input" --- mozilla_voice_tts/bin/train_tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla_voice_tts/bin/train_tts.py b/mozilla_voice_tts/bin/train_tts.py index 2b6cbfd0..80fbff95 100644 --- a/mozilla_voice_tts/bin/train_tts.py +++ b/mozilla_voice_tts/bin/train_tts.py @@ -441,7 +441,7 @@ def evaluate(model, criterion, ap, global_step, epoch, speaker_mapping=None): test_figures = {} print(" | > Synthesizing test sentences") speaker_id = 0 if c.use_speaker_embedding else None - style_wav = c.get("style_wav_for_test") + style_wav = c.get("gst_style_input") for idx, test_sentence in enumerate(test_sentences): try: wav, alignment, decoder_output, postnet_output, stop_tokens, _ = synthesis(