Skip to content
Discussion options

You must be logged in to vote

If your edge structure is static and only the node features evolve over time, you can save your node features as [num_nodes, num_timestamps, num_features] inside Data (as you suggested). This should support mini-batching out-of-the box. For edge structures, the current DataLoader sadly cannot handle sequences, which I want to fix in an upcoming release. This should allow you to do the following:

data.edge_index = [edge_index_1, edge_index_2, ...]

There also exists PyTorch Geometric Temporal which might already fit your use-case.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@rusty1s
Comment options

@MCiurletti
Comment options

@MCiurletti
Comment options

@rusty1s
Comment options

@MCiurletti
Comment options

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