The repository contains the source code and pred-trained models of our paper: GSC: A Graph and Spatio-temporal Continuity Based Framework for Accident Anticipation
The overview of the network is showed below;
requirements.txt
conda create -n sspm python=3.6
source activate sspm
pip install -r requirements.txt
Access the datasets by BaiduYun[Passwards: qo81
], and unzip it.
Change the data_root
of configs/config.py
to your unzip path;
python run.py --train ./configs/config.py
Change the test_checkpoint
of configs/config.py
to your model
Run the following command in Terminal
python run.py --test ./configs/config.py