File size: 715 Bytes
283b625 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# SlowFast Network
## Model Architecture
- **Type**: Two-Stream Pathway (Slow + Fast)
- **Fast Pathway**: High temporal resolution (all 32 frames), low channel capacity. Captures motion.
- **Slow Pathway**: Low temporal resolution (4 frames, stride 8), high channel capacity. Captures spatial details.
- **Fusion**: Lateral connections fuse Fast features into Slow pathway at multiple stages to integrate motion information.
- **Input**: 32 Frames.
## Dataset Structure
Expects `Dataset` folder in parent directory.
```
Dataset/
├── violence/
└── no-violence/
```
## How to Run
1. Install dependencies: `torch`, `opencv-python`, `scikit-learn`, `numpy`.
2. Run `python train.py`.
|