Neighborhood Sampler for AGNNCONV, TAGCONV etc #2192
JindeShubhamA
started this conversation in
Ideas
Replies: 1 comment 11 replies
-
There are indeed a few GNN operators in PyG that do not work in conjunction with In general, one does not need to make use of |
Beta Was this translation helpful? Give feedback.
11 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 was benchmarking the result of some open-source datasets on different Graph Neural Networks. I wanted to compare the performance of GCNConv, SAGEConv, GATConv, AGNNConv, TAGConv on the citation, co-author, pattern, and cluster dataset for the node classification task. Successfully got the results on Citation dataset :). When I tried on the co-author dataset which is much bigger than a citation, I get the 'CUDA out of memory' issue. I was able to get the results by implementing a Neighborhood Sampler for SAGEConv and GATConv using ' examples/reddit.py', and 'ogbn_products_sage.py'. For AGNNConv I get the following error
/torch_geometric/nn/conv/agnn_conv.py", line 63, in forward
num_nodes=x.size(self.node_dim))
AttributeError: 'tuple' object has no attribute 'size'
Can anyone suggest on how should I run AGNNConvm TAGConv using Neighborhood Sampler or any equivalent mechanism. I am also attaching my code with this. Also any advice in general on how should I compare the performance of the GNNs mentioned above on pattern and cluster dataset which are much more bigger in size. Any help will be appreciated.
Below is the code
Beta Was this translation helpful? Give feedback.
All reactions