diff --git a/.travis/unittest.sh b/.travis/unittest.sh index 2eb57477fa8ef0b84ec743b397bb34403b3c7ce9..542f64d39cadb390383d777c91ac30efc56e2044 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 9c46683a7318f15c0c7dd745044d6c70099e9a3f..3b8b69a31de8ed4f6fc35bb32007362371daa0d9 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 65891190bd0752be210d08fc3e9af38d5a903893..c89b8cabc4d03b0d3e0494f711f78d896afb55af 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)。 ## 开始