-
I am trying to use GINE conv for a weighted graph where the node features are 1 dimensional, and the
The first iteration through the loop works, but beyond the first I get the error:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In general, you need to take care about this yourself. I suggest to use a x = self.convs[i](x, edge_index, self.edge_lins[i](edge_attr)) |
Beta Was this translation helpful? Give feedback.
In general, you need to take care about this yourself. I suggest to use a
Linear
layer to transform edge features to the appropriate size, e.g.,Linear(num_edge_features, num_hidden_channels)
: