未验证 提交 1abb9767 编写于 作者: Y Yibing Liu 提交者: GitHub

Merge pull request #165 from chesterkuo/develop

Fix Aishell manifest creation mix with train/dev/test set
......@@ -52,6 +52,7 @@ def create_manifest(data_dir, manifest_path_prefix):
data_types = ['train', 'dev', 'test']
for type in data_types:
del json_lines[:]
audio_dir = os.path.join(data_dir, 'wav', type)
for subfolder, _, filelist in sorted(os.walk(audio_dir)):
for fname in filelist:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册