suppress tf-internal deprication warning

This commit is contained in:
Matthias Bisping 2022-03-25 14:56:47 +01:00
parent 7834a65ff5
commit 31591bef0f

View File

@ -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'