ProHiryu / albert-chinese-ner

使用预训练语言模型ALBERT做中文NER
MIT License
467 stars 124 forks source link

AttributeError: module 'tensorflow' has no attribute 'Optimizer' #6

Closed yihenglu closed 5 years ago

yihenglu commented 5 years ago

tensorflow的版本为1.15.0,请问为什么报AttributeError: module 'tensorflow' has no attribute 'Optimizer'?谢谢

yihenglu commented 5 years ago

已解决,应该为tf.train.Optimizer