aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-25 14:46:53 +0800
committerDeterminant <[email protected]>2015-06-25 14:46:53 +0800
commitc0dc8f53eea156115f66d6cccd5459eb192bc2bb (patch)
treef35d00c92c2e6d719ccfe78b4ce29195ce66e8b8
parent8b2aa75b9d7c0b4d4333e7847e3ad90c5fcf97fb (diff)
remove useless get_crit
-rw-r--r--nerv/examples/asr_trainer.lua1
-rw-r--r--nerv/examples/swb_baseline.lua4
m---------speech0
3 files changed, 0 insertions, 5 deletions
diff --git a/nerv/examples/asr_trainer.lua b/nerv/examples/asr_trainer.lua
index a5727be..4fa4096 100644
--- a/nerv/examples/asr_trainer.lua
+++ b/nerv/examples/asr_trainer.lua
@@ -3,7 +3,6 @@ function build_trainer(ifname)
param_repo:import(ifname, nil, gconf)
local sublayer_repo = make_sublayer_repo(param_repo)
local layer_repo = make_layer_repo(sublayer_repo, param_repo)
- local crit = get_criterion_layer(sublayer_repo)
local network = get_network(layer_repo)
local input_order = get_input_order()
local iterative_trainer = function (prefix, scp_file, bp)
diff --git a/nerv/examples/swb_baseline.lua b/nerv/examples/swb_baseline.lua
index 7b60d53..7783f2a 100644
--- a/nerv/examples/swb_baseline.lua
+++ b/nerv/examples/swb_baseline.lua
@@ -105,10 +105,6 @@ function make_layer_repo(sublayer_repo, param_repo)
}, param_repo, gconf)
end
-function get_criterion_layer(sublayer_repo)
- return sublayer_repo:get_layer("ce_crit")
-end
-
function get_network(layer_repo)
return layer_repo:get_layer("main")
end
diff --git a/speech b/speech
-Subproject a74183ddb4ab8383bfe214b3745eb8a0a99ee47
+Subproject 08e33afa533af1f026ac271446a0c873fe0bb5c