Skip to content
Discussion options

You must be logged in to vote

You should modify your model to only take in the actual tensors as input, e.g.:

def forward(self, x, edge_index, batch)

These parameters will get passed to the model in

explainer.algorithm.train(epoch, model, batch.x, batch.edge_index, batch=batch.batch, target=batch.y)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JFetish
Comment options

Answer selected by JFetish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants