lxxue / biased_boundary_attack

Implementation of the Biased Boundary Attack for ImageNet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Biased Boundary Attack: ImageNet implementation

This repository contains an implementation of the Boundary Attack on ImageNet, which is accelerated by various priors (Perlin/low frequency, regional masking, surrogate gradients).

Watch the video https://www.youtube.com/watch?v=ljUmA66Gr0A&list=PL4qRc8jGTvrCpjKSmnKXRCHmsIrMKktX2

Usage:

  • Download model checkpoints to models/, or use your own models
  • Enable or disable biases in bench_settings.py
  • Set path to ImageNet in run_imagenet_bench.py
  • Start run_imagenet_bench.py
  • Images are logged to "./out_imagenet_bench/".

About

Implementation of the Biased Boundary Attack for ImageNet

License:MIT License


Languages

Language:Python 100.0%