提交 ddb5c034 编写于 作者: H Hui Zhang

fix install doc

上级 0ca468cd
...@@ -9,7 +9,7 @@ abort(){ ...@@ -9,7 +9,7 @@ abort(){
unittest(){ unittest(){
cd $1 > /dev/null cd $1 > /dev/null
if [ -f "setup.sh" ]; then if [ -f "setup.sh" ]; then
sh setup.sh bash setup.sh
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
fi fi
if [ $? != 0 ]; then if [ $? != 0 ]; then
......
...@@ -17,23 +17,8 @@ ...@@ -17,23 +17,8 @@
* python>=3.7 * python>=3.7
* paddlepaddle>=2.0.0 * paddlepaddle>=2.0.0
* Ubuntu
- Run the setup script for the remaining dependencies Please see [install](docs/install.md).
```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
```
## Getting Started ## Getting Started
......
...@@ -14,25 +14,11 @@ ...@@ -14,25 +14,11 @@
* [Baidu's Deep Speech2](http://proceedings.mlr.press/v48/amodei16.pdf) * [Baidu's Deep Speech2](http://proceedings.mlr.press/v48/amodei16.pdf)
## 安装 ## 安装
* python>=3.7 * python>=3.7
* paddlepaddle>=2.0.0 * 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 参看 [安装](docs/install.md)
source tools/venv/bin/activate
```
## 开始 ## 开始
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册