I’m learning to use PyTorch Geometric, I tried to replicate the WL kernel written by the PyG developers on GitHub (https://github.com/pyg-team/pytorch_geometric/blob/master/examples/wl_kernel.py), but when I run the program I get this error which I can’t solve:
I use a custom dataset where the data looks like:
Data(x=[9, 9], edge_index=[2, 18], edge_attr=[18, 2], y=[0])
Exactly like in the example. Which one had the same problem and was able to solve it? Thank you all!
-O
flag which will, among other things, ignore any assert statements. If there is a bug, this will likely fail later with error related to this condition or just produce nonsensical results, but this may help you to diagnose why this bug is occurring. $\endgroup$code
block rather than given us an image which will not be readable by screenreaders used by blind people, and will load slower or not at all on some browsers, and is just in general harder to read. Can you tell us what happened when you tried to run Python with the-O
flag? $\endgroup$