Skip to content

Commit 86cdba4

Browse files
committed
Change TestSnapshot to expect a .h5 snapshot
1 parent 7e4f178 commit 86cdba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caffe/test/test_gradient_based_solver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class GradientBasedSolverTest : public MultiDeviceTest<TypeParam> {
139139
if (snapshot) {
140140
ostringstream resume_file;
141141
resume_file << snapshot_prefix_ << "/_iter_" << num_iters
142-
<< ".solverstate";
142+
<< ".solverstate.h5";
143143
string resume_filename = resume_file.str();
144144
return resume_filename;
145145
}

0 commit comments

Comments
 (0)