Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I turn off the log system in pycaffe when the network is initialized? #5681

Closed
WenmuZhou opened this issue Jun 12, 2017 · 2 comments
Closed

Comments

@WenmuZhou
Copy link

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):

@deepbluesea
Copy link

deepbluesea commented Jun 16, 2017

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

@CorentinJ
Copy link

CorentinJ commented Nov 24, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants