Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to find used data? #68

Open
DenisUllmann opened this issue Mar 7, 2023 · 1 comment
Open

Where to find used data? #68

DenisUllmann opened this issue Mar 7, 2023 · 1 comment

Comments

@DenisUllmann
Copy link

Please let me know where I can find eg. PEMS-BAY data in the format ready for your model: /pems_bay/train.npz (and /val.npz and /test.npz)
Or how to generate properly this data from any PEMS-BAY data available online.

Thanks in advance

@szdrnja
Copy link

szdrnja commented Sep 15, 2023

Use this https://github.com/liyaguang/DCRNN repo, specifically

python -m scripts.generate_training_data --output_dir=data/PEMS-BAY --traffic_df_filename=data/pems-bay.h5

and set add_day_in_week to True because this code expects those features to be present.
https://github.com/liyaguang/DCRNN/blob/master/scripts/generate_training_data.py#L72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants