marius-team / marius

Large scale graph learning on a single machine.
https://marius-project.org
Apache License 2.0
160 stars 45 forks source link

MariusGNN: how to define a GraphSAGE layer with fanout and dropout in config file? #155

Open easypickings opened 7 months ago

easypickings commented 7 months ago

I want to run MariusGNN to train a GraphSAGE model with neighbor sampling dropout. As far as I understand, I need to define in the yaml config file GNN layers which describe number of neighbors to sample (fanouts) and dropout rate. However, I find that the max_neighbor option is only available in UNIFORM type of NeighborSamplingLayer, and rate option is only available in DROPOUT type. Is there a way to define both options for a GraphSAGE layer?