Skip to content

Instantly share code, notes, and snippets.

@ShigekiKarita
Created July 23, 2023 00:07
Show Gist options
  • Save ShigekiKarita/b67eaccf34a2a397ec386c0b57725ffb to your computer and use it in GitHub Desktop.
Save ShigekiKarita/b67eaccf34a2a397ec386c0b57725ffb to your computer and use it in GitHub Desktop.
Diff at espnet/egs2/*/tts1/local/ scripts btw LibriTTS-R vs LibriTTS
34c34
< data_url=www.openslr.org/resources/60
---
> data_url=www.openslr.org/resources/141
69c69
< cp ${db_root}/LibriTTS/SPEAKERS.txt data/local
---
> cp ${db_root}/LibriTTS/train-clean-100/SPEAKERS.txt data/local
31a32,38
> # Create alias to reuse LibriTTS dataprep scripts.
> if [ ! -d "$data/LibriTTS" ]; then
> cd $data
> ln -sf LibriTTS_R LibriTTS
> cd -
> fi
>
69c76,78
< if [ ! -f $data/$part.tar.gz ]; then
---
>
> tgz=$(echo $part | sed s/-/_/g).tar.gz
> if [ ! -f $data/$tgz ]; then
74c83
< full_url=$url/$part.tar.gz
---
> full_url=$url/$tgz
83c92
< if ! tar -C $data -xvzf $data/$part.tar.gz; then
---
> if ! tar -C $data -xvzf $data/$tgz; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment