PAIR-code / saliency

Framework-agnostic implementation for state-of-the-art saliency methods (XRAI, BlurIG, SmoothGrad, and more).
https://pair-code.github.io/saliency/
Apache License 2.0
953 stars 191 forks source link

Fixed a missing import #74

Closed joydisette closed 3 years ago

joydisette commented 3 years ago

Added an import line at the top: ShowDivergingImage image method from the boilerplate list uses make_axes_locatable that needed to be imported from pl_toolkits.axes_grid1

bwedin commented 3 years ago

Thanks for this!

Since we don't use this function in the examples, we should just be able to remove the function entirely. Added a separate PR which does this for the core notebook as well as the tf1 and pytorch examples (https://github.com/PAIR-code/saliency/pull/76).