Skip to content

Commit 4c21c89

Browse files
committed
Updated README.md
Added section about prediction.
1 parent 66dea83 commit 4c21c89

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ Character based statistics:
183183

184184

185185
## Training
186-
Start training by invoking `ipython asr/train.py`.
187-
Use `ipython asr/train.py -- --delete` to start a clean run and remove the old checkpoints.
186+
Start training by invoking `asr/train.py`.
187+
Use `asr/train.py -- --delete` to start a clean run and remove the old checkpoints.
188188
Please note that all commands are expected to be executed from the projects root folder.
189189
The additional `--` before the actual flags begin is used to indicate the end of IPython flags.
190190

@@ -194,9 +194,14 @@ By default it can then be viewed on [localhost:6006](http://localhost:6006).
194194

195195

196196
## Evaluation
197-
Evaluate the current model by invoking `ipython asr/evaluate.py`.
198-
Use `ipython asr/evaluate.py -- --test` to run on the test dataset, instead of the development
199-
set.
197+
Evaluate the current model by invoking `asr/evaluate.py`.
198+
Use `asr/evaluate.py -- --dev` to run on the development dataset, instead of the test set.
199+
200+
201+
## Prediction
202+
To evaluate a given 16 kHz, mono WAV file use `asr/predict.py --input <wav_path>`.
203+
Using `asr/predict.py` without `--input` flag evaluates the provided example file
204+
(["I don't understand a word you just said."](data/examples/idontunderstandawordyoujustsaid.wav)).
200205

201206

202207
<!--

0 commit comments

Comments
 (0)