From 74266afc2b5b081c129a5a1390a5dfcfe137cf8c Mon Sep 17 00:00:00 2001 From: chenfeiyu Date: Mon, 25 May 2020 17:08:52 +0800 Subject: [PATCH] dv3: set p_replace_pronunciation to 0 at evaluation --- examples/deepvoice3/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/deepvoice3/utils.py b/examples/deepvoice3/utils.py index a0e8c7d..c600f5b 100644 --- a/examples/deepvoice3/utils.py +++ b/examples/deepvoice3/utils.py @@ -60,7 +60,7 @@ def add_options(parser): def make_evaluator(config, text_sequences, output_dir, writer=None): c = config["transform"] - p_replace = c["replace_pronunciation_prob"] + p_replace = 0.0 sample_rate = c["sample_rate"] preemphasis = c["preemphasis"] win_length = c["win_length"]