3D ResNet-18 for Violence Detection (RWF-2000)
This repository contains a 3D ResNet-18 (r3d_18) model fine-tuned for automated violence and physical fight detection in surveillance videos using the RWF-2000 benchmark dataset.
Model Performance
Evaluated across all 400 test clips (200 Fight, 200 NonFight) of RWF-2000:
- Validation Accuracy: 90.00%
- ROC-AUC Score: 0.9649
- Fight Precision / Recall / F1: 0.92 / 0.88 / 0.90
- NonFight Precision / Recall / F1: 0.88 / 0.92 / 0.90
Input Specifications
- Input Tensor Dimensions:
(Batch, Channels=3, Frames=16, Height=224, Width=224) - Temporal Depth: 16 uniformly sampled frames per clip
- Normalization: ImageNet mean
[0.485, 0.456, 0.406]and std[0.229, 0.224, 0.225] - Classes:
0: NonFight1: Fight