项目文件夹

文件
Lingfan Yu 74e13eea61 [Model] Update GAT model code (#622)
* fix gat code to use latest edge softmax module

* avoid transpose

* update README

* use edge_softmax op

* mxnet edge softmax op

* mxnet gat

* update README

* fix unittest

* fix ci

* fix mxnet nn test; relax criteria for prod reducer
2019-06-08 21:41:38 -04:00

1.4 KiB

Graph Attention Networks (GAT)

Dependencies

  • torch v1.0: the autograd support for sparse mm is only available in v1.0.
  • requests
  • sklearn
pip install torch==1.0.0 requests

How to run

Run with following:

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

Results

Dataset Test Accuracy Time(s) Baseline#1 times(s) Baseline#2 times(s)
Cora 84.0% 0.0113 0.0982 (8.7x) 0.0424 (3.8x)
Citeseer 70.7% 0.0111 n/a n/a
Pubmed 78.0% 0.0115 n/a n/a