yiskw713 / video_feature_extractor

26 stars 3 forks source link

Video Feature Extractor

This repo is for extracting video features.

Preparation

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.

Requirements

Pretrained Models

Supported models are 3DResNet, SlowFastNetwork with non local block, (I3D).
You can download from here Pretrained I3D model is not available yet.

Extracting and Save Video Features

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].

References