You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS 12.6 Monterey, M1 Mac.
Ubuntu based Linux (on Headless Server).
Describe the bug
When using the GATConv or GATv2Conv isolated nodes result in an error, as the message passing for GAT convolutions does not catch the edge case where a node has no reachable neighbours, when using WithGraph.
When using a dynamic graph approach it does fail with the error that vertices need to have a self loop.
Steps to Reproduce
using GeometricFlux
using Graphs
g =erdos_renyi(20,0.1) # generate random graphadd_vertex!(g) # ensure at least one isolated node exists
fg =FeaturedGraph(g)
m =WithGraph(fg, GATConv(2=>1))
m(rand(2,21)) # leads to the uninformative error
Expected Results
I would have expected to either get the same error as with the dynamic case, or that the Layer just adds self loops anyways (although I understand that this would be very ambigous in practice).
Observed Results
The error is highly uninformative of the actual problem (the wrong input graph type) when using the Static Graph approach.
Package Version
[7e08b658] GeometricFlux v0.13.7
Julia Version
1.8.0
OS / Environment
MacOS 12.6 Monterey, M1 Mac.
Ubuntu based Linux (on Headless Server).
Describe the bug
When using the GATConv or GATv2Conv isolated nodes result in an error, as the message passing for GAT convolutions does not catch the edge case where a node has no reachable neighbours, when using WithGraph.
When using a dynamic graph approach it does fail with the error that vertices need to have a self loop.
Steps to Reproduce
Expected Results
I would have expected to either get the same error as with the dynamic case, or that the Layer just adds self loops anyways (although I understand that this would be very ambigous in practice).
Observed Results
The error is highly uninformative of the actual problem (the wrong input graph type) when using the Static Graph approach.
Relevant log output
WithGraphs case:
Dynamic Case:
The text was updated successfully, but these errors were encountered: