diff options
author | txh18 <cloudygooseg@gmail.com> | 2015-12-10 00:15:38 +0800 |
---|---|---|
committer | txh18 <cloudygooseg@gmail.com> | 2015-12-10 00:15:38 +0800 |
commit | 00c3f11361967a0f78fd770d20a2af3e9e7c1f50 (patch) | |
tree | 16b2a49c84c28546838182f5eb83ca2e4eab3b51 /nerv/examples | |
parent | ebb8ba41886f5860f27157343bcb022eb672143c (diff) |
bilstm_v2 did not run well
Diffstat (limited to 'nerv/examples')
-rw-r--r-- | nerv/examples/lmptb/lm_trainer.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/examples/lmptb/lm_trainer.lua b/nerv/examples/lmptb/lm_trainer.lua index 3b8b5c3..ecedc9f 100644 --- a/nerv/examples/lmptb/lm_trainer.lua +++ b/nerv/examples/lmptb/lm_trainer.lua @@ -196,7 +196,6 @@ function LMTrainer.lm_process_file_birnn(global_conf, fn, tnn, do_train, p_conf) if r == false then break end - for t = 1, chunk_size do tnn.err_inputs_m[t][1]:fill(1) for i = 1, batch_size do @@ -269,6 +268,7 @@ function LMTrainer.lm_process_file_birnn(global_conf, fn, tnn, do_train, p_conf) collectgarbage("collect") + tnn:flush_all() --break --debug end |