ttbrunner / biased_boundary_attack Goto Github PK
View Code? Open in Web Editor NEWImplementation of the Biased Boundary Attack for ImageNet
License: MIT License
Implementation of the Biased Boundary Attack for ImageNet
License: MIT License
Dear sir:
I am preparing a paper, I want to use your code to conduct experiments of both the original boundary attack and biased boundary attack. If I set USE_PERLIN_BIAS = False
, USE_MASK_BIAS = False
, USE_SURROGATE_BIAS = False
in bench_settings.py
.
Does this code produce the results exactly the same with the original boundary attack?
Hi,
Thank you for the interesting paper and releasing the code.
I wonder if you can provide the indices of 1000 sampled images you use in the paper for all those methods? I would like to reproduce the results and make some fair comparison for my modification.
Thanks in advance!
I found it is too slow when I attack a large network in CIFAR-10 dataset. Because my experiments need attacking 1000 images. It will take 1 month!
I found the reason is that you feed only 1 image to network every time. (in def _eval_sample
)
Can this code modify to batch image feed version to boost speed?
We first collect a batch of candidate, stats = candidate_future.result()
into a block-queue, and then batch feed to network?
What about this proposal? What do you suggest?
In line 231 in generate_boundary_sample of biased_boundary_attack.py, does "vdot" in "dot = np.vdot(sampling_dir, source_direction)" computes between two images of 3 channels? That's to say, if the shape of image is (224, 224, 3), the shape of sampling_dir here is also (224, 224, 3), and we get one numpy value after np.vdot. Is it right? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.