Different sizes of nodes and edges for GAT #8996
Unanswered
WangZijin98
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you clarify for me? PyG has no problem to operate on varying number of nodes or edges. It looks like your issue stems from changing feature dimensionalities. Is this correct? In that case, padding is a viable option. |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using GATv2Conv for a RL problem. In my problem, the graph is changing dynamically, and the number of nodes and edges vary from step to step. I managed to solve the different dimension problem by padding the input nodes. However, when I want to add edge attributes I have a issue: I need to first define the edge dimension but the in my case the number of edges is constantly changing, so I cannot determine the edge dimension when creating the edge attribute layers. How can I solve this problem?
I am attaching the GAT layer structure I am using, it is from the source code of GATv2Conv.
Beta Was this translation helpful? Give feedback.
All reactions