diff options
author | Determinant <[email protected]> | 2016-02-29 21:35:57 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-02-29 21:35:57 +0800 |
commit | d9e03b7d2c14549ab480d5e3b31518be4cdc8eed (patch) | |
tree | be9507abe92f7e31e64507b4c4958f278cf64afa /kaldi_io/tools/nerv_to_kaldi.lua | |
parent | 534b039d297b9f2f83f889e2592686d79569e141 (diff) |
add decode part to the nerv-kaldi tutorial
Diffstat (limited to 'kaldi_io/tools/nerv_to_kaldi.lua')
-rw-r--r-- | kaldi_io/tools/nerv_to_kaldi.lua | 4 |
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")) |