|
|
@ -52,6 +52,7 @@ def create_manifest(data_dir, manifest_path_prefix):
|
|
|
|
|
|
|
|
|
|
|
|
data_types = ['train', 'dev', 'test']
|
|
|
|
data_types = ['train', 'dev', 'test']
|
|
|
|
for type in data_types:
|
|
|
|
for type in data_types:
|
|
|
|
|
|
|
|
del json_lines[:]
|
|
|
|
audio_dir = os.path.join(data_dir, 'wav', type)
|
|
|
|
audio_dir = os.path.join(data_dir, 'wav', type)
|
|
|
|
for subfolder, _, filelist in sorted(os.walk(audio_dir)):
|
|
|
|
for subfolder, _, filelist in sorted(os.walk(audio_dir)):
|
|
|
|
for fname in filelist:
|
|
|
|
for fname in filelist:
|
|
|
|