dmlc--dgl
6c3dba867a
* Update prerequisites of README * dependencies for pytorch models * dependencies for mxnet models * minor
24 行
550 B
Markdown
24 行
550 B
Markdown
Graph Attention Networks (GAT)
|
|
============
|
|
|
|
- Paper link: [https://arxiv.org/abs/1710.10903](https://arxiv.org/abs/1710.10903)
|
|
- Author's code repo:
|
|
[https://github.com/PetarV-/GAT](https://github.com/PetarV-/GAT).
|
|
|
|
Note that the original code is implemented with Tensorflow for the paper.
|
|
|
|
### Dependencies
|
|
* MXNet nightly build
|
|
* requests
|
|
|
|
```bash
|
|
pip install mxnet --pre
|
|
pip install requests
|
|
```
|
|
|
|
|
|
### Usage (make sure that DGLBACKEND is changed into mxnet)
|
|
```bash
|
|
DGLBACKEND=mxnet python gat_batch.py --dataset cora --gpu 0 --num-heads 8
|
|
```
|