You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Yifan, when I run the code, there is a error:AttributeError: 'Graph' object has no attribute 'node' in such file: utils.py line 23: if not 'val' in G.node[node] or not 'test' in G.node[node]:, would you please tell me how to solve it? Thanks.
The text was updated successfully, but these errors were encountered:
This error is caused by the version of "networkx". You can change the code from "G.node[node]" to "G.nodes[node]", or you can degrade networkx to an older version.
Hi. Yifan, when I run the code, there is a error:
AttributeError: 'Graph' object has no attribute 'node'
in such file: utils.py line 23:if not 'val' in G.node[node] or not 'test' in G.node[node]:
, would you please tell me how to solve it? Thanks.The text was updated successfully, but these errors were encountered: