I’m trying to extract features using a pretrained I3D model available in this repo: https://github.com/piergiaj/pytorch-i3d 93
I don’t have the Charades dataset with me and as I’m trying to run my code through colab, the 76 GB size stops me from using Charades directly.
Instead, I would like to take a random video -> apply I3D -> extract features -> show classification.
Essentially, I want to do something like this: https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/action_recognition_with_tf_hub.ipynb 50 but for pytorch.
Can someone explain how I would go about running extract_features.py for my own video (i.e. how I should update the Dataset module)? Further, I want to start from a video, so I am also a bit unsure about how to convert a video into rgb frames/ optical flow frames.
Thank you!