项目文件夹

文件
Quan (Andy) Gan 6c23fba8fa [Doc][Org] move edge_softmax to functional (#2442)
* move edge_softmax to functional

* change examples

* fixes

* revert

* fix

* fix

* remove

* fix

* test

* add init

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-01-26 12:46:37 +08:00
..
2020-08-01 19:25:50 +08:00
2020-08-01 19:25:50 +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.