From 6495879e76dc0a2efe7b214b58d1d73a4ed3a931 Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 26 Aug 2015 14:25:56 +0800 Subject: remove global_transf in IO modules; see asr_trainer.lua --- htk_io/init.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'htk_io') 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 -- cgit v1.2.3-70-g09d2