1、AttributeError: module 'tensorflow.contrib.estimator' has no attribute 'stop_if_no_decrease_hook'
文件目录:File "/home/你的用户名/anaconda3/envs/py36/lib/python3.6/site-packages/bert_base/train/bert_lstm_ner.py", line 618, in train
early_stopping_hook = tf.contrib.estimator.stop_if_no_decrease_hook(
将 tf.contrib.estimator.stop_if_no_decrease_hook修改为:tf.estimator.experimental.stop_if_no_decrease_hook
前面的是tf1.11版本,后面的是tf1.14