From aef12f0c216e1fa69506634c1b7b06c119dc1751 Mon Sep 17 00:00:00 2001 From: erogol Date: Thu, 20 Feb 2020 15:52:38 +0100 Subject: [PATCH] fix test iteratoin --- train.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/train.py b/train.py index 7bfb8751..4cf366e3 100644 --- a/train.py +++ b/train.py @@ -493,7 +493,12 @@ def evaluate(model, criterion, criterion_st, ap, global_step, epoch): use_cuda, ap, speaker_id=speaker_id, - style_wav=style_wav) + style_wav=style_wav, + truncated=False, + enable_eos_bos_chars=c.enable_eos_bos_chars, #pylint: disable=unused-argument + use_griffin_lim=True, + do_trim_silence=False) + file_path = os.path.join(AUDIO_PATH, str(global_step)) os.makedirs(file_path, exist_ok=True) file_path = os.path.join(file_path,