aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortxh18 <[email protected]>2016-01-12 08:50:48 +0800
committertxh18 <[email protected]>2016-01-12 08:50:48 +0800
commitcb6309172b3bb7c03f0e36abb0479344d50cbb0a (patch)
treebfbb055b1c5d6f2185659382b060763cd87fc47d
parentf592e424cc8f0d117b732543f6823b708071a89a (diff)
...
-rw-r--r--nerv/examples/lmptb/grulm_ptb_main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/examples/lmptb/grulm_ptb_main.lua b/nerv/examples/lmptb/grulm_ptb_main.lua
index a845950..ef5d7f9 100644
--- a/nerv/examples/lmptb/grulm_ptb_main.lua
+++ b/nerv/examples/lmptb/grulm_ptb_main.lua
@@ -509,7 +509,7 @@ if commands["wordprob"] == 1 then
test_iter = "final"
end
- printf("===WORD PROB===\n")
+ nerv.printf("===WORD PROB===\n")
global_conf.sche_log_pre = "[SCHEDULER FINAL_TEST]:"
tnn = load_net(global_conf, test_iter)
LMTrainer.lm_process_file_rnn(global_conf, global_conf.test_fn, tnn, false, {["word_prob_report"] = true}) --false update!