提交 b6a042c4 编写于 作者: C chester.kuo

Fix Aishell manifest creation mix with train/dev/test set

上级 1d13221a
......@@ -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.
先完成此消息的编辑!
想要评论请 注册