Replies: 2 comments 1 reply
-
See here for an example of how to use global readout layers in combination with |
Beta Was this translation helpful? Give feedback.
1 reply
-
Just adding a comment here for others who may find this useful. I had exactly this issue, but after looking at this thread, it still didn't help as the reference to certain lines of code had changed, and also it wasn't clear from the comments on this thread what the actual problem was. Specifically, the issue lies in the fact that to_hetero doesn't like global_add_pool. Instead, torch_geometric.nn.SumAggregation() needed to be used. |
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
-
Dear experts,
I am trying to use a heterogenous model on my heterogenous data.
I used the same model in the official documentation:
but when I tried to add a pooling layer:
it gives me this error message:
Could you please help solving this issue?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions