cd /path/to/your/project
git clone
For using the two datasets METR-LA and PEMS-BAY, please unzip the file named “data_in_12_out_12_rescale_True.zip” in the two dataset dictionary first.
You can reproduce these models by running the following command:
python experiments/train.py -c baselines/${MODEL_NAME}/${DATASET_NAME}.py --gpus '0'
Replace ${DATASET_NAME}
and ${MODEL_NAME}
with any supported models and datasets. For example, you can run NSTformer on METR-LA dataset by:
python experiments/train.py -c baselines/NSTformer/METR-LA.py --gpus '0'
To run model on multiple GPUs, just modify "CFG.GPU_NUM" in dataset named file under model name, such as ".../NSTformer/METR-LA.py" then modify the gpu nums in above command, for example:
python experiments/train.py -c baselines/NSTformer/METR-LA.py --gpus '0,1,2,3'