macanv / BERT-BiLSTM-CRF-NER

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services
https://github.com/macanv/BERT-BiLSMT-CRF-NER
4.67k stars 1.25k forks source link

Assign requires shapes of both tensors to match. lhs shape= [1] rhs shape= [13] [[node save/Assign_201 (defined at /usr/local/lib/python3.5/dist-packages/bert_base-0.0.9-py3.5.egg/bert_base/server/graph.py:291) ]] #381

Open dolphin-Jia opened 3 years ago

dolphin-Jia commented 3 years ago

用了自己的英文NER数据集,删除了crf的tanh激活函数,开启服务就报错如上