File size: 555 Bytes
90556f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
#
# 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