divelab / DIG

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

xgraph/pgexplainer #166

Open cxw-droid opened 1 year ago

cxw-droid commented 1 year ago

Hello, when I try to run examples/xgraph/pgexplainer.ipynb, there is an error:

splitted_dataset.slices['mask'] = splitted_dataset.slices['train_mask'] TypeError: 'NoneType' object is not subscriptable

I am using torch-geometric 2.1.0. Could any one please take a look? Thanks

Oliver-0423 commented 1 year ago

I have exactly the same problem, do you find out how to fix this?

CM-BF commented 1 year ago

May you try to downgrade torch-geometric to 2.0.3? I remember this is an extra incompatibility problem from ~=2.0 to ~=2.1.