From 31591bef0fc985ea741f480cdebb02dba3c4859a Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Fri, 25 Mar 2022 14:56:47 +0100 Subject: [PATCH] suppress tf-internal deprication warning --- test/unit_tests/service_estimator_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit_tests/service_estimator_test.py b/test/unit_tests/service_estimator_test.py index aee2727..7503bd5 100644 --- a/test/unit_tests/service_estimator_test.py +++ b/test/unit_tests/service_estimator_test.py @@ -20,6 +20,8 @@ def input_size(): @pytest.fixture(scope="session") def keras_model(input_size): + import warnings + warnings.filterwarnings("ignore", category=DeprecationWarning) import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'