OpenHGNN icon indicating copy to clipboard operation
OpenHGNN copied to clipboard

'HetGNNTrainer' object has no attribute 'construct_negative_graph'

Open herbertguoqi opened this issue 1 year ago • 0 comments
trafficstars

when i run "python main.py -m HetGNN -t node_classification -d academic4HetGNN -g 0" to train my hetgnn model, I encounter this error

File "/root/OpenHGNN/openhgnn/trainerflow/hetgnn_trainer.py", line 78, in _full_train_setp negative_graph = self.construct_negative_graph() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HetGNNTrainer' object has no attribute 'construct_negative_graph'

And not find construct_negative_graph function in this class Can you tell me how to fix this? thx

herbertguoqi avatar Nov 06 '24 03:11 herbertguoqi