| # | |
| # Usage: | |
| # bash utils/make_tsv.sh \ | |
| # /home/wangrui/datasets/voxceleb1 \ | |
| # /home/wangrui/projects/SpeechT5/manifest \ | |
| # /home/wangrui/datasets/voxceleb1 \ | |
| # /home/wangrui/projects/SpeechT5/manifest/iden_split.txt | |
| root=$1 | |
| out_path=$2 | |
| wav_root=$3 | |
| iden_split=$4 | |
| for split in train valid test; do | |
| echo "making ${split}.tsv from ${iden_split}" | |
| python utils/voxceleb1_manifest.py ${root} \ | |
| --output ${out_path} \ | |
| --split ${split} \ | |
| --wav-root ${wav_root} \ | |
| --iden-split ${iden_split} | |
| done | |