Skip to content
Discussion options

You must be logged in to vote

Yes, exactly. Node feature dimensions and edge feature dimensions have to match, as GINEConv utilizes summation to integrate edge features into source node features. A good way to allow that is to transform your edge features first before passing it into GINEConv, e.g.:

x = conv(x, edge_index, lin(edge_attr))

where lin denotes a Linear layer mapping to the number of node features.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dpinski1
Comment options

@rusty1s
Comment options

Answer selected by dpinski1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants