DeepRobust icon indicating copy to clipboard operation
DeepRobust copied to clipboard

A bug found in SGA on Pubmed dataset

Open benjaminnNgo opened this issue 1 year ago • 0 comments

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'

benjaminnNgo avatar Aug 01 '24 01:08 benjaminnNgo