Replies: 1 comment
-
Yes, this is a good idea. You can also try to make this information already available during message passing, e.g., via data.x = torch.cat([data.x, data.graph_attr[data.batch]], dim=-1) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working on a graph regression prediction model and in addition to the node and edge features I want to add graph features.
I tried to search and couldn't find any information if that's possible, or if there is anyone who did something similar.
I was thinking of adding 'graph_attr' feature vector to the Data object and then concat it to the Pooling layer of the graph.
Does that sound like it's a good idea? Or is there some other way to do so?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions