diff options
author | Yimmon Zhuang <[email protected]> | 2015-08-26 15:04:05 +0800 |
---|---|---|
committer | Yimmon Zhuang <[email protected]> | 2015-08-26 15:04:05 +0800 |
commit | 76d64a91f72a19221e7ff9461860b214cbff216f (patch) | |
tree | f8bbf650dd2c54c3b3e0797e488723825f171dcb /htk_io/init.lua | |
parent | 5c90a652862c464b5bfe2e5777ff20ae25beb4a0 (diff) | |
parent | 6495879e76dc0a2efe7b214b58d1d73a4ed3a931 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'htk_io/init.lua')
-rw-r--r-- | htk_io/init.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/htk_io/init.lua b/htk_io/init.lua index c4dfff9..b836e15 100644 --- a/htk_io/init.lua +++ b/htk_io/init.lua @@ -6,7 +6,6 @@ function TNetReader:__init(global_conf, reader_conf) self.feat_id = reader_conf.id self.frm_ext = reader_conf.frm_ext self.gconf = global_conf - self.global_transf = reader_conf.global_transf self.debug = global_conf.debug if self.debug == nil then self.debug = false @@ -31,12 +30,6 @@ function TNetReader:get_data() local res = {} -- read HTK feature local feat_utter = self.feat_repo:cur_utter(self.debug) - -- global transf - if self.global_transf ~= nil then - feat_utter = nerv.speech_utils.global_transf(feat_utter, - self.global_transf, self.frm_ext, - self.frm_ext, self.gconf) - end res[self.feat_id] = feat_utter -- add corresponding labels for id, repo in pairs(self.lab_repo) do |