Commit Graph

73 Commits

Author SHA1 Message Date
Reuben Morais
8c82081779 Embed alphabet directly in model 2019-11-05 09:02:21 +01:00
Reuben Morais
0241f725cd Expose model sample rate in API 2019-10-10 21:45:33 +02:00
Reuben Morais
2f4116695f Remove unused sample rate param from API 2019-10-10 14:34:00 +02:00
JRMeyer
fed5039cc7 Fixing typo s/StreamingContext/StreamingState/
X-DeepSpeech: NOBUILD
2019-09-26 12:05:37 -07:00
Reuben Morais
c402b971d6 Remove unused params and make function names more consistent 2019-09-09 11:35:44 +02:00
Reuben Morais
89f63dcd69 Make Scorer init fallible and check it in callers 2019-08-26 13:59:15 +02:00
Reuben Morais
4dabd248bc Make Alphabet copyable and default-constructable and avoid pointers 2019-08-23 12:19:32 +02:00
Reuben Morais
4d882a8aec Simplify decoder impl by making it object oriented, avoid pointers where possible 2019-08-23 12:19:32 +02:00
Alexandre Lissy
81b3b159c4 Remove ununsed prealloc frames
Fixes #2298
2019-08-20 18:38:46 +02:00
Reuben Morais
d50c0397c7 Use bazel workspace status to generate versions 2019-06-25 18:03:52 -03:00
Reuben Morais
e51b9d987d Remove previous state model variable, track by hand in StreamingState instead 2019-06-18 19:38:59 -03:00
Reuben Morais
6e78bac799 Address review comments 2019-06-18 19:38:59 -03:00
Reuben Morais
6f953837fa Refactor TF and TFLite model implementations into their own classes/files 2019-06-18 19:38:59 -03:00
Reuben Morais
d9c2bec35d Move decoder state to StreamingState and fix leak when creating multiple streams per model 2019-06-10 12:21:09 -03:00
Reuben Morais
be0da45878 Use separate execution plans for acoustic model and feature computation invoke calls 2019-05-30 17:39:42 -03:00
Alexandre Lissy
c95397c7ce Move init of previous_state_{c,h}
Fixes #2125
2019-05-22 18:29:24 +02:00
dabinat
d9a269412e CTC beam search streaming decoder (+6 squashed commits)
Squashed commits:
[2941b47] Fixed nits
[700572e] Restored old CTC decoder API
[5aaf75d] Fixed nits
[969d71a] Added a destructor for DecoderState
[af0be6e] Removed accumulated_logits
[9dcb7b4] CTC beam search streaming decoder
2019-05-21 20:54:19 -07:00
Reuben Morais
0b4b806cbf
Merge pull request #2011 from mozilla/free-strings
Provide an API function to free strings returned by API (Fixes #1979)
2019-04-08 19:25:34 -03:00
Reuben Morais
4b9f3fbe7d Provide an API function to free strings returned by API 2019-04-05 21:37:34 -03:00
Reuben Morais
a72b69020d Add probability to Metadata struct and fix memory management of metadata 2019-04-05 21:37:24 -03:00
Reuben Morais
7f6fd8b48b Embed more metadata in exported model and read it in native client 2019-04-05 09:35:23 -03:00
Reuben Morais
232df740db Fix TFLite bug in feature computation graph and clean up deepspeech.cc a bit 2019-04-03 10:19:22 -03:00
Reuben Morais
a7cda8e761 Add version info to exported graphs 2019-04-02 21:06:03 -03:00
Reuben Morais
4e9e78fefe Infer number of MFCC features from input shape 2019-04-02 18:31:32 -03:00
Reuben Morais
51f80744c6 Remove DS_AudioToInputVector and dep on c_speech_features 2019-04-02 18:31:32 -03:00
Reuben Morais
1cea2b0fe8 Rewrite input pipeline to use tf.data API 2019-04-02 18:31:32 -03:00
dabinat
594f74efe9 API - Null pointer check 2019-03-30 10:22:43 -07:00
dabinat
26af3b292d API - Minor cleanup 2019-03-22 10:08:13 -07:00
dabinat
0364bfa518 API - Switched to std::unique_ptr 2019-03-22 10:07:44 -07:00
dabinat
c56ec7ac7d Allocate memory C++-style in API 2019-03-22 02:20:00 -07:00
dabinat
c90828921e Removed unnecessary variables in API 2019-03-22 01:37:00 -07:00
dabinat
192e17f2d5 Expose letter timings on the API 2019-03-21 18:07:24 -07:00
Reuben Morais
91fa181b74 Update to TensorFlow 1.13 2019-03-19 08:01:47 -03:00
Alexandre Lissy
5d842c284b Extract TensorFlow version ourselves 2019-01-23 12:51:05 +01:00
Alexandre Lissy
6323a1428f Proper DeepSpeech error codes
Fixes #1782
2019-01-22 19:05:43 +01:00
Alexandre Lissy
0493b9aae5 Fix incorrect previous_state_h identification
Fixes #1843
2019-01-22 16:07:17 +01:00
Alexandre Lissy
9b845533c9 Proper TFLite error checking
Fixes #1842
2019-01-22 15:53:36 +01:00
Alexandre Lissy
8226dbc6ca Pull tensors from TFLite model by name
Fixes #1835
2019-01-16 23:28:34 +01:00
Reuben Morais
30cf4a3a54
Merge pull request #1834 from mozilla/issue1828
Update decoder parameter names in native client (Fixes #1828)
2019-01-15 14:02:44 +00:00
Alexandre Lissy
08c9c9ab79 Add basic Android native_client testing
Fixes #1785
2019-01-15 13:23:49 +01:00
Reuben Morais
366a82d7e7 Update decoder parameter names in native client 2019-01-15 09:32:31 -02:00
Carlos Fonseca M
17517cb453 Add math defines Windows 2018-12-15 11:43:17 -06:00
Reuben Morais
440893c58d Simplify ctcdecode API signatures to avoid nested STL structures
Flatten structure to avoid nested STL structures which are awkward to
wrap with SWIG and slower at runtime.
2018-11-03 07:48:02 -03:00
Reuben Morais
3cc9b3711d Use ctcdecode in native client 2018-10-25 17:01:08 -03:00
Alexandre Lissy
3dad37eb05 Remove AOT 2018-09-20 17:02:36 +02:00
Reuben Morais
799baf1f99 Fix parameter inference from model shape 2018-09-17 11:20:40 -03:00
Reuben Morais
6f27928841 Free StreamingState pointer with delete instead of new, expose cheap state deallocation API 2018-08-10 12:32:32 -03:00
Reuben Morais
51cac1031b Address review comments 2018-08-03 14:46:05 -03:00
Reuben Morais
385bc7a65f Remove word count bonus in favor of length normalization 2018-08-02 13:22:24 -03:00
Reuben Morais
8f810ee001 Add intermediateDecode method to the API 2018-08-02 13:22:24 -03:00