Caffe: how can I turn off the log system in pycaffe when the network is initialized?

Created on 12 Jun 2017  路  2Comments  路  Source: BVLC/caffe

Please use the caffe-users list for usage, installation, or modeling questions, or other requests for help.
_Do not post such requests to Issues._ Doing so interferes with the development of Caffe.

Please read the guidelines for contributing before submitting this issue.

Issue summary

Steps to reproduce

If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command.

Your system configuration

Operating system:
Compiler:
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively):

Most helpful comment

import os
os.environ['GLOG_minloglevel'] = '2' # suprress Caffe verbose prints
import caffe

All 2 comments

import os
os.environ['GLOG_minloglevel'] = '2' # suprress Caffe verbose prints
import caffe

If you use Visual Studio or PyCharm (any IDE I assume) on windows, you need to set the system environment variable manually (thus not through your python code) instead and restart the IDE before the change takes effect.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OpenHero picture OpenHero  路  3Comments

greatgao picture greatgao  路  3Comments

prathmeshrmadhu picture prathmeshrmadhu  路  3Comments

serimp picture serimp  路  3Comments

erogol picture erogol  路  3Comments