DeepLearningExamples/PyTorch/SpeechSynthesis/FastPitch/scripts/download_dataset.sh
2021-09-07 07:27:31 -07:00

18 lines
344 B
Bash
Executable file

#!/usr/bin/env bash
set -e
scripts/download_cmudict.sh
DATA_DIR="LJSpeech-1.1"
LJS_ARCH="LJSpeech-1.1.tar.bz2"
LJS_URL="http://data.keithito.com/data/speech/${LJS_ARCH}"
if [ ! -d ${DATA_DIR} ]; then
echo "Downloading ${LJS_ARCH} ..."
wget -q ${LJS_URL}
echo "Extracting ${LJS_ARCH} ..."
tar jxvf ${LJS_ARCH}
rm -f ${LJS_ARCH}
fi