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

Constructing a StellarGraph directly from a NetworkX graph has been replaced by the StellarGraph.from_networkx function #2103

Open
HripsimeS opened this issue Jan 18, 2024 · 0 comments
Labels
bug Something isn't working sg-library

Comments

@HripsimeS
Copy link

@adocherty @TheDen @huonw @wangzhen263 @timpitman

Hello. While I run the following code
https://github.com/Yaxin-Cui/Graph-Neural-Network/blob/main/code/graphstellar_updated.py

I am getting the following error
graphstellar_updated.py:441: DeprecationWarning: Constructing a StellarGraph directly from a NetworkX graph has been replaced by the StellarGraph.from_networkx function G_train = sg.StellarGraph(G_train, node_features="feature")

Can you please help me to see what I should modify in the script to NOT get that error. Thanks in advance!

@HripsimeS HripsimeS added bug Something isn't working sg-library labels Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sg-library
Projects
None yet
Development

No branches or pull requests

1 participant