projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3babd4e
)
Merge pull request #5215 from cypof/fix_restore
author
Cyprien Noel
<cyprien.noel@gmail.com>
Mon, 23 Jan 2017 19:09:11 +0000
(11:09 -0800)
committer
GitHub
<noreply@github.com>
Mon, 23 Jan 2017 19:09:11 +0000
(11:09 -0800)
Restore can be invoked on rank > 0
src/caffe/solver.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/solver.cpp
b/src/caffe/solver.cpp
index
1c1a9e5
..
fd4c037
100644
(file)
--- a/
src/caffe/solver.cpp
+++ b/
src/caffe/solver.cpp
@@
-462,7
+462,6
@@
string Solver<Dtype>::SnapshotToHDF5() {
template <typename Dtype>
void Solver<Dtype>::Restore(const char* state_file) {
- CHECK(Caffe::root_solver());
string state_filename(state_file);
if (state_filename.size() >= 3 &&
state_filename.compare(state_filename.size() - 3, 3, ".h5") == 0) {