DeepRobust
DeepRobust copied to clipboard
A pytorch adversarial library for attack and defense methods on images and graphs
Hi there, I use the latest version on Linux and I encountered this issue while running the mettack on graph, attack structure only. The dataset is 'Cora' using public split,...
What is the definition of **targeted attack**? For graph data, the target can represent two things: - target node: attack specific node (in node classification task) - target label: attack...
total_loss = loss_fro \ + args.gamma * loss_gcn \ + args.alpha * loss_l1 \ + args.beta * loss_nuclear \ + args.phi * loss_symmetric In prognn, total_loss should be "loss_diffiential \...
Bumps [numpy](https://github.com/numpy/numpy) from 1.17.1 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...
on this line https://github.com/DSE-MSU/DeepRobust/blob/master/deeprobust/image/defense/pgdtraining.py#L219 `adversary = PGD(self.model)` You guys forgot to pass in the self.device parameter, which results in inconsistency between the device in the PGD class and the PGDTraining...
I ran the example code for pgd training several times and each time either the model started converging from the beginning or the model never converged (this happened more often)....
sgc.py file may have some logical problem.pyg_data is an object so pyg_data[0] will cause the problem
run ./deeprobust/BPDA.py. Traceback (most recent call last): File "/Users/chenxinliang/Desktop/DeepRobust-master/deeprobust/image/attack/BPDA.py", line 109, in BPDA_attack(img_t, 924, resnet18) File "/Users/chenxinliang/Desktop/DeepRobust-master/deeprobust/image/attack/BPDA.py", line 82, in BPDA_attack loss = l2(0,adv_def) File "/Users/chenxinliang/Anaconda3/anaconda3/python.app/Contents/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in __call__...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.0.0 to 9.0.1. Release notes Sourced from pillow's releases. 9.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html Changes In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [@radarhere, @hugovk] Restrict builtins within...
When I use the three examples you recommended using pyg, the program all reports the same error, is there an error in the dpr2pyg file? File "/usr/local/anaconda3/envs/torch_pyg/lib/python3.9/site-packages/deeprobust/graph/data/pyg_dataset.py", line 83, in...