divelab / DIG

A library for graph deep learning research
https://diveintographs.readthedocs.io/
GNU General Public License v3.0
1.84k stars 281 forks source link

Using gnn explainer with mask_feature option #134

Closed alirezadizaji closed 2 years ago

alirezadizaji commented 2 years ago

Hi, I was trying to use mask_feature option in gnn explainer, but I got an error telling me self.coeffs is not defined. I also tried to find its defintion within the class and its parent but didn't find anything. https://github.com/divelab/DIG/blob/d43d5845d047ed106b0cc396f7488d9ccbe4bb37/dig/xgraph/method/gnnexplainer.py#L57

CM-BF commented 2 years ago

Sorry about the inconvenience. Somebody changed the code without a careful check. I'll fix it as soon as possible.