未验证 提交 a510c175 编写于 作者: W whs 提交者: GitHub

Use print instead of logger. (#2855)

上级 8a7b1e36
......@@ -155,7 +155,7 @@ def check_gpu(use_gpu):
try:
if use_gpu and not fluid.is_compiled_with_cuda():
logger.error(err)
print(err)
sys.exit(1)
except Exception as e:
pass
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册