mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-10 19:29:26 +01:00
Merge b419bc4a56b96982e666c3d072ac4aa898f9b2d4 into fb54d8b54984f89f7dba90a18e7c3048421464c3
This commit is contained in:
commit
d1df335c9a
@ -481,7 +481,7 @@ def set_tensorflow_log_level(log_level):
|
|||||||
Note that tf.Print output are INFO logs, so setting log_level above 0 would hide
|
Note that tf.Print output are INFO logs, so setting log_level above 0 would hide
|
||||||
output from tf.Print.
|
output from tf.Print.
|
||||||
"""
|
"""
|
||||||
assert isinstance(log_level, int) and log_level >= 0 and log_level <= 3
|
assert isinstance(log_level, int) and 0 <= log_level <= 3
|
||||||
os.environ['TF_CPP_MIN_LOG_LEVEL'] = str(log_level)
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = str(log_level)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user