Skip to content

The open source code for ICDM2022 paper "Unifying Graph Contrastive Learning with Flexible Contextual Scopes"

Notifications You must be signed in to change notification settings

zyzisastudyreallyhardguy/UGCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

UGCL

The open source code for ICDM2022 paper "Unifying Graph Contrastive Learning with Flexible Contextual Scopes"

overall

Overview

Our implementation for UGCL (Unfiying Graph Contrastive Learning) is based on PyTorch.

To run on cora/citeseer/pubmed

cd train_cora_citeseer_pubmed
python train_gp.py --data 'cora' --epoch 250 --patience 50 --lr 0.0002 --n 9 --hidden 4196 --sample_size 1500 #for cora
python train_gp.py --data 'citeseer' --epoch 150 --patience 50 --lr 5e-05 --n 2 --hidden 8192 --sample_size 3000 #for citeseer
python train_gp.py --data 'pubmed' --epoch 300 --patience 50 --lr 0.0002 --n 14 --sample_size 7000 --hidden 8192 #for pubmed

To run on ogbn-arxiv

cd train_ogbn
python train_ogbn --data 'ogbn' --n 4 --sample_size 2000 --hidden 8192 --test_epoch 2000 --patience 1000

About

The open source code for ICDM2022 paper "Unifying Graph Contrastive Learning with Flexible Contextual Scopes"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages