_forward_unimplemented() got an unexpected keyword argument 'x' while using GNNExplainer #4576
LeavesLi1015
started this conversation in
General
Replies: 1 comment 1 reply
-
How is your model's def forward(self, x, edge_index, any_other_kwargs, ...)
pass |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I was planning to use GNNExplainer to explain GCN model training on MIND_small dataset.
The
model
was well trained.But it returned
TypeError: _forward_unimplemented() got an unexpected keyword argument 'x'
.By the way, my
data
looks like this:Data(x=[101278, 100], edge_index=[2, 468930], weighted=[468930])
.How do I fix this? Thx!
Beta Was this translation helpful? Give feedback.
All reactions