out of anticipation for user issues due to issue #2885, which causes
Caffe to crash when it attempts to snapshot nets with duplicate layer
names
HDF5 = 0;
BINARYPROTO = 1;
}
- optional SnapshotFormat snapshot_format = 37 [default = HDF5];
+ optional SnapshotFormat snapshot_format = 37 [default = BINARYPROTO];
// the mode solver will use: 0 for CPU and 1 for GPU. Use GPU in default.
enum SolverMode {
CPU = 0;
if (snapshot) {
ostringstream resume_file;
resume_file << snapshot_prefix_ << "/_iter_" << num_iters
- << ".solverstate.h5";
+ << ".solverstate";
string resume_filename = resume_file.str();
return resume_filename;
}