Closed mymxhdd closed 5 years ago
在这一步报错 File "/data/Bert-BiLSTM-CRF-pytorch/model/bert_lstmcrf.py", line 47, in forward embeds, = self.word_embeds(sentence, attention_mask=attention_mask, output_all_encoded_layers=False) TypeError: 'NoneType' object is not callable 请问是什么原因
某一个函数调用是None
bert model路径不对
请问单字符标签怎么表示? 没有 S tag?
在这一步报错 File "/data/Bert-BiLSTM-CRF-pytorch/model/bert_lstmcrf.py", line 47, in forward embeds, = self.word_embeds(sentence, attention_mask=attention_mask, output_all_encoded_layers=False) TypeError: 'NoneType' object is not callable 请问是什么原因