suppress tf-internal deprication warning
This commit is contained in:
parent
7834a65ff5
commit
31591bef0f
@ -20,6 +20,8 @@ def input_size():
|
|||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
def keras_model(input_size):
|
def keras_model(input_size):
|
||||||
|
import warnings
|
||||||
|
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
||||||
|
|
||||||
import os
|
import os
|
||||||
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user