From 7820072a266b45630c2d2dae5265a5ee4c856cf3 Mon Sep 17 00:00:00 2001 From: muhanzhang Date: Wed, 9 May 2018 18:26:46 -0500 Subject: [PATCH] output prediction scores to file; new option -testAfterAll --- main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.lua b/main.lua index ceba457..793df4b 100755 --- a/main.lua +++ b/main.lua @@ -795,6 +795,8 @@ errLogger = optim.Logger(paths.concat(opt.save, opt.dataName, 'error.log' )) -- training and testing valAcc = 0 valErr = 0 +testAcc = 0 +testErr = 0 bestValAcc = 0 bestTrainAcc = 0 bestValErr = math.huge