Skip to content

Commit

Permalink
Get back 'USE CPU' print for caffe train
Browse files Browse the repository at this point in the history
  • Loading branch information
ronghanghu committed Sep 16, 2015
1 parent 71e0587 commit 3d3a8b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/caffe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ int train() {
vector<int> gpus;
get_gpus(&gpus);
if (gpus.size() == 0) {
LOG(INFO) << "Use CPU.";
Caffe::set_mode(Caffe::CPU);
} else {
ostringstream s;
Expand Down

0 comments on commit 3d3a8b2

Please sign in to comment.