mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
Merge pull request #1432 from lissyx/use-lm
Fix leftover example CLI call X-DeepSpeech: NOBUILD
This commit is contained in:
commit
bf992e688f
@ -15,14 +15,14 @@ Once everything is installed you can then use the `deepspeech` binary to do spee
|
||||
|
||||
```bash
|
||||
pip3 install deepspeech
|
||||
deepspeech models/output_graph.pb models/alphabet.txt my_audio_file.wav
|
||||
deepspeech models/output_graph.pbmm models/alphabet.txt models/lm.binary models/trie my_audio_file.wav
|
||||
```
|
||||
|
||||
Alternatively, quicker inference (The realtime factor on a GeForce GTX 1070 is about 0.44.) can be performed using a supported NVIDIA GPU on Linux. (See the release notes to find which GPU's are supported.) This is done by instead installing the GPU specific package:
|
||||
|
||||
```bash
|
||||
pip3 install deepspeech-gpu
|
||||
deepspeech models/output_graph.pb models/alphabet.txt my_audio_file.wav
|
||||
deepspeech models/output_graph.pbmm models/alphabet.txt models/lm.binary models/trie my_audio_file.wav
|
||||
```
|
||||
|
||||
See the output of `deepspeech -h` for more information on the use of `deepspeech`. (If you experience problems running `deepspeech`, please check [required runtime dependencies](native_client/README.md#required-dependencies)).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user