title: Setting GLOG_minloglevel=1 to prevent output in shell from Caffe
body: <p>I'm using Caffe, which is printing a lot of output to the shell when loading the neural net.<br>
  I'd like to suppress that output, which supposedly can be done by setting <code>GLOG_minloglevel=1</code> when running the Python script. I've tried doing that using the following code, but I still get all the output from loading the net. How do I suppress the output correctly?</p>
  
  <pre><code>os.environ["GLOG_minloglevel"] = "1"
  net = caffe.Net(model_file, pretrained, caffe.TEST)
  os.environ["GLOG_minloglevel"] = "0"
  </code></pre>