Thanks to visit codestin.com
Credit goes to github.com

Skip to content

xtyi1997/ASTGNN

 
 

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 architecture.png](ASTGNN architecture.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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%