summaryrefslogtreecommitdiff
path: root/htk_io
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-05 08:10:14 +0800
committerDeterminant <[email protected]>2015-08-05 08:10:14 +0800
commit261aed43b863c85ecf709dcac2739c388ec491d2 (patch)
tree6af7690705150aad50ad98ba82a19e12c91b95cb /htk_io
parentacd1bc3cf812f69a6260179b584f2a3f0e6d6b80 (diff)
...
Diffstat (limited to 'htk_io')
-rw-r--r--htk_io/init.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/htk_io/init.lua b/htk_io/init.lua
index af1f740..da91980 100644
--- a/htk_io/init.lua
+++ b/htk_io/init.lua
@@ -29,13 +29,11 @@ function TNetReader:get_data()
return nil
end
local res = {}
- local frm_ext = self.frm_ext
- local step = frm_ext * 2 + 1
-- read HTK feature
local feat_utter = self.feat_repo:cur_utter(self.debug)
-- global transf
local transformed = nerv.speech_utils.global_transf(feat_utter,
- self.global_transf, frm_ext, self.gconf)
+ self.global_transf, self.frm_ext, self.gconf)
res[self.feat_id] = transformed
-- add corresponding labels