Graph Convolutional Networks in PyTorch
====
PyTorch implementation of Graph Convolutional Networks (GCNs) for semi-supervised classification [1].
For a high-level introduction to GCNs, see:
Thomas Kipf, [Graph Convolutional Networks](http://tkipf.github.io/graph-convolutional-networks/) (2016)
![Graph Convolutional Networks](figure.png)
Note: There are subtle differences between the TensorFlow implementation in https://github.com/tkipf/gcn and this PyTorch re-implementation. This re-implementation serves as a proof of concept and is not intended for reproduction of the results reported in [1].
This implementation makes use of the Cora dataset from [2].
## Installation
```python setup.py install```
## Requirements
* PyTorch 0.4 or 0.5
* Python 2.7 or 3.6
## Usage
```python train.py```
## References
[1] [Kipf & Welling, Semi-Supervised Classification with Graph Convolutional Networks, 2016](https://arxiv.org/abs/1609.02907)
[2] [Sen et al., Collective Classification in Network Data, AI Magazine 2008](http://linqs.cs.umd.edu/projects/projects/lbc/)
## Cite
Please cite our paper if you use this code in your own work:
```
@article{kipf2016semi,
title={Semi-Supervised Classification with Graph Convolutional Networks},
author={Kipf, Thomas N and Welling, Max},
journal={arXiv preprint arXiv:1609.02907},
year={2016}
}
```
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
pygcn-master(2023.1.19).zip (34个子文件)
pygcn-master(2023.1.19)
setup.py 553B
data
cora
README 2KB
cora.cites 68KB
cora.content 7.46MB
LICENCE 1KB
pygcn-master
setup.py 553B
data
cora
README 2KB
cora.cites 68KB
cora.content 7.46MB
LICENCE 1KB
.gitignore 7B
pygcn
utils.py 3KB
__init__.py 135B
layers.py 1KB
models.py 628B
train.py 5KB
__pycache__
__init__.cpython-39.pyc 338B
utils.cpython-39.pyc 3KB
models.cpython-39.pyc 1000B
layers.cpython-39.pyc 2KB
figure.png 49KB
README.md 1KB
.gitignore 7B
pygcn
utils.py 3KB
__init__.py 135B
layers.py 1KB
models.py 628B
train.py 5KB
__pycache__
__init__.cpython-39.pyc 338B
utils.cpython-39.pyc 3KB
models.cpython-39.pyc 1000B
layers.cpython-39.pyc 2KB
figure.png 49KB
README.md 1KB
共 34 条
- 1
资源评论
追光者♂
- 粉丝: 2w+
- 资源: 520
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功