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

A bug found in SGA on Pubmed dataset #158

Open
benjaminnNgo opened this issue Aug 1, 2024 · 0 comments
Open

A bug found in SGA on Pubmed dataset #158

benjaminnNgo opened this issue Aug 1, 2024 · 0 comments

Comments

@benjaminnNgo
Copy link

benjaminnNgo commented Aug 1, 2024

Hi!
Thanks for a very nice package.

I am having an error while running the example, provided inside the SGA class, of the SGA attack on the Pubmed dataset. Here are the code chunk and the error I got:

SGA_bug

self.selfloop_degree = torch.tensor(adj.sum(1).A1 + 1, device=self.device) .AttributeError: 'numpy.ndarray' object has no attribute 'A1'

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