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

module 'saliency.core' has no attribute 'GuidedIG' #65

Closed zhixiongzh closed 3 years ago

zhixiongzh commented 3 years ago

Hi, I am running the Example_pytorch.ipynb in the branch pytorch-notebook. When I run the cell of Guided IG, the error is shown, module 'saliency.core' has no attribute 'GuidedIG'

How to solve this? Thanks for any suggestion.

zhixiongzh commented 3 years ago

I realize I didn't download all the codes in the branch, just pip install saliency, which haven't been updated to the test version.

tolga-b commented 3 years ago

Hi zhixiongzh we just updated the pip version to 0.1.3, you should be able to just pip install now! Thanks for reporting this.

zhixiongzh commented 3 years ago

Hi zhixiongzh we just updated the pip version to 0.1.3, you should be able to just pip install now! Thanks for reporting this.

Great! That helps a lot. Thanks for your effort.