# video_feature_extractor **Repository Path**: tslnihao/video_feature_extractor ## Basic Information - **Project Name**: video_feature_extractor - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-28 - **Last Updated**: 2026-02-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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 * python 3.x * pytorch >= 1.0 * torchvision * pandas * numpy * Pillow * h5py * tqdm * PyYAML * addict ## Pretrained Models Supported models are 3DResNet, SlowFastNetwork with non local block, (I3D). You can download from [here](https://drive.google.com/drive/folders/1pBp4pkhRP-ucd4mRGiX0omDQ5hbg3c7a?usp=sharing) 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 * [3D-ResNets-PyTorch](https://github.com/kenshohara/3D-ResNets-PyTorch) * [pytorch-i3d](https://github.com/piergiaj/pytorch-i3d)