README.md 1.01 KB
Newer Older
1
2
3
4
Graph Attention Networks (GAT)
============

- Paper link: [https://arxiv.org/abs/1710.10903](https://arxiv.org/abs/1710.10903)
5
- Author's code repo (tensorflow implementation):
6
  [https://github.com/PetarV-/GAT](https://github.com/PetarV-/GAT).
7
8
- Popular pytorch implementation:
  [https://github.com/Diego999/pyGAT](https://github.com/Diego999/pyGAT).
9

10
How to run
11
-------
12

13
14
> **_NOTE:_**  `train.py` is deprecated and please check the new version in `//examples/core/gat/train.py`.

15
Run with the following for multiclass node classification (available datasets: "cora", "citeseer", "pubmed")
16
```bash
17
python3 train.py --dataset cora
18
```
19

20
Run with the following for multilabel classification with PPI dataset
21
```bash
22
python3 train_ppi.py
23
24
```

25
> **_NOTE:_**  Users may occasionally run into low accuracy issue (e.g., test accuracy < 0.8) due to overfitting. This can be resolved by adding Early Stopping or reducing maximum number of training epochs.
26

27
Summary
28
-------
29
30
31
32
* cora: ~0.821
* citeseer: ~0.710
* pubmed: ~0.780
* ppi: ~0.9744