From b35abc0208c67eb55cec01169bea2dbc11395d3d Mon Sep 17 00:00:00 2001 From: lucas_miranda <lucasmiranda42@gmail.com> Date: Thu, 11 Feb 2021 00:47:13 +0100 Subject: [PATCH] Removed excessive tensorflow logging while training autoencoders --- deepof/data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deepof/data.py b/deepof/data.py index d765eaac..b61e7598 100644 --- a/deepof/data.py +++ b/deepof/data.py @@ -36,8 +36,10 @@ import os import pandas as pd import warnings -# DEFINE CUSTOM ANNOTATED TYPES # +# Remove excessive logging from tensorflow +os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2" +# DEFINE CUSTOM ANNOTATED TYPES # Coordinates = deepof.utils.NewType("Coordinates", deepof.utils.Any) Table_dict = deepof.utils.NewType("Table_dict", deepof.utils.Any) -- GitLab