Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Regarding the Baseline Image #9

Open
bnaman50 opened this issue Sep 27, 2018 · 0 comments
Open

Query Regarding the Baseline Image #9

bnaman50 opened this issue Sep 27, 2018 · 0 comments

Comments

@bnaman50
Copy link

I have a query regarding the baseline image and hope someone would help me out with this.

Let's say I am using AlexNet for image classification and want to find the importance of input pixels based on its predictions. As we know, AlexNet expects the input image to be normalized using mean and std, as mentioned here.

So, now I can think of 2 baseline images which seem to fit in the definition of black (all zero) image, as defined in the Integrated Gradients paper.

  1. We can use the 'Average Image' as the baseline. So, if we normalize this baseline, we would essentially be feeding black (all zero) input to the network. (This seems more likely possibility to me).
  2. We can use 'all zero' image as the baseline. So, after normalization, the actual image that we would feed to the network would have values equal to (-mean/std).

It would be really helpful to me if someone could clarify this.

Thanks,
Naman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant