Comments (12)
You need to configure keras to use the tensorflow backend. It's currently set to theano.
from nn_robust_attacks.
Where can I get the attack images? Thanks!
from nn_robust_attacks.
They are returned as the output of the attack
method.
from nn_robust_attacks.
Thanks! I finished running the files but still don't see any image output. Is there anyway to store the attack images?
from nn_robust_attacks.
You will have to save them with scipy.misc.imsave
or other method.
from nn_robust_attacks.
So should I add this command to the show(img) function in the test_attack.py? Thanks
from nn_robust_attacks.
That would work, yeah.
from nn_robust_attacks.
Sorry for bothering again. In line 27 of test_attack.py what is the purose of "if len(img) != 784: return" How should I modify it in order to get adversarial images of Cifar-10?
from nn_robust_attacks.
The show
method is useful for MNIST only. You will need to write a new one for CIFAR-10.
from nn_robust_attacks.
Is it necessary to run the train_model.py before running the test_attack.py? Since I am running out of memory
from nn_robust_attacks.
If you don't train the model ahead of time, it doesn't make that much sense to attack it, unless you're trying to investigate some kind of robustness property of the architecture itself using randomly initialized neural networks.
from nn_robust_attacks.
Thanks Carlini. Since my main goal is just to get some cifar10 adversarial image data that can attack some other pre-trained neural network (like Resnet).
from nn_robust_attacks.
Related Issues (20)
- How to control the pixel number to be noised ? HOT 2
- About the settings for imagenet HOT 3
- modifier always equals zero
- no boxmin and boxmax in L_0 and L_inf
- Misleading printing?
- TODO
- Low validation accuracy of CIFAR HOT 2
- Any adversarial attack that sustains after resize attack HOT 1
- L_inf always fails if abort_early is False
- I want to attack my own model training by tensorflow2.0. HOT 2
- L2 untargeted attack not working?! HOT 2
- Unable to open file HOT 1
- Unable to run train_models.py HOT 2
- Unsuccessful TensorSliceReader constructor HOT 1
- What version of tensorflow + keras? HOT 1
- why 10000 in your code,what's the meaning?Thanks!!! HOT 2
- What are the keras and tensorflow imported in the code?
- question for self.newimg in l2_attack
- GZip error HOT 2
- L2 regularization term is squared. Why here specifically? Which impact?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nn_robust_attacks.