GINEConv edge_attributes and node_features
See original GitHub issue❓ Questions & Help
Greetings,
I’m trying to use GINEConv for graph classification, but it seems to require the same number of node_features and edge_attributes in order to work correctly.
When this number is not the same, I get the following error
assert x.size(-1) == edge_attr.size(-1)
am I using it wrong or is it indeed a requirement to have the same number of node and edge features?
Thank you for your help.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
torch_geometric.nn — pytorch_geometric documentation
Constructs messages from node \(j\) to node \(i\) in analogy to \(\phi_{\mathbf{\Theta}}\) for each edge in edge_index . This function can take any...
Read more >GINEConv edge_attributes and node_features #1342 - GitHub
Questions & Help Greetings, I'm trying to use GINEConv for graph classification, ... GIN-E requires node and edge features to be of same ......
Read more >How to use edge features in Graph Neural Networks (and ...
In this video I talk about edge weights, edge types and edge features and how to include them in Graph Neural Networks.
Read more >GINEConv — DGL 0.9.1post1 documentation
Graph Isomorphism Network with Edge Features, introduced by Strategies for Pre-training ... If not None, it will be applied to the updated node...
Read more >Incorporate Node and Edge Features in Graph Neural Networks
network, named NENN, which incorporates node and edge features based on a dual-level attention mechanism, including node-level and ... molecular properties.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this needs to be added to every layer.
GIN-E
requires node and edge features to be of same dimensionality, since their features are added together. In general, this isn’t much of a problem since you can always transform your edge features to the same dimensionality.