xyk0058 / STGAT

Paper STGAT: Spatial-Temporal Graph Attention Networks for Traffic Flow Forecasting
17 stars 2 forks source link

About your source code, source cloud disk data: No such file or directory: 'data/PEMS-BAY/train.npz' #2

Open 1187828594 opened 2 years ago

1187828594 commented 2 years ago

Hello, as a novice in traffic flow forecasting and neural network, reading your paper helps me a lot. I hope to be able to reproduce your paper. Downloaded your code and cloud disk data, but still prompted: No such file or directory: 'data/PEMS-BAY/train.npz' and' data/METR-LA/train.npz'. I would appreciate it if you could give me these documents.

xyk0058 commented 2 years ago

Maybe the file is missing. This file is generated by the code based https://github.com/liyaguang/DCRNN (Data Preparation). You may also find the code in https://github.com/xyk0058/ASTGAT scripts root.

1187828594 commented 2 years ago

I am honored to receive your reply. Thank you again for your help, best wishs with you.

AMark-CS commented 3 months ago

Hello, thank you for doing such a great work!. But when I try to implement the code, I found that in the generate_training_data file of the DCRNN, the folder "data" does not actually exist, so I made some changes to the code and found that by using the relative path the problem can be solved. image