v0.3.1: Improved demo & reorganized package
This patch release adds new features to the demo and reorganizes the package for a clearer hierarchy.
Note: TorchCAM 0.3.1 requires PyTorch 1.5.1 or higher.
Highlights
CAM fusion is coming to the demo 🚀
With release 0.3.0, the support of multiple target layers was added as well as CAM fusion. The demo was updated to automatically fuse CAMs when you hooked multiple layers (add a "+" separator between each layer name):
Breaking changes
Submodule renaming
To anticipate further developments of the library, modules were renamed:
torchcam.cams
was renamed intotorchcam.methods
torchcam.cams.utils
was renamed and made private (torchcam.methods._utils
) since it's API may evolve quickly- activation-based CAM methods are now implemented in
torchcam.methods.activation
rather thantorchcam.cams.cam
- gradient-based CAM methods are now implemented in
torchcam.methods.gradient
rather thantorchcam.cams.gradcam
0.3.0 | 0.3.1 |
---|---|
>>> from torchcam.cams import LayerCAM |
>>> from torchcam.methods import LayerCAM |
What's Changed
- chore: Made post release modifications by @frgfm in #103
- docs: Updated changelog by @frgfm in #104
- feat: Added possibility to retrieve multiple CAMs in demo by @frgfm in #105
- refactor: Reorganized package hierarchy by @frgfm in #106
- docs: Fixed LaTeX syntax in docstrings by @frgfm in #107
Full Changelog: v0.3.0...v0.3.1