Skip to content

Commit 04907b1

Browse files
author
Yibing Liu
authored
Merge pull request #335 from kuke/run_data_bugs_fix
Fix bugs in preparing data scripts of DS2
2 parents 9a153cb + 2faed2d commit 04907b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deep_speech_2/examples/librispeech/run_data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cd ../.. > /dev/null
44

55
# download data, generate manifests
6-
PYTHONPATH=.:$PYPYTHONPATH python data/librispeech/librispeech.py \
6+
PYTHONPATH=.:$PYTHONPATH python data/librispeech/librispeech.py \
77
--manifest_prefix='data/librispeech/manifest' \
88
--target_dir='~/.cache/paddle/dataset/speech/Libri' \
99
--full_download='True'

deep_speech_2/examples/tiny/run_data.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010

1111
# download data, generate manifests
12-
python data/librispeech/librispeech.py \
12+
PYTHONPATH=.:$PYTHONPATH python data/librispeech/librispeech.py \
1313
--manifest_prefix='data/tiny/manifest' \
1414
--target_dir='~/.cache/paddle/dataset/speech/libri' \
1515
--full_download='False'
@@ -26,7 +26,7 @@ head -n 64 data/tiny/manifest.dev-clean > data/tiny/manifest.tiny
2626
python tools/build_vocab.py \
2727
--count_threshold=0 \
2828
--vocab_path='data/tiny/vocab.txt' \
29-
--manifest_paths='data/tiny/manifest.dev'
29+
--manifest_paths='data/tiny/manifest.dev-clean'
3030

3131
if [ $? -ne 0 ]; then
3232
echo "Build vocabulary failed. Terminated."

0 commit comments

Comments
 (0)