foolbox

A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX

MIT License

Downloads
4.2K
Stars
2.7K
Committers
33

Bot releases are hidden (Show)

foolbox - Version 3.3.4 Latest Release

Published by zimmerrol 8 months ago

foolbox - Version 3.3.3

Published by zimmerrol over 2 years ago

New Features and Improvements

  • Fixed a bug that AdamPGD attacks actually didn't use the Adam optimizer
  • Attacks now verify that the input to them lies within the bounds of the model
foolbox - Version 3.3.2

Published by zimmerrol over 2 years ago

New Features and Improvements

  • Added AdamPGD attack
  • Added pointwise attack
  • Hop-skip-jump attack bug fix (thanks @zhuangzi926)
  • other improvements and bug fixes
foolbox - Version 3.3.1

Published by jonasrauber over 3 years ago

Serious bug fix for SaltAndPepperAttack (thanks @maurapintor @zangobot)

foolbox - Version 3.3.0

Published by jonasrauber over 3 years ago

New Features and Improvements

  • PGD now supports targeted attacks (thanks @zimmerrol)
  • DDN attack bug fixes (thanks @maurapintor)
  • Brendel Bethge attack bug fixes (thanks @wielandbrendel)
  • other improvements and bug fixes
foolbox - Version 3.2.1

Published by jonasrauber about 4 years ago

Foolbox release for Zenodo

foolbox - Version 3.2.0

Published by jonasrauber about 4 years ago

  • added our JOSS paper
  • added a performance comparison between Foolbox 1, 2, and 3
  • improved tests
  • fixed the TensorFlow example code
  • improved examples
  • improved tutorial
  • updated dependencies
foolbox - Version 3.1.1

Published by jonasrauber about 4 years ago

Bug fix

foolbox - Version 3.1.0

Published by jonasrauber about 4 years ago

New Features

  • ported HopSkipJump attack to v3
  • added clipping-aware noise attacks
  • model wrappers now support data_format
  • JAXModel now supports data_format
  • improved documentation

Bug Fixes

  • EADAttack bug fixes
  • GenAttack bug fixes
  • Other bug fixes and improvements
foolbox - Version 3.0.4

Published by jonasrauber over 4 years ago

Fixed the version number

foolbox - Version 3.0.3

Published by jonasrauber over 4 years ago

Fixes a bug in the BrendelBethgeAttack and updated Numba to silence warnings.

foolbox - Version 3.0.2

Published by jonasrauber over 4 years ago

Fixes a bug in the BrendelBethgeAttack (thanks @AidanKelley)

foolbox - Version 3.0.1

Published by jonasrauber over 4 years ago

Bug fixes

  • type annotations are now correctly exposed using py.typed (file was missing in MANIFEST)
  • TransformBoundsWrapper now correctly handles data_format (thanks @zimmerrol)
foolbox - Version 3.0.0

Published by jonasrauber over 4 years ago

New Features

Foolbox 3 aka Foolbox Native has been rewritten from scratch with performance in mind. All code is running natively in PyTorch, TensorFlow and JAX, and all attacks have been rewritten with real batch support.

foolbox - Version 3.0.0b1

Published by jonasrauber over 4 years ago

New Features

  • added foolbox.gradient_estimators
  • improved attack hyperparameter documentation
foolbox - Version 3.0.0b0

Published by jonasrauber over 4 years ago

Foolbox 3 aka Foolbox Native has been rewritten from scratch with performance in mind. All code is running natively in PyTorch, TensorFlow and JAX, and all attacks have been rewritten with real batch support.

Warning: This is a pre-release beta version. Expect breaking changes.

foolbox - Version 2.4.0

Published by jonasrauber over 4 years ago

New Features

  • fixed PyTorch model gradients (fixes DeepFool with batch size > 1)
  • added support for TensorFlow 2.0 and newer (Graph and Eager mode)
  • refactored the tests
  • support for the latest randomgen version
foolbox - Version 2.3.0

Published by jonasrauber almost 5 years ago

New Features

  • new EnsembleAveragedModel (thanks to @zimmerrol)
  • new foolbox.utils.flatten
  • new foolbox.utils.atleast_kd
  • new foolbox.utils.accuracy
  • PyTorchModel now always warns if model is in train mode, not just once
  • batch support for ModelWithEstimatedGradients

Bug fixes

  • fixed dtype when using Adam PGD with a PyTorch model
  • fixed CW attack hyperparameters
foolbox - Version 2.2.0

Published by jonasrauber almost 5 years ago

New Features

  • support for Foolbox extensions using the foolbox.ext namespace
foolbox - Version 2.1.0

Published by jonasrauber almost 5 years ago

New Features

  • New foolbox.models.JAXModel class to support JAX models (https://github.com/google/jax)
  • The preprocessing argument of models now supports a flip_axis key to support common preprocessing operations like RGB to BGR in a nice way. This builds on the ability to pass dicts to preprocessing introduced in Foolbox 2.0.

Bug fixes and improvements

  • Fixed a serious bug in the LocalSearchAttack (thanks to @duoergun0729)
  • foolbox.utils.samples now warns if samples are repeated
  • foolbox.utils.sampels now uses PNGs instead of JPGs (except for ImageNet)
  • Other bug fixes
  • Improved docstrings
  • Improved docs