Home

Awesome

CrossTReS

This is the repo for paper "Selective Cross-City Transfer Learning for Traffic Prediction via Source City Region Re-Weighting", KDD 2022.

Step 1: Data

Go to data repo and unzip the crosstres_data.zip file.

Step 2: Run the scripts in src

The structures of src are as follows:

You can check the tunable parameters in run_crosstres.py and run_crosstres_rt.py.

Note: Runningrun_crosstres.py requires approximately 10GB GPU memory with batch_size=32. You can reduce batch_size to reduce memory cost.

Procedures to run the scripts