mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
8 lines
287 B
Python
8 lines
287 B
Python
# This gets rid of NumPy FutureWarnings that occur at TF import
|
|
import warnings
|
|
warnings.filterwarnings('ignore',category=FutureWarning)
|
|
|
|
# This gets rid of TF 2.0 related deprecation warnings
|
|
import tensorflow as tf
|
|
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)
|