title: How to change between GPU mode and CPU mode in caffe?
body: <p>I compiled Caffe without copying and editing Makefile.config.example. I tried to run a code in caffe and it shows me CPU mode. My question is that whether it is possible to do refinement on the configuration file after caffe installation? if yes, How?</p>
  
  <pre><code>~/caffe-master$ SOME_COMMANDS BLAH BLAH
  
  CPU mode
  </code></pre>
  
  <p>How can I switch the running from <strong><em>CPU mode</em></strong> to <strong><em>GPU mode</em></strong> and vice versa?</p>
  
  <p>I really appreciate if you help me. I am beginner in both  caffe and python. Thanks</p>