-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Temporarily disable logging for Caffe #2628
Comments
See #2504. Suggestions on how to make the fix less hacky are welcome! EDIT: Actually, your suggestion is more reasonable than my proposed "fix". See comment. |
@jshfeng, can you explain why you closed this issue?
This seems like a valid RFE to me, which deserves some sort of a response. |
Do we have any update on this subject? I want to change sys.stderr to a custom output, so that to capture caffe log in a database for experimentation logging, but I am not able to alter anything after importing caffe module, as far as glog logging is considered. The custom output object is created inside the Python program, so I can not call it through terminal (that is, use the bash stderr redirection). I can think of some dirty workarounds, but I would mess really hard with my code. Why aren't any Python wrappers for logging configuration in caffe? This is a severe drawback, with which many people have to make ammends. Are there any plans to fix this behavior, or at least force caffe to actually return the stderr output after each method call, as a variable, so that one can actually do what he pleases with it? |
I've tried in different ways to temporarily disable the logging done when e.g. loading prototxt files in the Python interface to Caffe, but I've been unsuccessful and most of the solutions were quite hacky. See https://groups.google.com/forum/#!topic/caffe-users/4-HtwKqE5xM for more information.
I would therefore like to request a way of temporarily disabling the logging using the Python interface. This would hopefully be useful for everyone that likes short concise logs and know the definition of their network.
The text was updated successfully, but these errors were encountered: