-
I have a custom PyTorch model (derived from nn.Module) and a batch of MNIST images (obtained via torch.utils.data.DataLoader) with which I want to perform an FGMS attack as follows:
```
foolbox_mode…
-
keras: 2.1.4
tf: 1.5.0
cleverhans: 2.0.0-aa80e13d0f63be3197ba61290f46e44d
Ubuntu: 17.10
`jsma = SaliencyMapMethod(wrap, sess=sess)`
`jsma_params = {'gamma': 0.1, 'clip_min': 0., 'clip_max': 1…
-
Hello , I intend to test FGSM attack in random number and I got the above error.
My model is like this:
import keras
import tensorflow as tf
import numpy as np
import foolbox
from keras.mo…
-
**Describe the bug**
tensorflow.python.framework.errors_impl.InternalError: Invalid loop structure: Mismatched parent frames for "while/while_context": "while/while_context" vs "". The node giving th…
-
**Defense**: Linear output layer(no softmax), trained with quadratic cost, weights pruned based on smallest mean activated value.
**Write-up**: https://jngannon.github.io/FGSM_Article
**Authors*…
-
设置attack_config = {"epsilons": 0.0}时, 攻击的成功率依然为100%
-
I notice that in examples/nips17_adversarial_competition/dev_tookit/sample_attacks/fgsm/attack_fgsm.py, when construct the fgsm model using `fgsm=FastGradientMethod(model)`, no sess object is passed.…
-
I'm having problems implementing attacks on ResNet50.
The documentation example works, but as I try to run it on the imagenet samples from foolbox.utils.samples it stops working.
Unlike the exampl…
-
Hi, I use your GAP for my model analysis and had read your code.
I found that your code modifies the value in the matrix by directly accessing ```data``` property (e.g., [here](https://github.com/Omi…
-
I am trying to implement gradient based attacks such as fgsm ,Bim,Jsma using foolbox. I took a look at the example in the documentation and accordingly implemented the attack on my own model. My model…