Comments (2)
Sorry which line are you referring to?
We don't assume the lowest layer contains all the nodes, as we are conducting layer-wise sampling. For each GNN layer, the source nodes and target nodes could be different. (which is stored as a specific adjacency matrix in https://github.com/acbull/LADIES/blob/303036e8649eaf269eb5adb87f6b57c168c39276/pytorch_ladies.py#L117-L120)
What you refer to is more like graph-wise sampling, by sampling a subgraph and then apply GNN on the whole sampled graph, which is different from our setting.
from ladies.
Thanks for your quick response!
https://github.com/acbull/LADIES/blob/c10b5260ebcedf4efa7a175ec60ce6229a2a444e/pytorch_ladies.py#L157
This line returns the "previous_nodes". The 'previous_nodes' is the nodes from the lowest layer.
https://github.com/acbull/LADIES/blob/c10b5260ebcedf4efa7a175ec60ce6229a2a444e/pytorch_ladies.py#L241-L246
In these lines, the 'previous_nodes' is renamed as 'input_nodes'. And these nodes ('input_nodes') are used to slice node features for the sampled subgraph.
I think the 'previous_nodes' from the lowest layer may not contain all the nodes in the sampled subgraph. The node features for some of the nodes are not used.
Thanks!
from ladies.
Related Issues (11)
- paper HOT 1
- run out GPU memory HOT 4
- Questions about the Reddit dataset
- Question about SuGCN HOT 1
- The citation is not this paper HOT 1
- Some problems for the code HOT 1
- Entry level bugs in the main script, it cannot be run HOT 2
- code for calculating the memory in Table 3.
- fastgcn_sampler HOT 2
- Issues with reproducing the results in Table 3 of the paper HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ladies.