Foolbox

Latest version: v3.3.4

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

2.2.0

New Features
* support for Foolbox extensions using the `foolbox.ext` namespace

2.1.0

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

2.0.0

* **batch support**: check out the new example in the [README](https://github.com/bethgelab/foolbox)
* model and defense zoo: https://foolbox.readthedocs.io/en/latest/user/zoo.html
* attacks take an optional `threshold` argument to stop attacks once that threshold is reached

`foolbox.attacks` now refers to the attacks with batch support. The old attacks can still be accessed under `foolbox.v1.attacks`. Batch support has been added to almost all attacks and new attacks will only be implemented with batch support. If you need batch support for an old attack that has not yet been adapted, please open an issue.

2.0.0rc0

2.0.0b0

Batch-support is finally here!

See 316 for details until we have updated the documentation. Right now it's still limited to a few attacks, but feel free to open an issue for any attack that you need. It's easy to extend to new attacks, we just haven't done it yet and will prioritize based on requests.

1.8.0

Foolbox Model Zoo

Foolbox now has an easy way to load models or defenses from Git repos: https://foolbox.readthedocs.io/en/latest/user/zoo.html

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.