question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add NeighborSampler support for more Conv layer

See original GitHub issue

🚀 Feature

I notice that currently only SAGEConv and PointConv support NeighborSampler in PyG, could you make NeighborSampler supported for more Conv layer like GATConv.

Motivation

In fact, mant dataset in reality is a large graph that has to be corperated with mini-batch train.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rusty1scommented, Sep 1, 2020

That error is not related to the NeighborSampler. In fact, with PyG 1.6.0, most GNN can now be used with the NeighborSampler API. For GATConv, you can find an example here.

1reaction
rusty1scommented, Jul 4, 2019

GATConv now supported, see here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add NeighborSampler support for more Conv layer · Issue #430
I notice that currently only SAGEConv and PointConv support NeighborSampler in PyG, could you make NeighborSampler supported for more Conv layer ...
Read more >
torch_geometric.loader — pytorch_geometric documentation
A data loader that performs mini-batch sampling from node information, using a generic BaseSampler implementation that defines a sample_from_nodes() function ...
Read more >
Node Flow generated by the neighbor sampler for a 2-layer ...
For each node, the neighbor sampler randomly samples two neighbors. The first GCN layer performs convolution in block 1, and all the activated...
Read more >
How Do Convolutional Layers Work in Deep Learning Neural ...
Learning a single filter specific to a machine learning task is a powerful technique. Yet, convolutional neural networks achieve much more in ...
Read more >
PyG 2.0 Release
We finally provide full heterogeneous graph support in PyG 2.0. ... GeneralConv operator that can handle most GNN use-cases (e.g., ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found