From ddb5c0348a679649e71562780dabaf2d3d5638e1 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Tue, 23 Mar 2021 09:57:32 +0000 Subject: [PATCH] fix install doc --- .travis/unittest.sh | 2 +- README.md | 17 +---------------- README_cn.md | 18 ++---------------- 3 files changed, 4 insertions(+), 33 deletions(-) diff --git a/.travis/unittest.sh b/.travis/unittest.sh index 2eb57477..542f64d3 100755 --- a/.travis/unittest.sh +++ b/.travis/unittest.sh @@ -9,7 +9,7 @@ abort(){ unittest(){ cd $1 > /dev/null if [ -f "setup.sh" ]; then - sh setup.sh + bash setup.sh export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH fi if [ $? != 0 ]; then diff --git a/README.md b/README.md index 9c46683a..3b8b69a3 100644 --- a/README.md +++ b/README.md @@ -17,23 +17,8 @@ * python>=3.7 * paddlepaddle>=2.0.0 -* Ubuntu -- Run the setup script for the remaining dependencies - -```bash -git clone https://github.com/PaddlePaddle/DeepSpeech.git -cd DeepSpeech -pushd tools; make; popd -source tools/venv/bin/activate -bash setup.sh -``` - -- Source venv before do experiment. - -```bash -source tools/venv/bin/activate -``` +Please see [install](docs/install.md). ## Getting Started diff --git a/README_cn.md b/README_cn.md index 65891190..c89b8cab 100644 --- a/README_cn.md +++ b/README_cn.md @@ -14,25 +14,11 @@ * [Baidu's Deep Speech2](http://proceedings.mlr.press/v48/amodei16.pdf) ## 安装 + * python>=3.7 * paddlepaddle>=2.0.0 -* Ubuntu - -- 安装依赖 - -```bash -git clone https://github.com/PaddlePaddle/DeepSpeech.git -cd DeepSpeech -pushd tools; make; popd -source tools/venv/bin/activate -bash setup.sh -``` - -- 开始实验前要source环境. -```bash -source tools/venv/bin/activate -``` +参看 [安装](docs/install.md)。 ## 开始 -- GitLab