Skip to content
Discussion options

You must be logged in to vote

Can you upload the data (e.g., via torch.save(data, 'data.pt')? I'm happy to look into the issue.

You should be able to use any GNN operator that supports edge features as well, e.g.:

conv = GATConv((-1, -1), hidden_channels, edge_dim=-1)

and call it via

conv(x, edge_index, edge_attr)

Heterogeneous models can then be called via

hgtmodel(data.x_dict, data.edge_index_dict, data.edge_attr_dict)
  1. Yes, that is possible. The procedure to add edge features is the same (but you need to use GNN operators that can operate on them).

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@Zhang-1218
Comment options

@rusty1s
Comment options

@Zhang-1218
Comment options

@rusty1s
Comment options

@Zhang-1218
Comment options

Answer selected by Zhang-1218
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