Skip to content

Commit

Permalink
Follow comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuyym committed Jun 19, 2017
1 parent 610de57 commit b04028c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deep_speech_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Please replace `$PADDLE_INSTALL_DIR` with your own paddle installation directory.

```
pip install -r requirements.txt
sh setup.sh
export LD_LIBRARY_PATH=$PADDLE_INSTALL_DIR/Paddle/third_party/install/warpctc/lib:$LD_LIBRARY_PATH
```

Expand Down
6 changes: 4 additions & 2 deletions deep_speech_2/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
if [ -f 'requirements.txt' ]; then
pip install -r requirements.txt
fi

if [ $? != 0 ]; then
echo "Install python dependencies failed !!!"
exit 1
fi

Expand All @@ -23,6 +23,8 @@ rm -rf libsamplerate-0.1.9
rm libsamplerate-0.1.9.tar.gz
pip install scikits.samplerate==0.3.3
if [ $? != 0 ]; then
echo "Install sckikits.samplerate failed !!!"
echo "Install scikits.samplerate failed !!!"
exit 1
fi

echo "Install all dependencies successfully."

0 comments on commit b04028c

Please sign in to comment.