Skip to content

ihollywhy/SPAGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPAGAN in PyTorch

This is a PyTorch implementation of the paper "SPAGAN: Shortest Path Graph Attention Network"

Prerequisites

We prefer to create a new conda environment to run the code.

PyTorch

Version >= 1.0.0

PyTorch-geometric

We use torch_geometric, torch_scatter and torch_sparse as backbone to implement the path attention mechanism. Please follow the official website to install them.

networkx

We use networkx to load the graph dataset.

graph-tool

We use graph-tool for fast APSP calculation. Please follow the official website to install.

Run the code:

Activating the corresponding conda env if you use a new conda environment.

python train_spgat.py

About

PyTorch Implement for Path Attention Graph Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages