Skip to content

v2.0.1 - Bug fix release

Latest

Choose a tag to compare

@desenyon desenyon released this 22 Feb 08:20
· 8 commits to main since this release

What Changed

Bug Fixes

  • KernelSHAP / LIME: Fixed all-zero attributions on low-complexity images. Grid fallback when SLIC under-segments; Ridge labels scaled to [0,1].
  • GuidedBackprop: Input tensor cloned before requires_grad to avoid mutating caller tensor.
  • MeaningfulPerturbation: Validated input detached before optimisation loop.
  • Metrics: aopc_score returns writeable array; max_sensitivity returns Python float.

Dependencies

  • torchvision promoted to core dependency (was under [full] extras).
  • requirements.txt now populated.

Tests

  • New test/test_everything.py: 65 end-to-end test cases with correctness assertions.