diff options
author | Kai Li <kaili_kloud@163.com> | 2014-03-17 15:55:47 +0800 |
---|---|---|
committer | Kai Li <kaili_kloud@163.com> | 2014-03-18 15:54:37 +0800 |
commit | 53f1ef3af2f3a1a7a0b5f2c64dcde83066e04ff3 (patch) | |
tree | c1b574fb487613fdf13dffafb9d1f13b4c240efc /tools | |
parent | 974215d98285001565f3711f79453d091a9c52c3 (diff) | |
download | caffeonacl-53f1ef3af2f3a1a7a0b5f2c64dcde83066e04ff3.tar.gz caffeonacl-53f1ef3af2f3a1a7a0b5f2c64dcde83066e04ff3.tar.bz2 caffeonacl-53f1ef3af2f3a1a7a0b5f2c64dcde83066e04ff3.zip |
Display total num of processed files after computing image mean
Diffstat (limited to 'tools')
-rw-r--r-- | tools/compute_image_mean.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/compute_image_mean.cpp b/tools/compute_image_mean.cpp index 3e6b9114..d1739dac 100644 --- 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); } |