summaryrefslogtreecommitdiff
path: root/htk_io
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-26 14:25:56 +0800
committerDeterminant <[email protected]>2015-08-26 14:25:56 +0800
commit6495879e76dc0a2efe7b214b58d1d73a4ed3a931 (patch)
tree5ebabd090381b571615a9c7bc1d1e6eb43654a25 /htk_io
parentdf4545867c32ff1b8e48317c04ea39503dbe0767 (diff)
remove global_transf in IO modules; see asr_trainer.lua
Diffstat (limited to 'htk_io')
-rw-r--r--htk_io/init.lua7
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