Files
dgl/examples/tensorflow/gat
..
2023-02-19 08:35:15 +08:00
2020-08-01 19:25:50 +08:00
2022-10-08 11:59:37 +08:00

Graph Attention Networks (GAT)

Dependencies

  • tensorflow 2.1.0+
  • requests
pip install tensorflow requests
DGLBACKEND=tensorflow

How to run

Run with following:

python3 train.py --dataset=cora --gpu=0
python3 train.py --dataset=citeseer --gpu=0 --early-stop
python3 train.py --dataset=pubmed --gpu=0 --num-out-heads=8 --weight-decay=0.001 --early-stop

Results

Dataset Test Accuracy Baseline (paper)
Cora 84.2 83.0(+-0.7)
Citeseer 70.9 72.5(+-0.7)
Pubmed 78.5 79.0(+-0.3)
  • All the accuracy numbers are obtained after 200 epochs.
  • All time is measured on EC2 p3.2xlarge instance w/ V100 GPU.