Skip to content

MART v0.6.1

Latest
Compare
Choose a tag to compare
@mzweilin mzweilin released this 05 Jun 17:11

What's Changed

We decouple the vision component from Adversary, so that users who work on audio adversary or text adversary do not need to install vision components any more.

By moving many dependency to optional groups, we make it flexible for developers to integrate MART into existing projects.

We add support to ImageNet-normalized input and [0,1] image input by adding batch canonicalization transforms and reverse transforms in configs.

The detailed changes are listed below.

Adversary

  • Prepare target models before running attacks by @mzweilin in #249
  • Add batch_c15n for image of [0,1] or imagenet-normalized by @mzweilin in #248
  • Add utils for config instantiation. by @mzweilin in #250
  • Add mart.nn.Get() to extract a value from the kwargs dict. by @mzweilin in #251

Dependency

Development and CI

  • Specify read-all permissions in workflows. by @mzweilin in #246
  • Hash-pin dependency in GitHub Actions by @mzweilin in #247
  • Skip object detection tests if pycocotools is not installed. by @mzweilin in #257

Full Changelog: v0.6.0...v0.6.1