From 944022455665050e0142d36bd0633be6fefa03e6 Mon Sep 17 00:00:00 2001 From: iperov Date: Sat, 9 Mar 2019 20:23:33 +0400 Subject: [PATCH] change TF console log level to 'errors only' --- nnlib/nnlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nnlib/nnlib.py b/nnlib/nnlib.py index c86ba5b..c864e4d 100644 --- a/nnlib/nnlib.py +++ b/nnlib/nnlib.py @@ -121,7 +121,7 @@ NLayerDiscriminator = nnlib.NLayerDiscriminator os.environ.pop('CUDA_VISIBLE_DEVICES') os.environ['TF_MIN_GPU_MULTIPROCESSOR_COUNT'] = '2' - + os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' #tf log errors only import tensorflow as tf nnlib.tf = tf