Message passing propagate method #9058
Replies: 2 comments
-
I ran into the same problem using the latest release of PyG. I downgraded to 2.4, and it worked fine: pip install torch-geometric==2.4.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Lets move discussion to #9059 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a beginner getting familiar with pytorch geometric and I'm getting stuck with something basic when I try to create a custom message passing layer. The documentation doesn't appear to help. (torch_geometric version 2.5.1)
I was just trying to go follow the tutorial: Creating Message Passing Networks:
https://pytorch-geometric.readthedocs.io/en/latest/tutorial/create_gnn.html
But the propagate method (called in the forward method defined under the GCNConv class) keeps triggering an error:
Resulting in:
The documentation for the propagate method suggests that it should be able to accept keyword arguments, so I am uncertain why this is erroring. I am using the code provided in the tutorial page (linked above) on a very simple graph.
https://pytorch-geometric.readthedocs.io/en/latest/generated/torch_geometric.nn.conv.MessagePassing.html?highlight=propagate
Please let me know if you have any insights as to what the issue is.
Beta Was this translation helpful? Give feedback.
All reactions