stephen-v / zh-NER-keras

details
https://www.cnblogs.com/vipyoumay/p/ner-chinese-keras.html
264 stars 115 forks source link

Changing module keras_contrib to tensorflow_addons with tensorflow 2.3 #25

Open DBrandom opened 3 years ago

DBrandom commented 3 years ago

tensorflowversion 2.3.0 tensorflow_addons.version 0.11.2 Raise error at model.add(crf) "All layers in a Sequential model should have a single output tensor. For multi-output layers, use the functional API."

lseaJK commented 1 year ago

tensorflowversion 2.3.0 tensorflow_addons.version 0.11.2 Raise error at model.add(crf) "All layers in a Sequential model should have a single output tensor. For multi-output layers, use the functional API."

Have you solved the problem? I am confused with the same question.