from local

This commit is contained in:
dohe0342 2023-03-14 17:06:01 +09:00
parent 3f6befcc02
commit 84510abb11
2 changed files with 2 additions and 26 deletions

View File

@ -166,7 +166,7 @@ if [ $stage -le 5 ] && [ $stop_stage -ge 5 ]; then
fi
if [ $stage -le 6 ] && [ $stop_stage -ge 6 ]; then
log "Stage 1: Prepare LJSpeech manifest"
log "Stage 6: Prepare LJSpeech manifest"
# We assume that you have downloaded the LJSpeech corpus (ver 1.1)
# You need to prepare LJSpeech according to data_settings/*_list.txt like below
# $dl_dir/LJSpeech
@ -177,19 +177,6 @@ if [ $stage -le 6 ] && [ $stop_stage -ge 6 ]; then
# |-- texts
# |-- metadata.csv
# to $dl_dir/LJSpeech
if [ ! -e $dl_dir/vox/.vox.done ]; then
#for dset in "4446"; do
# log "Resampling vox/$dset set"
# file_list=`ls $dl_dir/vox/$dset/`
# for wavfile in $file_list; do
# echo $wavfile
# sox -v 0.9 $dl_dir/vox/$dset/$wavfile -r 16000 -e signed-integer $dl_dir/vox/$dset/tmp_$wavfile
# mv $dl_dir/vox/$dset/tmp_$wavfile $dl_dir/vox/$dset/$wavfile
# done
# log "Resampling $dset done"
#done
mkdir -p data/manifests
if [ ! -e data/manifests/.vox.done ]; then
for dest in "test-clean" "test-other"; do
@ -203,18 +190,7 @@ if [ $stage -le 6 ] && [ $stop_stage -ge 6 ]; then
fi
if [ $stage -le 7 ] && [ $stop_stage -ge 7 ]; then
log "Stage 7: Prepare musan manifest"
# We assume that you have downloaded the musan corpus
# to data/musan
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
fi
if [ $stage -le 3 ] && [ $stop_stage -ge 3 ]; then
log "Stage 3: Compute fbank for Vox"
log "Stage 7: Re-Compute fbank for Vox"
mkdir -p data/fbank
if [ ! -e data/fbank/.LJSpeech.done ]; then
for dest in "test-clean" "test-other"; do