from local

This commit is contained in:
dohe0342 2023-03-13 15:43:00 +09:00
parent b8b64029a2
commit 6841d90588
2 changed files with 6 additions and 5 deletions

View File

@ -154,10 +154,11 @@ fi
if [ $stage -le 5 ] && [ $stop_stage -ge 5 ]; then
log "Stage 5: Generate pseudo label"
mkdir -p data/manifests
if [ ! -e data/manifests/.musan.done ]; then
lhotse prepare musan $dl_dir/musan data/manifests
touch data/manifests/.musan.done
fi
for dest in "test-clean" "test-other"; do
for spk in $dl_dir/$dest/*; do
spk_id=${spk#*$dest\/}
python local/prepare_vox.py $dl_dir/$dest "$spk_id"
done
done
fi