Commit 19a4b54f authored by Manuel Günther's avatar Manuel Günther

Avoid caffe to spill out stuff when loading networks and running

parent 5e235e4a
Pipeline #13681 passed with stages
in 8 minutes and 2 seconds
......@@ -9,6 +9,7 @@ import bob.core
logger = bob.core.log.setup("bob.ip.mtcnn")
bob.core.log.set_verbosity_level(logger, 3)
import os
os.environ['GLOG_minloglevel'] = '2'
import caffe
import bob.ip.base
......@@ -181,4 +182,3 @@ class FaceDetector(object):
def get_mtcnn_model_path():
import pkg_resources
return pkg_resources.resource_filename(__name__, 'data')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment