You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just starting using PyG, and for my problem I have batched data with a time dimmension. My tensor has shape [batch, seq_len, nodes, features] . I want to apply the GCNConv layer separatly to each seq_len step.
you need to permute your matrix to shape [batch_size, time_seq, num_nodes, num_feat]
But I'm not sure if I'm getting it correctly. Should I reshape to [batch * nodes, seq_len * features] before feeding it into the layer, or can I reshape to [batch*seq_len, keypoints, nodes] and pass this to the GCNConv?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've just starting using PyG, and for my problem I have batched data with a time dimmension. My tensor has shape
[batch, seq_len, nodes, features]
. I want to apply theGCNConv
layer separatly to each seq_len step.I read on this issue https://github.com/pyg-team/pytorch_geometric/discussions/4107
But I'm not sure if I'm getting it correctly. Should I reshape to
[batch * nodes, seq_len * features]
before feeding it into the layer, or can I reshape to [batch*seq_len, keypoints, nodes] and pass this to the GCNConv?Thanks in advance for the help!
Beta Was this translation helpful? Give feedback.
All reactions