This repo is for extracting video features.
You just need make csv files which include video paths information.
Please run python utils/build_dataset.py
. See utils/build_dataset.py
for more details.
- python 3.x
- pytorch >= 1.0
- torchvision
- pandas
- numpy
- Pillow
- h5py
- tqdm
- PyYAML
- addict
Supported models are 3DResNet, SlowFastNetwork with non local block, (I3D).
You can download from here
Pretrained I3D model is not available yet.
Please run
python extract.py [dataset_dir] [save_dir] [csv] [arch] [pretrained_weights] [--sliding_window] [--size] [--window_size] [--n_classes] [--num_workers] [--temp_downsamp_rate [--file_format]
.