Skip to content

A bug found in SGA on Pubmed dataset #158

@benjaminnNgo

Description

@benjaminnNgo

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions