Skip to content

Latest commit

 

History

History

visual

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Visual Feature Extraction

You can follow these steps to extract visual features from the MUStARD dataset videos.

  1. Download the videos from HuggingFace Hub to data/videos, placing the files without subdirectories.

  2. Move to this directory:

    cd visual
  3. Run save_frames.sh to extract the frames from the video files:

    ./save_frames.sh
  4. Create the directories data/features/, data/features/utterances_final/, and data/features/context_final/.

  5. To extract the features and save them into large H5 files:

    ./extract_features.py resnet