Skip to content

Commit

Permalink
Merge pull request #208 from luotao1/warpctc
Browse files Browse the repository at this point in the history
deep speech2 can directly use warpctc instead by export LD_LIBRARY_PATH
  • Loading branch information
luotao1 authored Aug 17, 2017
2 parents 69ebc58 + b416911 commit 47fb064
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
*.pyc
3 changes: 3 additions & 0 deletions deep_speech_2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
manifest*
mean_std.npz
thirdparty/
1 change: 0 additions & 1 deletion deep_speech_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

```
sh setup.sh
export LD_LIBRARY_PATH=$PADDLE_INSTALL_DIR/Paddle/third_party/install/warpctc/lib:$LD_LIBRARY_PATH
```

Please replace `$PADDLE_INSTALL_DIR` with your own paddle installation directory.
Expand Down
2 changes: 1 addition & 1 deletion deep_speech_2/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
python -c "import soundfile"
if [ $? != 0 ]; then
echo "Install package libsndfile into default system path."
curl -O "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz"
wget "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz"
if [ $? != 0 ]; then
echo "Download libsndfile-1.0.28.tar.gz failed !!!"
exit 1
Expand Down

0 comments on commit 47fb064

Please sign in to comment.