Comments (3)
Discretizing the values from a real-numbered value to one of the 256 points degrades the quality of the adversarial examples. This can easily be fixed by performing a second optimization step on the lattice of discretized images (often only a few iterations is necessary). However, if you don't want to have to do this, you can also just save and load it as float32.
from nn_robust_attacks.
@carlini
Yeah, now the adversarial samples were saved with 'npy' format.
In addition, the no-targeted adversarial samples of MNIST datasets was used to attack the model used in the cleverhans library.
And the accuracy was 0.9 which means the 90% of adversarial samples was failed to attack.
So do you think it is normal and Can I defense your attack with accuracy on the test model of cleverhans library?
Actually, the model used in your 'setup_mnist.py' file was trained based on cleverhans library.
And the result was agree with the above.
from nn_robust_attacks.
Sorry, I'm not sure what you're trying to say. Are you attacking and defending using the same model? If they are different, you will need to generate transferable adversarial examples, to do this set the confidence to 3 or 4 on MNIST.
I'm not sure what this has to do with cleverhans.
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.