Skip to content

a repo for benchmarking subgraph based dictionary for graph classification of popular graph datasets

Notifications You must be signed in to change notification settings

aryan-at-ul/subgraph_dictionary_graph_behchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subgraph_dictionary_graph_behchmark

a repo for benchmarking subgraph based dictionary for graph classification of popular graph datasets

Dataset used: TUDataset

Dependencies:

pip install torch #after this, run the following >> 

import torch

def format_pytorch_version(version):
return version.split('+')[0]

TORCH_version = torch.__version__
TORCH = format_pytorch_version(TORCH_version)

def format_cuda_version(version):
return 'cu' + version.replace('.', '')

CUDA_version = torch.version.cuda
CUDA = format_cuda_version(CUDA_version)

!pip install torch-scatter     -f https://pytorch-geometric.com/whl/torch-{TORCH}+{CUDA}.html
!pip install torch-sparse      -f https://pytorch-geometric.com/whl/torch-{TORCH}+{CUDA}.html
!pip install torch-cluster     -f https://pytorch-geometric.com/whl/torch-{TORCH}+{CUDA}.html
!pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-{TORCH}+{CUDA}.html
!pip install torch-geometric 

Run

python main.py #change default args in main.py

About

a repo for benchmarking subgraph based dictionary for graph classification of popular graph datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages