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

[BUG] CGNN error: module 'networkx' has no attribute 'adj_matrix' #163

Open
JHPark9090 opened this issue Mar 28, 2024 · 1 comment
Open

Comments

@JHPark9090
Copy link

Hello, I am trying to run CGNN model based on an undirected graph, using the "orient_directed_graph" function.
I am using the exact same codes presented in this example:
https://github.com/FenTechSolutions/CausalDiscoveryToolbox/blob/master/examples/example_cgnn.ipynb

Describe the bug
But whenever, I run the CGNN codes, I obtain this error, which indicates that the 'networkx' library has no attribute 'adj_matrix'.
image

I think it is maybe because the function 'adj_matrix' was deprecated in the 'networkx' library.

Below is the versions of my python and related libraries.
image

I am running my codes on GPUs.

@rafaela-amorim
Copy link

same here

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