Commit Graph

207 Commits

Author SHA1 Message Date
Reuben Morais
b6af8c5dc7 Remove some duplicated code 2019-09-09 12:20:16 +02:00
Reuben Morais
d051d4fd0e Remove sparse image warp, fix boolean flags type, rebase to master 2019-09-09 12:11:28 +02:00
Bernardo
0e4eed7be3 removing trailing space 2019-09-09 12:07:51 +02:00
Bernardo
b89fb04b97 space after comma 2019-09-09 12:07:51 +02:00
Bernardo Henz
49c6a9c973 adding 'train_phase' to create_dataset. Now we can augment only the training-set. 2019-09-09 12:07:51 +02:00
Bernardo Henz
0cc5ff230f -spectrogram augmentations 2019-09-09 12:07:51 +02:00
Bernardo Henz
5d5ef15ab7 -data-aug via additive and multiplicative noise in feature-space 2019-09-09 12:07:51 +02:00
Reuben Morais
85d646350f Update name of audio ops package in TF 1.14/TF 2.0 2019-08-28 18:16:13 +02:00
Reuben Morais
670e06365e Run tf_upgrade_v2 on our code 2019-08-28 17:53:24 +02:00
Reuben Morais
24bcdeb3d6 Switch from deprecated tfv1.app to absl-py 2019-08-28 10:55:33 +02:00
Robert Gale
05448441d3 Fixed issue where multiple csvs could not load
With the new `create_dataset` approach introduced by PR #2283 (read: mine, sorry!), duplicate
indices in the df would cause a fatal error where the columns could not be referenced by
name. Adding `ignore_index=True` during append allows pandas to assign new indices to
rows, and fixes the issue.
2019-08-26 13:37:05 -07:00
Reuben Morais
7f642eda94
Merge pull request #2283 from rcgale/master
Checking for empty transcripts during character encoding
2019-08-16 09:18:22 +02:00
Robert Gale
85e25fa2d7 Applying text_to_char_array to each row in DataFrame so we can provide wav_filename context on exception 2019-08-07 14:43:41 -07:00
Reuben Morais
86fff2f660
Merge pull request #2265 from mozilla/cudnnrnn_compatible
Allow loading a CuDNN RNN checkpoint in a CPU-capable graph (Fixes #2264)
2019-08-07 14:57:16 +02:00
dabinat
abc05b4a4d Label validation - Replace hyphens with spaces 2019-08-05 09:20:13 -07:00
Robert Gale
a3e0e9f9bc
Update text.py
"characters" was a bad variable name now that I think about it
2019-08-01 12:14:13 -07:00
Robert Gale
8ec6ac8079 Checking for empty transcripts during character encoding
This way we can get a plain English exception early, rather than a matrix shape error during training.
2019-08-01 11:19:21 -07:00
Tilman Kamp
007e512c00 Fix #2180 - Added wav_filename to WER report 2019-07-23 16:36:10 +02:00
Reuben Morais
84e1fa98b9
Remove unneccessary validator for --export_dir
X-DeepSpeech: NOBUILD
2019-07-22 14:19:19 +00:00
Reuben Morais
e3d0a44e83 Allow loading a CuDNN RNN checkpoint in a CPU-capable graph 2019-07-22 12:56:26 +02:00
Reuben Morais
fd3fbcaa78 Address review comments 2019-07-20 09:15:07 +02:00
Reuben Morais
f7a715d506 Use CuDNN RNN for training 2019-07-20 09:15:07 +02:00
Reuben Morais
6566299adf Revert "Remove deprecated SessionConfig in favor of just using defaults" as it inadvertently disables soft placement of ops
This reverts commit dc78f8d1e6.
2019-07-15 15:03:23 +02:00
Reuben Morais
6f3e824ef7 Use tf.compat.v1 to silence deprecation warnings and enable TF 2.0 testing 2019-07-08 18:56:59 +02:00
Reuben Morais
dc78f8d1e6 Remove deprecated SessionConfig in favor of just using defaults 2019-07-08 18:56:59 +02:00
Li Li
0190c48d5e Fix trivial shadow variable in util script
Signed-off-by: Li Li <eggonlea@msn.com>
2019-07-02 10:39:29 -07:00
Francis Tyers
58f3758a8c Add validators for command line arguments that require paths (#2192) 2019-06-21 00:02:17 -03:00
Reuben Morais
4b305d2f5e Remove --use_seq_length flag 2019-06-18 19:38:59 -03:00
Reuben Morais
9224d4de2b Remove unused flag
X-DeepSpeech: NOBUILD
2019-06-08 18:27:44 -03:00
Alexandre Lissy
17e3f284a5 Computing audio hours at import 2019-05-28 16:46:20 +02:00
Reuben Morais
699e4ebcd7 Revert to a pipelined approach for test epochs to avoid CPU OOM with large alphabets 2019-05-13 23:49:14 -03:00
Reuben Morais
904ab1e288 Centralize progress logging and progress bar logic 2019-04-16 11:06:26 -03:00
Reuben Morais
9586fbbd30 Rename --train_cached_features_path to --feature_cache 2019-04-16 11:06:26 -03:00
Reuben Morais
911a1ce4b1 Do separate test epochs if multiple input files are specified 2019-04-16 11:06:26 -03:00
Reuben Morais
a85af3da49 Do separate validation epochs if multiple input files are specified 2019-04-16 11:01:38 -03:00
Reuben Morais
6a0c186b5c Correct mistake in len check
X-DeepSpeech: NOBUILD
2019-04-11 12:07:04 -03:00
Reuben Morais
13757a4258 Fix pylint warnings 2019-04-11 07:02:21 -03:00
Reuben Morais
6ab91f37ec Don't calculate dataset size by hand, use tf.errors.OutOfRangeError 2019-04-08 16:18:15 -03:00
Reuben Morais
5779d298e1 Merge branch 'more-metadata' 2019-04-05 14:38:56 -03:00
Reuben Morais
5b80f21668 Rename language flag 2019-04-05 11:54:02 -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
97c36291af Rename epoch flag to epochs 2019-04-05 09:30:50 -03:00
Reuben Morais
2f3f095048 Ignore epochs in checkpoints, always start epoch count from zero 2019-04-05 00:21:04 -03:00
Reuben Morais
5ee856d075 Clarify early stopping dependency on validation 2019-04-04 22:41:38 -03:00
Reuben Morais
ed15caf3c5 Check if train/dev/test files were passed in instead of having explicit flags 2019-04-04 22:41:38 -03:00
Reuben Morais
1cea2b0fe8 Rewrite input pipeline to use tf.data API 2019-04-02 18:31:32 -03:00
Tilman Kamp
a179a2389f Fix #1986 - Remove distributed training support 2019-04-01 18:43:22 +02:00
Tilman Kamp
42f04dc9aa Fix #1972 2019-03-21 13:39:12 +01:00
Tilman Kamp
6c6a4e08ca Fix #1962 2019-03-18 18:53:04 +01:00
josh
584312540b skip file header of CSV file when reading alphabet 2019-03-05 00:55:32 +01:00