BUPT-GAMMA / CompareNet_FakeNewsDetection

Compare to The Knowledge: Graph Neural Fake News Detection with External Knowledge (ACL 2021)
93 stars 36 forks source link

AssertionError: dim of adj does not match the num of sent, where the idx is 53 #13

Open NEXUS-Liu opened 6 months ago

NEXUS-Liu commented 6 months ago

Traceback (most recent call last): File "main.py", line 144, in main(params) File "main.py", line 106, in main dl = DataLoader(params) File "/root/rumor/CompareNet_FakeNewsDetection-master/CompareNet_FakeNewsDetection-master/data_loader.py", line 84, in init dataset_train = DataSet(self.train, self.adj_train, self.fea_train, self.params, self.entity_description) File "/root/rumor/CompareNet_FakeNewsDetection-master/CompareNet_FakeNewsDetection-master/data_loader.py", line 266, in init "dim of adj does not match the num of sent, where the idx is {}".format(i) AssertionError: dim of adj does not match the num of sent, where the idx is 53 感谢您的分享,请问这个问题应该如何解决呢?