Skip to content
Snippets Groups Projects
Unverified Commit c6e3291e authored by Jean-Marie Lemercier's avatar Jean-Marie Lemercier Committed by GitHub
Browse files

Update create_wsj0_reverb.py to fix the sorting of WSJ0 files

parent 9ea06796
Branches
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ if __name__ == '__main__':
splits = ['valid', 'train', 'test']
dic_split = {"valid": "si_dt_05", "train": "si_tr_s", "test": "si_et_05"}
speech_lists = {split:glob(f"{os.path.join(args.wsj0_dir, dic_split[split])}/**/*.wav") for split in splits}
speech_lists = {split:sorted(glob(f"{os.path.join(args.wsj0_dir, dic_split[split])}/**/*.wav")) for split in splits}
sample_rate = 16000
output_dir = args.target_dir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment