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

pull/165/head
chester.kuo 7 years ago
parent 1d13221a11
commit b6a042c40f

@ -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:

Loading…
Cancel
Save