From 968464cc605ed67c658af6c65d617b7036bfecfb Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Wed, 2 Nov 2016 12:47:13 -0500 Subject: [PATCH] Fix a bug in testOnePeriod. (#322) * Forget to finishTestPeriod in testOnePeriod. * Fix #318 --- paddle/trainer/Tester.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/trainer/Tester.cpp b/paddle/trainer/Tester.cpp index b1bb75654a..d3b88019fa 100644 --- a/paddle/trainer/Tester.cpp +++ b/paddle/trainer/Tester.cpp @@ -116,6 +116,7 @@ void Tester::testOnePeriod() { } testOneDataBatch(dataBatch, &outArgs); } + finishTestPeriod(); } void Tester::finishTestPeriod() { -- GitLab