未验证 提交 a12300be 编写于 作者: S Steffy-zxf 提交者: GitHub

close the predictor log(#435)

close the predictor log
上级 955f7660
......@@ -932,6 +932,7 @@ class BaseTask(object):
with tmp_dir() as _dir:
self.save_inference_model(dirname=_dir)
predictor_config = fluid.core.AnalysisConfig(_dir)
predictor_config.disable_glog_info()
if self.config.use_cuda:
predictor_config.enable_use_gpu(100, 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册