Implementation of Message Passing of PointGNN #6066
-
Hi guys! class PointGNNConv(MessagePassing):
From my understanding, I receive |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think this looks pretty good, but you are missing the initial coordinates in your function (we usually call them def forward(self, x, pos, edge_index):
return x + self.lin(self.propagate(edge_index, x=x, pos=pos))
def message(self, pos_j, pos_i, x_i, x_j):
return torch.cat([pos_j - pos_i + self.lin(x_i), x_j], dim=-1) |
Beta Was this translation helpful? Give feedback.
I think this looks pretty good, but you are missing the initial coordinates in your function (we usually call them
pos
in PyG). So that would now look something like: