summaryrefslogtreecommitdiff
path: root/kaldi_io/tools
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2016-03-11 20:09:06 +0800
committerDeterminant <[email protected]>2016-03-11 20:09:06 +0800
commit54b33aa3a95f5a7a023e9ea453094ae081c91f64 (patch)
tree7d170d45566aad6803c4949cf4ec144b584b580d /kaldi_io/tools
parent046d6d30b88462407c4acde3d7c47e94ef083b94 (diff)
adapt to new network architecture
Diffstat (limited to 'kaldi_io/tools')
-rwxr-xr-xkaldi_io/tools/kaldi_to_nervbin18719 -> 34935 bytes
-rw-r--r--kaldi_io/tools/nerv_to_kaldi.lua1
2 files changed, 1 insertions, 0 deletions
diff --git a/kaldi_io/tools/kaldi_to_nerv b/kaldi_io/tools/kaldi_to_nerv
index 78469f8..08a3d76 100755
--- a/kaldi_io/tools/kaldi_to_nerv
+++ b/kaldi_io/tools/kaldi_to_nerv
Binary files differ
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)