https://github.com/edisonleeeee/sat
https://github.com/edisonleeeee/sat
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/edisonleeeee/sat
- Owner: EdisonLeeeee
- Created: 2022-06-02T07:35:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-09T09:32:51.000Z (over 2 years ago)
- Last Synced: 2025-05-04T04:33:21.866Z (about 1 year ago)
- Language: Python
- Size: 910 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spectral Adversarial Training for Robust Graph Neural Network
# Requirements
- torch == 1.9.0
- graphgallery
Install graphgallery:
```bash
git clone https://github.com/EdisonLeeeee/GraphGallery.git && cd GraphGallery
pip install -e . --verbose
```
# Reproduction
```bash
python main.py --dataset cora --backbone SSGC --lr 0.2 --k 30 --K 5
python main.py --dataset cora_ml --backbone SSGC --lr 0.2 --k 30 --K 5
python main.py --dataset citeseer --backbone SSGC --lr 0.2 --k 30 --K 5
python main.py --dataset pubmed --backbone SSGC --lr 0.2 --k 150 --K 5
python main.py --dataset cora --backbone SGC --lr 0.01 --k 30 --K 2
python main.py --dataset cora_ml --backbone SGC --lr 0.01 --k 30 --K 2
python main.py --dataset citeseer --backbone SGC --lr 0.01 --k 30 --K 2
python main.py --dataset pubmed --backbone SGC --lr 0.01 --k 150 --K 2
python main.py --dataset cora --backbone GCN --lr 0.01 --k 30
python main.py --dataset cora_ml --backbone GCN --lr 0.01 --k 30
python main.py --dataset citeseer --backbone GCN --lr 0.01 --k 30
python main.py --dataset pubmed --backbone GCN --lr 0.01 --k 150
```