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 in MAGNN #14

Closed
justicevita opened this issue Nov 17, 2020 · 2 comments
Closed

Error in MAGNN #14

justicevita opened this issue Nov 17, 2020 · 2 comments

Comments

@justicevita
Copy link

my dgl version is 0.5.2
in MAGNN utils.py line 206:
g.from_network(ng)
raise an error:
raise DGLError('DGLGraph.from_networkx is deprecated. Please call the following\n\n'
dgl._ffi.base.DGLError: DGLGraph.from_networkx is deprecated. Please call the following
dgl.from_networkx(nx_graph, node_attrs, edge_attrs)
, which creates a new DGLGraph from the networkx graph.

@PiggyGaGa
Copy link

you can use dgl 0.3 version

@xiaoyuxin1002
Copy link
Collaborator

Thanks for pointing it out! The codes have been updated to work with dgl-cu101 0.5.2

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

3 participants