DSE-MSU / DeepRobust

A pytorch adversarial library for attack and defense methods on images and graphs
MIT License
956 stars 191 forks source link

关于graph是否使用lcc版本的设置问题 #156

Open hexin5515 opened 3 weeks ago

hexin5515 commented 3 weeks ago

您好,我想问一下关于graph attack的方法中,默认设置的是使用graph的lcc版本,有什么方法可以设置不使用lcc版本的graph进行攻击呢

ChandlerBang commented 3 weeks ago

Hi,

When you load the dataset, you can set the setting to gcn, which will disable the lcc version.

https://github.com/DSE-MSU/DeepRobust/blob/43ff9d688e2ba76b6e910cb572c82b77ef42a2fe/deeprobust/graph/data/dataset.py#L75