Duplicated edges in data object and hard constraints #9236
Unanswered
101AlexMartin
asked this question in
Q&A
Replies: 1 comment
-
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm dealing with a problem in which the target is to predict the massflow along the edges connecting the nodes. In order to create the graph, I use
networkx
to later map a networkx.classes.graph.Graph to a torch_geometric.data.data.Data, by making use offrom_network
. I have a couple of questions related to this step:from_network
, there are two edges among these two nodes, i.e. (0,1) and (1,0). Why is this? (I assume it is because each node is treated as a datapoint when training a GNN(?)).Beta Was this translation helpful? Give feedback.
All reactions