From aae7a977fb1f8a1a4113288045cf1b448a950bca Mon Sep 17 00:00:00 2001 From: Hansin <845612500@qq.com> Date: Thu, 1 Nov 2018 14:48:56 +0800 Subject: [PATCH] Update preprocessor.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 pinyinText 遗漏 --- datasets/preprocessor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/datasets/preprocessor.py b/datasets/preprocessor.py index ad3d195d..7d275136 100644 --- a/datasets/preprocessor.py +++ b/datasets/preprocessor.py @@ -54,6 +54,7 @@ def build_from_path(hparams, input_dirs, mel_dir, linear_dir, wav_dir, n_jobs=12 if basename.endswith('.wav'): # THCHS30 zhText = f.readline() + pinyinText = f.readline() text = segment(zhText, pinyinText) wav_file = basename else: