SCVD (Smart City CCTV Violence Detection) Dataset
- Python Version: 3.10
- Virtual Environment Setup:
$env:Path = "C:\Users\srsho\AppData\Local\Programs\Python\Python310;" + $env:Path $env:Path = "C:\Users\srsho\AppData\Local\Programs\Python\Python310\Scripts;" + $env:Path python --version ./venv/Scripts/Activate
- Supported Models:
- C3D
- ResNet
- opencv-python
- matplotlib
- Keras-Preprocessing
- scikit-image
- tensorflow
- pandas
- torch
Error:
RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same
Solution: Ensure model and input are on the same device:
model.to(device)
- Training Resolution: 112x112
- Frame Rate: 16 fps
- Clone the repository
- Set up virtual environment
- Install dependencies:
pip install -r requirements.txt