mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
tf logs disabled
This commit is contained in:
parent
767b2028b5
commit
cdf86701e3
@ -11,10 +11,8 @@ import json
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import tensorflow as tf
|
import tensorflow as tf
|
||||||
|
import logging
|
||||||
#-----------------------------------------
|
tf.get_logger().setLevel(logging.ERROR)
|
||||||
|
|
||||||
tf_version = int(tf.__version__.split(".")[0])
|
|
||||||
|
|
||||||
#-----------------------------------------
|
#-----------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user