How to switch off the log by python?

14 views
Skip to first unread message

Tim Liu

unread,
Oct 15, 2017, 11:06:14 PM10/15/17
to Caffe Users
In my python codes.
When  net=caffe.Net(net_file,caffe_model,caffe.TEST) was invoked in deploy phrase
the log will be output to the console. How to switch it off.

Przemek D

unread,
Oct 17, 2017, 6:56:37 AM10/17/17
to Caffe Users
import os
os.environ['GLOG_minloglevel'] = '2'
Reply all
Reply to author
Forward
0 new messages