JinheonBaek / RGCN

Pytorch implementation of a RGCN Link Prediction Model
229 stars 41 forks source link
graph graph-neural-networks pytorch

PyTorch RGCN (Link Prediction)

PyTorch implementation of Relational Link Prediction of RGCN (Modeling Relational Data with Graph Convolutional Networks). The code is sparsely optimized with torch_geometric library, which is builded based on PyTorch.

About

This is the original tensorflow implementation of link prediction of RGCN: https://github.com/MichSchli/RelationPrediction

Also, most of the functions in utils.py are brought from the following repository: https://github.com/dmlc/dgl/tree/master/examples/pytorch/rgcn, where this repositroy is based on another popular graph library, namely dgl.

Requirements

This code is lastly tested with: