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

what are the requirements #1

Open
masa569 opened this issue Aug 15, 2023 · 0 comments
Open

what are the requirements #1

masa569 opened this issue Aug 15, 2023 · 0 comments

Comments

@masa569
Copy link

masa569 commented Aug 15, 2023

Hello, please what are the requirements

I have this issue:

/content/DeepIM/genim.py:66: DeprecationWarning: Please use csr_matrix from the scipy.sparse namespace, the scipy.sparse.csr namespace is deprecated.
graph = pickle.load(f)

/content/DeepIM/genim.py:193: DeprecationWarning: Please use csr_matrix from the scipy.sparse namespace, the scipy.sparse.csr namespace is deprecated.
graph = pickle.load(f)
/content/DeepIM/genim.py:188: UserWarning: Using a target size (torch.Size([1, 2810])) that is different to the input size (torch.Size([2810, 1])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
forward_loss = F.mse_loss(y_hat, y_true)
Iteration: 1 Total Loss:0.85172
Iteration: 2 Total Loss:0.86408
/content/DeepIM/genim.py:236: DeprecationWarning: Please use csr_matrix from the scipy.sparse namespace, the scipy.sparse.csr namespace is deprecated.
graph = pickle.load(f)
Traceback (most recent call last):
File "/content/DeepIM/genim.py", line 240, in
influence = diffusion_evaluation(adj, seed, diffusion = args.diffusion_model)
File "/content/DeepIM/main/utils.py", line 259, in diffusion_evaluation
G = nx.from_scipy_sparse_matrix(adj_matrix)
AttributeError: module 'networkx' has no attribute 'from_scipy_sparse_matrix'

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

1 participant