BUAABIGSCity / PDFormer

[AAAI2023] A PyTorch implementation of PDFormer: Propagation Delay-aware Dynamic Long-range Transformer for Traffic Flow Prediction.
MIT License
206 stars 35 forks source link

Error about the datasets #6

Closed RootChenLQ closed 1 year ago

RootChenLQ commented 1 year ago

An error happened when running "python run_model.py --task traffic_state_pred --model PDFormer --dataset PeMS04 --config_file PeMS04"

"FileNotFoundError: [Errno 2] No such file or directory: './raw_data/PeMS04/P.dyna'"

There is no P.dyna file in the datasets downloaded from Google Drive. So where can we obtain P.dyna files?

aptx1231 commented 1 year ago

image

The downloaded dataset contains dyna files.

The directory structure should look like this. Please check:

libcity/ raw_data/PeMS04/PeMS04.geo raw_data/PeMS04/PeMS04.rel raw_data/PeMS04/PeMS04.dyna run_model.py