IE-Bert-CNN
IE-Bert-CNN copied to clipboard
请教
执行python main.py train报错: File "F:\Skill\Code\RELATION\IE-Bert-CNN-master\models\BERT_MUL_CNN.py", line 112, in forward sequence_output, _ = self.bertForToken.bert(batch_data, token_type_ids=None, attention_mask=batch_masks, output_all_encoded_layers=False) AttributeError: 'NoneType' object has no attribute 'bert' 请问有没有解决办法?
遇到同样的问题,请问解决了吗?
您好,作者! 执行python main.py train报错: File "F:\Skill\Code\RELATION\IE-Bert-CNN-master\models\BERT_MUL_CNN.py", line 112, in forward sequence_output, _ = self.bertForToken.bert(batch_data, token_type_ids=None, attention_mask=batch_masks, output_all_encoded_layers=False) AttributeError: 'NoneType' object has no attribute 'bert' 请问有没有解决办法?