Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf.logging.info失效 !! #31

Open
snop222 opened this issue Dec 9, 2020 · 2 comments
Open

tf.logging.info失效 !! #31

snop222 opened this issue Dec 9, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@snop222
Copy link

snop222 commented Dec 9, 2020

我安裝了ckiptagger... (tensorflow 1.14)
pip install -U ckiptagger

只要加上
from ckiptagger import data_utils, construct_dictionary, WS, POS, NER

就無法使用 tf.logging.info 來顥示訊息!!

@jacobvsdanniel
Copy link
Collaborator

在 import ckiptagger 後,tensorflow logging level 調整為 ERROR。
可在 import 後再調整為 INFO,例如:

from ckiptagger import data_utils, construct_dictionary, WS, POS, NER
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.INFO)

@jacobvsdanniel jacobvsdanniel added the good first issue Good for newcomers label Dec 14, 2020
@snop222
Copy link
Author

snop222 commented Feb 27, 2021

了解,感謝!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants