Giter VIP home page Giter VIP logo

Comments (3)

carlini avatar carlini commented on August 11, 2024

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.

shenqixiaojiang avatar shenqixiaojiang commented on August 11, 2024

@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.

carlini avatar carlini commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.