Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'HetGNNTrainer' object has no attribute 'construct_negative_graph' #251

Open
herbertguoqi opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@herbertguoqi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant