DCRNN

(β˜… 1,438)

Implementation of Diffusion Convolutional Recurrent Neural Network in Tensorflow

  • .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 Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
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