Skip to content

WHDY/GraphSAGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphSAGE

GraphSAGE of Pytorch version.

GCN-mean, Mean, Pooling and Attention based aggregated methods are implemented.

Usage

  • Mean aggregator

    python train.py --agg-type Mean --out-dim 128,128
    
  • GCN-Mean aggregator

    python train.py --agg-type GCN --out-dim 128,128
    
  • Pooling aggregator(max)

    python train.py --agg-type Pooling --pool-fun max --h-dim 128
    
  • Attention aggregator

    python train.py --agg-type Attention --heads 3 --out-dim 384,128 --concat 1,0
    

About

GraphSAGE of Pytorch version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages