tf.logging.info失效 !!
snop222 opened this issue · comments
我安裝了ckiptagger... (tensorflow 1.14)
pip install -U ckiptagger
只要加上
from ckiptagger import data_utils, construct_dictionary, WS, POS, NER
就無法使用 tf.logging.info 來顥示訊息!!
在 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)
了解,感謝!