How can I turn off tensorflow messages such as :
2019-08-14 16:07:26.928502: I tensorflow/core/common_runtime/placer.cc:54] Adam_3/decay/initial_value: (Const)/job:localhost/replica:0/task:0/device:CPU:0
2019-08-14 16:07:26.928520: I tensorflow/core/common_runtime/placer.cc:54] noisy_layer_4_target: (Placeholder)/job:localhost/replica:0/task:0/device:CPU:0
....
I've tried :
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
os.environ['TF_CPP_MIN_VLOG_LEVEL'] = '3'
tf.logging.set_verbosity(tf.logging.ERROR) # also tried DEBUG, FATAL, WARN, INFO
logging.getLogger('tensorflow').disabled = True
from other SO questions but they don't change anything.
I'm using keras with tf as backend , with tf.version = 1.14, in spyder