Open yyou1996 opened 4 years ago
I see. Thanks for reporting. It looks like temporal graphs currently can not be processed by our TUDataset
wrapper since node labels may have an unequal number features, e.g.:
0, 0
0, 0, 20, 1
0, 0
0, 0
0, 0, 27, 1
0, 0, 6, 1
0, 0, 60, 1
@chrsmrrs Do you have any idea on how to represent this in PyTorch Geometric?
Unfortunately, the README for the temporal graphs is not documenting this sufficiently (We will improve this.). Here is an explanation:
One solution is to replace blank which some dummy value, e.g. -1, and then preprocess the resulting matrix before feeding it into some GNN layer.
🐛 Bug
When using tudataset class to load ones with temporal node label (e.g. tumblr_ct1 in https://chrsmrrs.github.io/datasets/docs/datasets/), it will return the error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The error as above. Looks like a file reading error.
Environment
Additional context