From bd5c485ca4cbc4e7f2eb6bed410d95c520627976 Mon Sep 17 00:00:00 2001 From: rish-16 Date: Thu, 8 Aug 2019 16:04:22 +0800 Subject: [PATCH] Updated TF logging error --- gpt2_client/__pycache__/__init__.cpython-37.pyc | Bin 0 -> 230 bytes .../__pycache__/gpt2_client.cpython-37.pyc | Bin 0 -> 19154 bytes gpt2_client/gpt2_client.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 gpt2_client/__pycache__/__init__.cpython-37.pyc create mode 100644 gpt2_client/__pycache__/gpt2_client.cpython-37.pyc diff --git a/gpt2_client/__pycache__/__init__.cpython-37.pyc b/gpt2_client/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0fb3275fe9c25ec876135ae43ef189bc4f4d2857 GIT binary patch literal 230 zcmZ?b<>g`kg4h$@v3fxIF^B^LOhASM5Elyoi4=wu#vF!R#wbQch7_h?22JLdKv4!w z##>zO0U<`tIhm<>C4QPrQR3+ZB}VbdV7?v_y9i|5N`@k4AO$9Vh3bbErxq3K7iAV_ zBqn9(yQCIpm*f}d`z9u5WagzR_@pKlmw}C2N?)48_a~-qaPoinU`4-AFo$X Wd5gm)H$SB`C)JJ-XwzpPW&i+GDm}jd literal 0 HcmV?d00001 diff --git a/gpt2_client/__pycache__/gpt2_client.cpython-37.pyc b/gpt2_client/__pycache__/gpt2_client.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0cef8a15c63ac5c4dc54e82f3fe0e65c0ac9af3c GIT binary patch literal 19154 zcmc(H36LDud0t;L(=$7JV6ntS5NuKufhB>(L0yI*kRS+9vd9%ofQMV8N3-*KXJ>aV zyzT{dS3Qn2aNrQ;Os4IQWqAQbmHxsfuGc zaj{ZKzVGjzV^^T;990=$-n@SO?)M+x|G)S4@$vDJfzQz|zyGBZPZ`G7_|X5jh&+aG z_?Jz?P=+#_hR`@UxAJ~Idspxa@~;2u`bBvz`D6HX zn&sBGKc3~C@F(Tnl)q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_1b$9j z;HjR@FJX@dw%(_hX(yx;nmy){VTsgEGQ zk?ZyJZzX6RpzyKzSce-nW*isH`c89MAph=R!W^U>|60wQT-k#uEWUsI5s1}RcRh8C zmT?29at7Bud4E|y$Ht0_t8M%t82p_GO<|Udy|2Z;qj8A`YW;h-W5dUAZjh}q_`^N8 zGPl6XRdSm~&fd!DL^r_lRD4n|Jg73+$N)J^%m! literal 0 HcmV?d00001 diff --git a/gpt2_client/gpt2_client.py b/gpt2_client/gpt2_client.py index 91e15ef..20ed781 100644 --- a/gpt2_client/gpt2_client.py +++ b/gpt2_client/gpt2_client.py @@ -409,7 +409,7 @@ def cond(*args): return tokens os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' -tf.logging.set_verbosity(tf.logging.ERROR) +tf.logging.set_verbosity(tf.compat.v1.logging.ERROR) def default_hparams(): return HParams(