# bash utils/make_tsv_txt.sh /mnt/bn/wangrui2022/wangrui2022/libritts/LibriTTS_16k /opt/tiger/libritts_finetuning_meta /opt/tiger/LibriTTS_16k | |
root=$1 | |
dest=$2 | |
wav_root=$3 | |
spkemb_split=$4 | |
if [ -z ${spkemb_split} ]; then | |
spkemb_split=spkrec-xvect | |
fi | |
for split in dev-clean test-clean train-clean-100 train-clean-360; do | |
echo "making ${split}.tsv and ${split}.txt ..." | |
python utils/libritts_manifest.py ${root} --dest ${dest} --split ${split} --wav-root ${wav_root} --spkemb-npy-dir ${spkemb_split} | |
done |