Skip to content

Commit e17f845

Browse files
committed
Update DS2 README.md and fix bug in librispeech.py
1 parent 1043ea5 commit e17f845

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

deep_speech_2/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Deep Speech 2 on PaddlePaddle
22

3-
## Quick Start
3+
## Installation
44

5-
### Installation
6-
7-
Please replace `$PADDLE_INSTALL_DIR` with your paddle installation directory.
5+
Please replace `$PADDLE_INSTALL_DIR` with your own paddle installation directory.
86

97
```
108
pip install -r requirements.txt
@@ -13,7 +11,9 @@ export LD_LIBRARY_PATH=$PADDLE_INSTALL_DIR/Paddle/third_party/install/warpctc/li
1311

1412
For some machines, we also need to install libsndfile1. Details to be added.
1513

16-
### Preparing Dataset(s)
14+
## Usage
15+
16+
### Preparing Data
1717

1818
```
1919
cd data

deep_speech_2/data/librispeech.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import soundfile
1616
import json
1717

18-
DATA_HOME = os.path.expanduser('~/.cache2/paddle/dataset/speech')
18+
DATA_HOME = os.path.expanduser('~/.cache/paddle/dataset/speech')
1919

2020
URL_ROOT = "http://www.openslr.org/resources/12"
2121
URL_TEST_CLEAN = URL_ROOT + "/test-clean.tar.gz"
@@ -30,7 +30,7 @@
3030
MD5_DEV_CLEAN = "42e2234ba48799c1f50f24a7926300a1"
3131
MD5_TRAIN_CLEAN_100 = "2a93770f6d5c6c964bc36631d331a522"
3232
MD5_TRAIN_CLEAN_360 = "c0e676e450a7ff2f54aeade5171606fa"
33-
MD5_TRAIN_CLEAN_500 = "d1a0fd59409feb2c614ce4d30c387708"
33+
MD5_TRAIN_OTHER_500 = "d1a0fd59409feb2c614ce4d30c387708"
3434

3535
parser = argparse.ArgumentParser(
3636
description='Downloads and prepare LibriSpeech dataset.')

0 commit comments

Comments
 (0)