About Heterogeneous Graph Sampler #7301
Closed
DuanhaoranCC
started this conversation in
General
Replies: 1 comment
-
Sorry, I've solved my problem. Thank you all! |
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
-
Hello author!
I'm using the heterogeneous graph sampler, but have some questions.
I set batch to 1, it should only sample one paper node, why there are 79 papers.
The same goes for author, field_of_study is a neighbor but none of them are sampled.
Why is this?
My understanding of neighbor sampling should be similar to homogeneous graphs, where a point is the center of a circle and its neighbors are sampled outward.
Finally for num_neighbors={key: [30] * 2 for key in hetero_data.edge_types}, does [30]*2 mean that 30 edges of each type are sampled, repeated twice.
I have also used num_neighbors=[10] * 2, does it represent 10 nodes of each type sampled, repeated twice.
It also has the above phenomenon when batch=1.
Beta Was this translation helpful? Give feedback.
All reactions