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

Explaining multi-input model #404

Open
dmirecki opened this issue Apr 1, 2021 · 1 comment
Open

Explaining multi-input model #404

dmirecki opened this issue Apr 1, 2021 · 1 comment

Comments

@dmirecki
Copy link

dmirecki commented Apr 1, 2021

I am working on deep multi-input classification model (first input is an image, second input is a text).

Explaining text part while keeping image constant is easy, because in TextExplainer I am able to put any function. But now, I would like to explain image part with GradCam, keeping text constant. Is it possible? In eli5.show_prediction function I have to put keras model, which is multi-input. How to explain only image part in eli5?

Thanks in advance for any advice!

@teabolt
Copy link
Contributor

teabolt commented Apr 7, 2021

Hey @dmirecki. If you're using keras can you pass a sublist of model.layers, passing only the image layers for explanation?

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

2 participants