DCRNN
Implementation of Diffusion Convolutional Recurrent Neural Network in Tensorflow
File Explorer
Download Latest Version (.zip)- config.yaml
- models-2.7422-24375.data-00000-of-00001
- models-2.7422-24375.index
- config.yaml
- events.out.tfevents.1547170277.kakarot
- models-1.6139-30780.data-00000-of-00001
- models-1.6139-30780.index
- dcrnn_bay.yaml
- dcrnn_la.yaml
- dcrnn_test_config.yaml
- adj_mx.pkl
- adj_mx_bay.pkl
- distances_bay_2017.csv
- distances_la_2012.csv
- graph_sensor_ids.txt
- graph_sensor_locations.csv
- graph_sensor_locations_bay.csv
- model_architecture.jpg
- __init__.py
- AMSGrad.py
- metrics.py
- metrics_test.py
- utils.py
- __init__.py
- dcrnn_cell.py
- dcrnn_model.py
- dcrnn_supervisor.py
- __init__.py
- eval_baseline_methods.py
- gen_adj_mx.py
- generate_training_data.py
- .gitignore
- dcrnn_train.py
- env.cpu.yml
- env.gpu.yml
- LICENSE
- README.md
- requirements.txt
- run_demo.py
π Installation Guide
1. Get the code
git clone https://github.com/liyaguang/DCRNN
Downloads the entire project code from GitHub to your computer.
cd DCRNN
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python -m scripts.generate_training_data --output_dir=data/METR-LA --traffic_df_filename=data/metr-la.h5
Runs the Python script (or module).
python -m scripts.generate_training_data --output_dir=data/PEMS-BAY --traffic_df_filename=data/pems-bay.h5
Runs the Python script (or module).
python -m scripts.gen_adj_mx --sensor_ids_filename=data/sensor_graph/graph_sensor_ids.txt --normalized_k=0.1\
Runs the Python script (or module).
python -m scripts.eval_baseline_methods --traffic_reading_filename=data/metr-la.h5
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
