diff --git a/deep_speech_2/examples/librispeech/prepare_data.sh b/deep_speech_2/examples/librispeech/prepare_data.sh index 162a38c49dbda33d7db20586237931a42a9bd07d..10b85d0580e4dd87c583a0be478830c01f53fb17 100644 --- a/deep_speech_2/examples/librispeech/prepare_data.sh +++ b/deep_speech_2/examples/librispeech/prepare_data.sh @@ -6,7 +6,7 @@ pushd ../.. python data/librispeech/librispeech.py \ --manifest_prefix='data/librispeech/manifest' \ --full_download='True' \ ---target_dir='~/.cache/paddle/dataset/speech/Libri' +--target_dir=$HOME'/.cache/paddle/dataset/speech/Libri' if [ $? -ne 0 ]; then echo "Prepare LibriSpeech failed. Terminated."