diff --git a/src/caffe/test/test_gradient_based_solver.cpp b/src/caffe/test/test_gradient_based_solver.cpp index 94b500124aa..dcdbe5c61a2 100644 --- a/src/caffe/test/test_gradient_based_solver.cpp +++ b/src/caffe/test/test_gradient_based_solver.cpp @@ -139,7 +139,7 @@ class GradientBasedSolverTest : public MultiDeviceTest { if (snapshot) { ostringstream resume_file; resume_file << snapshot_prefix_ << "/_iter_" << num_iters - << ".solverstate"; + << ".solverstate.h5"; string resume_filename = resume_file.str(); return resume_filename; }