|
Download annotations/annotation_15/GraphMETRO/README.md from mcy98/RECODE-H: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_15/GraphMETRO/README.md
- Command line
-
hf download hf://datasets/mcy98/RECODE-H/annotations/annotation_15/GraphMETRO/README.md
-
curl -L -o README.md https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_15/GraphMETRO/README.md
1 kB
GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned Experts (NeurIPS 2024)
Reference
Please consider citing our paper:
@inproceedings{wu24graphmetro,
author = {Shirley Wu and
Kaidi Cao and
Bruno Ribeiro and
James Zou and
Jure Leskovec},
title = {GraphMETRO: Mitigating Complex Distribution Shifts in GNNs via Mixture of Aligned Experts},
booktitle = {NeurIPS},
year = {2024}
}
Running the code
sh scripts/train_moe.sh
sh scripts/train_moe_good.sh
Please specify your own wandb_id in scripts/*.sh if use_wandb is set to True.
Environment
conda create -n graphmetro python=3.9
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
conda install pyg -c pyg
pip install pandas matplotlib networkx yacs seaborn torchmetrics ogb==1.3.6 munch dive-into-graphs