diff options
author | txh18 <[email protected]> | 2015-12-09 10:52:10 +0800 |
---|---|---|
committer | txh18 <[email protected]> | 2015-12-09 10:52:10 +0800 |
commit | 2e96ce1dcfbbcedc28be96cfc1a006cd5b4d5dab (patch) | |
tree | bc3535ddd3bba9f9db8d59235861ed158562063c | |
parent | aa18efcb0b809993274bc4560b64017111dfd71c (diff) |
...
-rw-r--r-- | nerv/examples/lmptb/bilstmlm_ptb_main.lua | 4 | ||||
-rw-r--r-- | 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 |