This repository contains implementations of various Graph Neural Networks (GNNs) for node classification tasks.
The project is implemented in Python and uses PyTorch and PyTorch Geometric. You can install the dependencies with pip:
- clone the repo into your local machine
cd path/to/your/workspace
git clone https://github.com/Bingzw/DL_genAI_practicing.git
- create python virtual environment
python3 -m venv venv
source venv/bin/activate
- install the required packages
pip install -r requirements.txt
- run model training
cd path/to/model/folder
python <train.py>
The repository contains models solving the following tasks:
- Node classification: predicting the label of a node in a graph
- GCN Model
- GAT Model
- GraphSAGE
- Graph classification: predicting the label of an entire graph
- GNN based on GraphConv (this can also be changed to GCN, GAT or GraphSAGE)
- Link prediction: predicting whether an edge exists between two nodes
- Heterogeneous GraphSAGE
- PyTorch Geometric
- standford course: CS224W: Machine Learning with Graphs