Error ‘object not callable’ #10256
Abhishek-Sood
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi so i was using gnn explainer in this GNN based model using OPENPOM model and pytorch’s GNNExplainer algorithm. But i was encountering error while generating explanation using the below code. Any help would be beneficial.
Outcome : 'MPNNPOMModel' object is not callable
while the explainer uses
mode='multiclass_classification'
and is set as multiclass, and the problem that OPENPOM solves is multi label, i was handling it already from extracting 571 smile strings that have only single label as their discriptor, so it sorts of represent multi class so considering that the dataset is already converted to PyG format , please anyone help how to resolve this error.And one of the faults that i found is that ‘model’ isn’t a proper pytorch “model” derived from Module and doesn’t have
a proper forward() method. So for that i did defined a custom wrapper with a forward defined but nothing to avail. Please any help would be beneficial Thanks.
Beta Was this translation helpful? Give feedback.
All reactions