projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974215d
)
Display total num of processed files after computing image mean
author
Kai Li
<kaili_kloud@163.com>
Mon, 17 Mar 2014 07:55:47 +0000
(15:55 +0800)
committer
Kai Li
<kaili_kloud@163.com>
Tue, 18 Mar 2014 07:54:37 +0000
(15:54 +0800)
tools/compute_image_mean.cpp
patch
|
blob
|
history
diff --git
a/tools/compute_image_mean.cpp
b/tools/compute_image_mean.cpp
index
3e6b911
..
d1739da
100644
(file)
--- a/
tools/compute_image_mean.cpp
+++ b/
tools/compute_image_mean.cpp
@@
-66,6
+66,9
@@
int main(int argc, char** argv) {
LOG(ERROR) << "Processed " << count << " files.";
}
}
+ if (count % 10000 != 0) {
+ LOG(ERROR) << "Processed " << count << " files.";
+ }
for (int i = 0; i < sum_blob.data_size(); ++i) {
sum_blob.set_data(i, sum_blob.data(i) / count);
}