diff options
Diffstat (limited to 'htk_io')
-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 |