Skip to content

geekep/VideoAnomalyRecognition

Repository files navigation

AnomalyDetectionCVPR2018-Pytorch

Pytorch version of - https://github.com/WaqasSultani/AnomalyDetectionCVPR2018

Install anaconda env

conda env create -f environment.yml

conda activate torch

Download C3D weights

I couldn't upload here the weights for the C3D model because the file is too big, but it can be found here: https://github.com/DavideA/c3d-pytorch

Precomputed features

Can be downloaded from: https://drive.google.com/drive/folders/1rZn-UHM_EcIXauJ0wRysQbh0mHQoNrfY?usp=sharing

Features extraction

python feature_extractor.py --dataset_path "path-to-dataset" --annotation_path "path-to-train-annos" --annotation_path_test "path-to-test-annos" --pretrained_3d "path-to-pretrained-c3d"

Training

python TrainingAnomalyDetector_public.py --features_path "path-to-dataset" --annotation_path "path-to-train-annos" --annotation_path_test "path-to-test-annos"

Generate ROC curve

python generate_ROC.py --features_path "path-to-dataset" --annotation_path "path-to-annos"

ROC

About

Simultaneous Abnormal Event Detection and Fine-Grained Recognition in Surveillance Videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors