Requirements
Hardware environment: Intel(R) Xeon(R) Gold 6230R CPU @ 2.10GHz, NVIDIA GeForce RTX 3090 with 24GB memory.
Software environment: Ubuntu 18.04.6, Python 3.9, PyTorch 1.11.0 and CUDA 11.8.
- Please refer to PyTorch and PyG to install the environments;
- Run 'pip install -r requirements.txt' to download required packages;
Training
To train the model(s) in the paper
-
Please unzip xxx.zip to the current file directory location
-
Please refer to the configs folds to modify the hyperparameters
data_config.py - dataset loading
model_config.py - model initialization
training_config.py - training stages
-
Open main.py to train digraph learning model.
We provide CoraML/CiteSeer/WikiTalk dataset as example (Execute data set partitioning and processing).
Meanwhile, you can personalize your settings (data/model/training)
Run this command:
python main.py