Commit Graph

16 Commits

Author SHA1 Message Date
Alexandre Lissy
db09ab7d19 Preliminary support for libdeepspeech_model.so 2017-11-03 17:25:25 +01:00
Reuben Morais
ad45ab47e6 Detect and warn about alphabets that don't match the model shape 2017-11-01 19:58:57 -02:00
Reuben Morais
17966809b7 Print error messages in Model construction instead of silently continuing 2017-11-01 19:58:57 -02:00
Reuben Morais
980c66b29c Add a proper name for the logits output in the graph and use it 2017-10-08 23:32:17 -03:00
Reuben Morais
d8b059c623 Make the new decoder optional 2017-10-08 23:32:11 -03:00
Reuben Morais
02a75041ae Use the decoder with LM in the native clients 2017-09-29 17:42:07 -03:00
Reuben Morais
1c4cbf1813 Support custom alphabet mappings (Fixes #692) (#797)
Support custom alphabet mappings
2017-08-31 11:51:15 +02:00
Chris Lord
d829eb4436 Split audioToInputVector into a separate library
Split out functions that don't depend on TensorFlow into a separate
library to avoid opening the TensorFlow library if it's not necessary.
2017-06-27 10:16:54 +01:00
Chris Lord
08deda2b92 Improve build process and instructions to fix performance issues
Certain optimisations that TensorFlow recommends cause significant
performance penalties in c_speech_features. Explicitly disable these
features in the BUILD file only for c_speech_features.

The build has been restructured to produce a single deepspeech library,
rather than 3 separate deepspeech, c_speech_features and kissfft
libaries. This should make the deepspeech client and libraries
significantly easier to use and distribute.
2017-05-17 10:52:14 +01:00
Chris Lord
616d77ef2d Various renames in libdeepspeech to allow for clearer more efficient use
libdeepspeech now uses the namespace DeepSpeech. The 'DeepSpeech' class
has been renamed to 'Model', 'getMfccFrames' has been renamed to
'getInputVector' and a function outside of the Model class has been added,
'audioToInputVector' to allow it to be used without initialising
TensorFlow and loading a model.
2017-05-17 10:52:14 +01:00
Chris Lord
10068fc40e Add libdeepspeech python bindings 2017-05-02 10:41:59 +01:00
Chris Lord
c9cd4ff6f6 Convert libdeepspeech into a proper C++ library to ease use/bindings
Formerly, libdeepspeech was basically a C library. Rather than returning
a context struct and having every function require this context struct,
instead provide a DeepSpeech class that handles its own destruction.
2017-04-25 18:43:26 +01:00
Chris Lord
8234b3dc56 Update c_speech_features
Update brings performance/accuracy fixes and memory leak fixes.
2017-04-12 16:55:52 +01:00
Alexandre Lissy
b726c5c91a Pass correct input_lengths value as a Tensor to Session::Run()
Fixes #473
2017-03-29 11:39:23 +02:00
Reuben Morais
07620c4779 Export graph should take sequence lengths as input 2017-03-28 16:40:35 +02:00
Chris Lord
2740336d08 Implement a native client using TensorFlow C API 2017-02-23 16:35:44 +00:00