Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit bd5c485

Browse files
committed
Updated TF logging error
1 parent ce6ac5b commit bd5c485

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
230 Bytes
Binary file not shown.
Binary file not shown.

gpt2_client/gpt2_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def cond(*args):
409409
return tokens
410410

411411
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
412-
tf.logging.set_verbosity(tf.logging.ERROR)
412+
tf.logging.set_verbosity(tf.compat.v1.logging.ERROR)
413413

414414
def default_hparams():
415415
return HParams(

0 commit comments

Comments
 (0)