DSXiangLi / ChineseNER

中文NER的那些事儿
307 stars 58 forks source link

tf版本问题 #9

Closed heikesheng closed 2 years ago

heikesheng commented 2 years ago

请问作者,在运行main.py时会遇到这种版本问题然后自动结束运行,环境是按照你的requirements配置的,对tf不太熟悉-_-

WARNING:tensorflow:From /home/boyoi/anaconda3/envs/adv/lib/python3.6/site-packages/tensorflow/python/saved_model/signature_def_utils_impl.py:201: build_tensor_info (from tensorflow.python.saved_model.utils_impl) is deprecated and will be removed in a future version. Instructions for updating: This function will only be available through the v1 compatibility library as tf.compat.v1.saved_model.utils.build_tensor_info or tf.compat.v1.saved_model.build_tensor_info.

heikesheng commented 2 years ago

请问作者,在运行main.py时会遇到这种版本问题然后自动结束运行,环境是按照你的requirements配置的,对tf不太熟悉-_-

WARNING:tensorflow:From /home/boyoi/anaconda3/envs/adv/lib/python3.6/site-packages/tensorflow/python/saved_model/signature_def_utils_impl.py:201: build_tensor_info (from tensorflow.python.saved_model.utils_impl) is deprecated and will be removed in a future version. Instructions for updating: This function will only be available through the v1 compatibility library as tf.compat.v1.saved_model.utils.build_tensor_info or tf.compat.v1.saved_model.build_tensor_info.

应该是执行成功了哈,不影响程序执行~