提交 8dcf1d56 编写于 作者: Y Yibing Liu

fix bugs in preparing data scripts

上级 3663ba57
......@@ -3,7 +3,7 @@
cd ../.. > /dev/null
# download data, generate manifests
PYTHONPATH=.:$PYPYTHONPATH python data/librispeech/librispeech.py \
PYTHONPATH=.:$PYTHONPATH python data/librispeech/librispeech.py \
--manifest_prefix='data/librispeech/manifest' \
--target_dir='~/.cache/paddle/dataset/speech/Libri' \
--full_download='True'
......
......@@ -9,7 +9,7 @@ fi
# download data, generate manifests
python data/librispeech/librispeech.py \
PYTHONPATH=.:$PYTHONPATH python data/librispeech/librispeech.py \
--manifest_prefix='data/tiny/manifest' \
--target_dir='~/.cache/paddle/dataset/speech/libri' \
--full_download='False'
......@@ -26,7 +26,7 @@ head -n 64 data/tiny/manifest.dev-clean > data/tiny/manifest.tiny
python tools/build_vocab.py \
--count_threshold=0 \
--vocab_path='data/tiny/vocab.txt' \
--manifest_paths='data/tiny/manifest.dev'
--manifest_paths='data/tiny/manifest.dev-clean'
if [ $? -ne 0 ]; then
echo "Build vocabulary failed. Terminated."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册