Skip to content

Commit

Permalink
Small fix (#1853)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyeung authored Dec 30, 2024
1 parent 48088cb commit a2b0f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions egs/wenetspeech4tts/TTS/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ stop_stage=4

dl_dir=$PWD/download

dataset_parts="Premium" # Basic for all 10k hours data, Premium for about 10% of the data
dataset_parts="Premium" # Basic for all 7226 hours data, Premium for 945 hours subset.

text_extractor="pypinyin_initials_finals" # default is espeak for English
text_extractor="pypinyin_initials_finals" # default is espeak for English
audio_extractor="Encodec" # or Fbank
audio_feats_dir=data/tokenized

Expand Down Expand Up @@ -63,7 +63,7 @@ if [ $stage -le 2 ] && [ $stop_stage -ge 2 ]; then
--audio-extractor ${audio_extractor} \
--batch-duration 2500 --prefix "wenetspeech4tts" \
--src-dir "data/manifests" \
--split 100 \
--split 100 \
--output-dir "${audio_feats_dir}/wenetspeech4tts_${dataset_parts}_split_100"
cp ${audio_feats_dir}/wenetspeech4tts_${dataset_parts}_split_100/unique_text_tokens.k2symbols ${audio_feats_dir}
fi
Expand Down

0 comments on commit a2b0f60

Please sign in to comment.