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.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaldi_io/tools/nerv_to_kaldi.lua b/kaldi_io/tools/nerv_to_kaldi.lua
index 804f09b..fba6a6c 100644
--- a/kaldi_io/tools/nerv_to_kaldi.lua
+++ b/kaldi_io/tools/nerv_to_kaldi.lua
@@ -1,8 +1,8 @@
--- usage: nerv config_file nerv_param_input tnet_output
+-- usage: nerv nerv_to_kaldi.lua config_file nerv_param_input kaldi_param_output
dofile(arg[1])
param_repo = nerv.ParamRepo()
-param_repo:import({arg[2], gconf.initialized_param[2]}, nil, gconf)
+param_repo:import({arg[2]}, nil, gconf)
layer_repo = make_layer_repo(param_repo)
f = assert(io.open(arg[3], "w"))