Skip to content

Releases: spencerwooo/torchattack

v.1.7.2

22 Dec 09:32

Choose a tag to compare

v1.7.1

30 Oct 02:13
c1bd780

Choose a tag to compare

Fixes

  • Fix optional deps still required during import.

Full Changelog: v1.7.0...v1.7.1

v1.7.0

05 Aug 03:06
36dce25

Choose a tag to compare

What's Changed

Fixes

  • Fix AttackModel preprocessing inference on models using nn.Identity
  • Declare optional extra dependencies for some attacks (kornia, scipy) and docs builds

Full Changelog: v1.6.0...v1.7.0

v1.6.0

20 May 09:11

Choose a tag to compare

What's Changed

Full Changelog: v1.5.1...v1.6.0

v1.5.1

18 Feb 07:10

Choose a tag to compare

What's Changed

  • Refactor module eval to evaluate by @spencerwooo in #35
  • Fix timm models interpolation unresolved

Full Changelog: v1.5.0...v1.5.1

v1.5.0

14 Feb 07:32
2d6a966

Choose a tag to compare

What's New

  • Introduce AttackModel.create_relative_transform and eval.save_image_batch
  • Add fooling rate metric eval.FoolingRateMetric reset option
  • Update documentation for attack registering

Fixed

  • Fix generative arguments not being passed in attack runner eval/runner.py

Refactored

  • Refactor attack category checks to use is_category method
  • Move attack module to public

Full Changelog: v1.4.0...v1.5.0

v1.4.0

12 Feb 09:55

Choose a tag to compare

BREAKING 🐞

  • The device argument from AttackModel's constructors (i.e., __init__() and classmethod from_pretrained()) have been replaced with the familiar .to(device) method. This also allows for the model to be lazy-loaded to and from GPU devices. Please update accordingly.

New attack register method ✨

  • With the newly added @register_attack() decorator, we can now easily register custom attacks that reside outside the standard torchattack library at runtime, and reference the create_attack() method to create custom attacks by their names with the same API.

What's Changed

  • Attack registration with decorators, and explicit AttackModel device manipulation API by @spencerwooo in #34

Full Changelog: v1.3.0...v1.4.0

v1.3.0

10 Feb 10:27

Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.3.0

v1.2.1

24 Dec 03:32
f545f96

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

17 Dec 08:02
3399362

Choose a tag to compare

What's Changed

Potential Breaking Changes

In v1.2.0, the create_attack method accepts extra arguments to be passed onto the attack class as keyword arguments, instead of the original attack_args argument.

Full Changelog: v1.0.4...v1.2.0