mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-22 18:21:51 +01:00
Compare commits
2 Commits
3a3d58e956
...
d1df335c9a
Author | SHA1 | Date | |
---|---|---|---|
|
d1df335c9a | ||
|
b419bc4a56 |
@ -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
|
||||
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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user