From c0dc8f53eea156115f66d6cccd5459eb192bc2bb Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 25 Jun 2015 14:46:53 +0800 Subject: remove useless get_crit --- nerv/examples/asr_trainer.lua | 1 - nerv/examples/swb_baseline.lua | 4 ---- speech | 2 +- 3 files changed, 1 insertion(+), 6 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 index a74183d..08e33af 160000 --- a/speech +++ b/speech @@ -1 +1 @@ -Subproject commit a74183ddb4ab8383bfe214b3745eb8a0a99ee47a +Subproject commit 08e33afa533af1f026ac271446a0c873fe0bb5cb -- cgit v1.2.3-70-g09d2