captum
captum copied to clipboard
Visualization_transform not applied on Insights
🐛 Bug
In the class ImageFeature in the file captum/insights/attr_vis/features.py the visualization_transform is never applied in the visualize function
To Reproduce
Steps to reproduce the behavior:
- Use captum insights with a visualization_transform
Expected behavior
Should apply the visualization_transform before displaying the original image
Environment
Describe the environment used for Captum
- Captum / PyTorch Version: 0.4.1/1.10.2
- OS (e.g., Linux): Linux
- How you installed Captum / PyTorch (`conda`, `pip`, source): conda
- Build command you used (if compiling from source):
- Python version: 3.9.10
- CUDA/cuDNN version: 11.3.1
cc: @Reubend
@aobo-y is this issue address ? can we close it ?
@fmartiescofet Thank you for pointing out the bug. It has been fixed in latest v0.5.0