Skip to content

This code is released for the paper: Towards Few-shot Self-explaining Graph Neural Networks

Notifications You must be signed in to change notification settings

jypeng28/MSE-GNN

Repository files navigation

This code is released for the paper: Towards Few-shot Self-explaining Graph Neural Networks

Dependencies: pytorch, higher, pytorch_geometric, scikit-learn,

First, download MNIST data and transform with mnist.ipynb

Then, generate validation and test data by generate_val_test_data.py

Finally, to train and test MSE-GNN, run main.py with args following this training example:

python main.py --dataset mnist --gnn gin --device 2 --lr 0.00001 --inner_lr 0.001 --seed 2024 --gamma 0.1 --shot 5

About

This code is released for the paper: Towards Few-shot Self-explaining Graph Neural Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published