diff options
author | Eric Bi <[email protected]> | 2015-12-03 20:12:59 +0800 |
---|---|---|
committer | Eric Bi <[email protected]> | 2015-12-03 20:12:59 +0800 |
commit | 24d56605428467e604afded423ba2ff49f2644e3 (patch) | |
tree | 55618aab5003d3bf1d870ff75a842e40d55e7095 /kaldi_io | |
parent | 0465adc3cc86555a8bb752cab7c625e603e513ca (diff) |
fix last commit that broke decoding
Diffstat (limited to 'kaldi_io')
-rw-r--r-- | kaldi_io/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kaldi_io/init.lua b/kaldi_io/init.lua index 5193504..9f3ad55 100644 --- a/kaldi_io/init.lua +++ b/kaldi_io/init.lua @@ -76,7 +76,8 @@ function KaldiReader:get_data() local lab_utter = repo:get_utter(self.feat_repo, feat_utter:nrow(), self.debug) - if lab_utter == nil then + -- need provide 'gconf.decoding = true' while decoding + if not self.gconf.decoding and lab_utter == nil then fail_to_read_alignment = true end res[id] = lab_utter |