Files
dgl/examples/pytorch/gatv2
Andrei Ivanov 1f9310117d Improving the GATv2 example. (#6035)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-07-27 13:43:18 +08:00
..
2022-09-26 21:47:11 +08:00
2023-07-27 13:43:18 +08:00

Graph Attention Networks v2 (GATv2)

Dependencies

  • torch
  • requests
  • scikit-learn

How to run

Run with following:

python3 train.py --dataset=cora
python3 train.py --dataset=citeseer
python3 train.py --dataset=pubmed

Results

Dataset Test Accuracy
Cora 82.10
Citeseer 70.00
Pubmed 77.2
  • All the accuracy numbers are obtained after 200 epochs.