Skip to content

Releases: IntelLabs/MART

MART v0.6.1

05 Jun 17:11
Compare
Choose a tag to compare

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

v0.6.0

04 Feb 16:59
Compare
Choose a tag to compare

What's Changed

Dataset

Adversary

Misc

Full Changelog: v0.5.3...v0.6.0

MART v0.5.3

26 Oct 23:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.2...v0.5.3

MART v0.5.2

20 Jul 22:10
Compare
Choose a tag to compare

What's Changed

  • Upgrade dependency to torchmetrics == 1.0.1 by @mzweilin in #205

Full Changelog: v0.5.1...v0.5.2

MART v0.5.1

14 Jul 00:16
Compare
Choose a tag to compare

What's changed

  • Revert "Make input a dictionary for multi-modal object detection" #95

Full Changelog: v0.5.0...v0.5.1

MART v0.5.0

12 Jul 21:40
Compare
Choose a tag to compare

What's Changed

Improve Adversary using LightningModule and Trainer from Lightning

Improve LitModular and mart.nn

  • Allow modules to skip CallWith by @dxoigmn in #106
  • Allow LitModular.*_step_log to be a dictionary by @dxoigmn in #168
  • Let loss/preds/target output keys be configurable in LitModular by @dxoigmn in #169
  • Remove *_step_end from LitModular by @dxoigmn in #170
  • Make SequentialDict return outputs from all modules as DotDict by @dxoigmn in #171
  • Don't lookup non-str keys in SequentialDict by @dxoigmn in #174
  • Enable overriding of special args in SequentialDict.forward by @dxoigmn in #175
  • Add _train_mode_ and _inference_mode_ special args to SequentialDict by @dxoigmn in #176
  • Add _call_ special arg to SequentialDict by @dxoigmn in #184
  • Allow LitModular's load_state_dict to accept a str by @dxoigmn in #189

Update dependency

Improve performance

  • Speedup adversarial training with a simple perturber by @mzweilin in #89

Move non-essential functionalities to examples

Improve datamodule

  • Make input a dictionary for multi-modal object detection by @mzweilin in #95
  • Quantize datamodule input by @mzweilin in #112

Miscellaneous

MART v0.4.1

29 Jun 16:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1

v0.4.0

24 Feb 21:51
Compare
Choose a tag to compare

What's Changed

New features

  • Allow adversaries to run at any layer. by @mzweilin in #72

Misc.

Full Changelog: v0.3.1...v0.4.0

MART v0.3.1

07 Feb 21:09
Compare
Choose a tag to compare

What's Changed

Bug fixes

Full Changelog: v0.3.0...v0.3.1

You can install v0.3.1 by running $ pip install https://github.com/IntelLabs/MART/archive/refs/tags/v0.3.1.zip.

MART v0.3.0

06 Feb 23:09
Compare
Choose a tag to compare

What's Changed

New features

  • Composable model sequences that are easy to change in command line. (#55)
  • Add more options to profilers. (#20)

Bug fixes

  • Multi-GPU training. (#24)
  • Allow —resume=? without other parameters. (#46)
  • Add GroupNorm32 to namespace mart.nn. (#45)
  • Capture exceptions with empty error messages. (#61)

Misc.

  • Type annotations. (#29)
  • Return stdout for debugging failed tests. (#62)
  • Automatically installing developer's dependency. (#59)
  • Update installation instructions. (#21)

Full Changelog: v0.2.1...v0.3.0

You can install v0.3.0 by running $ pip install https://github.com/IntelLabs/MART/archive/refs/tags/v0.3.0.zip.