This is the package we developed for Voxel-Weighted Activation Maximization. It includes utilities for extracting and downsampling DNN features and using these features to visualize selectivity in the brain.
Check out this brain viewer for an example of the kinds of visualizations this can produce!
git clone https://github.com/yourusername/VWAM.git
cd VWAM
pip install -e .See our demo walkthrough for an example of how to use our code.
This work has been accepted as a paper to the CVPR 2025 MIV workshop! See our arXiv paper for more details of the technique, as well as results from presenting these feature visualization images to fMRI participants!