FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix deprecation warnings · Charrin/CaffeOnACL@e3de3d5 · GitHub

Repository navigation

Commit e3de3d5

Browse files
committed
fix deprecation warnings
1 parent 76633d3 commit e3de3d5

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎tools/device_query.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "caffe/common.hpp"
22

33
int main(int argc, char** argv) {
4-
LOG(FATAL) << "Deprecated. Use caffe.bin devicequery "
4+
LOG(FATAL) << "Deprecated. Use caffe device_query "
55
"[--device_id=0] instead.";
66
return 0;
77
}

‎tools/finetune_net.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "caffe/caffe.hpp"
22

33
int main(int argc, char** argv) {
4-
LOG(FATAL) << "Deprecated. Use caffe.bin train --solver_proto_file=... "
5-
"[--pretrained_net_file=...] instead.";
4+
LOG(FATAL) << "Deprecated. Use caffe train --solver=... "
5+
"[--weights=...] instead.";
66
return 0;
77
}

‎tools/net_speed_benchmark.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "caffe/caffe.hpp"
22

33
int main(int argc, char** argv) {
4-
LOG(FATAL) << "Deprecated. Use caffe.bin speedtest --net_proto_file=... "
5-
"[--run_iterations=50] [--speedtest_with_gpu] [--device_id=0]";
4+
LOG(FATAL) << "Deprecated. Use caffe time --model=... "
5+
"[--iterations=50] [--gpu] [--device_id=0]";
66
return 0;
77
}

‎tools/test_net.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "caffe/caffe.hpp"
22

33
int main(int argc, char** argv) {
4-
LOG(FATAL) << "Deprecated. Use caffe.bin test --model=... "
4+
LOG(FATAL) << "Deprecated. Use caffe test --model=... "
55
"--weights=... instead.";
66
return 0;
77
}

‎tools/train_net.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "caffe/caffe.hpp"
22

33
int main(int argc, char** argv) {
4-
LOG(FATAL) << "Deprecated. Use caffe.bin train --solver_proto_file=... "
5-
"[--resume_point_file=...] instead.";
4+
LOG(FATAL) << "Deprecated. Use caffe train --solver=... "
5+
"[--snapshot=...] instead.";
66
return 0;
77
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL