I have a video dataset, it consists of 850 videos and per video a lot of frames (not necessarily same number in all frames).
As I can’t fit my entire video in GPU at once I have to sample frames from the video (maybe consecutive maybe random)
When I am building torch.utils.data.Dataset object then _ _len _ _ of the dataset should be 850 only (number of videos). Otherwise I could make it something based on number of frames as well. For example if I use 32 consecutive frames I can get length number of 32 frame videos from consecutive frames in all videos.
Then I will need to make the _ _get _ _ function based on that!