BUPT-GAMMA / OpenHGNN

This is an open-source toolkit for Heterogeneous Graph Neural Network(OpenHGNN) based on DGL.
Apache License 2.0
866 stars 143 forks source link

HIN_LinkPrediction' object has no attribute 'get_idx' #57

Closed xuptacm closed 2 years ago

xuptacm commented 3 years ago

\OpenHGNN-main\openhgnn\tasks\link_prediction.py", line 32, in init self.train_hg, self.val_hg, self.test_hg = self.dataset.get_idx() AttributeError: 'HIN_LinkPrediction' object has no attribute 'get_idx'

xuptacm commented 3 years ago

\Desktop\OpenHGNN-main> python main.py -m RGCN -d academic4HetGNN -t link_prediction -g -1 --use_best_config

Theheavens commented 2 years ago

Sorry for my late reply. And the dataset academic4HetGNN is only for HetGNN, you can try other datasets like HGBl-ACM,HGBl-DBLP, etc.