From 2e96ce1dcfbbcedc28be96cfc1a006cd5b4d5dab Mon Sep 17 00:00:00 2001 From: txh18 Date: Wed, 9 Dec 2015 10:52:10 +0800 Subject: ... --- nerv/examples/lmptb/bilstmlm_ptb_main.lua | 4 ++-- nerv/examples/lmptb/lstmlm_ptb_main.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nerv/examples/lmptb/bilstmlm_ptb_main.lua b/nerv/examples/lmptb/bilstmlm_ptb_main.lua index 7e238b3..0472588 100644 --- a/nerv/examples/lmptb/bilstmlm_ptb_main.lua +++ b/nerv/examples/lmptb/bilstmlm_ptb_main.lua @@ -352,7 +352,7 @@ commands = {} test_iter = -1 --for testout(question) -local q_file = "ptb.test.txt.q10rs1_Msss.adds" +q_file = "/home/slhome/txh18/workspace/ptb/questionGen/gen/ptb.test.txt.q10rs1_Msss.adds" if arg[2] ~= nil then nerv.printf("%s applying arg[2](%s)...\n", global_conf.sche_log_pre, arg[2]) @@ -500,7 +500,7 @@ end --if commands["test"] if commands["testout"] == 1 then nerv.printf("===TEST OUT===\n") nerv.printf("q_file:\t%s\n", q_file) - local q_fn = qdata_dir .. '/' .. q_file + local q_fn = q_file --qdata_dir .. '/' .. q_file global_conf.sche_log_pre = "[SCHEDULER FINAL_TEST]:" if final_iter ~= -1 and test_iter == -1 then test_iter = final_iter diff --git a/nerv/examples/lmptb/lstmlm_ptb_main.lua b/nerv/examples/lmptb/lstmlm_ptb_main.lua index b76fab8..6e3fab9 100644 --- a/nerv/examples/lmptb/lstmlm_ptb_main.lua +++ b/nerv/examples/lmptb/lstmlm_ptb_main.lua @@ -339,7 +339,7 @@ commands_str = "train:test" commands = {} test_iter = -1 --for testout(question) -q_file = "ptb.test.txt.q10rs1_Msss.adds" +q_file = "/home/slhome/txh18/workspace/ptb/questionGen/gen/ptb.test.txt.q10rs1_Msss.adds" if arg[2] ~= nil then nerv.printf("%s applying arg[2](%s)...\n", global_conf.sche_log_pre, arg[2]) @@ -487,7 +487,7 @@ end --if commands["test"] if commands["testout"] == 1 then nerv.printf("===TEST OUT===\n") nerv.printf("q_file:\t%s\n", q_file) - local q_fn = qdata_dir .. '/' .. q_file + local q_fn = q_file --qdata_dir .. '/' .. q_file global_conf.sche_log_pre = "[SCHEDULER TESTOUT]:" if final_iter ~= -1 and test_iter == -1 then test_iter = final_iter -- cgit v1.2.3