-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can I use 'edge_weight' in GAT? #810
Comments
It might be best to implement your own |
Ok, I will try! |
@xxp17457741 Hi, we are facing same situation like you as we also need to consider egde weight within the GATConv layer. Have you ever implemented your own GATConv module and could share it? If so, I would very much appreciate! |
+1 for this! |
I recently wrote |
Since this is a popular request, do you want to contribute your solution directly to PyG @dongkwan-kim? |
@rusty1s I have not sent PR since I have not found the right reference for this layer. But if you think it is worth including this layer in PyG, I would happy to work on it. One quick question. My current version inherits the
|
I think adding an |
The linear layer will project the edge features to the correct shape. If this error occurs for you, it likely means you forgot to set the |
Hi, I noticed that in the latest version (2.7.0) of the code, this However, removing the I was not aware of this issue while using I checked the commit history and found that this issue was caused by Commit 025b1cb (GATConv: require edge_dim to be set). Do you think it would be better to retain the |
❓ Questions & Help
I have a graph that contains edge_weight, so I want to use it in GATConv. But I fail to do it because in gat_conv.py there is no edge_weight parameters. So how can I do what I want to do?
The text was updated successfully, but these errors were encountered: