projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e0e01
)
fix warning
author
qipeng
<pengrobertqi@163.com>
Thu, 18 Sep 2014 22:13:44 +0000
(15:13 -0700)
committer
qipeng
<pengrobertqi@163.com>
Thu, 18 Sep 2014 22:13:44 +0000
(15:13 -0700)
src/caffe/solver.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/solver.cpp
b/src/caffe/solver.cpp
index
0810f48
..
cca3299
100644
(file)
--- a/
src/caffe/solver.cpp
+++ b/
src/caffe/solver.cpp
@@
-174,7
+174,7
@@
void Solver<Dtype>::Solve(const char* resume_file) {
CHECK_GE(average_loss, 1) << "average_cost should be non-negative.";
vector<Dtype> losses;
- Dtype smoothed_loss;
+ Dtype smoothed_loss
= 0
;
// For a network that is trained by the solver, no bottom or top vecs
// should be given, and we will just provide dummy vecs.