Explainer hooks and the need for extra parameters for models that require more than model, x, edge_index and y #9155
Unanswered
anna-inf-met
asked this question in
Q&A
Replies: 1 comment
-
Do you mind sharing a small example to replicate your issue? PyG's explainer can take more arguments than explainer(x, edge_index, edge_attr=edge_attr, batch=batch) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would really like to be able to experiment with the explainer tool for regressionXAI but have found that my models all have additional parameters (for example edge_weights) that the explainer global hook (understandably) takes issue with. Naively, it would seem that this may be easily navigated simply by passing kwargs, but this does not work. Would anyone be able to offer some advice, or am I simply going to have to do a forward pass re-write for a new bespoke explainer.
Beta Was this translation helpful? Give feedback.
All reactions