Skip to content
/ ASTGNN Public
forked from guoshnBJTU/ASTGNN

This is a Pytorch implementation of ASTGNN. Now the corresponding paper is available online at https://ieeexplore.ieee.org/document/9346058.

Notifications You must be signed in to change notification settings

due111/ASTGNN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASTGNN

This is a Pytorch implementation of ASTGNN. Now the corresponding paper is available online at https://ieeexplore.ieee.org/document/9346058.

ASTGNN.png

Train and Test

We take the commands on PEMS04 for example.

Step 1: Process dataset:

  • for ASTGNN
python prepareData.py --config configurations/PEMS04.conf
  • for ASTGNN(p)
python prepareData.py --config configurations/PEMS04_rdw.conf

Step 2: train and test the model:

  • for ASTGNN
nohup python -u train_ASTGNN.py --config configurations/PEMS04.conf --cuda=1 > pems04.out &
  • for ASTGNN(p)
nohup python -u train_ASTGNN.py --config configurations/PEMS04_rdw.conf --cuda=1 > pems04_rdw.out &

The settings for each experiments are given in the "configurations" folder.

If you find the repository is useful, please cite our paper. Thank you~

About

This is a Pytorch implementation of ASTGNN. Now the corresponding paper is available online at https://ieeexplore.ieee.org/document/9346058.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%