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

remove dependence on torch_sparse #62

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

remove dependence on torch_sparse #62

wants to merge 5 commits into from

Conversation

SherylHYX
Copy link
Owner

No description provided.

@miner007
Copy link

digrac_node.py line 71:
can solve "TypeError: 'coo_matrix' object is not subscriptable"
by changing
from
data.A[train_index][:, train_index]
to
data.A.toarray()[train_index][:, train_index]

@SherylHYX
Copy link
Owner Author

digrac_node.py line 71: can solve "TypeError: 'coo_matrix' object is not subscriptable" by changing from data.A[train_index][:, train_index] to data.A.toarray()[train_index][:, train_index]

Thank you! But I think this still cannot remove the dependency on torch-sparse which I originally aimed at. Do you have any ideas on that?

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

Successfully merging this pull request may close these issues.

2 participants