Please download the concatenated extracted I3d features for XD-Violence and UCF-Crime dataset from links below:
The following files need to be adapted in order to run the code on your own machine:
- Change the file paths to the downloaded features above in
concatenated/concat_UCF.npy
andconcatenated/Concat_test_10.npy
. - Feel free to change the hyperparameters in
option.py
After the setup, simply run the following commands:
sh train.sh
sh test.sh