Merge pull request #161 from melgor/fix_test

Fix testing
This commit is contained in:
Brandon Amos 2016-07-13 13:41:08 -04:00 committed by GitHub
commit 87e5c047dc
1 changed files with 1 additions and 1 deletions

View File

@ -42,9 +42,9 @@ epoch = opt.epochNumber
for _=1,opt.nEpochs do
train()
model = saveModel(model)
if opt.testing then
test()
end
model = saveModel(model)
epoch = epoch + 1
end