Right now our extract.py tool can extract features for a single video at a time, and parallelizes the data loading across ranges of frames. We should change that:
Extract features for a dataset of videos / directory of videos
Dump features into file keyed by e.g. frame ids
Allow extracting by means of PyTorch hooks for arbitrary activations
Parallelize on video level not range of frames per video
Right now our
extract.py
tool can extract features for a single video at a time, and parallelizes the data loading across ranges of frames. We should change that: