Print iteration along with every test score in Solver::Test
authorKai Li <kaili_kloud@163.com>
Mon, 10 Feb 2014 08:03:15 +0000 (16:03 +0800)
committerKai Li <kaili_kloud@163.com>
Tue, 11 Feb 2014 03:01:35 +0000 (11:01 +0800)
src/caffe/solver.cpp

index f344cca..ca8568a 100644 (file)
@@ -111,7 +111,7 @@ void Solver<Dtype>::Test() {
     }
   }
   for (int i = 0; i < test_score.size(); ++i) {
-    LOG(INFO) << "Test score #" << i << ": "
+    LOG(INFO) << "Iteration " << iter_ << ", Test score #" << i << ": "
         << test_score[i] / param_.test_iter();
   }
 }