common: added DeviceQuery() function
[jacinto-ai/caffe-jacinto.git] / src / caffe / solver.cpp
index 6fe2ce91257d7601ce44093cbf0a5312445ed8af..87c346f7036bd32a29d6364cc619efcd3ea2d7e2 100644 (file)
@@ -202,6 +202,7 @@ template <typename Dtype>
 void SGDSolver<Dtype>::RestoreSolverState(const SolverState& state) {
   CHECK_EQ(state.history_size(), history_.size())
       << "Incorrect length of history blobs.";
 void SGDSolver<Dtype>::RestoreSolverState(const SolverState& state) {
   CHECK_EQ(state.history_size(), history_.size())
       << "Incorrect length of history blobs.";
+  LOG(INFO) << "SGDSolver: restoring history";
   for (int i = 0; i < history_.size(); ++i) {
     history_[i]->FromProto(state.history(i));
   }
   for (int i = 0; i < history_.size(); ++i) {
     history_[i]->FromProto(state.history(i));
   }