Open Oliver-0423 opened 1 year ago
pyg version 2.1.0, dig version 1.0.0 torch 1.13.0
Please refer to the model defined in https://github.com/divelab/DIG/blob/dig-stable/dig/xgraph/models/models.py
@Oceanusity So we can only explain models defined in the models.py file? Can we explain models that are built as the combinations from models from the file? For example, if I define a model which combines GCN_3l and GCN_2l, we the explaining methods work as well?
I think so, if the new GNN is the subclass of GNNBasic.
the methods in xgraph can only explain model in dig.xgraph.models,i try to use it to explain my model which is built by PYG, get the error:
KeyError: 'explain_message'
this is my model: