diff --git a/egs/librispeech/ASR/local/.prepare_vox_text.py.swp b/egs/librispeech/ASR/local/.prepare_vox_text.py.swp index b2ad3112c..02c9f5f91 100644 Binary files a/egs/librispeech/ASR/local/.prepare_vox_text.py.swp and b/egs/librispeech/ASR/local/.prepare_vox_text.py.swp differ diff --git a/egs/librispeech/ASR/local/prepare_vox_text.py b/egs/librispeech/ASR/local/prepare_vox_text.py index 82590d28c..5afc61db7 100755 --- a/egs/librispeech/ASR/local/prepare_vox_text.py +++ b/egs/librispeech/ASR/local/prepare_vox_text.py @@ -11,9 +11,10 @@ save_dir = os.path.join(save_dir, outdir) if not os.path.exists(save_dir): os.makedirs(save_dir) -with open(metafile, 'r') as f: - strings = f.readlines() +#with open(metafile, 'r') as f: +# strings = f.readlines() +wavs = sorted(glob.glob(f"{sys.argv[1]}/*.wav")) for string in strings: # Split the string into parts