yulongwang12 / visual-attribution

Pytorch Implementation of recent visual attribution methods for model interpretability
BSD 2-Clause "Simplified" License
144 stars 26 forks source link

Code for computing patterns? #1

Closed robintibor closed 6 years ago

robintibor commented 6 years ago

Hi,

thanks for sharing this code! Could you add some code for computing the patterns for PatternNet etc.? That would be very helpful.

Thanks, Robin

yulongwang12 commented 6 years ago

I convert the pattern weights directly from released repo nn-patterns. And I cannot figure out the exact computation procedure from the original paper. Maybe you can find some clues in this code snippet, or you can directly contact the original author for more details.

robintibor commented 6 years ago

Ok thanks!