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

Error to run without Cuda #68

Closed
M-Somtirth opened this issue Jan 26, 2022 · 4 comments
Closed

Error to run without Cuda #68

M-Somtirth opened this issue Jan 26, 2022 · 4 comments

Comments

@M-Somtirth
Copy link

File "C:\Users\XyZ\OpenHGNN\openhgnn\models\GTN_sparse.py", line 220, in forward
sum_g = dgl.adj_sum_graph(A, 'w_sum')
AttributeError: module 'dgl' has no attribute 'adj_sum_graph'

This Issue came-up while I ran the command= python main.py -m GTN -d imdb4GTN -t node_classification -g -1 --use_best_config

Can someone say me where I went wrong?

@Theheavens
Copy link
Member

Which version of DGL do you use?

@M-Somtirth
Copy link
Author

DGL 0.6.1

@Theheavens
Copy link
Member

It should be updated. The API adj_sum_graph is the new feature of version 0.7.
You could install the stable version or the nightly build version.
Refer to: https://www.dgl.ai/pages/start.html

@M-Somtirth
Copy link
Author

Thanks its done!

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

2 participants