DeepLearningExamples/PyTorch/SpeechSynthesis/FastPitch/scripts/prepare_dataset.sh
2021-10-07 11:26:31 -07:00

16 lines
297 B
Bash
Executable file

#!/usr/bin/env bash
set -e
: ${DATA_DIR:=LJSpeech-1.1}
: ${ARGS="--extract-mels"}
python prepare_dataset.py \
--wav-text-filelists filelists/ljs_audio_text.txt \
--n-workers 16 \
--batch-size 1 \
--dataset-path $DATA_DIR \
--extract-pitch \
--f0-method pyin \
$ARGS