diff options
author | Luke Yeager <lyeager@nvidia.com> | 2015-09-01 17:20:37 -0700 |
---|---|---|
committer | Luke Yeager <lyeager@nvidia.com> | 2015-09-01 17:20:37 -0700 |
commit | 6ca0ab66077c578dff14aa775858035b2a69fed6 (patch) | |
tree | 9780d60ae21d8f2872a680c2895ba7e3d787f6c5 /tools | |
parent | 2d55e31ff5efd2653aa3440295857f4850a4b7f1 (diff) | |
download | caffeonacl-6ca0ab66077c578dff14aa775858035b2a69fed6.tar.gz caffeonacl-6ca0ab66077c578dff14aa775858035b2a69fed6.tar.bz2 caffeonacl-6ca0ab66077c578dff14aa775858035b2a69fed6.zip |
Show output from convert_imageset tool
Diffstat (limited to 'tools')
-rw-r--r-- | tools/convert_imageset.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/convert_imageset.cpp b/tools/convert_imageset.cpp index 816a91f9..aad1f1fe 100644 --- a/tools/convert_imageset.cpp +++ b/tools/convert_imageset.cpp @@ -44,6 +44,8 @@ DEFINE_string(encode_type, "", int main(int argc, char** argv) { ::google::InitGoogleLogging(argv[0]); + // Print output to stderr (while still logging) + FLAGS_alsologtostderr = 1; #ifndef GFLAGS_GFLAGS_H_ namespace gflags = google; @@ -140,13 +142,13 @@ int main(int argc, char** argv) { // Commit db txn->Commit(); txn.reset(db->NewTransaction()); - LOG(ERROR) << "Processed " << count << " files."; + LOG(INFO) << "Processed " << count << " files."; } } // write the last batch if (count % 1000 != 0) { txn->Commit(); - LOG(ERROR) << "Processed " << count << " files."; + LOG(INFO) << "Processed " << count << " files."; } return 0; } |