-
I tested the same dataset on a slightly modified version of Pytorch Geometric's SGC, as well as on a slightly modified version of the official SGC implementation. The original SGC is much faster. Also, it is much more stable. I'm wondering why that might be. Some (maybe) relevant details: Here are the two versions of the code:
Original SGC:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The reason why it is faster is due to the pre-computation that is happening in SGC. We currently provide such an option via the Note that you can also just pre-compute the features in PyG, e.g., via the The only reason I can think of why it might be more stable is due to the different initialization techniques of the linear layers. |
Beta Was this translation helpful? Give feedback.
The reason why it is faster is due to the pre-computation that is happening in SGC. We currently provide such an option via the
cached=True
argument inSGConv
, but which expects working on a single graph.Note that you can also just pre-compute the features in PyG, e.g., via the
SIGN
transform and input those into a single linear layer.The only reason I can think of why it might be more stable is due to the different initialization techniques of the linear layers.