summaryrefslogtreecommitdiff
path: root/kaldi_io/tools/nerv_to_kaldi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'kaldi_io/tools/nerv_to_kaldi.lua')
-rw-r--r--kaldi_io/tools/nerv_to_kaldi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaldi_io/tools/nerv_to_kaldi.lua b/kaldi_io/tools/nerv_to_kaldi.lua
index fba6a6c..0f0cb2a 100644
--- a/kaldi_io/tools/nerv_to_kaldi.lua
+++ b/kaldi_io/tools/nerv_to_kaldi.lua
@@ -1,6 +1,7 @@
-- usage: nerv nerv_to_kaldi.lua config_file nerv_param_input kaldi_param_output
dofile(arg[1])
+gconf.mmat_type = nerv.MMatrixFloat
param_repo = nerv.ParamRepo()
param_repo:import({arg[2]}, nil, gconf)
layer_repo = make_layer_repo(param_repo)