fix deprecation warnings
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 7 Aug 2014 06:48:29 +0000 (23:48 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 7 Aug 2014 06:48:29 +0000 (23:48 -0700)
tools/device_query.cpp
tools/finetune_net.cpp
tools/net_speed_benchmark.cpp
tools/test_net.cpp
tools/train_net.cpp

index 2678154..03799e5 100644 (file)
@@ -1,7 +1,7 @@
 #include "caffe/common.hpp"
 
 int main(int argc, char** argv) {
-  LOG(FATAL) << "Deprecated. Use caffe.bin devicequery "
+  LOG(FATAL) << "Deprecated. Use caffe device_query "
                 "[--device_id=0] instead.";
   return 0;
 }
index 2966de4..81c0c35 100644 (file)
@@ -1,7 +1,7 @@
 #include "caffe/caffe.hpp"
 
 int main(int argc, char** argv) {
-  LOG(FATAL) << "Deprecated. Use caffe.bin train --solver_proto_file=... "
-                "[--pretrained_net_file=...] instead.";
+  LOG(FATAL) << "Deprecated. Use caffe train --solver=... "
+                "[--weights=...] instead.";
   return 0;
 }
index ff112bd..cd16e8d 100644 (file)
@@ -1,7 +1,7 @@
 #include "caffe/caffe.hpp"
 
 int main(int argc, char** argv) {
-  LOG(FATAL) << "Deprecated. Use caffe.bin speedtest --net_proto_file=... "
-             "[--run_iterations=50] [--speedtest_with_gpu] [--device_id=0]";
+  LOG(FATAL) << "Deprecated. Use caffe time --model=... "
+             "[--iterations=50] [--gpu] [--device_id=0]";
   return 0;
 }
index cebbc4b..92e14ee 100644 (file)
@@ -1,7 +1,7 @@
 #include "caffe/caffe.hpp"
 
 int main(int argc, char** argv) {
-  LOG(FATAL) << "Deprecated. Use caffe.bin test --model=... "
+  LOG(FATAL) << "Deprecated. Use caffe test --model=... "
       "--weights=... instead.";
   return 0;
 }
index 26aeb40..622bca3 100644 (file)
@@ -1,7 +1,7 @@
 #include "caffe/caffe.hpp"
 
 int main(int argc, char** argv) {
-  LOG(FATAL) << "Deprecated. Use caffe.bin train --solver_proto_file=... "
-                "[--resume_point_file=...] instead.";
+  LOG(FATAL) << "Deprecated. Use caffe train --solver=... "
+                "[--snapshot=...] instead.";
   return 0;
 }