Skip to content

Commit

Permalink
Merge pull request BVLC#3074 from ronghanghu/show-use-cpu
Browse files Browse the repository at this point in the history
Get back 'USE CPU' print for caffe train
  • Loading branch information
ronghanghu committed Sep 17, 2015
2 parents 5ff3734 + 3d3a8b2 commit 2a585f7
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 2a585f7

Please sign in to comment.