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:
9f0bfdd
)
io.hpp bugfix
author
Yangqing Jia
<jiayq84@gmail.com>
Tue, 12 Nov 2013 01:02:38 +0000
(17:02 -0800)
committer
Yangqing Jia
<jiayq84@gmail.com>
Tue, 12 Nov 2013 01:02:38 +0000
(17:02 -0800)
include/caffe/util/io.hpp
patch
|
blob
|
history
diff --git
a/include/caffe/util/io.hpp
b/include/caffe/util/io.hpp
index
f14b1ee
..
3174fd0
100644
(file)
--- a/
include/caffe/util/io.hpp
+++ b/
include/caffe/util/io.hpp
@@
-45,7
+45,7
@@
bool ReadImageToDatum(const string& filename, const int label,
inline bool ReadImageToDatum(const string& filename, const int label,
Datum* datum) {
- ReadImageToDatum(filename, label, 0, 0, datum);
+
return
ReadImageToDatum(filename, label, 0, 0, datum);
}
} // namespace caffe