Merge pull request #165 from chesterkuo/develop

Fix Aishell manifest creation mix with train/dev/test set
pull/185/head
Yibing Liu 7 years ago committed by GitHub
commit 1abb976778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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